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

## com.hammurapi.reasoning.tutorial.rules
Class SpouseRules

    java.lang.Object
      com.hammurapi.reasoning.tutorial.rules.SpouseRules

    public class SpouseRules

extends Object

Constructor Summary
`SpouseRules()`

Method Summary
`Husband` | `inferHusband(Spouse spouse)` Male spouse is husband.
`Spouse` | `inferSpouse(Spouse spouse)` If A is a spouse of B then B is a spouse of A.
`Wife` | `inferWife(Spouse spouse)` Female spouse is wife.

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

Constructor Detail

### SpouseRules

    public SpouseRules()

Method Detail

### inferSpouse

    public Spouse inferSpouse(Spouse spouse)

  If A is a spouse of B then B is a spouse of A.

  Parameters:
    `spouse` -

### inferHusband

    public Husband inferHusband(Spouse spouse)

  Male spouse is husband.

  Parameters:
    `spouse` -

### inferWife

    public Wife inferWife(Spouse spouse)

  Female spouse is wife.

  Parameters:
    `spouse` -

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