Package zebra4j.fact
Class Different
java.lang.Object
zebra4j.fact.CommutativeFact
zebra4j.fact.Different
- All Implemented Interfaces:
Fact
-
Nested Class Summary
Nested classes/interfaces inherited from class zebra4j.fact.CommutativeFact
CommutativeFact.Source -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(PuzzleSolution solution)getLeft()getRight()voidpostTo(ZebraModel model)toString()Methods inherited from class zebra4j.fact.CommutativeFact
appliesTo, attributeTypes, describe, equals, hashCode
-
Field Details
-
TYPE
-
-
Constructor Details
-
Different
-
-
Method Details
-
postTo
-
appliesTo
- Parameters:
solution- required- Returns:
- if the fact is true about the people in the given solution
-
toString
-
getLeft
- Specified by:
getLeftin classCommutativeFact
-
getRight
- Specified by:
getRightin classCommutativeFact
-