Clique

public class Clique

Represents the cliques of a JunctionTree.

  • Is this Clique object alive?

    Declaration

    Swift

    public func isAlive() -> Bool
  • Returns a list of Nodes that are members of this Clique.

    Declaration

    Swift

    public func getMembers() throws -> [Node]

    Return Value

    A NodeList containing the members.

  • Returns a list of Cliques that are neighbors of this Clique.

    Declaration

    Swift

    public func getNeighbors() throws -> [Clique]

    Return Value

    A CliqueList containing the neighbors.

  • Returns the JunctionTree to which this Clique belongs.

    Declaration

    Swift

    public func getJunctionTree() throws -> JunctionTree