public class GreedyBranching extends AbstractStrategy
vars| Constructor and Description |
|---|
GreedyBranching(AbstractStrategy mainSearch) |
| Modifier and Type | Method and Description |
|---|---|
Decision |
computeDecision(Variable variable)
Computes a decision to be applied to variable var
This method should be implemented in order to use search patterns
|
Decision |
getDecision()
Provides access to the current decision in the strategy.
|
getVariables, init, makeIntDecision, toStringpublic GreedyBranching(AbstractStrategy mainSearch)
public Decision getDecision()
AbstractStrategynull.getDecision in class AbstractStrategypublic Decision computeDecision(Variable variable)
AbstractStrategycomputeDecision in class AbstractStrategyvariable - a variableCopyright © 2017. All rights reserved.