|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.graph.filters.GraphAssemblyRecord
public class GraphAssemblyRecord
Contains an audit trail of a graph filtering step. Maintains the name of the filters used, a history of previous filters, and links to the original graph that was used to generate the graph.
Field Summary | |
---|---|
static Object |
FILTER_GRAPH_KEY
The key that identifes this GraphAssemblyRecord in the UserData . |
Method Summary | |
---|---|
static GraphAssemblyRecord |
getAssemblyRecord(Graph g)
Returns the GraphAssemblyRecord for a particular graph. |
String |
getName()
Returns the name of the filter that generated this Graph. |
String |
getNameExtended()
Returns the collated name of the sequence of filters. |
Graph |
getOriginalExtended()
Returns the first original graph If the original graph was generated by a different filter (as in the first example at EfficientFilter ,
then there is a "previous" graph--and thus a previous GraphAssemblyRecord. |
Graph |
getOriginalGraph()
Returns the original graph that created this subset. |
GraphAssemblyRecord |
getPreviousAssemblyRecord()
Returns the GraphAssemblyRecord, if it exists, of the original graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Object FILTER_GRAPH_KEY
UserData
.
Method Detail |
---|
public Graph getOriginalGraph()
public String getName()
EfficientFilter
,
then they are all returned, collated together.
public GraphAssemblyRecord getPreviousAssemblyRecord()
EfficientFilter
,
then there is a "previous" graph--and thus a previous GraphAssemblyRecord.
public String getNameExtended()
EfficientFilter
,
then there is a "previous" graph--and thus a previous GraphAssemblyRecord.
This follows the chain back and returns the collated set of names.
public Graph getOriginalExtended()
EfficientFilter
,
then there is a "previous" graph--and thus a previous GraphAssemblyRecord.
This follows the chain back and returns the first Graph.
public static GraphAssemblyRecord getAssemblyRecord(Graph g)
g
- A Graph that may be a filtered version of some other graph.
FILTER_GRAPH_KEY
,
UserDataContainer.getUserDatum(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |