Package org.gephi.appearance
Class TimesetRankingImpl
- java.lang.Object
-
- org.gephi.appearance.RankingImpl
-
- org.gephi.appearance.AttributeRankingImpl
-
- org.gephi.appearance.TimesetRankingImpl
-
- All Implemented Interfaces:
Ranking
public class TimesetRankingImpl extends AttributeRankingImpl
-
-
Field Summary
-
Fields inherited from class org.gephi.appearance.AttributeRankingImpl
column
-
Fields inherited from class org.gephi.appearance.RankingImpl
DEFAULT_INTERPOLATOR, interpolator
-
-
Constructor Summary
Constructors Constructor Description TimesetRankingImpl(org.gephi.graph.api.Column column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private org.gephi.graph.api.TimeIndex<? extends 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.AttributeRankingImpl
equals, getColumn, hashCode
-
Methods inherited from class org.gephi.appearance.RankingImpl
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.- Specified by:
getValuein interfaceRanking- Overrides:
getValuein classAttributeRankingImpl- 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.- Specified by:
getMinValuein interfaceRanking- Overrides:
getMinValuein classAttributeRankingImpl- 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.- Specified by:
getMaxValuein interfaceRanking- Overrides:
getMaxValuein classAttributeRankingImpl- Parameters:
graph- graph to query- Returns:
- maximum value
-
getIndex
private org.gephi.graph.api.TimeIndex<? extends org.gephi.graph.api.Element> getIndex(org.gephi.graph.api.Graph graph)
-
isValid
public boolean isValid(org.gephi.graph.api.Graph graph)
- Overrides:
isValidin classAttributeRankingImpl
-
-