ifs.example.csp
Class StructuredCSPModel

java.lang.Object
  extended by ifs.model.Model
      extended by 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:

ParameterTypeComment
CSP.NrVariablesIntegerNumber of variables
CSP.DomainSizeIntegerNumber of values for each variable
CSP.NrKernelsIntegerNumber of kernels
CSP.KernelSizeIntegerNumber of variables in each kernel
CSP.TightnessDoubleTightness of constraints outside kernels
CSP.KernelTightnessDoubleTightness of constraints inside a kernel
CSP.DensityDoubleDensity of constraints outside kernels
CSP.KernelDensityDoubleDensity of constraints inside a kernel
General.MPPStringMinimal perturbation problem --> generate initial assignment

Version:
1.0
Author:
Tomáš Müller

Constructor Summary
StructuredCSPModel(DataProperties properties, long seed)
          Constructor
 
Method Summary
 Hashtable getInfo()
          Return information table
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StructuredCSPModel

public StructuredCSPModel(DataProperties properties,
                          long seed)
Constructor

Method Detail

getInfo

public Hashtable getInfo()
Return information table

Overrides:
getInfo in class Model


Copyright © 2005 Tomáš Müller