Class EdgeWeightRankingImpl

  • All Implemented Interfaces:
    Ranking

    public class EdgeWeightRankingImpl
    extends RankingImpl
    Author:
    mbastian
    • Constructor Detail

      • EdgeWeightRankingImpl

        public EdgeWeightRankingImpl()
    • Method Detail

      • getValue

        public Number getValue​(org.gephi.graph.api.Element element,
                               org.gephi.graph.api.Graph graph)
        Description copied from interface: Ranking
        Returns the element's value for this ranking.
        Parameters:
        element - element to get the value for
        graph - 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: Ranking
        Returns 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: Ranking
        Returns 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:
        isValid in class RankingImpl