Graph Utilities Package >

MaximalIndependentVertexSet

MaximalIndependentVertexSet[g]
gives a maximal independent vertex set of an undirected graph g.
MaximalIndependentVertexSet[g, w]
gives a maximal independent vertex set of g with vertices weighted by w.
  • MaximalIndependentVertexSet gives an (approximate) maximal set of vertices such the no two vertices form an edge. It treats the input as an undirected graph.
  • The length of the vector w must be the same as the number of vertices in g.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team