Skip to content

Commit

Permalink
remove cycle calculation for BSK and IndEst
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebd99 committed Dec 20, 2023
1 parent 600ed15 commit 62bcf89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Source/ColorSummary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ end
end

function join_table_cycle_likelihoods(g::DataGraph, color_hash, cycle_size::Int, max_partial_paths)
cycle_length_likelihoods::Dict{Int, Float64} = Dict()
cycle_likelihoods::Dict{CyclePathAndColors, Float64} = Dict()
if (cycle_size < 2)
return cycle_likelihoods, cycle_length_likelihoods
end

# define a specific_edge as [n1, n2, c1, c2, d]
# we can make a table mapping these to their counts, or just have an array of specific_edges

Expand Down Expand Up @@ -317,7 +323,6 @@ function join_table_cycle_likelihoods(g::DataGraph, color_hash, cycle_size::Int,

# now go through and aggregate all duplicates
MinPathWeight = 25
cycle_likelihoods::Dict = Dict()
default_cycle_weights = Dict()
default_cycle_counts = Dict()
cycle_length_weights = Dict(i => 0.0 for i in 2:cycle_size)
Expand Down

0 comments on commit 62bcf89

Please sign in to comment.