1019 lines
60 KiB
XML
1019 lines
60 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
|
|
<compounddef id="random_8hpp" kind="file">
|
|
<compoundname>random.hpp</compoundname>
|
|
<includedby refid="support_8hh" local="no">/usr/include/gecode/support.hh</includedby>
|
|
<invincdepgraph>
|
|
<node id="33457">
|
|
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
|
|
<link refid="nvalues_2int-base_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33440">
|
|
<label>/usr/include/gecode/int/arithmetic.hh</label>
|
|
<link refid="int_2arithmetic_8hh_source"/>
|
|
</node>
|
|
<node id="33465">
|
|
<label>/usr/include/gecode/int/view/scale.hpp</label>
|
|
<link refid="int_2view_2scale_8hpp_source"/>
|
|
<childnode refid="33466" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33463">
|
|
<label>/usr/include/gecode/int/div.hh</label>
|
|
<link refid="div_8hh_source"/>
|
|
<childnode refid="33464" relation="include">
|
|
</childnode>
|
|
<childnode refid="33465" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33464">
|
|
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
|
|
<link refid="int_2arithmetic_2mult_8hpp_source"/>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33417">
|
|
<label>/usr/include/gecode/flatzinc.hh</label>
|
|
<link refid="flatzinc_8hh_source"/>
|
|
<childnode refid="33418" relation="include">
|
|
</childnode>
|
|
<childnode refid="33419" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33446">
|
|
<label>/usr/include/gecode/int/gcc/post.hpp</label>
|
|
<link refid="int_2gcc_2post_8hpp_source"/>
|
|
<childnode refid="33447" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33495">
|
|
<label>/usr/include/gecode/minimodel.hh</label>
|
|
<link refid="minimodel_8hh_source"/>
|
|
<childnode refid="33496" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33414">
|
|
<label>/usr/include/gecode/support/random.hpp</label>
|
|
<link refid="random.hpp"/>
|
|
<childnode refid="33415" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33483">
|
|
<label>/usr/include/gecode/int/dom/range.hpp</label>
|
|
<link refid="range_8hpp_source"/>
|
|
<childnode refid="33467" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33491">
|
|
<label>/usr/include/gecode/int/cumulative.hh</label>
|
|
<link refid="cumulative_8hh_source"/>
|
|
</node>
|
|
<node id="33492">
|
|
<label>/usr/include/gecode/int/unary.hh</label>
|
|
<link refid="unary_8hh_source"/>
|
|
<childnode refid="33491" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33475">
|
|
<label>/usr/include/gecode/int/no-overlap.hh</label>
|
|
<link refid="no-overlap_8hh_source"/>
|
|
</node>
|
|
<node id="33489">
|
|
<label>/usr/include/gecode/int/support-values.hh</label>
|
|
<link refid="support-values_8hh_source"/>
|
|
<childnode refid="33464" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33455">
|
|
<label>/usr/include/gecode/int/cumulatives.hh</label>
|
|
<link refid="cumulatives_8hh_source"/>
|
|
</node>
|
|
<node id="33498">
|
|
<label>/usr/include/gecode/set/channel.hh</label>
|
|
<link refid="set_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="33456">
|
|
<label>/usr/include/gecode/int/distinct.hh</label>
|
|
<link refid="int_2distinct_8hh_source"/>
|
|
<childnode refid="33452" relation="include">
|
|
</childnode>
|
|
<childnode refid="33453" relation="include">
|
|
</childnode>
|
|
<childnode refid="33446" relation="include">
|
|
</childnode>
|
|
<childnode refid="33457" relation="include">
|
|
</childnode>
|
|
<childnode refid="33458" relation="include">
|
|
</childnode>
|
|
<childnode refid="33459" relation="include">
|
|
</childnode>
|
|
<childnode refid="33460" relation="include">
|
|
</childnode>
|
|
<childnode refid="33461" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33433">
|
|
<label>/usr/include/gecode/gist/mainwindow.hh</label>
|
|
<link refid="mainwindow_8hh_source"/>
|
|
</node>
|
|
<node id="33523">
|
|
<label>/usr/include/gecode/search/sequential/bab.hh</label>
|
|
<link refid="sequential_2bab_8hh_source"/>
|
|
</node>
|
|
<node id="33512">
|
|
<label>/usr/include/gecode/set/rel.hh</label>
|
|
<link refid="set_2rel_8hh_source"/>
|
|
<childnode refid="33500" relation="include">
|
|
</childnode>
|
|
<childnode refid="33469" relation="include">
|
|
</childnode>
|
|
<childnode refid="33510" relation="include">
|
|
</childnode>
|
|
<childnode refid="33511" relation="include">
|
|
</childnode>
|
|
<childnode refid="33513" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33502">
|
|
<label>/usr/include/gecode/set/int.hh</label>
|
|
<link refid="set_2int_8hh_source"/>
|
|
</node>
|
|
<node id="33438">
|
|
<label>/usr/include/gecode/gist/preferences.hh</label>
|
|
<link refid="preferences_8hh_source"/>
|
|
</node>
|
|
<node id="33485">
|
|
<label>/usr/include/gecode/int/member/prop.hpp</label>
|
|
<link refid="member_2prop_8hpp_source"/>
|
|
<childnode refid="33474" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33470">
|
|
<label>/usr/include/gecode/int/exec.hh</label>
|
|
<link refid="exec_8hh_source"/>
|
|
</node>
|
|
<node id="33430">
|
|
<label>/usr/include/gecode/gist/nodecursor.hh</label>
|
|
<link refid="nodecursor_8hh_source"/>
|
|
<childnode refid="33429" relation="include">
|
|
</childnode>
|
|
<childnode refid="33428" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33477">
|
|
<label>/usr/include/gecode/int/rel.hh</label>
|
|
<link refid="int_2rel_8hh_source"/>
|
|
<childnode refid="33478" relation="include">
|
|
</childnode>
|
|
<childnode refid="33479" relation="include">
|
|
</childnode>
|
|
<childnode refid="33480" relation="include">
|
|
</childnode>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
<childnode refid="33481" relation="include">
|
|
</childnode>
|
|
<childnode refid="33482" relation="include">
|
|
</childnode>
|
|
<childnode refid="33456" relation="include">
|
|
</childnode>
|
|
<childnode refid="33483" relation="include">
|
|
</childnode>
|
|
<childnode refid="33467" relation="include">
|
|
</childnode>
|
|
<childnode refid="33484" relation="include">
|
|
</childnode>
|
|
<childnode refid="33468" relation="include">
|
|
</childnode>
|
|
<childnode refid="33471" relation="include">
|
|
</childnode>
|
|
<childnode refid="33485" relation="include">
|
|
</childnode>
|
|
<childnode refid="33486" relation="include">
|
|
</childnode>
|
|
<childnode refid="33448" relation="include">
|
|
</childnode>
|
|
<childnode refid="33487" relation="include">
|
|
</childnode>
|
|
<childnode refid="33458" relation="include">
|
|
</childnode>
|
|
<childnode refid="33459" relation="include">
|
|
</childnode>
|
|
<childnode refid="33460" relation="include">
|
|
</childnode>
|
|
<childnode refid="33488" relation="include">
|
|
</childnode>
|
|
<childnode refid="33461" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33496">
|
|
<label>/usr/include/gecode/driver.hh</label>
|
|
<link refid="driver_8hh_source"/>
|
|
<childnode refid="33417" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33427">
|
|
<label>/usr/include/gecode/gist/visualnode.hh</label>
|
|
<link refid="visualnode_8hh_source"/>
|
|
<childnode refid="33428" relation="include">
|
|
</childnode>
|
|
<childnode refid="33430" relation="include">
|
|
</childnode>
|
|
<childnode refid="33431" relation="include">
|
|
</childnode>
|
|
<childnode refid="33435" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33479">
|
|
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
|
|
<link refid="nroot_8hpp_source"/>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33420">
|
|
<label>/usr/include/gecode/float.hh</label>
|
|
<link refid="float_8hh_source"/>
|
|
<childnode refid="33421" relation="include">
|
|
</childnode>
|
|
<childnode refid="33422" relation="include">
|
|
</childnode>
|
|
<childnode refid="33423" relation="include">
|
|
</childnode>
|
|
<childnode refid="33424" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33524">
|
|
<label>/usr/include/gecode/search/sequential/dfs.hh</label>
|
|
<link refid="sequential_2dfs_8hh_source"/>
|
|
</node>
|
|
<node id="33478">
|
|
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
|
|
<link refid="max_8hpp_source"/>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33474">
|
|
<label>/usr/include/gecode/int/member.hh</label>
|
|
<link refid="member_8hh_source"/>
|
|
</node>
|
|
<node id="33418">
|
|
<label>/usr/include/gecode/flatzinc/parser.hh</label>
|
|
<link refid="parser_8hh_source"/>
|
|
</node>
|
|
<node id="33516">
|
|
<label>/usr/include/gecode/search.hh</label>
|
|
<link refid="search_8hh_source"/>
|
|
<childnode refid="33496" relation="include">
|
|
</childnode>
|
|
<childnode refid="33437" relation="include">
|
|
</childnode>
|
|
<childnode refid="33517" relation="include">
|
|
</childnode>
|
|
<childnode refid="33525" relation="include">
|
|
</childnode>
|
|
<childnode refid="33519" relation="include">
|
|
</childnode>
|
|
<childnode refid="33518" relation="include">
|
|
</childnode>
|
|
<childnode refid="33523" relation="include">
|
|
</childnode>
|
|
<childnode refid="33524" relation="include">
|
|
</childnode>
|
|
<childnode refid="33522" relation="include">
|
|
</childnode>
|
|
<childnode refid="33527" relation="include">
|
|
</childnode>
|
|
<childnode refid="33528" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33432">
|
|
<label>/usr/include/gecode/gist/qtgist.hh</label>
|
|
<link refid="qtgist_8hh_source"/>
|
|
<childnode refid="33433" relation="include">
|
|
</childnode>
|
|
<childnode refid="33434" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33487">
|
|
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
|
|
<link refid="bool-gq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33521">
|
|
<label>/usr/include/gecode/search/parallel/dfs.hh</label>
|
|
<link refid="parallel_2dfs_8hh_source"/>
|
|
</node>
|
|
<node id="33506">
|
|
<label>/usr/include/gecode/set/branch.hh</label>
|
|
<link refid="set_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="33454">
|
|
<label>/usr/include/gecode/int/count.hh</label>
|
|
<link refid="count_8hh_source"/>
|
|
</node>
|
|
<node id="33435">
|
|
<label>/usr/include/gecode/gist/treecanvas.hh</label>
|
|
<link refid="treecanvas_8hh_source"/>
|
|
<childnode refid="33432" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33459">
|
|
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
|
|
<link refid="nvalues_2int-gq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33482">
|
|
<label>/usr/include/gecode/int/count/rel.hpp</label>
|
|
<link refid="rel_8hpp_source"/>
|
|
<childnode refid="33454" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33469">
|
|
<label>/usr/include/gecode/set/element.hh</label>
|
|
<link refid="set_2element_8hh_source"/>
|
|
</node>
|
|
<node id="33416">
|
|
<label>/usr/include/gecode/kernel.hh</label>
|
|
<link refid="kernel_8hh_source"/>
|
|
<childnode refid="33417" relation="include">
|
|
</childnode>
|
|
<childnode refid="33420" relation="include">
|
|
</childnode>
|
|
<childnode refid="33425" relation="include">
|
|
</childnode>
|
|
<childnode refid="33426" relation="include">
|
|
</childnode>
|
|
<childnode refid="33436" relation="include">
|
|
</childnode>
|
|
<childnode refid="33435" relation="include">
|
|
</childnode>
|
|
<childnode refid="33427" relation="include">
|
|
</childnode>
|
|
<childnode refid="33437" relation="include">
|
|
</childnode>
|
|
<childnode refid="33439" relation="include">
|
|
</childnode>
|
|
<childnode refid="33514" relation="include">
|
|
</childnode>
|
|
<childnode refid="33515" relation="include">
|
|
</childnode>
|
|
<childnode refid="33495" relation="include">
|
|
</childnode>
|
|
<childnode refid="33516" relation="include">
|
|
</childnode>
|
|
<childnode refid="33505" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33508">
|
|
<label>/usr/include/gecode/set/distinct.hh</label>
|
|
<link refid="set_2distinct_8hh_source"/>
|
|
</node>
|
|
<node id="33431">
|
|
<label>/usr/include/gecode/gist/nodestats.hh</label>
|
|
<link refid="nodestats_8hh_source"/>
|
|
<childnode refid="33432" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33511">
|
|
<label>/usr/include/gecode/set/rel-op.hh</label>
|
|
<link refid="rel-op_8hh_source"/>
|
|
<childnode refid="33469" relation="include">
|
|
</childnode>
|
|
<childnode refid="33510" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33460">
|
|
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
|
|
<link refid="nvalues_2int-lq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33468">
|
|
<label>/usr/include/gecode/int/element.hh</label>
|
|
<link refid="int_2element_8hh_source"/>
|
|
<childnode refid="33469" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33452">
|
|
<label>/usr/include/gecode/int/channel.hh</label>
|
|
<link refid="int_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="33515">
|
|
<label>/usr/include/gecode/kernel/wait.hh</label>
|
|
<link refid="wait_8hh_source"/>
|
|
</node>
|
|
<node id="33473">
|
|
<label>/usr/include/gecode/set/ldsb.hh</label>
|
|
<link refid="set_2ldsb_8hh_source"/>
|
|
</node>
|
|
<node id="33434">
|
|
<label>/usr/include/gecode/gist/nodewidget.hh</label>
|
|
<link refid="nodewidget_8hh_source"/>
|
|
</node>
|
|
<node id="33466">
|
|
<label>/usr/include/gecode/int/view.hpp</label>
|
|
<link refid="int_2view_8hpp_source"/>
|
|
<childnode refid="33439" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33441">
|
|
<label>/usr/include/gecode/int/bin-packing.hh</label>
|
|
<link refid="bin-packing_8hh_source"/>
|
|
</node>
|
|
<node id="33528">
|
|
<label>/usr/include/gecode/search/worker.hh</label>
|
|
<link refid="worker_8hh_source"/>
|
|
<childnode refid="33519" relation="include">
|
|
</childnode>
|
|
<childnode refid="33518" relation="include">
|
|
</childnode>
|
|
<childnode refid="33523" relation="include">
|
|
</childnode>
|
|
<childnode refid="33524" relation="include">
|
|
</childnode>
|
|
<childnode refid="33522" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33442">
|
|
<label>/usr/include/gecode/int/bool.hh</label>
|
|
<link refid="bool_8hh_source"/>
|
|
<childnode refid="33443" relation="include">
|
|
</childnode>
|
|
<childnode refid="33448" relation="include">
|
|
</childnode>
|
|
<childnode refid="33450" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33499">
|
|
<label>/usr/include/gecode/set/channel/int.hpp</label>
|
|
<link refid="set_2channel_2int_8hpp_source"/>
|
|
<childnode refid="33498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33500">
|
|
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
|
|
<link refid="sorted_8hpp_source"/>
|
|
<childnode refid="33498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33486">
|
|
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
|
|
<link refid="re-prop_8hpp_source"/>
|
|
<childnode refid="33474" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33425">
|
|
<label>/usr/include/gecode/gist/node.hh</label>
|
|
<link refid="node_8hh_source"/>
|
|
<childnode refid="33426" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33472">
|
|
<label>/usr/include/gecode/int/ldsb.hh</label>
|
|
<link refid="int_2ldsb_8hh_source"/>
|
|
<childnode refid="33473" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33518">
|
|
<label>/usr/include/gecode/search/parallel/path.hh</label>
|
|
<link refid="parallel_2path_8hh_source"/>
|
|
<childnode refid="33519" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33437">
|
|
<label>/usr/include/gecode/gist.hh</label>
|
|
<link refid="gist_8hh_source"/>
|
|
<childnode refid="33433" relation="include">
|
|
</childnode>
|
|
<childnode refid="33434" relation="include">
|
|
</childnode>
|
|
<childnode refid="33438" relation="include">
|
|
</childnode>
|
|
<childnode refid="33436" relation="include">
|
|
</childnode>
|
|
<childnode refid="33435" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33451">
|
|
<label>/usr/include/gecode/int/branch.hh</label>
|
|
<link refid="int_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="33449">
|
|
<label>/usr/include/gecode/int/nvalues.hh</label>
|
|
<link refid="nvalues_8hh_source"/>
|
|
</node>
|
|
<node id="33481">
|
|
<label>/usr/include/gecode/int/bool/ite.hpp</label>
|
|
<link refid="ite_8hpp_source"/>
|
|
<childnode refid="33442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33488">
|
|
<label>/usr/include/gecode/int/sequence.hh</label>
|
|
<link refid="int_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="33525">
|
|
<label>/usr/include/gecode/search/meta/rbs.hh</label>
|
|
<link refid="rbs_8hh_source"/>
|
|
<childnode refid="33526" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33520">
|
|
<label>/usr/include/gecode/search/parallel/bab.hh</label>
|
|
<link refid="parallel_2bab_8hh_source"/>
|
|
</node>
|
|
<node id="33494">
|
|
<label>/usr/include/gecode/int/view-val-graph.hh</label>
|
|
<link refid="view-val-graph_8hh_source"/>
|
|
<childnode refid="33456" relation="include">
|
|
</childnode>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33443">
|
|
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
|
|
<link refid="bool-int_8hpp_source"/>
|
|
<childnode refid="33444" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33461">
|
|
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
|
|
<link refid="sorted_2propagate_8hpp_source"/>
|
|
<childnode refid="33462" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33424">
|
|
<label>/usr/include/gecode/float/rel.hh</label>
|
|
<link refid="float_2rel_8hh_source"/>
|
|
<childnode refid="33421" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33436">
|
|
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
|
|
<link refid="stopbrancher_8hh_source"/>
|
|
</node>
|
|
<node id="33519">
|
|
<label>/usr/include/gecode/search/parallel/engine.hh</label>
|
|
<link refid="engine_8hh_source"/>
|
|
<childnode refid="33520" relation="include">
|
|
</childnode>
|
|
<childnode refid="33521" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33421">
|
|
<label>/usr/include/gecode/float/arithmetic.hh</label>
|
|
<link refid="float_2arithmetic_8hh_source"/>
|
|
</node>
|
|
<node id="33419">
|
|
<label>/usr/include/gecode/flatzinc/registry.hh</label>
|
|
<link refid="registry_8hh_source"/>
|
|
</node>
|
|
<node id="33447">
|
|
<label>/usr/include/gecode/int/gcc.hh</label>
|
|
<link refid="gcc_8hh_source"/>
|
|
</node>
|
|
<node id="33503">
|
|
<label>/usr/include/gecode/set/int/minmax.hpp</label>
|
|
<link refid="minmax_8hpp_source"/>
|
|
<childnode refid="33502" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33428">
|
|
<label>/usr/include/gecode/gist/layoutcursor.hh</label>
|
|
<link refid="layoutcursor_8hh_source"/>
|
|
<childnode refid="33429" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33426">
|
|
<label>/usr/include/gecode/gist/spacenode.hh</label>
|
|
<link refid="spacenode_8hh_source"/>
|
|
<childnode refid="33427" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33509">
|
|
<label>/usr/include/gecode/set/precede.hh</label>
|
|
<link refid="set_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="33423">
|
|
<label>/usr/include/gecode/float/linear.hh</label>
|
|
<link refid="float_2linear_8hh_source"/>
|
|
</node>
|
|
<node id="33522">
|
|
<label>/usr/include/gecode/search/sequential/path.hh</label>
|
|
<link refid="sequential_2path_8hh_source"/>
|
|
<childnode refid="33523" relation="include">
|
|
</childnode>
|
|
<childnode refid="33524" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33526">
|
|
<label>/usr/include/gecode/search/rbs.hpp</label>
|
|
<link refid="rbs_8hpp_source"/>
|
|
<childnode refid="33516" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33493">
|
|
<label>/usr/include/gecode/int/val-set.hh</label>
|
|
<link refid="val-set_8hh_source"/>
|
|
<childnode refid="33474" relation="include">
|
|
</childnode>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33439">
|
|
<label>/usr/include/gecode/int.hh</label>
|
|
<link refid="int_8hh_source"/>
|
|
<childnode refid="33417" relation="include">
|
|
</childnode>
|
|
<childnode refid="33421" relation="include">
|
|
</childnode>
|
|
<childnode refid="33423" relation="include">
|
|
</childnode>
|
|
<childnode refid="33424" relation="include">
|
|
</childnode>
|
|
<childnode refid="33420" relation="include">
|
|
</childnode>
|
|
<childnode refid="33437" relation="include">
|
|
</childnode>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
<childnode refid="33441" relation="include">
|
|
</childnode>
|
|
<childnode refid="33442" relation="include">
|
|
</childnode>
|
|
<childnode refid="33451" relation="include">
|
|
</childnode>
|
|
<childnode refid="33452" relation="include">
|
|
</childnode>
|
|
<childnode refid="33453" relation="include">
|
|
</childnode>
|
|
<childnode refid="33454" relation="include">
|
|
</childnode>
|
|
<childnode refid="33455" relation="include">
|
|
</childnode>
|
|
<childnode refid="33456" relation="include">
|
|
</childnode>
|
|
<childnode refid="33463" relation="include">
|
|
</childnode>
|
|
<childnode refid="33467" relation="include">
|
|
</childnode>
|
|
<childnode refid="33468" relation="include">
|
|
</childnode>
|
|
<childnode refid="33470" relation="include">
|
|
</childnode>
|
|
<childnode refid="33471" relation="include">
|
|
</childnode>
|
|
<childnode refid="33447" relation="include">
|
|
</childnode>
|
|
<childnode refid="33472" relation="include">
|
|
</childnode>
|
|
<childnode refid="33444" relation="include">
|
|
</childnode>
|
|
<childnode refid="33474" relation="include">
|
|
</childnode>
|
|
<childnode refid="33475" relation="include">
|
|
</childnode>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
<childnode refid="33476" relation="include">
|
|
</childnode>
|
|
<childnode refid="33477" relation="include">
|
|
</childnode>
|
|
<childnode refid="33488" relation="include">
|
|
</childnode>
|
|
<childnode refid="33462" relation="include">
|
|
</childnode>
|
|
<childnode refid="33489" relation="include">
|
|
</childnode>
|
|
<childnode refid="33490" relation="include">
|
|
</childnode>
|
|
<childnode refid="33493" relation="include">
|
|
</childnode>
|
|
<childnode refid="33494" relation="include">
|
|
</childnode>
|
|
<childnode refid="33495" relation="include">
|
|
</childnode>
|
|
<childnode refid="33497" relation="include">
|
|
</childnode>
|
|
<childnode refid="33499" relation="include">
|
|
</childnode>
|
|
<childnode refid="33500" relation="include">
|
|
</childnode>
|
|
<childnode refid="33501" relation="include">
|
|
</childnode>
|
|
<childnode refid="33503" relation="include">
|
|
</childnode>
|
|
<childnode refid="33504" relation="include">
|
|
</childnode>
|
|
<childnode refid="33505" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33448">
|
|
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
|
|
<link refid="bool-eq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33450">
|
|
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
|
|
<link refid="bool-lq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33490">
|
|
<label>/usr/include/gecode/int/task.hh</label>
|
|
<link refid="task_8hh_source"/>
|
|
<childnode refid="33491" relation="include">
|
|
</childnode>
|
|
<childnode refid="33492" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33471">
|
|
<label>/usr/include/gecode/int/extensional.hh</label>
|
|
<link refid="extensional_8hh_source"/>
|
|
</node>
|
|
<node id="33517">
|
|
<label>/usr/include/gecode/search/meta/nogoods.hh</label>
|
|
<link refid="nogoods_8hh_source"/>
|
|
<childnode refid="33518" relation="include">
|
|
</childnode>
|
|
<childnode refid="33522" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33462">
|
|
<label>/usr/include/gecode/int/sorted.hh</label>
|
|
<link refid="sorted_8hh_source"/>
|
|
</node>
|
|
<node id="33504">
|
|
<label>/usr/include/gecode/set/int/weights.hpp</label>
|
|
<link refid="weights_8hpp_source"/>
|
|
<childnode refid="33502" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33476">
|
|
<label>/usr/include/gecode/int/precede.hh</label>
|
|
<link refid="int_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="33458">
|
|
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
|
|
<link refid="nvalues_2int-eq_8hpp_source"/>
|
|
<childnode refid="33449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33422">
|
|
<label>/usr/include/gecode/float/branch.hh</label>
|
|
<link refid="float_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="33513">
|
|
<label>/usr/include/gecode/set/sequence.hh</label>
|
|
<link refid="set_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="33429">
|
|
<label>/usr/include/gecode/gist/drawingcursor.hh</label>
|
|
<link refid="drawingcursor_8hh_source"/>
|
|
</node>
|
|
<node id="33501">
|
|
<label>/usr/include/gecode/set/int/card.hpp</label>
|
|
<link refid="card_8hpp_source"/>
|
|
<childnode refid="33502" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33415">
|
|
<label>/usr/include/gecode/support.hh</label>
|
|
<link refid="support_8hh_source"/>
|
|
<childnode refid="33416" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33445">
|
|
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
|
|
<link refid="divmod_8hpp_source"/>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33444">
|
|
<label>/usr/include/gecode/int/linear.hh</label>
|
|
<link refid="int_2linear_8hh_source"/>
|
|
<childnode refid="33445" relation="include">
|
|
</childnode>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
<childnode refid="33446" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33467">
|
|
<label>/usr/include/gecode/int/dom.hh</label>
|
|
<link refid="dom_8hh_source"/>
|
|
</node>
|
|
<node id="33497">
|
|
<label>/usr/include/gecode/set/channel/bool.hpp</label>
|
|
<link refid="set_2channel_2bool_8hpp_source"/>
|
|
<childnode refid="33498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33484">
|
|
<label>/usr/include/gecode/int/element/pair.hpp</label>
|
|
<link refid="pair_8hpp_source"/>
|
|
<childnode refid="33468" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33505">
|
|
<label>/usr/include/gecode/set.hh</label>
|
|
<link refid="set_8hh_source"/>
|
|
<childnode refid="33506" relation="include">
|
|
</childnode>
|
|
<childnode refid="33500" relation="include">
|
|
</childnode>
|
|
<childnode refid="33498" relation="include">
|
|
</childnode>
|
|
<childnode refid="33507" relation="include">
|
|
</childnode>
|
|
<childnode refid="33508" relation="include">
|
|
</childnode>
|
|
<childnode refid="33469" relation="include">
|
|
</childnode>
|
|
<childnode refid="33501" relation="include">
|
|
</childnode>
|
|
<childnode refid="33503" relation="include">
|
|
</childnode>
|
|
<childnode refid="33504" relation="include">
|
|
</childnode>
|
|
<childnode refid="33502" relation="include">
|
|
</childnode>
|
|
<childnode refid="33473" relation="include">
|
|
</childnode>
|
|
<childnode refid="33509" relation="include">
|
|
</childnode>
|
|
<childnode refid="33510" relation="include">
|
|
</childnode>
|
|
<childnode refid="33511" relation="include">
|
|
</childnode>
|
|
<childnode refid="33512" relation="include">
|
|
</childnode>
|
|
<childnode refid="33513" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33514">
|
|
<label>/usr/include/gecode/iter.hh</label>
|
|
<link refid="iter_8hh_source"/>
|
|
<childnode refid="33439" relation="include">
|
|
</childnode>
|
|
<childnode refid="33505" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33527">
|
|
<label>/usr/include/gecode/search/support.hh</label>
|
|
<link refid="search_2support_8hh_source"/>
|
|
<childnode refid="33519" relation="include">
|
|
</childnode>
|
|
<childnode refid="33518" relation="include">
|
|
</childnode>
|
|
<childnode refid="33526" relation="include">
|
|
</childnode>
|
|
<childnode refid="33523" relation="include">
|
|
</childnode>
|
|
<childnode refid="33524" relation="include">
|
|
</childnode>
|
|
<childnode refid="33522" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33453">
|
|
<label>/usr/include/gecode/int/circuit.hh</label>
|
|
<link refid="circuit_8hh_source"/>
|
|
</node>
|
|
<node id="33510">
|
|
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
|
|
<link refid="set_2rel-op_2post_8hpp_source"/>
|
|
<childnode refid="33511" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33480">
|
|
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
|
|
<link refid="pow_8hpp_source"/>
|
|
<childnode refid="33440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="33507">
|
|
<label>/usr/include/gecode/set/convex.hh</label>
|
|
<link refid="convex_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<innerclass refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" prot="public">Gecode::Support::LinearCongruentialGenerator</innerclass>
|
|
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
|
|
<innernamespace refid="namespaceGecode_1_1Support">Gecode::Support</innernamespace>
|
|
<briefdescription>
|
|
</briefdescription>
|
|
<detaileddescription>
|
|
</detaileddescription>
|
|
<programlisting>
|
|
<codeline lineno="1"><highlight class="comment">/*<sp/>-*-<sp/>mode:<sp/>C++;<sp/>c-basic-offset:<sp/>2;<sp/>indent-tabs-mode:<sp/>nil<sp/>-*-<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/><sp/>Main<sp/>authors:</highlight></codeline>
|
|
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte<sp/><schulte@gecode.org></highlight></codeline>
|
|
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Mikael<sp/>Lagerkvist<sp/><lagerkvist@gecode.org></highlight></codeline>
|
|
<codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
|
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2005</highlight></codeline>
|
|
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Mikael<sp/>Lagerkvist,<sp/>2005</highlight></codeline>
|
|
<codeline lineno="10"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
|
|
<codeline lineno="12"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2012-09-07<sp/>11:29:57<sp/>+0200<sp/>(Fri,<sp/>07<sp/>Sep<sp/>2012)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
|
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>13061<sp/>$</highlight></codeline>
|
|
<codeline lineno="14"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
|
|
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
|
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
|
<codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
|
|
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>"Software"),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
|
|
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
|
|
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
|
|
<codeline lineno="24"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
|
|
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
|
<codeline lineno="26"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="27"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
|
|
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
|
|
<codeline lineno="29"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>"AS<sp/>IS",<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
|
|
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
|
|
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
|
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
|
|
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
|
|
<codeline lineno="35"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
|
|
<codeline lineno="36"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
|
|
<codeline lineno="37"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="38"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Support<sp/>{</highlight></codeline>
|
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="50" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" kindref="compound">LinearCongruentialGenerator</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="51"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>max<sp/>=<sp/>1UL<<31;</highlight></codeline>
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>next(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1afb31794ca5f36a2c462f4fd819fe56a6" kindref="member">seed</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>s);</highlight></codeline>
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a852c1a9c26d074dfa7bd88706301542e" kindref="member">LinearCongruentialGenerator</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>s<sp/>=<sp/>1);</highlight></codeline>
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1afb31794ca5f36a2c462f4fd819fe56a6" kindref="member">seed</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a992819738a6132b6d9b5f312b0970aae" kindref="member">operator ()</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a0d8093e3f1056b247794a5b50dc7d7ac" kindref="member">size</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="70"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" kindref="compound">LinearCongruentialGenerator<m,a,q,r>::next</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>=<sp/>a*(s%q)<sp/>-<sp/>r*(s/q);</highlight></codeline>
|
|
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>res<sp/>=<sp/>s;</highlight></codeline>
|
|
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(s==0)<sp/>s<sp/>=<sp/>1;</highlight></codeline>
|
|
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>res;</highlight></codeline>
|
|
<codeline lineno="78"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="79"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="80"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="81" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a318097c8cf468109af0cf208aa94fbb9" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1afb31794ca5f36a2c462f4fd819fe56a6" kindref="member">LinearCongruentialGenerator<m,a,q,r>::seed</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>_s)<sp/>{</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>=<sp/>_s<sp/>%<sp/>m;</highlight></codeline>
|
|
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(s<sp/>==<sp/>0)<sp/>s<sp/>=<sp/>1;</highlight></codeline>
|
|
<codeline lineno="84"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="85"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="86"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="87"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a852c1a9c26d074dfa7bd88706301542e" kindref="member">LinearCongruentialGenerator<m,a,q,r>::</ref></highlight></codeline>
|
|
<codeline lineno="88" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a852c1a9c26d074dfa7bd88706301542e" refkind="member"><highlight class="normal"><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a852c1a9c26d074dfa7bd88706301542e" kindref="member"> LinearCongruentialGenerator</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>_s)<sp/>{</highlight></codeline>
|
|
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/>seed(_s);</highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="91"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="92"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="93" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1afb31794ca5f36a2c462f4fd819fe56a6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1afb31794ca5f36a2c462f4fd819fe56a6" kindref="member">LinearCongruentialGenerator<m,a,q,r>::seed</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
|
|
<codeline lineno="95"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="96"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="97"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="98" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a992819738a6132b6d9b5f312b0970aae" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a992819738a6132b6d9b5f312b0970aae" kindref="member">LinearCongruentialGenerator<m,a,q,r>::operator ()</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
|
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>x1<sp/>=<sp/>next()<sp/>&<sp/>((1<<16)-1);</highlight></codeline>
|
|
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>x2<sp/>=<sp/>next()<sp/>&<sp/>((1<<16)-1);</highlight></codeline>
|
|
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/><<sp/>2)<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>d<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">double</highlight><highlight class="keyword">></highlight><highlight class="normal">(((x1<<16)<sp/>|<sp/>x2)<sp/>%<sp/>max)<sp/>/<sp/>max;</highlight></codeline>
|
|
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>val<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n<sp/>*<sp/>d);</highlight></codeline>
|
|
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(val<sp/><<sp/>n)<sp/>?<sp/>val<sp/>:<sp/>(n-1);</highlight></codeline>
|
|
<codeline lineno="105"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="106"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>q,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r></highlight></codeline>
|
|
<codeline lineno="107"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="108" refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a0d8093e3f1056b247794a5b50dc7d7ac" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator_1a0d8093e3f1056b247794a5b50dc7d7ac" kindref="member">LinearCongruentialGenerator<m,a,q,r>::size</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(<ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" kindref="compound">LinearCongruentialGenerator<m,a,q,r></ref>);</highlight></codeline>
|
|
<codeline lineno="110"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="111"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="112"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="123"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" kindref="compound">LinearCongruentialGenerator<2147483647, 48271, 44488, 3399></ref></highlight></codeline>
|
|
<codeline lineno="124"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Support_1_1LinearCongruentialGenerator" kindref="compound">RandomGenerator</ref>;</highlight></codeline>
|
|
<codeline lineno="125"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="126"><highlight class="normal">}}</highlight></codeline>
|
|
<codeline lineno="127"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="128"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>support-any</highlight><highlight class="normal"></highlight></codeline>
|
|
</programlisting>
|
|
<location file="/usr/include/gecode/support/random.hpp"/>
|
|
</compounddef>
|
|
</doxygen>
|