Show / Hide Table of Contents

    Class Dag

    Includes methods for testing whether a network is a Directed Acyclic Graph (DAG).

    Inheritance
    System.Object
    Dag
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: BayesServer
    Assembly: BayesServer.dll
    Syntax
    public static class Dag

    Methods

    IsDag(Network)

    Determines if a network is a Directed Acyclic Graph (DAG).

    Declaration
    public static bool IsDag(Network network)
    Parameters
    Type Name Description
    Network network

    The network to test.

    Returns
    Type Description
    System.Boolean

    true if a dag, false otherwise.

    See Also
    IsDag()

    IsDag(Network, IEnumerable<Link>, IEnumerable<Link>)

    Determines if a network is a DAG (Directed Acyclic Graph).

    Declaration
    public static bool IsDag(Network network, IEnumerable<Link> ignore, IEnumerable<Link> extra)
    Parameters
    Type Name Description
    Network network

    The network to test.

    System.Collections.Generic.IEnumerable<Link> ignore

    Optional links to ignore. Can be null.

    System.Collections.Generic.IEnumerable<Link> extra

    Optional extra links to include. Can be null.

    Returns
    Type Description
    System.Boolean

    true if a dag, false otherwise.

    Remarks

    The test allows the exclusion of certain links, and the inclusion of extra links that have not yet been added to the network.

    See Also
    IsDag()

    See Also

    IsDag()
    Back to top Copyright Bayes Server Ltd. All rights Reserved.