the (optional) TaskIdentifier associated with this tree
a mapping from ClassificationTasks (in the range of baseIdentifier
) to
TaskTrees
the (optional) TaskIdentifier associated with this tree
a mapping from ClassificationTasks (in the range of baseIdentifier
) to
TaskTrees
Identifies the TaskConjunction associated with the argument state.
Identifies the TaskConjunction associated with the argument state.
the parser state of interest
the TaskConjunction associated with the argument state
A TaskTree can be viewed as a tree-structured TaskConjunctionIdentifier. Recall that a TaskConjunctionIdentifier associates every TransitionParserState with a TaskConjunction.
To do this, each TaskTree is associated with an optional TaskIdentifier ident. If this is None, then it will associate every state with the trivial TaskConjunction (i.e. TaskConjunction(List())). Otherwise, it will compute the ClassificationTask returned by applying the TaskIdentifier to the state. If this task is not contained in its children map, then it will associate the state with TaskConjunction(List(ident)). Otherwise it will recursively call the child TaskTree on the state, and accumulate a TaskConjunction.
TODO: remove this code once all dependent models are gone
the (optional) TaskIdentifier associated with this tree
a mapping from ClassificationTasks (in the range of
baseIdentifier
) to TaskTrees