|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LGames.DGame | +--LGames.CompositionalDGame2
The class CompositionalDGame2 implements the discrimination games in the compositional set-up. The function playGame is used to control the game.
Copyright (c) 2004 Paul Vogt
Field Summary |
Fields inherited from class LGames.DGame |
iMeaning, maxMeanings |
Constructor Summary | |
CompositionalDGame2()
Empty constructor |
|
CompositionalDGame2(int m)
Constructor that specifies the holistic conceptual space |
|
CompositionalDGame2(int m,
java.util.List o)
Constructor that specifies the holistic conceptual space, and sets a pointer to the agent's ontology |
Method Summary | |
IntArray |
decayWeights()
Currently not used |
IntArray |
getDCS(int topic)
returns the distinctive category set. |
Meaning |
getTopic(int topic)
returns the Meaning representation of the topic |
int |
playGame(Context cxt,
int topic,
int timestamp,
boolean adapt)
playGame controls a discrimination game. |
void |
test()
Function to test the algorithm. |
Methods inherited from class LGames.DGame |
getDim, playGame, setDim, setMaxMeanings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompositionalDGame2()
public CompositionalDGame2(int m)
m
- the `cover' of the conceptual space (integer representation of the bit-string indicating
which dimensions are used.public CompositionalDGame2(int m, java.util.List o)
m
- the `cover' of the conceptual space (integer representation of the bit-string indicating
which dimensions are used.o
- the ontologyMethod Detail |
public void test()
public int playGame(Context cxt, int topic, int timestamp, boolean adapt)
cxt
- the Contexttopic
- the index of the topic pointing to the topic-th
element of the cxt list.timestamp
- the current time (language game)adapt
- sets learning on (true) or off (false)
public IntArray decayWeights()
public IntArray getDCS(int topic)
public Meaning getTopic(int topic)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |