class documentation
class TaskStratSet:
A set of strategies that perform a task, having a collection makes it easy to choose one from another
| Method | __call__ |
Call the strategy specified by 'key' |
| Method | __getitem__ |
Return the strategy specified by key |
| Method | add |
Add a list of strategies to the set. |
| Method | format |
Return a formatted string of the names and descriptions of the strategies in this set. |
| Method | get |
Return the callable of the strategy specified by key |
| Method | get |
Return the description of the strategy specified by key |
| Method | get |
Return the name of the strategy specified by key |
| Method | remove |
Remove a strategy specified by key |
| Class Variable | description |
Undocumented |
| Property | callables |
Return a tuple of the callables of all the strategies in this set |
| Property | descriptions |
Return a tuple of the descriptions of all the strategies in this set |
| Property | names |
Return a tuple of the names of all the strategies in this set |
| Method | _del |
Delete the strategy specified by key |
| Method | _get |
Return the strategy specified by key |
| Method | _set |
Set save the passed strategy under the key value.name |
| Class Variable | _items |
Undocumented |
| Class Variable | _name |
Undocumented |