Methods
-
.check(allocation)
-
checks allocation(No side effect)
Parameters:
Name Type Description allocation
Returns:
- Type
- Promise.<Array.<Square>>
-
.get( [options])
-
get allocation(No side effect)
Parameters:
Name Type Argument Description options
Object <optional>
Properties
Name Type Argument Default Description simple
Boolean <optional>
false if true, it does not use debater results
filters
Array.<String> <optional>
['by_strength', 'by_side', 'by_past_opponent', 'by_institution'] filters to compute team allocation in
standard
algorithmforce
Boolean <optional>
false if true, it does not check the database before creating matchups. (false recommended)
algorithm
String <optional>
'standard' it computes the allocation using specified algorithm
Returns:
allocation
- Type
- Promise.<Array.<Square>>