|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuchicago.src.sim.topology.space2.AbstractDiscrete2DTopology
uchicago.src.sim.topology.space2.MooreTopology
Created by IntelliJ IDEA. User: thowe Date: Jun 16, 2003 Time: 4:41:53 PM To change this template use Options | File Templates.
| Field Summary | |
static java.lang.String |
type
|
| Fields inherited from class uchicago.src.sim.topology.space2.AbstractDiscrete2DTopology |
comparator, space, torus |
| Constructor Summary | |
MooreTopology(Discrete2DSpace space)
|
|
| Method Summary | |
double |
distance(java.lang.Object element1,
java.lang.Object element2)
Gets the distance between two objects in this topology. |
java.util.List |
getRelations(int x,
int y,
int[] extents,
boolean returnNulls)
|
java.util.List |
getRelations(java.lang.Object element)
Get all of the relationships that the given element has with other elements. |
java.util.List |
getRelations(java.lang.Object element,
double range)
Gets all of the Objects within a given range. |
java.lang.String |
getRelationType()
Get the type of relationship/topology that is represented by this Class. |
void |
setRelationType(java.lang.String type)
Set the name for this type of relation. |
| Methods inherited from class uchicago.src.sim.topology.space2.AbstractDiscrete2DTopology |
compareMax, compareMin, findMaximum, findMinimum, setComparator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String type
| Constructor Detail |
public MooreTopology(Discrete2DSpace space)
| Method Detail |
public java.util.List getRelations(int x,
int y,
int[] extents,
boolean returnNulls)
getRelations in class AbstractDiscrete2DTopologypublic java.util.List getRelations(java.lang.Object element)
element -
public java.lang.String getRelationType()
public void setRelationType(java.lang.String type)
RelationTopology
type -
public java.util.List getRelations(java.lang.Object element,
double range)
element - range -
public double distance(java.lang.Object element1,
java.lang.Object element2)
element1 - element2 -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||