|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.algorithms.SimpleALGenerator
public class SimpleALGenerator
The SimpleALGenerator produces all atoms linked to the given atom,
regardless of the link type and regardless of how an outgoing set is ordered.
| Constructor Summary | |
|---|---|
SimpleALGenerator(HyperGraph hg)
Construct a SimpleALGenerator for the given HyperGraph instance. |
|
| Method Summary | |
|---|---|
void |
close()
|
HGSearchResult<HGHandle> |
generate(HGHandle h)
Return an Iterator over all atoms adjacent to the passed in
atom. |
HGHandle |
getCurrentLink()
Return the HGHandle of the currently examined link. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleALGenerator(HyperGraph hg)
Construct a SimpleALGenerator for the given HyperGraph instance.
hg - The HyperGraph instance.| Method Detail |
|---|
public HGHandle getCurrentLink()
HGALGeneratorReturn the HGHandle of the currently examined link.
getCurrentLink in interface HGALGeneratorpublic HGSearchResult<HGHandle> generate(HGHandle h)
HGALGenerator
Return an Iterator over all atoms adjacent to the passed in
atom.
generate in interface HGALGeneratorh - The handle of the atom of interest.public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||