Class SpannerAlgorithm.SpannerImpl<E>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Set<E> edges  
      private static long serialVersionUID  
      private double weight  
    • Constructor Summary

      Constructors 
      Constructor Description
      SpannerImpl​(java.util.Set<E> edges, double weight)
      Construct a new spanner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<E> getEdges()
      Set of edges of the graph spanner.
      double getWeight()
      Returns the weight of the graph spanner.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • weight

        private final double weight
      • edges

        private final java.util.Set<E> edges
    • Constructor Detail

      • SpannerImpl

        public SpannerImpl​(java.util.Set<E> edges,
                           double weight)
        Construct a new spanner
        Parameters:
        edges - the edges
        weight - the weight