Package org.gephi.appearance
Class EdgeWeightRankingImpl
- java.lang.Object
-
- org.gephi.appearance.RankingImpl
-
- org.gephi.appearance.EdgeWeightRankingImpl
-
- All Implemented Interfaces:
Ranking
public class EdgeWeightRankingImpl extends RankingImpl
- Author:
- mbastian
-
-
Field Summary
-
Fields inherited from class org.gephi.appearance.RankingImpl
DEFAULT_INTERPOLATOR, interpolator
-
-
Constructor Summary
Constructors Constructor Description EdgeWeightRankingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private org.gephi.graph.api.ColumngetColumn(org.gephi.graph.api.Graph graph)private org.gephi.graph.api.Index<org.gephi.graph.api.Element>getIndex(org.gephi.graph.api.Graph graph)NumbergetMaxValue(org.gephi.graph.api.Graph graph)Returns the maximum value in this ranking.NumbergetMinValue(org.gephi.graph.api.Graph graph)Returns the minimum value in this ranking.NumbergetValue(org.gephi.graph.api.Element element, org.gephi.graph.api.Graph graph)Returns the element's value for this ranking.booleanisValid(org.gephi.graph.api.Graph graph)-
Methods inherited from class org.gephi.appearance.RankingImpl
getColumn, getInterpolator, getNormalizedValue, normalize, setInterpolator
-
-
-
-
Method Detail
-
getValue
public Number getValue(org.gephi.graph.api.Element element, org.gephi.graph.api.Graph graph)
Description copied from interface:RankingReturns the element's value for this ranking.- Parameters:
element- element to get the value forgraph- graph this element belongs to- Returns:
- the value for this ranking
-
getMinValue
public Number getMinValue(org.gephi.graph.api.Graph graph)
Description copied from interface:RankingReturns the minimum value in this ranking.- Parameters:
graph- graph to query- Returns:
- minimum value
-
getMaxValue
public Number getMaxValue(org.gephi.graph.api.Graph graph)
Description copied from interface:RankingReturns the maximum value in this ranking.- Parameters:
graph- graph to query- Returns:
- maximum value
-
getIndex
private org.gephi.graph.api.Index<org.gephi.graph.api.Element> getIndex(org.gephi.graph.api.Graph graph)
-
getColumn
private org.gephi.graph.api.Column getColumn(org.gephi.graph.api.Graph graph)
-
isValid
public boolean isValid(org.gephi.graph.api.Graph graph)
- Specified by:
isValidin classRankingImpl
-
-