public final class OldSomSpace
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OTHER |
Constructor and Description |
---|
OldSomSpace() |
Modifier and Type | Method and Description |
---|---|
void |
add(Entity tRaw) |
boolean |
contains(Entity t) |
int |
getFrequency(Entity t) |
java.util.List<Entity> |
getNearest(Entity t,
int n) |
java.util.List<Entity> |
getNeighbors(Entity t) |
Som<Entity> |
getSom(java.lang.String type) |
static void |
main(java.lang.String[] args) |
public static final java.lang.String OTHER
public void add(Entity tRaw)
public boolean contains(Entity t)
public java.util.List<Entity> getNeighbors(Entity t)
t
- Thingpublic Som<Entity> getSom(java.lang.String type)
k
- KnowledgeRep that the SOM holdspublic static void main(java.lang.String[] args)
public int getFrequency(Entity t)