Comment out while loop for now
This commit is contained in:
parent
a709226236
commit
0b4747665c
2 changed files with 3 additions and 3 deletions
|
|
@ -87,12 +87,12 @@ let find_max_flow_on_path : int graph -> int graph -> int list -> int option =
|
|||
in
|
||||
find_max_flow_on_path path
|
||||
|
||||
let rec while_loop condition action x =
|
||||
(*let rec while_loop condition action x =
|
||||
if condition x then begin
|
||||
action x; (* Execute the action *)
|
||||
while_loop condition action x (* Recursive call for the next iteration *)
|
||||
end else
|
||||
()
|
||||
()*)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ val check_if_backward_arc_is_in_path : int arc -> int list -> bool
|
|||
|
||||
val find_max_flow_on_path : int graph -> int graph -> int list -> int option
|
||||
|
||||
val while_loop : ('a -> bool) -> ('a -> unit) -> 'a -> unit
|
||||
(*val while_loop : ('a -> bool) -> ('a -> unit) -> 'a -> unit*)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue