Skip to content

Commit

Permalink
debugging an accidental copy/paste and a forgotten call to a now remo…
Browse files Browse the repository at this point in the history
…ved function
  • Loading branch information
Guillermo Durand committed May 3, 2024
1 parent e06ce26 commit 14d7b05
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
18 changes: 0 additions & 18 deletions R/tree-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -763,21 +763,3 @@ forest.completion <- function(C, ZL, leaf_list) {

return(list(C = C, ZL = ZL))
}

# TODO BEFORE MERGE: delete this
V.star <- function(S, C, ZL, leaf_list) {
all_leaves <- tree.expand(C, ZL, leaf_list)
return(V.star.all.leaves(S,
all_leaves$C,
all_leaves$ZL,
leaf_list))
}

# TODO BEFORE MERGE: delete this
V.star.no.id <- function(S, C, ZL, leaf_list) {
all_leaves <- tree.expand(C, ZL, leaf_list)
return(V.star.all.leaves.no.id(S,
all_leaves$C,
all_leaves$ZL,
leaf_list))
}
1 change: 0 additions & 1 deletion inst/DBNR/envelopes-hybrid/script_test_curve_fast.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ print(curve.V.star.forest.fast(perm, C, ZL, leaf_list, pruning = TRUE))

super.pruned <- pruning(C, ZL, leaf_list, prune.leafs = TRUE)
pruned <- pruning(C, ZL, leaf_list, prune.leafs = FALSE)
K.1 <- compute.K.1(pruned$C, pruned$ZL, leaf_list)

print("Comparing execution times:")
mbench <- microbenchmark(naive.not.pruned = curve.V.star.forest.naive(perm, C, ZL, leaf_list),
Expand Down
1 change: 0 additions & 1 deletion inst/DBNR/envelopes-hybrid/script_test_pruning.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# TODO BEFORE MERGE: rename zetas.tree
library(sanssouci)
library(microbenchmark)

Expand Down

0 comments on commit 14d7b05

Please sign in to comment.