public void open ( RuntimeContext cepRuntimeContext , Configuration conf ) throws Exception { for ( State < T > state : getStates ( ) ) { for ( StateTransition < T > transition : state . getStateTransitions ( ) ) { IterativeCondition condition = transition . getCondition ( ) ; FunctionUtils . setFunctionRuntimeContext ( condition , cepRuntimeContext ) ; FunctionUtils . openFunction ( condition , conf ) ; } } }
Initialization method for the NFA . It is called before any element is passed and thus suitable for one time setup work .