ifs.example.csp
Class CSPValue

java.lang.Object
  extended by ifs.model.Value
      extended by ifs.example.csp.CSPValue
All Implemented Interfaces:
Comparable

public class CSPValue
extends Value

CSP value.

Version:
1.0
Author:
Tomáš Müller

Field Summary
 
Fields inherited from class ifs.model.Value
iValue
 
Constructor Summary
CSPValue(Variable variable, int value)
          Constructor
 
Method Summary
 String getName()
          Values name -- for printing purposes (E.g., Monday 7:30)
 
Methods inherited from class ifs.model.Value
assigned, compareTo, conflicts, countAssignments, equals, getDescription, getExtra, getId, hashCode, lastAssignmentIteration, lastUnassignmentIteration, setExtra, setVariable, toInt, toString, unassigned, valueEquals, variable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSPValue

public CSPValue(Variable variable,
                int value)
Constructor

Parameters:
variable - parent variable
value - value (an integer between 0 .. number of values - 1 )
Method Detail

getName

public String getName()
Description copied from class: Value
Values name -- for printing purposes (E.g., Monday 7:30)

Overrides:
getName in class Value


Copyright © 2005 Tomáš Müller