public class BadPlate
extends java.lang.Object
implements blang.core.Model
Modifier and Type | Class and Description |
---|---|
static class |
BadPlate.Builder |
Constructor and Description |
---|
BadPlate(java.util.function.Supplier<Plate<blang.core.WritableIntVar>> $generated__bad)
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 BadPlate.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.
|
Plate<blang.core.WritableIntVar> |
getBad() |
static void |
main(java.lang.String[] arguments)
Utility main method for posterior inference on this model
|
public BadPlate(java.util.function.Supplier<Plate<blang.core.WritableIntVar>> $generated__bad)
public static BadPlate.Builder builderFromCommandLine()
public Plate<blang.core.WritableIntVar> getBad()
public static void main(java.lang.String[] arguments)
public java.util.Collection<blang.core.ModelComponent> components()
components
in interface blang.core.Model