package pgsolver

  1. Overview
  2. Docs
type generalized_mdp_node =
  1. | Controller of int array * string option
  2. | Randomizer of (Tcsmaths.BigFloat.t * int) array
  3. | Reward of Tcsmaths.BigFloat.t * int
  4. | Sink
type generalized_mdp = generalized_mdp_node array
val parity_game_to_generalized_mdp : Paritygame.paritygame -> int -> (int -> int -> bool) -> generalized_mdp
type mdp = ((Tcsmaths.BigFloat.t * Tcsmaths.BigFloat.t * int) array array * string option) array
val generalized_mdp_to_mdp : generalized_mdp -> mdp
val print_mdp : mdp -> unit
type lp_objective =
  1. | Maximize
  2. | Minimize
type lp_constraint_type =
  1. | LPEq
  2. | LPGeq
type lp = lp_objective * string option array * Tcsmaths.BigFloat.t array * (Tcsmaths.BigFloat.t array * Tcsmaths.BigFloat.t * lp_constraint_type * string option) array
val unichain_mdp_to_primal_lp : mdp -> lp
val unichain_mdp_to_dual_lp : mdp -> lp
val print_lp : lp -> unit
OCaml

Innovation. Community. Security.