public class KahinaDAGBehavior extends KahinaBehavior<KahinaDAG>
A version of
KahinaBehavior for defining the application-specific behavior of
Implementations usually define the way a DAG is constructed and how it reacts to incoming
A typical use case is
TulipaDAGBehavior for the search space visualization in the TuLiPA parsing system.
In an application, the user will usually want to inherit from this in order to define the behavior of DAG components.
By default, each
KahinaBehavior implements the
KahinaListener interface, but it does not register itself with the event system.
For that purpose, implementations should use the
|Constructor and Description|
Class constructor specifying the controlled DAG and the KahinaInstance that it is connected to.
public KahinaDAGBehavior(KahinaDAG dag, KahinaInstance kahina)
dag- the KahinaDAG the behavior of which is going to be controlled by the new instance
kahina- the KahinaInstance that this behavior will belong to and communicate with