MarkovProcesses.jl 889 Bytes
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
# Common types and constructors
9
export Observations, AbstractTrajectory, Trajectory
10
11
12
13
export LHA, StateLHA, Edge
export Model, ContinuousTimeModel, DiscreteTimeModel

# Trajectory related methods
14
export +, -, δ, dist_lp
15
16
17
export get_obs_var, length_states, length_obs_var, get_state_from_time 
export is_bounded, times, transitions
export check_consistency, is_steadystate
18

19
# LHA related methods
20
21
export init_state, next_state!, read_trajectory
export load_automaton, get_index, get_value, length_var
22
23
24
25
26
27
28
29
30

# Model related methods
export simulate, set_param!, get_param, set_observed_var!
export is_bounded
export load_model, get_module_path

include("common.jl")

include("trajectory.jl")
31
include("lha.jl")
32
include("model.jl")
33

34
35
end