|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.cas.multigraph.AbEdge
public class AbEdge
This is the basic Edge class in the AbGraph
| Field Summary | |
|---|---|
static int |
CHROM
|
static int |
FINAL
|
static int |
INIT
|
| Constructor Summary | |
|---|---|
AbEdge(int type,
AbVertex source,
AbVertex target)
Creates a new AbEdge of type type and source and target vertices source and target. |
|
| Method Summary | |
|---|---|
boolean |
contains(long location)
Returns true if the location lies between the source and target location values. |
AbVertex |
getSource()
|
AbVertex |
getTarget()
|
int |
getType()
|
boolean |
incidentOn(AbVertex vertex)
Returns true if the edge is incident on vertex |
AbVertex |
partnerOf(java.lang.Object v)
Returns the partner of v or null if this edge is not incident on v. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CHROM
public static final int INIT
public static final int FINAL
| Constructor Detail |
|---|
public AbEdge(int type,
AbVertex source,
AbVertex target)
type - edge typesource - source vertextarget - target vertex| Method Detail |
|---|
public int getType()
public AbVertex getSource()
public AbVertex getTarget()
public AbVertex partnerOf(java.lang.Object v)
v - vertex
public boolean contains(long location)
location -
public boolean incidentOn(AbVertex vertex)
vertex -
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||