Skip to content

Commit

Permalink
Final cleaned modules fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan7773 committed Dec 19, 2023
1 parent 2ef42d1 commit dec96d8
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions src/ActiveInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,25 @@ include("functions.jl")
# From functions.jl
export 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

# export plot_likelihood
# export create_B_matrix
# export onehot
# export plot_point_on_grid
# export infer_states
# export get_expected_states
# export get_expected_observations
# export calculate_G
# export run_active_inference_loop
# export construct_policies
# export calculate_G_policies
# export compute_prob_actions
# export active_inference_with_planning


# From maths.jl
module Maths

include("maths.jl")

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

# export sample_category
# export softmax
# export spm_log_single
# export entropy
# export kl_divergence

end;


# From environment.jl
module Environment

include("environment.jl")

export GridWorldEnv, step!, reset!
# export step!
# export reset!


end;






end;


Expand Down

0 comments on commit dec96d8

Please sign in to comment.