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

## jchrest.architecture
Class Link

    java.lang.Object
      jchrest.architecture.Link

    public class Link

extends java.lang.Object

Represents a test link within the model's long-term memory. The link has a test, which must be passed when sorting a pattern through to the child node.

Constructor Summary
`Link(ListPattern test, Node child)` Constructor sets the link's test and child node.

Method Summary
`Node` | `getChildNode()` Accessor to the link's child node.
`ListPattern` | `getTest()` Accessor to the link's test.
`boolean` | `passes(ListPattern pattern)` Test if the given pattern can be sorted through this test link.

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

Constructor Detail

### Link

    public Link(ListPattern test,
                Node child)

  Constructor sets the link's test and child node.

Method Detail

### getChildNode

    public Node getChildNode()

  Accessor to the link's child node.

### getTest

    public ListPattern getTest()

  Accessor to the link's test.

### passes

    public boolean passes(ListPattern pattern)

  Test if the given pattern can be sorted through this test link. A test passes if the test matches the given pattern.

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