Class DegreeRankingImpl

    • Field Detail

      • column

        protected final org.gephi.graph.api.Column column
    • Constructor Detail

      • DegreeRankingImpl

        public DegreeRankingImpl​(org.gephi.graph.api.Column degreeColumn)
    • Method Detail

      • getValue

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

        public boolean isValid​(org.gephi.graph.api.Graph graph)
        Specified by:
        isValid in class RankingImpl