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, toString
public GreedyBranching(AbstractStrategy mainSearch)
public Decision getDecision()
AbstractStrategy
null
.getDecision
in class AbstractStrategy
public Decision computeDecision(Variable variable)
AbstractStrategy
computeDecision
in class AbstractStrategy
variable
- a variableCopyright © 2017. All rights reserved.