public class Loop
extends java.lang.Object
implements blang.core.Model
Modifier and Type | Class and Description |
---|---|
static class |
Loop.Builder |
Constructor and Description |
---|
Loop(blang.core.RealVar x,
blang.core.RealVar y)
Note: the generated code has the following properties used at runtime:
- all arguments are annotated with a BlangVariable annotation
- params additionally have a Param annotation
- the order of the arguments is as follows:
- first, all the random variables in the order they occur in the blang file
- second, all the params in the order they occur in the blang file
|
Modifier and Type | Method and Description |
---|---|
static Loop.Builder |
builderFromCommandLine() |
java.util.Collection<blang.core.ModelComponent> |
components()
A component can be either a distribution, support constraint, or another model
which recursively defines additional components.
|
blang.core.RealVar |
getX() |
blang.core.RealVar |
getY() |
static void |
main(java.lang.String[] arguments)
Utility main method for posterior inference on this model
|
public Loop(blang.core.RealVar x, blang.core.RealVar y)
public static Loop.Builder builderFromCommandLine()
public blang.core.RealVar getX()
public blang.core.RealVar getY()
public static void main(java.lang.String[] arguments)
public java.util.Collection<blang.core.ModelComponent> components()
components
in interface blang.core.Model