MarkovProcesses.jl 1.17 KB
Newer Older
1
2
module MarkovProcesses

3
4
import Base: +, -, *
import Base: copy, getfield, getindex, lastindex, setindex!, getproperty, setproperty!
5

6
import StaticArrays: SVector
7
8
9
import Distributions: Distribution, Product, Uniform, Normal

export Distribution, Product, Uniform, Normal
10

11
# Common types and constructors
12
export Observations, AbstractTrajectory, Trajectory, SynchronizedTrajectory
13
export Model, ContinuousTimeModel, SynchronizedModel, ModelPrior
14
15
16
export LHA, StateLHA, Edge

# Trajectory related methods
17
export +, -, δ, dist_lp
18
export get_obs_var, length_states, length_obs_var, get_state_from_time 
19
20
export isbounded, times, transitions
export check_consistency, issteadystate, isaccepted
21

22
# LHA related methods
23
export init_state, next_state!, read_trajectory
24
export load_automaton, get_index, get_value, length_var, isaccepted
25
26
27

# Model related methods
export simulate, set_param!, get_param, set_observed_var!
28
export set_time_bound!, getproperty, draw!
29
export isbounded, isaccepted, check_consistency
30
31
export load_model, get_module_path

32
# Utils
33
export get_module_path, cosmos_get_values
34

35
36
37
include("common.jl")

include("trajectory.jl")
38
include("lha.jl")
39
include("model.jl")
40
include("utils.jl")
41

42
43
end