Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.umich.soar.hpp
Class HPPBinaryConstraint

    java.lang.Object
      edu.umich.soar.hpp.HPPConstraint
          edu.umich.soar.hpp.HPPBinaryConstraint

All Implemented Interfaces:
  java.lang.Comparable<HPPConstraint>

    public class HPPBinaryConstraint

extends HPPConstraint

Specialization of constraints for binary value

Constructor Summary
`HPPBinaryConstraint(HPPVariable variable, boolean value)` Utility constructor using an existing variable
`HPPBinaryConstraint(java.lang.String name, boolean value)` Basic constructor - exploits Java's built-in "true" and "false"

Method Summary

Methods inherited from class edu.umich.soar.hpp.HPPConstraint
`compareTo, getName, getValue, satisfiedBy, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### HPPBinaryConstraint

    public HPPBinaryConstraint(HPPVariable variable,
                               boolean value)

  Utility constructor using an existing variable

  Parameters:
    `variable` - used to extract name
    `value` - constraint value

### HPPBinaryConstraint

    public HPPBinaryConstraint(java.lang.String name,
                               boolean value)

  Basic constructor - exploits Java's built-in "true" and "false"

  Parameters:
    `name` - constraint name
    `value` - constraint value

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD