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 GrandRules

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

    public class GrandRules

extends Object

Constructor Summary
`GrandRules()`

Method Summary
`GrandFather` | `infer(Child child, Father father)` Father of parent is grandparent.
`GrandMother` | `infer(Child child, Mother mother)` Mother of parent is grandmother.
`GrandDaughter` | `infer(Daughter daughter, Parent parent)` Daughter of child is a granddaughter.
`GrandSon` | `infer(Son son, Parent parent)` Son of child is a grandson.

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

Constructor Detail

### GrandRules

    public GrandRules()

Method Detail

### infer

    public GrandSon infer(Son son,
                          Parent parent)

  Son of child is a grandson.

  Parameters:
    `son` -
    `parent` -
  Returns:

### infer

    public GrandDaughter infer(Daughter daughter,
                               Parent parent)

  Daughter of child is a granddaughter.

  Parameters:
    `daughter` -
    `parent` -
  Returns:

### infer

    public GrandFather infer(Child child,
                             Father father)

  Father of parent is grandparent.

  Parameters:
    `child` -
    `father` -
  Returns:

### infer

    public GrandMother infer(Child child,
                             Mother mother)

  Mother of parent is grandmother.

  Parameters:
    `child` -
    `mother` -
  Returns:

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