Modifier and Type | Method and Description |
---|---|
void |
BetweennessCentrality.computeEdgeCentrality(boolean on)
Activate or deactivate the centrality computation on edges.
|
void |
Centroid.setAPSPInfoAttribute(java.lang.String attribute)
Set the APSP info attribute name.
|
void |
Eccentricity.setAPSPInfoAttribute(java.lang.String attribute)
Set the APSP info attribute name.
|
void |
BetweennessCentrality.setCentralityAttributeName(java.lang.String centralityAttributeName)
Specify the name of the attribute used to store the computed centrality
values for each node.
|
void |
Centroid.setCentroidAttribute(java.lang.String centroidAttribute)
Set the name of the attribute where computation result is stored.
|
void |
AStar.setCosts(AStar.Costs costs)
Specify how various costs are computed.
|
void |
ConnectedComponents.setCountAttribute(java.lang.String countAttribute)
Enable (or disable by passing null for countAttribute) an optional
attribute that will be assigned to each node.
|
void |
ConnectedComponents.setCutAttribute(java.lang.String cutAttribute)
Enable (or disable by passing null) an optional attribute that makes
edges that have it invisible (as if the edge did not existed).
|
void |
PageRank.setDampingFactor(double dampingFactor)
Sets the damping factor.
|
void |
APSP.setDirected(boolean on)
Choose to use or ignore edge orientation.
|
void |
Eccentricity.setEccentricityAttribute(java.lang.String eccentricityAttribute)
Set the name of the attribute where computation result is stored.
|
void |
BellmanFord.setIdentifier(java.lang.String identifier)
Set the unique identifier for this instance.
|
void |
TarjanStronglyConnectedComponents.setIndexGenerator(TarjanStronglyConnectedComponents.IndexGenerator gen)
Set the generator of components indexes.
|
void |
Centroid.setIsInCentroidValue(java.lang.Object value)
Set the value of the centroid attribute when element is in the centroid.
|
void |
Eccentricity.setIsInEccentricityValue(java.lang.Object value)
Set the value of the eccentricity attribute when element is in the
eccentricity.
|
void |
Centroid.setIsNotInCentroidValue(java.lang.Object value)
Set the value of the centroid attribute when element is not in the
centroid.
|
void |
Eccentricity.setIsNotInEccentricityValue(java.lang.Object value)
Set the value of the eccentricity attribute when element is not in the
eccentricity.
|
void |
PageRank.setPrecision(double precision)
Sets the numeric precision.
|
void |
PageRank.setRankAttribute(java.lang.String rankAttribute)
Sets the rank attribute.
|
void |
TarjanStronglyConnectedComponents.setSCCIndexAttribute(java.lang.String key)
Set the node attribute key where component index is stored.
|
void |
DStar.setSource(java.lang.String source) |
void |
Dijkstra.setSource(java.lang.String source) |
void |
AStar.setSource(java.lang.String nodeName)
Change the source node.
|
void |
BellmanFord.setSource(java.lang.String nodeId)
Set the id of the node used as source.
|
void |
APSP.setSource(java.lang.String source) |
void |
DStar.setTarget(java.lang.String target) |
void |
Dijkstra.setTarget(java.lang.String target) |
void |
AStar.setTarget(java.lang.String nodeName)
Change the target node.
|
void |
BellmanFord.setTarget(java.lang.String target) |
void |
APSP.setTarget(java.lang.String target) |
void |
PageRank.setVerbose(boolean verbose)
Switches on or off the verbose mode.
|
void |
LongestPath.setWeightAttribute(java.lang.String weightAttribute) |
void |
BellmanFord.setWeightAttribute(java.lang.String weightAttribute) |
void |
Kruskal.setWeightAttribute(java.lang.String newWeightAttribute)
Set the weight attribute.
|
void |
BetweennessCentrality.setWeightAttributeName(java.lang.String weightAttributeName)
Specify the name of the weight attribute to retrieve edge attributes.
|
void |
APSP.setWeightAttributeName(java.lang.String name)
Choose the name of the attribute used to retrieve edge weights.
|
Modifier and Type | Method and Description |
---|---|
void |
WelshPowell.setAttributeName(java.lang.String attrName)
Set the name of the attribute to put in the graph if it is modified.
|
Modifier and Type | Method and Description |
---|---|
void |
DecentralizedCommunityAlgorithm.setMarker(java.lang.String marker)
Set the marker used to store the community assignment to the specified
value.
|
void |
Leung.setParameters(double m,
double delta)
Sets the preference exponent and hop attenuation factor to the given
values.
|
Modifier and Type | Method and Description |
---|---|
void |
FlowAlgorithmBase.setAllCapacities(double value) |
void |
FlowAlgorithmBase.setCapacityAttribute(java.lang.String attribute) |
void |
FlowAlgorithmBase.setSinkId(java.lang.String sinkId) |
void |
FlowAlgorithmBase.setSourceId(java.lang.String sourceId) |
Modifier and Type | Method and Description |
---|---|
void |
ClosenessCentrality.computeAPSP(boolean compute) |
void |
AbstractCentrality.setCentralityAttribute(java.lang.String centralityAttribute)
Setter for
AbstractCentrality.centralityAttribute . |
void |
SurpriseMeasure.setCommunityAttributeKey(java.lang.String communityAttributeKey) |
void |
Modularity.setWeightMarker(java.lang.String weightMarker)
Enables weighted extension of the modularity using the given weightMarker
for edge weights.
|
Modifier and Type | Method and Description |
---|---|
void |
RandomWalk.setEntityClass(java.lang.String name)
Set the name of the entity class to use.
|
void |
RandomWalk.setEntityCount(int entityCount)
Set the number of entities which will be created at the algorithm
initialization.
|
void |
RandomWalk.setEntityMemory(int size)
Set the entity memory in number of nodes remembered.
|
void |
RandomWalk.setEvaporation(double evaporation)
Set the evaporation of edge counts.
|
void |
RandomWalk.setPassesAttribute(java.lang.String name)
Set the name of the attribute used to store the number of passes of each
entity on each edge or node.
|
void |
RandomWalk.setWeightAttribute(java.lang.String name)
The name of the attribute used to fetch edges importance.
|