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.
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