Contact Graph Routing for time-varying satellite networks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-cgr: reflow cgr.mli contacts example after dune fmt

+3 -4
+3 -4
lib/cgr.mli
··· 31 31 (* Define contacts (start_time, end_time, rate in bytes/sec). *) 32 32 let contacts = 33 33 [ 34 - Contact.v ~from:earth ~to_:relay ~start:0. ~stop:100. 35 - ~rate:1_000_000. (); 36 - Contact.v ~from:relay ~to_:mars ~start:50. ~stop:150. 37 - ~rate:500_000. (); 34 + Contact.v ~from:earth ~to_:relay ~start:0. ~stop:100. ~rate:1_000_000. 35 + (); 36 + Contact.v ~from:relay ~to_:mars ~start:50. ~stop:150. ~rate:500_000. (); 38 37 ] 39 38 40 39 (* Create contact plan and find route. *)