Package | Description |
---|---|
edu.uci.ics.jung.algorithms.transformation | |
edu.uci.ics.jung.graph.decorators |
Provides mechanisms for annotating nodes consistently with useful information.
|
edu.uci.ics.jung.graph.impl |
Implementations of the JUNG vertex, edge, and graph interfaces.
|
edu.uci.ics.jung.io |
Provides a set of graph file format interpreters for loading graphs from disk.
|
edu.uci.ics.jung.utils |
Provides a series of useful utility methods, and a number of custom helper classes designed specifically for this application.
|
Modifier and Type | Field and Description |
---|---|
protected UserDataContainer.CopyAction |
FoldingTransformer.copy_action |
Modifier and Type | Method and Description |
---|---|
void |
FoldingTransformer.setCopyAction(UserDataContainer.CopyAction copy_action)
Specifies the copy action used to attach data to edges.
|
Modifier and Type | Field and Description |
---|---|
protected UserDataContainer.CopyAction |
UserDatumNumberEdgeValue.copy_action |
protected UserDataContainer.CopyAction |
UserDatumNumberVertexValue.copy_action |
Modifier and Type | Method and Description |
---|---|
UserDataContainer.CopyAction |
Decorator.getCopyAction()
Retrieves the user datum copy action that this decorator uses when setting new values
|
Modifier and Type | Method and Description |
---|---|
void |
UserDatumNumberEdgeValue.setCopyAction(UserDataContainer.CopyAction copy_action) |
void |
UserDatumNumberVertexValue.setCopyAction(UserDataContainer.CopyAction copy_action) |
Constructor and Description |
---|
Decorator(java.lang.Object key,
UserDataContainer.CopyAction action)
Constructs and initializes the decorator
|
NumericDecorator(java.lang.Object key,
UserDataContainer.CopyAction copyAction)
Constructs and initializes the decorator
|
UserDatumNumberEdgeValue(java.lang.Object key,
UserDataContainer.CopyAction copy_action)
Creates an instance with the specified key and
CopyAction . |
UserDatumNumberVertexValue(java.lang.Object key,
UserDataContainer.CopyAction copy_action)
Creates an instance with the specified key and
CopyAction . |
Modifier and Type | Method and Description |
---|---|
UserDataContainer.CopyAction |
AbstractHyperUnitBPG.getUserDatumCopyAction(java.lang.Object key)
Deprecated.
|
UserDataContainer.CopyAction |
HypergraphBPG.getUserDatumCopyAction(java.lang.Object key)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHyperUnitBPG.addUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
|
void |
HypergraphBPG.addUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
|
void |
AbstractHyperUnitBPG.setUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
|
void |
HypergraphBPG.setUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected UserDataContainer.CopyAction |
HypergraphReader.copy_action |
Modifier and Type | Method and Description |
---|---|
static int |
PartitionDecorationReader.loadCounts(Graph bg,
java.io.Reader count_reader,
org.apache.commons.collections.Predicate partition,
java.lang.Object count_key,
UserDataContainer.CopyAction copyact)
Decorates vertices in the specified partition with typed count data.
|
static void |
PartitionDecorationReader.loadCounts(Graph bg,
java.io.Reader count_reader,
org.apache.commons.collections.Predicate partition,
java.lang.Object count_key,
UserDataContainer.CopyAction copyact,
int num_types) |
Constructor and Description |
---|
HypergraphReader(boolean as_list,
boolean edge_first,
UserDataContainer.CopyAction copy_action) |
Modifier and Type | Class and Description |
---|---|
static class |
UserDataContainer.CopyAction.Clone
Implements UserData.CLONE
|
static class |
UserDataContainer.CopyAction.Remove
Implements UserData.REMOVE
|
static class |
UserDataContainer.CopyAction.Shared
Implements UserData.SHARED
|
Modifier and Type | Field and Description |
---|---|
static UserDataContainer.CopyAction |
UserData.CLONE
A CopyAction that clones UserData--that is, it uses the Java
clone() call to clone the object. |
static UserDataContainer.CopyAction |
UserData.REMOVE
Causes the userdata not to be copied over, and instead returns null.
|
static UserDataContainer.CopyAction |
UserData.SHARED
A CopyAction that links UserData--that is, points to the original data.
|
Modifier and Type | Method and Description |
---|---|
UserDataContainer.CopyAction |
DefaultUserData.getUserDatumCopyAction(java.lang.Object key)
Returns the CopyAction associated with this key.
|
UserDataContainer.CopyAction |
UnifiedUserData.getUserDatumCopyAction(java.lang.Object key)
Returns the CopyAction associated with this key.
|
UserDataContainer.CopyAction |
UserDataContainer.getUserDatumCopyAction(java.lang.Object key)
Retrieves the CopyAction for the object stored in this object's
user data repository to which key refers.
|
UserDataContainer.CopyAction |
UserDataDelegate.getUserDatumCopyAction(java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultUserData.addUserDatum(java.lang.Object key,
java.lang.Object value,
UserDataContainer.CopyAction shared)
Adds user-level information to the node.
|
void |
UnifiedUserData.addUserDatum(java.lang.Object key,
java.lang.Object value,
UserDataContainer.CopyAction shared)
Adds user-level information to the node.
|
void |
UserDataContainer.addUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Adds the specified data with the specified key to this object's
user data repository, with the specified CopyAction.
|
void |
UserDataDelegate.addUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct) |
void |
DefaultUserData.setUserDatum(java.lang.Object key,
java.lang.Object value,
UserDataContainer.CopyAction shared)
Changes the user-level information to the object.
|
void |
UnifiedUserData.setUserDatum(java.lang.Object key,
java.lang.Object value,
UserDataContainer.CopyAction shared)
Changes the user-level information to the object.
|
void |
UserDataContainer.setUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
If key refers to an existing user datum in this object's repository,
that datum is replaced by the specified datum.
|
void |
UserDataDelegate.setUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct) |