Class NDimensionalHypercube<V>

java.lang.Object
org.drip.graph.core.Network<V>
org.drip.graph.core.Directed<V>
org.drip.graph.core.NDimensionalHypercube<V>

public class NDimensionalHypercube<V>
extends Directed<V>
NDimensionalHypercube implements an n-dimensional Hyper-cube Graph. The References are:

  • Bollobas, B. (1998): Modern Graph Theory Springer
  • Eppstein, D. (1999): Spanning Trees and Spanners https://www.ics.uci.edu/~eppstein/pubs/Epp-TR-96-16.pdf
  • Gross, J. L., and J. Yellen (2005): Graph Theory and its Applications Springer
  • Kocay, W., and D. L. Kreher (2004): Graphs, Algorithms, and Optimizations CRC Press
  • Wikipedia (2020): Spanning Tree https://en.wikipedia.org/wiki/Spanning_tree




Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • NDimensionalHypercube

      public NDimensionalHypercube()
      NDimensionalHypercube Constructor
  • Method Details

    • isConnected

      public boolean isConnected()
      Description copied from class: Directed
      Indicate if the Graph is Connected
      Overrides:
      isConnected in class Directed<V>
      Returns:
      TRUE - The Graph is Connected
    • isTree

      public boolean isTree()
      Description copied from class: Directed
      Indicate if the Graph is a Tree
      Overrides:
      isTree in class Directed<V>
      Returns:
      TRUE - The Graph is a Tree
    • isComplete

      public boolean isComplete()
      Description copied from class: Directed
      Indicate if the Graph is Complete
      Overrides:
      isComplete in class Directed<V>
      Returns:
      TRUE - The Graph is Complete
    • containsCycle

      public boolean containsCycle()
      Description copied from class: Directed
      Indicate if the Graph contains a Cycle
      Overrides:
      containsCycle in class Directed<V>
      Returns:
      TRUE - The Graph contains a Cycle
    • type

      public int type()
      Description copied from class: Directed
      Retrieve the Graph Type
      Overrides:
      type in class Directed<V>
      Returns:
      The Graph Type
    • spanningTreeCount

      public double spanningTreeCount()
      Description copied from class: Directed
      Retrieve the Count of the Spanning Trees
      Overrides:
      spanningTreeCount in class Directed<V>
      Returns:
      Count of the Spanning Trees