[ { "psig_desc": [ "Psig_attribute", { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.text" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Algorithms related to cycles in directed graphs. ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1233 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1288 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1233 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1288 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1233 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1288 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1233 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1288 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1233 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 18, "pos_bol": 1233, "pos_cnum": 1288 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 20, "pos_bol": 1290, "pos_cnum": 1295 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 20, "pos_bol": 1290, "pos_cnum": 1301 }, "loc_ghost": false }, "txt2": "weight" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_variant", [ { "pcd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1308 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1314 }, "loc_ghost": false }, "txt2": "Normal" }, "pcd_vars": [], "pcd_args": [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1318 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1321 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "pcd_res": null, "pcd_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1306 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 21, "pos_bol": 1304, "pos_cnum": 1321 }, "loc_ghost": false }, "pcd_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Weighted arc that can be included in the feedback set. The\n weight must be zero (not normally a good choice) or positive\n (1 may be a good choice). ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 22, "pos_bol": 1322, "pos_cnum": 1326 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 24, "pos_bol": 1458, "pos_cnum": 1494 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 22, "pos_bol": 1322, "pos_cnum": 1326 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 24, "pos_bol": 1458, "pos_cnum": 1494 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 22, "pos_bol": 1322, "pos_cnum": 1326 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 24, "pos_bol": 1458, "pos_cnum": 1494 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 22, "pos_bol": 1322, "pos_cnum": 1326 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 24, "pos_bol": 1458, "pos_cnum": 1494 }, "loc_ghost": false } } ] }, { "pcd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1499 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1509 }, "loc_ghost": false }, "txt2": "Obligatory" }, "pcd_vars": [], "pcd_args": [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1513 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1516 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "pcd_res": null, "pcd_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1497 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1516 }, "loc_ghost": false }, "pcd_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Obligatory arc that cannot be returned in the feedback set.\n Set the weight to zero to completely ignore obligatory arcs\n when choosing which vertex to schedule. Set it to a positive\n value (1 may be a good choice) to adjust the preference for\n choosing vertexes that may \"unblock\" other vertexes by\n removing their incoming obligatory arcs. ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 26, "pos_bol": 1517, "pos_cnum": 1521 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 31, "pos_bol": 1853, "pos_cnum": 1904 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 26, "pos_bol": 1517, "pos_cnum": 1521 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 31, "pos_bol": 1853, "pos_cnum": 1904 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 26, "pos_bol": 1517, "pos_cnum": 1521 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 31, "pos_bol": 1853, "pos_cnum": 1904 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 26, "pos_bol": 1517, "pos_cnum": 1521 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 31, "pos_bol": 1853, "pos_cnum": 1904 }, "loc_ghost": false } } ] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_attributes": [], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 20, "pos_bol": 1290, "pos_cnum": 1290 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1516 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 20, "pos_bol": 1290, "pos_cnum": 1290 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 25, "pos_bol": 1495, "pos_cnum": 1516 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 49, "pos_bol": 2848, "pos_cnum": 2855 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 49, "pos_bol": 2848, "pos_cnum": 2861 }, "loc_ghost": false }, "txt2": "Fashwo" }, "pmd_type": { "pmty_desc": [ "Pmty_functor", [ "Named", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 50, "pos_bol": 2862, "pos_cnum": 2864 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 50, "pos_bol": 2862, "pos_cnum": 2866 }, "loc_ghost": false }, "txt2": "GB" }, { "pmty_desc": [ "Pmty_signature", [ { "psig_desc": [ "Psig_include", { "pincl_mod": { "pmty_desc": [ "Pmty_ident", "BuilderS" ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2890 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2899 }, "loc_ghost": false }, "pmty_attributes": [] }, "pincl_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2882 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2899 }, "loc_ghost": false }, "pincl_attributes": [] } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2882 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 51, "pos_bol": 2873, "pos_cnum": 2899 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2955 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2961 }, "loc_ghost": false }, "txt2": "weight" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Gedge", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2964 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2970 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "weight", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2974 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2980 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2964 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2980 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [], "pval_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Assign weights to edges. ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2910 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2941 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2910 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2941 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2910 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2941 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2910 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 53, "pos_bol": 2901, "pos_cnum": 2941 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2951 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2980 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2951 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 54, "pos_bol": 2942, "pos_cnum": 2980 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 50, "pos_bol": 2862, "pos_cnum": 2869 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 55, "pos_bol": 2981, "pos_cnum": 2991 }, "loc_ghost": false }, "pmty_attributes": [] } ], { "pmty_desc": [ "Pmty_signature", [ { "psig_desc": [ "Psig_exception", { "ptyexn_constructor": { "pext_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3148 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3153 }, "loc_ghost": false }, "txt2": "Stuck" }, "pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "GBGvertex", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3157 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3168 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3157 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3173 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], null ], "pext_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3138 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3173 }, "loc_ghost": false }, "pext_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Raised if cycles remain and all the remaining vertexes are obligatory.\n The argument gives the list of remaining vertexes. ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 57, "pos_bol": 2999, "pos_cnum": 3001 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 58, "pos_bol": 3076, "pos_cnum": 3135 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 57, "pos_bol": 2999, "pos_cnum": 3001 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 58, "pos_bol": 3076, "pos_cnum": 3135 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 57, "pos_bol": 2999, "pos_cnum": 3001 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 58, "pos_bol": 3076, "pos_cnum": 3135 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 57, "pos_bol": 2999, "pos_cnum": 3001 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 58, "pos_bol": 3076, "pos_cnum": 3135 }, "loc_ghost": false } } ] }, "ptyexn_loc": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "ptyexn_attributes": [] } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3138 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 59, "pos_bol": 3136, "pos_cnum": 3173 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3628 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3644 }, "loc_ghost": false }, "txt2": "feedback_arc_set" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "GBGt", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3647 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3653 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "GBGedge", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3657 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3666 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3657 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3671 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3647 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3671 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [], "pval_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Return a minimal set of arcs whose removal or reversal would make the\n given graph acyclic.\n\n By minimal, we mean that each arc in the returned list must be removed\n or reversed, i.e., none are superfluous. Since a heuristic is used, the\n returned list may not be a minimum feedback arc set. Finding the {i\n minimum feedback arc set}, dually, the {i maximum acyclic subgraph} is\n NP-hard for general graphs. ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 61, "pos_bol": 3175, "pos_cnum": 3177 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 68, "pos_bol": 3585, "pos_cnum": 3621 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 61, "pos_bol": 3175, "pos_cnum": 3177 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 68, "pos_bol": 3585, "pos_cnum": 3621 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 61, "pos_bol": 3175, "pos_cnum": 3177 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 68, "pos_bol": 3585, "pos_cnum": 3621 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 61, "pos_bol": 3175, "pos_cnum": 3177 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 68, "pos_bol": 3585, "pos_cnum": 3621 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3624 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3671 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3624 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 69, "pos_bol": 3622, "pos_cnum": 3671 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 56, "pos_bol": 2995, "pos_cnum": 2995 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 70, "pos_bol": 3672, "pos_cnum": 3675 }, "loc_ghost": false }, "pmty_attributes": [] } ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 50, "pos_bol": 2862, "pos_cnum": 2863 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 70, "pos_bol": 3672, "pos_cnum": 3675 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_attributes": [ { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Adaptation of the FASH algorithm of Eades and Lin (1995) to handle\n edge weights and obligatory arcs. The algorithm tries to minimize the\n total weight of the returned feedback arc set. Obligatory arcs are\n respected and never returned in the feedback arc set, an exception is\n raised if the obligatory arcs form a cycle. The adapted algorithm is\n hereby called FASHWO: “feedback arc set heuristic + weights and\n obligations”.\n\n For a graph G and any one of its feedback arc sets F, the graph G - F is\n obviously acyclic. If F is minimal, i.e., adding any of its edges to G - F\n would introduce a cycle, then reversing, rather than removing, the\n feedback arcs also gives an ayclic graph, [G - F + F^R]. In fact, Eades\n and Lin define the feedback arc set as \"a set of arcs whose reversal makes\n G acyclic\".\n\n @see David Epstein proof about reversed arcs ", { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 33, "pos_bol": 1906, "pos_cnum": 1906 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 48, "pos_bol": 2759, "pos_cnum": 2847 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 33, "pos_bol": 1906, "pos_cnum": 1906 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 48, "pos_bol": 2759, "pos_cnum": 2847 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 33, "pos_bol": 1906, "pos_cnum": 1906 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 48, "pos_bol": 2759, "pos_cnum": 2847 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 33, "pos_bol": 1906, "pos_cnum": 1906 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 48, "pos_bol": 2759, "pos_cnum": 2847 }, "loc_ghost": false } } ], "pmd_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 49, "pos_bol": 2848, "pos_cnum": 2848 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 70, "pos_bol": 3672, "pos_cnum": 3675 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 49, "pos_bol": 2848, "pos_cnum": 2848 }, "loc_end": { "pos_fname": "./_opam/lib/ocamlgraph/cycles.mli", "pos_lnum": 70, "pos_bol": 3672, "pos_cnum": 3675 }, "loc_ghost": false } } ]