Skip to content

Commit

Permalink
Env--
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelnehrer02 committed Jan 29, 2024
1 parent 18e92a7 commit 65cddab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 4 additions & 6 deletions src/ActiveInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include("maths.jl")
include("environment.jl")

# From functions.jl
export array_of_any, array_of_any_zeros, array_of_any_uniform, plot_beliefs, plot_gridworld, plot_likelihood, create_B_matrix, onehot, plot_point_on_grid, infer_states, get_expected_states, get_expected_observations, calculate_G, run_active_inference_loop, construct_policies, calculate_G_policies, compute_prob_actions,active_inference_with_planning, EpistChainEnv, GridWorldEnv
export array_of_any, array_of_any_zeros, array_of_any_uniform, plot_beliefs, plot_gridworld, plot_likelihood, create_B_matrix, onehot, plot_point_on_grid, infer_states, get_expected_states, get_expected_observations, calculate_G, run_active_inference_loop, construct_policies, calculate_G_policies, compute_prob_actions,active_inference_with_planning, GridWorldEnv

# From maths.jl
module Maths
Expand All @@ -14,18 +14,16 @@ export array_of_any, array_of_any_zeros, array_of_any_uniform, plot_beliefs, plo

export norm_dist, sample_category, softmax, spm_log_single, entropy, kl_divergence

end;
end

# From environment.jl
module Environment

include("environment.jl")

export GridWorldEnv, EpistChainEnv, step!, reset!
export EpistChainEnv, step!, reset!

end;


end
end


Expand Down
1 change: 0 additions & 1 deletion src/environment.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using LinearAlgebra
using Plots
using IterTools


Expand Down

0 comments on commit 65cddab

Please sign in to comment.