nenok.va.sr
Class SRValuation.SRPredictor
java.lang.Object
nenok.va.sr.SRValuation.SRPredictor
- All Implemented Interfaces:
- Serializable, Predictor
- Enclosing class:
- SRValuation
public class SRValuation.SRPredictor
- extends Object
- implements Predictor
Implementation of weight predictor class.
- Version:
- 1.4
- Author:
- Marc Pouly
- See Also:
- Serialized Form
Method Summary |
int |
predict(Domain dom)
Predicts the weight of a valuation from its domain. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRValuation.SRPredictor
public SRValuation.SRPredictor()
predict
public int predict(Domain dom)
- Description copied from interface:
Predictor
- Predicts the weight of a valuation from its domain.
- Specified by:
predict
in interface Predictor
- Parameters:
dom
- The domain to compute the valuation's weight.
- Returns:
- The predicted weight of the valuation with domain
dom
. - See Also:
Predictor.predict(nenok.va.Domain)