Skip to content
/ dwr Public

Diminishing Weighted Random Distribution implementation, with state save

License

Notifications You must be signed in to change notification settings

bhavpreet/dwr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwr

Diminishing Weighted Random Distribution implementation, with state save. This can be used for various distributions to distribute fairly among a group

Input Register json

POST /myKey JSON: json := { "weight_1" : 1, "weight_2" : 2, "weight_heavy": 99 }

REQUESTS

GET :

GET /myKey

Response

{ "key": "weight_heavy" }

DELETE

Request: DELETE /myKey

About

Diminishing Weighted Random Distribution implementation, with state save

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages