clarion.system
Interface InterfaceHasMatchCalculator

All Known Implementing Classes:
QBPNet

public interface InterfaceHasMatchCalculator

This interface is implemented by classes that wish to use their own match calculator within CLARION.

Usage:

Any class that implements this interface will use its own match calculator when updating match statistics instead of using the subsystem-wide match calculator.

Known classes implementing this interface:

Version:
6.0.4
Author:
Nick Wilson

Method Summary
 AbstractMatchCalculator getMatchCalculator()
          Gets the match calculator used by the class.
 void setMatchCalculator(AbstractMatchCalculator MatchCalculator)
          Sets the match calculator.
 

Method Detail

getMatchCalculator

AbstractMatchCalculator getMatchCalculator()
Gets the match calculator used by the class. The match calculator returned by this method is usually passed directly into the class's updateMatchStatistics method.

Returns:
The match calculator.

setMatchCalculator

void setMatchCalculator(AbstractMatchCalculator MatchCalculator)
Sets the match calculator.

Parameters:
MatchCalculator - The match calculator to assign to the class.