Class | AI::CSP::Constraint |
In: |
ai/csp/constraint.rb
|
Parent: | Object |
A generic constraint on a number of variables. The propagate method, performs forward checking, however many subclasses (implementing specialized constraing types) will want override this method and provide more efficient pruning and possibly enforce stronger consistency.
See AI::CSP for an overview and more examples.
checks | [RW] | |
variables | [R] |