Package org.gephi.appearance
Class InDegreeRankingImpl
- java.lang.Object
-
- org.gephi.appearance.RankingImpl
-
- org.gephi.appearance.DegreeRankingImpl
-
- org.gephi.appearance.InDegreeRankingImpl
-
- All Implemented Interfaces:
Ranking
public class InDegreeRankingImpl extends DegreeRankingImpl
- Author:
- mbastian
-
-
Field Summary
-
Fields inherited from class org.gephi.appearance.DegreeRankingImpl
column
-
Fields inherited from class org.gephi.appearance.RankingImpl
DEFAULT_INTERPOLATOR, interpolator
-
-
Constructor Summary
Constructors Constructor Description InDegreeRankingImpl(org.gephi.graph.api.Column degreeColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbergetValue(org.gephi.graph.api.Element element, org.gephi.graph.api.Graph gr)Returns the element's value for this ranking.booleanisValid(org.gephi.graph.api.Graph graph)-
Methods inherited from class org.gephi.appearance.DegreeRankingImpl
getMaxValue, getMinValue
-
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 gr)
Description copied from interface:RankingReturns the element's value for this ranking.- Specified by:
getValuein interfaceRanking- Overrides:
getValuein classDegreeRankingImpl- Parameters:
element- element to get the value forgr- graph this element belongs to- Returns:
- the value for this ranking
-
isValid
public boolean isValid(org.gephi.graph.api.Graph graph)
- Overrides:
isValidin classDegreeRankingImpl
-
-