|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vrspace.neurogrid.NGObject
org.vrspace.neurogrid.Node
A NeuroGrid node
Nested Class Summary | |
class |
Node.TripleFilterByPredicate
Check whether UriTriple contains specified Predicate |
Field Summary | |
java.lang.String |
name
|
Fields inherited from class org.vrspace.neurogrid.NGObject |
db_id |
Constructor Summary | |
Node()
|
|
Node(java.lang.String name)
|
|
Node(java.lang.String name,
DBAdapter db)
|
Method Summary | |
void |
addEvents(java.util.Set uriTripleSet,
EventType type)
Creates set of Events of a specified type, for the specified UriTriple set. |
protected java.util.SortedSet |
fetch(Keyword keyword)
Retreives all uri triples containing this keyword. |
java.util.SortedSet |
fetch(Predicate predicate,
Keyword keyword)
Get uri triples containing this keyword and predicate |
NGObject |
next()
|
java.lang.String |
toString()
Returns string containing id and name of this record |
java.lang.Double |
weight(UriTriple triple)
Default weight impl, returns clicked# / suggested# for this uriTriple |
Methods inherited from class org.vrspace.neurogrid.NGObject |
deleteStatement, fieldIterator, fieldIterator, fromText, getID, getTable, init, insertStatement, nullify, stringify, stringify, toText, updateStatement, verify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String name
Constructor Detail |
public Node()
public Node(java.lang.String name)
public Node(java.lang.String name, DBAdapter db)
Method Detail |
protected java.util.SortedSet fetch(Keyword keyword)
UriTriple
,
Keyword
public java.util.SortedSet fetch(Predicate predicate, Keyword keyword)
UriTriple
,
Node.TripleFilterByPredicate
,
Keyword
public java.lang.Double weight(UriTriple triple)
Event
,
EventType
public void addEvents(java.util.Set uriTripleSet, EventType type)
Event
,
EventType
,
UriTriple
public java.lang.String toString()
NGObject
toString
in class NGObject
public NGObject next()
next
in class NGObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |