Skip to content


class StarModel<Parameter, Point> < RandomAccessModel

Star model.

The joint distribution is:

Graphical model depicting StarModel.

A model inheriting from StarModel overrides the parameter and point member fibers to specify the individual components of the joint distribution.

Member Variables

Name Description
θ:Parameter Parameter.
x:Vector<Point> Points.

Member Functions

Name Description
start Start.
step Step.

Member Fibers

Name Description
parameter Parameter model.
point Point model.

Member Function Details


function start() -> Real

Start. Simulates through the parameter model.


function step() -> Real

Step. Simulates the next point.

Member Fiber Details


fiber parameter(θ:Parameter) -> Event

Parameter model.

  • θ: The parameters, to be set.


fiber point(x:Point, θ:Parameter) -> Event

Point model.

  • x: The point, to be set.
  • θ: The parameters.