|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
edu.mit.sketch.ddg.ConstraintGraphEdgeList
public class ConstraintGraphEdgeList
Represents a list of directed edges between primitives in the constraint graph. This is a list of ConstraintGraphEdges.
ConstraintGraphEdgeList.java Created: Sun Feb 10 19:04:00 2002
| Constructor Summary | |
|---|---|
ConstraintGraphEdgeList()
Construct an empty list |
|
ConstraintGraphEdgeList(ConstraintGraphEdgeList other)
Construct the list filling it in with the elements of a given list |
|
| Method Summary | |
|---|---|
void |
addEdge(ConstraintGraphEdge edge)
Add an edge. |
void |
addEdge(Primitive startPrimitive,
Primitive endPrimitive,
double confidence,
double relevance)
Add an edge. |
java.lang.Object |
clone()
Clone the list |
boolean |
containsEdge(Primitive startPrimitive,
Primitive endPrimitive)
Checks whether a given edge is present in the list |
ConstraintGraphEdge |
getEdge(Primitive startPrimitive,
Primitive endPrimitive)
Get edge between the given primitives. |
ConstraintGraphEdgeList |
minus(ConstraintGraphEdgeList other)
Return a list of edges that are in this list but not in the other. |
void |
print(java.io.PrintStream out,
boolean printDetails)
Print the edges to a given output stream. |
ConstraintGraphEdge |
removeEdge(Primitive startPrimitive,
Primitive endPrimitive)
Remove and edge between the given primitives and return it. |
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Constructor Detail |
|---|
public ConstraintGraphEdgeList()
public ConstraintGraphEdgeList(ConstraintGraphEdgeList other)
| Method Detail |
|---|
public void addEdge(Primitive startPrimitive,
Primitive endPrimitive,
double confidence,
double relevance)
public void addEdge(ConstraintGraphEdge edge)
public ConstraintGraphEdge getEdge(Primitive startPrimitive,
Primitive endPrimitive)
throws EdgeNotFoundException
EdgeNotFoundException
public boolean containsEdge(Primitive startPrimitive,
Primitive endPrimitive)
public ConstraintGraphEdge removeEdge(Primitive startPrimitive,
Primitive endPrimitive)
throws EdgeNotFoundException
EdgeNotFoundException
public void print(java.io.PrintStream out,
boolean printDetails)
public ConstraintGraphEdgeList minus(ConstraintGraphEdgeList other)
public java.lang.Object clone()
clone in class java.util.Vector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||