-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEverything.agda
59 lines (45 loc) · 1.31 KB
/
Everything.agda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
------------------------------------------------------------------------
-- A small library for solving sequential decision problems in Agda
------------------------------------------------------------------------
-- Utility modules
------------------
-- Definitions of functors and monads
import Monad
-- Definitions of finite types
import Finite
-- Computing the maximum value of a function
import Max
-- Some monad instances
-----------------------
import Monad.Identity
import Monad.List
import Monad.SP
-- Definition and properties of SDP:s
-------------------------------------
-- Values
import Value
-- Definition of an SDP (States/Controls etc.)
import SDP.SDP
-- Policies and policy sequences
import SDP.Policy
-- Trajectories
import SDP.Trajectory
-- A proof of (a special case of) Bellman's equation
import SDP.BellmanEq
-- Finding optimal policy sequence extensions for finite SDP:s
import SDP.Finite
-- Solving an SDP using backwards induction
import SDP.BackwardsInduction
-- Some value instances
-----------------------
import Value.Nat
import Value.Int
import Value.Rational
-- Examples
-----------
import Examples.RandomWalk
import Examples.GenerationDilemma
import Examples.CarCrash
-- A main module that can be compiled to run the examples
---------------------------------------------------------
import Main