Goto Chapter: Top 1 2 3 4 5 6 7 8 Bib Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

5 Refiners
 5.1 Introduction to refiners
 5.2 The record refine
 5.3 Constructing refiners

5 Refiners

5.1 Introduction to refiners

In BacktrackKit, a refiner is implemented as a record that must contain:

A constraint may also optionally contain any of the following members:

5.2 The record refine

The refine member of a constraint is a record that contains functions which, if present, will be called to inform the constraint of behaviour as search progresses, and to give the constraint the opportunity to influence the search. The permissible functions are given described below.

These functions will always be passed at least two arguments: firstly the constraint itself, and then the partition stack. Details of any further arguments are described with the relevant function, below.

At most one of the following two functions will generally be implemented.

5.3 Constructing refiners

5.3-1 DummyRefiner
‣ DummyRefiner( constraint )( attribute )

This wraps a constraint in a refiner that doesn't do any refining.

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 6 7 8 Bib Ind

generated by GAPDoc2HTML