Classifier
Interface Anticipation

All Known Implementing Classes:
MACSAnticipation, YACSAnticipation

public interface Anticipation

This interface is used to represent the anticipation part of a classifier. It is implemented by MACSAnticipation and YACSAnticipation.

Author:
Olivier Sigaud and Pierre Gérard.

Method Summary
 byte getIndexOfFirstSpecializedToken()
           
 boolean isCompatibleWith(Classifier.Anticipation message)
           
 boolean isSpecialized(byte i)
           
 boolean matches(Classifier.Message message)
           
 

Method Detail

getIndexOfFirstSpecializedToken

public byte getIndexOfFirstSpecializedToken()
Returns:
byte

isSpecialized

public boolean isSpecialized(byte i)
Parameters:
i -
Returns:
boolean

matches

public boolean matches(Classifier.Message message)
Parameters:
message -
Returns:
boolean

isCompatibleWith

public boolean isCompatibleWith(Classifier.Anticipation message)
Parameters:
message -
Returns:
boolean