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

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

19
# LHA related methods
20
export init_state, next_state!, read_trajectory
21
export load_automaton, get_index, get_value, length_var, isaccepted
22
23
24

# Model related methods
export simulate, set_param!, get_param, set_observed_var!
25
export set_time_bound!, getproperty
26
export isbounded, isaccepted, check_consistency
27
28
export load_model, get_module_path

29
# Utils
30
export get_module_path, cosmos_get_values
31

32
33
34
include("common.jl")

include("trajectory.jl")
35
include("lha.jl")
36
include("model.jl")
37
include("utils.jl")
38

39
40
end