|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LGames.Instance
This class implements the instance base used by the CompositionalAgent2 for inducing compositional structures. It stores an expression with its observed meaning.
Copyright (c) 2004 Paul Vogt
Constructor Summary | |
Instance()
Empty constructor |
|
Instance(java.lang.String e,
IntArray m)
An instance constructor |
Method Summary | |
IntArray |
split(java.lang.String e,
IntArray m)
This function investigates how the heard expression e in relation to meaning m can be chunked (hence the name split :-()). |
boolean |
updateMeanings(int m)
A function to repair the index of the meanings if another meaning m was removed. |
boolean |
updateMeanings(IntArray m)
A function to repair the index of the meanings if an array of meanings m were removed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Instance()
public Instance(java.lang.String e, IntArray m)
e
- the expressionm
- an IntArray pointing to the meaningsMethod Detail |
public boolean updateMeanings(int m)
m
- the meaning that was removed.
public boolean updateMeanings(IntArray m)
m
- the array of meanings that was removed.
public IntArray split(java.lang.String e, IntArray m)
e
- the expressionm
- the meaning
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |