Skip to content

Commit

Permalink
Merge 1a95b83 into 3956894
Browse files Browse the repository at this point in the history
  • Loading branch information
schnirz committed Dec 3, 2018
2 parents 3956894 + 1a95b83 commit 6dcea04
Show file tree
Hide file tree
Showing 11 changed files with 625 additions and 9 deletions.
3 changes: 2 additions & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Distributions
Tables
SpecialFunctions
NearestNeighbors
Distances
Distances
MetaGraphs
12 changes: 12 additions & 0 deletions docs/src/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ kl_cond_mi
kl_perm_mi_test
kl_perm_cond_mi_test
```
## FCI algorithm
```@docs
has_marks
set_marks!
is_collider
is_parent
is_triangle
is_discriminating_path
isUncoveredCirclePath
isUncoveredPDPath
fcialg
```

## Miscellaneous
```@docs
Expand Down
5 changes: 4 additions & 1 deletion src/CausalInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ export digraph, vpairs, skel_oracle, pc_oracle, randdag
export cmitest, kl_entropy, kl_renyi, kl_mutual_information
export kl_cond_mi, kl_perm_mi_test, kl_perm_cond_mi_test
export n_ball
export fcialg, is_collider, is_triangle, is_parent
export is_discriminating_path, has_marks, set_marks!, isUncoveredCirclePath
export isUncoveredPDPath, @arrow_str

include("klentropy.jl")
include("skeleton.jl")
include("dsep.jl")
include("pc.jl")
include("cpdag.jl")

include("fci.jl")
include("misc.jl")

end # module
2 changes: 1 addition & 1 deletion src/dsep.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function dsep(g::AbstractGraph, u::Integer, v::Integer, S; verbose = false)
descendant = falses(nv(g)) # descendant in s
blocked = falses(nv(g))

for ve in S
for ve in S
in_seen[ve] = true
blocked[ve] = true
end
Expand Down
Loading

0 comments on commit 6dcea04

Please sign in to comment.