A StateCostFunction assigns a (real-valued) cost to the Transitions that can potentially
be applied to a State. Generally speaking: the lower the cost, the better
the transition.
Typically, instances of StateCostFunction will compute this cost using a feature
representation of the State. But this is not always the case -- see the
GuidedCostFunction in org.allenai.nlpstack.parse.poly.polyparser.ArcEagerGuidedCostFunction
for a cost function that uses a gold parse tree as the basis for its cost function.
A StateCostFunction assigns a (real-valued) cost to the Transitions that can potentially be applied to a State. Generally speaking: the lower the cost, the better the transition.
Typically, instances of StateCostFunction will compute this cost using a feature representation of the State. But this is not always the case -- see the GuidedCostFunction in org.allenai.nlpstack.parse.poly.polyparser.ArcEagerGuidedCostFunction for a cost function that uses a gold parse tree as the basis for its cost function.