Namespace: teams

Tournament.allocations. teams

Provides interfaces related to team allocation

Source:

Methods


.check(allocation)

checks allocation(No side effect)

Parameters:
Name Type Description
allocation
Source:
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 algorithm

force 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

Source:
Returns:

allocation

Type
Promise.<Array.<Square>>