com.cra.figaro.algorithm.factored.beliefpropagation

BasicFactorGraph

class BasicFactorGraph extends FactorGraph[Double]

The basic implementation of FactorGraph for Probabilistic factors in BP

Linear Supertypes
FactorGraph[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicFactorGraph
  2. FactorGraph
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicFactorGraph(factors: List[Factor[Double]], semiring: Semiring[Double])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def getFactorForNode(fn: FactorNode): Factor[Double]

    Gets the factor for a particular factor node

    Gets the factor for a particular factor node

    Definition Classes
    BasicFactorGraphFactorGraph
  13. def getLastMessage(from: Node, to: Node): Factor[Double]

    Gets the last message to a node from another

    Gets the last message to a node from another

    Definition Classes
    BasicFactorGraphFactorGraph
  14. def getMessagesForNode(node: Node): Iterable[(Node, Factor[Double])]

    Get a list of messages to the node

    Get a list of messages to the node

    Definition Classes
    BasicFactorGraphFactorGraph
  15. def getNeighbors(source: Node, excluding: Node): Iterable[Node]

    Returns all neighbors of a given node excluding the node of the second argument

    Returns all neighbors of a given node excluding the node of the second argument

    Definition Classes
    BasicFactorGraphFactorGraph
  16. def getNeighbors(source: Node): Iterable[Node]

    Returns all neighbors of a given node

    Returns all neighbors of a given node

    Definition Classes
    BasicFactorGraphFactorGraph
  17. def getNodes(): Iterable[Node]

    Returns all nodes in the factor graph

    Returns all nodes in the factor graph

    Definition Classes
    BasicFactorGraphFactorGraph
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toMutableMap(m: Map[Node, Factor[Double]]): Map[Node, Factor[Double]]

  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def uniformFactor(v: List[Variable[_]]): Factor[Double]

    Returns a uniform factor

    Returns a uniform factor

    Definition Classes
    BasicFactorGraphFactorGraph
  27. def update(from: Node, to: Node, f: Factor[Double]): FactorGraph[Double]

    Updates the factor graph with a message from a node to another.

    Updates the factor graph with a message from a node to another. Returns a new factor graph, which can be the same as this one.

    Definition Classes
    BasicFactorGraphFactorGraph
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FactorGraph[Double]

Inherited from AnyRef

Inherited from Any

Ungrouped