ifs.example.csp
Class StructuredCSPModel
java.lang.Object
ifs.model.Model
ifs.example.csp.StructuredCSPModel
public class StructuredCSPModel
- extends Model
Random Binary CSP with kernels.
This class only implements the generation of Structured CSP problem.
In Structured CSP, variables are divided into several kernels (some variables may remain ouside kernels).
Different constraints (in density and tightnes) are generated according to whether variables are from the same kernel or not.
Model parameters:
| Parameter | Type | Comment |
| CSP.NrVariables | Integer | Number of variables |
| CSP.DomainSize | Integer | Number of values for each variable |
| CSP.NrKernels | Integer | Number of kernels |
| CSP.KernelSize | Integer | Number of variables in each kernel |
| CSP.Tightness | Double | Tightness of constraints outside kernels |
| CSP.KernelTightness | Double | Tightness of constraints inside a kernel |
| CSP.Density | Double | Density of constraints outside kernels |
| CSP.KernelDensity | Double | Density of constraints inside a kernel |
| General.MPP | String | Minimal perturbation problem --> generate initial assignment |
- Version:
- 1.0
- Author:
- Tomáš Müller
| Methods inherited from class ifs.model.Model |
addConstraint, addModelListener, addVariable, afterAssigned, afterUnassigned, assignedVariables, beforeAssigned, beforeUnassigned, bestUnassignedVariables, conflictConstraints, conflictValues, constraints, countConstraints, countVariables, getBestPerturbations, getBestUnassignedVariables, getModelListeners, getTotalValue, init, modelListenerOfType, perturbVariables, removeConstraint, removeModelListener, removeVariable, restoreBest, saveBest, toString, unassignedHardConstraints, unassignedVariables, variables, variablesWithoutInitialValue |
StructuredCSPModel
public StructuredCSPModel(DataProperties properties,
long seed)
- Constructor
getInfo
public Hashtable getInfo()
- Return information table
- Overrides:
getInfo in class Model
Copyright © 2005 Tomáš Müller