|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjchrest.tests.TestStm
public class TestStm
Suite of tests to verify performance of the Chrest STM class. These tests are Process Tests as they directly test the performance of Chrest.
| Constructor Summary | |
|---|---|
TestStm()
|
|
| Method Summary | |
|---|---|
void |
setup()
|
void |
test1()
First test, makes sure an empty LTM results in root node being placed in STM on trying to recognise a pattern. |
void |
test2()
Second test, ensures that learning an item results in STM containing two nodes: the first is the new node, and the second is the root node. |
void |
test3()
Third test, ensure that capacity of STM is respected. |
void |
test4()
Fourth test, ensure that a new item, if repeated, is correctly placed into STM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestStm()
| Method Detail |
|---|
public void setup()
public void test1()
public void test2()
public void test3()
public void test4()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||