Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
* h_program-lang/dependencies_matrix_code.ml: todos
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Sep 11, 2012
1 parent e93171a commit 63ef908
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions h_program-lang/dependencies_matrix_code.ml
Expand Up @@ -135,6 +135,10 @@ let build_with_tree2 tree full_matrix_opt g =
)
end
);
(* todo: the full matrix contains actually only the top k nodes,
* so the name_to_i may fail below. Need to compute ...
* go through all the edges under and reproject.
*)
| Some fulldm ->
for i = 0 to n - 1 do
for j = 0 to n - 1 do
Expand Down Expand Up @@ -276,6 +280,9 @@ let build tree full_matrix_opt g =

let threshold_nodes_full_matrix = 100000

(* todo: intelligent split of the tree? to avoid outliers?
* have a quota per subtree?
*)
let top_nodes_of_graph_until_threshold g =

let res = ref [] in
Expand Down

0 comments on commit 63ef908

Please sign in to comment.