public class GraphFunctionImpl extends FunctionImpl implements GraphFunction, RankingFunction, PartitionFunction
| Constructor and Description |
|---|
GraphFunctionImpl(String id,
String name,
Class<? extends org.gephi.graph.api.Element> elementClass,
org.gephi.graph.api.Graph graph,
Transformer transformer,
TransformerUI transformerUI,
PartitionImpl partition) |
GraphFunctionImpl(String id,
String name,
Class<? extends org.gephi.graph.api.Element> elementClass,
org.gephi.graph.api.Graph graph,
Transformer transformer,
TransformerUI transformerUI,
RankingImpl ranking,
Interpolator interpolator) |
| Modifier and Type | Method and Description |
|---|---|
Interpolator |
getInterpolator()
Returns the interpolator.
|
PartitionImpl |
getPartition()
Returns the partition configuration associated with this function.
|
RankingImpl |
getRanking()
Returns the ranking configuration associated with this function.
|
void |
setInterpolator(Interpolator interpolator)
Sets the interpolator for this function.
|
equals, getElementClass, getGraph, getId, getTransformer, getUI, hashCode, isAttribute, isPartition, isRanking, isSimple, toString, transformgetElementClass, getGraph, getTransformer, getUI, isAttribute, isPartition, isRanking, isSimple, transformpublic GraphFunctionImpl(String id, String name, Class<? extends org.gephi.graph.api.Element> elementClass, org.gephi.graph.api.Graph graph, Transformer transformer, TransformerUI transformerUI, RankingImpl ranking, Interpolator interpolator)
public GraphFunctionImpl(String id, String name, Class<? extends org.gephi.graph.api.Element> elementClass, org.gephi.graph.api.Graph graph, Transformer transformer, TransformerUI transformerUI, PartitionImpl partition)
public Interpolator getInterpolator()
RankingFunction
By default, a Interpolator.LINEAR is used so no
transformation is operated.
getInterpolator in interface RankingFunctionpublic void setInterpolator(Interpolator interpolator)
RankingFunctionsetInterpolator in interface RankingFunctioninterpolator - interpolatorpublic PartitionImpl getPartition()
PartitionFunctiongetPartition in interface PartitionFunctionpublic RankingImpl getRanking()
RankingFunctiongetRanking in interface RankingFunctionCopyright © 2007–2017. All rights reserved.