omnics.filter
Class GeneralArcConsistency

java.lang.Object
  extended by omnics.AbstractAlgorithm
      extended by omnics.filter.AbstractFilter
          extended by omnics.filter.ArcConsistency
              extended by omnics.filter.GeneralArcConsistency
All Implemented Interfaces:
java.io.Serializable, Algorithm, Filter

public class GeneralArcConsistency
extends ArcConsistency

Author:
Cristian Frasinaru
See Also:
Serialized Form

Field Summary
 
Fields inherited from class omnics.filter.ArcConsistency
constraints, current, explainer, firingEvents, level, optimum, solution, solver
 
Fields inherited from class omnics.filter.AbstractFilter
filtered
 
Fields inherited from class omnics.AbstractAlgorithm
name, problem
 
Constructor Summary
GeneralArcConsistency(Problem problem)
          Creates a new instance of GeneralArcConsistency
 
Method Summary
 boolean filter(Var current)
          Performs an arc-consistency algorithm.
 java.lang.String toString()
           
 
Methods inherited from class omnics.filter.ArcConsistency
createConstraintsMatrix, revise
 
Methods inherited from class omnics.filter.AbstractFilter
getFiltered, setFiltered
 
Methods inherited from class omnics.AbstractAlgorithm
getName, getProblem, setName, setProblem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface omnics.Algorithm
getName, getProblem, setName, setProblem
 

Constructor Detail

GeneralArcConsistency

public GeneralArcConsistency(Problem problem)
Creates a new instance of GeneralArcConsistency

Method Detail

filter

public boolean filter(Var current)
Description copied from class: ArcConsistency
Performs an arc-consistency algorithm.

Specified by:
filter in interface Filter
Overrides:
filter in class ArcConsistency

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object