Skip to content

StarModel

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

start

function start() -> Real

Start. Simulates through the parameter model.

step

function step() -> Real

Step. Simulates the next point.

Member Fiber Details

parameter

fiber parameter(θ:Parameter) -> Event

Parameter model.

  • θ: The parameters, to be set.

point

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

Point model.

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