org.jactr.tools.analysis.production.endstates.impl
Class AddEndStateComputer

java.lang.Object
  extended by org.jactr.tools.analysis.production.endstates.impl.AddEndStateComputer
All Implemented Interfaces:
IBufferEndStateComputer

public class AddEndStateComputer
extends java.lang.Object
implements IBufferEndStateComputer

deal with add operations..

Author:
harrison

Constructor Summary
AddEndStateComputer()
           
 
Method Summary
 java.util.Collection<BufferEndState> computePossibleEndStatesFor(BufferEndStates endStates, java.lang.String bufferName, SequenceAnalyzer analyzer)
          return a collection of all the possible buffer end states for a given production and buffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddEndStateComputer

public AddEndStateComputer()
Method Detail

computePossibleEndStatesFor

public java.util.Collection<BufferEndState> computePossibleEndStatesFor(BufferEndStates endStates,
                                                                        java.lang.String bufferName,
                                                                        SequenceAnalyzer analyzer)
Description copied from interface: IBufferEndStateComputer
return a collection of all the possible buffer end states for a given production and buffer. The production sequence analyzer will handle the adding of the end states to the buffer end states structure. It should NOT be done by the computer.

Specified by:
computePossibleEndStatesFor in interface IBufferEndStateComputer
Parameters:
endStates - contains the production ast, as well as cached maps of the actions and conditions
Returns: