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 TypeMethodDescriptionboolean
appliesTo(PuzzleSolution solution)
getLeft()
getRight()
void
postTo(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:
getLeft
in classCommutativeFact
-
getRight
- Specified by:
getRight
in classCommutativeFact
-