This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/gecode/dev/extractor/xml/kernel_2array_8hpp.xml
Vitor Santos Costa a8eda03305 4.2.1 support
2014-01-22 09:41:47 +00:00

2713 lines
440 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="kernel_2array_8hpp" kind="file">
<compoundname>array.hpp</compoundname>
<includes local="no">cstdarg</includes>
<includes local="no">iostream</includes>
<includes local="no">iterator</includes>
<includes local="no">vector</includes>
<includes local="no">sstream</includes>
<includedby refid="kernel_8hh" local="no">/usr/include/gecode/kernel.hh</includedby>
<incdepgraph>
<node id="1961">
<label>iterator</label>
</node>
<node id="1959">
<label>cstdarg</label>
</node>
<node id="1958">
<label>/usr/include/gecode/kernel/array.hpp</label>
<link refid="kernel/array.hpp"/>
<childnode refid="1959" relation="include">
</childnode>
<childnode refid="1960" relation="include">
</childnode>
<childnode refid="1961" relation="include">
</childnode>
<childnode refid="1962" relation="include">
</childnode>
<childnode refid="1963" relation="include">
</childnode>
</node>
<node id="1962">
<label>vector</label>
</node>
<node id="1963">
<label>sstream</label>
</node>
<node id="1960">
<label>iostream</label>
</node>
</incdepgraph>
<invincdepgraph>
<node id="2006">
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
<link refid="nvalues_2int-base_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="1989">
<label>/usr/include/gecode/int/arithmetic.hh</label>
<link refid="int_2arithmetic_8hh_source"/>
</node>
<node id="2014">
<label>/usr/include/gecode/int/view/scale.hpp</label>
<link refid="int_2view_2scale_8hpp_source"/>
<childnode refid="2015" relation="include">
</childnode>
</node>
<node id="2012">
<label>/usr/include/gecode/int/div.hh</label>
<link refid="div_8hh_source"/>
<childnode refid="2013" relation="include">
</childnode>
<childnode refid="2014" relation="include">
</childnode>
</node>
<node id="2013">
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
<link refid="int_2arithmetic_2mult_8hpp_source"/>
<childnode refid="1989" relation="include">
</childnode>
</node>
<node id="1966">
<label>/usr/include/gecode/flatzinc.hh</label>
<link refid="flatzinc_8hh_source"/>
<childnode refid="1967" relation="include">
</childnode>
<childnode refid="1968" relation="include">
</childnode>
</node>
<node id="1995">
<label>/usr/include/gecode/int/gcc/post.hpp</label>
<link refid="int_2gcc_2post_8hpp_source"/>
<childnode refid="1996" relation="include">
</childnode>
</node>
<node id="2044">
<label>/usr/include/gecode/minimodel.hh</label>
<link refid="minimodel_8hh_source"/>
<childnode refid="2045" relation="include">
</childnode>
</node>
<node id="2032">
<label>/usr/include/gecode/int/dom/range.hpp</label>
<link refid="range_8hpp_source"/>
<childnode refid="2016" relation="include">
</childnode>
</node>
<node id="2040">
<label>/usr/include/gecode/int/cumulative.hh</label>
<link refid="cumulative_8hh_source"/>
</node>
<node id="2041">
<label>/usr/include/gecode/int/unary.hh</label>
<link refid="unary_8hh_source"/>
<childnode refid="2040" relation="include">
</childnode>
</node>
<node id="2024">
<label>/usr/include/gecode/int/no-overlap.hh</label>
<link refid="no-overlap_8hh_source"/>
</node>
<node id="2038">
<label>/usr/include/gecode/int/support-values.hh</label>
<link refid="support-values_8hh_source"/>
<childnode refid="2013" relation="include">
</childnode>
</node>
<node id="2004">
<label>/usr/include/gecode/int/cumulatives.hh</label>
<link refid="cumulatives_8hh_source"/>
</node>
<node id="2047">
<label>/usr/include/gecode/set/channel.hh</label>
<link refid="set_2channel_8hh_source"/>
</node>
<node id="2005">
<label>/usr/include/gecode/int/distinct.hh</label>
<link refid="int_2distinct_8hh_source"/>
<childnode refid="2001" relation="include">
</childnode>
<childnode refid="2002" relation="include">
</childnode>
<childnode refid="1995" relation="include">
</childnode>
<childnode refid="2006" relation="include">
</childnode>
<childnode refid="2007" relation="include">
</childnode>
<childnode refid="2008" relation="include">
</childnode>
<childnode refid="2009" relation="include">
</childnode>
<childnode refid="2010" relation="include">
</childnode>
</node>
<node id="1982">
<label>/usr/include/gecode/gist/mainwindow.hh</label>
<link refid="mainwindow_8hh_source"/>
</node>
<node id="2072">
<label>/usr/include/gecode/search/sequential/bab.hh</label>
<link refid="sequential_2bab_8hh_source"/>
</node>
<node id="2061">
<label>/usr/include/gecode/set/rel.hh</label>
<link refid="set_2rel_8hh_source"/>
<childnode refid="2049" relation="include">
</childnode>
<childnode refid="2018" relation="include">
</childnode>
<childnode refid="2059" relation="include">
</childnode>
<childnode refid="2060" relation="include">
</childnode>
<childnode refid="2062" relation="include">
</childnode>
</node>
<node id="2051">
<label>/usr/include/gecode/set/int.hh</label>
<link refid="set_2int_8hh_source"/>
</node>
<node id="1987">
<label>/usr/include/gecode/gist/preferences.hh</label>
<link refid="preferences_8hh_source"/>
</node>
<node id="2034">
<label>/usr/include/gecode/int/member/prop.hpp</label>
<link refid="member_2prop_8hpp_source"/>
<childnode refid="2023" relation="include">
</childnode>
</node>
<node id="2019">
<label>/usr/include/gecode/int/exec.hh</label>
<link refid="exec_8hh_source"/>
</node>
<node id="1979">
<label>/usr/include/gecode/gist/nodecursor.hh</label>
<link refid="nodecursor_8hh_source"/>
<childnode refid="1978" relation="include">
</childnode>
<childnode refid="1977" relation="include">
</childnode>
</node>
<node id="2026">
<label>/usr/include/gecode/int/rel.hh</label>
<link refid="int_2rel_8hh_source"/>
<childnode refid="2027" relation="include">
</childnode>
<childnode refid="2028" relation="include">
</childnode>
<childnode refid="2029" relation="include">
</childnode>
<childnode refid="1989" relation="include">
</childnode>
<childnode refid="2030" relation="include">
</childnode>
<childnode refid="2031" relation="include">
</childnode>
<childnode refid="2005" relation="include">
</childnode>
<childnode refid="2032" relation="include">
</childnode>
<childnode refid="2016" relation="include">
</childnode>
<childnode refid="2033" relation="include">
</childnode>
<childnode refid="2017" relation="include">
</childnode>
<childnode refid="2020" relation="include">
</childnode>
<childnode refid="2034" relation="include">
</childnode>
<childnode refid="2035" relation="include">
</childnode>
<childnode refid="1997" relation="include">
</childnode>
<childnode refid="2036" relation="include">
</childnode>
<childnode refid="2007" relation="include">
</childnode>
<childnode refid="2008" relation="include">
</childnode>
<childnode refid="2009" relation="include">
</childnode>
<childnode refid="2037" relation="include">
</childnode>
<childnode refid="2010" relation="include">
</childnode>
</node>
<node id="2045">
<label>/usr/include/gecode/driver.hh</label>
<link refid="driver_8hh_source"/>
<childnode refid="1966" relation="include">
</childnode>
</node>
<node id="1976">
<label>/usr/include/gecode/gist/visualnode.hh</label>
<link refid="visualnode_8hh_source"/>
<childnode refid="1977" relation="include">
</childnode>
<childnode refid="1979" relation="include">
</childnode>
<childnode refid="1980" relation="include">
</childnode>
<childnode refid="1984" relation="include">
</childnode>
</node>
<node id="2028">
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
<link refid="nroot_8hpp_source"/>
<childnode refid="1989" relation="include">
</childnode>
</node>
<node id="1969">
<label>/usr/include/gecode/float.hh</label>
<link refid="float_8hh_source"/>
<childnode refid="1970" relation="include">
</childnode>
<childnode refid="1971" relation="include">
</childnode>
<childnode refid="1972" relation="include">
</childnode>
<childnode refid="1973" relation="include">
</childnode>
</node>
<node id="2073">
<label>/usr/include/gecode/search/sequential/dfs.hh</label>
<link refid="sequential_2dfs_8hh_source"/>
</node>
<node id="2027">
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
<link refid="max_8hpp_source"/>
<childnode refid="1989" relation="include">
</childnode>
</node>
<node id="2023">
<label>/usr/include/gecode/int/member.hh</label>
<link refid="member_8hh_source"/>
</node>
<node id="1967">
<label>/usr/include/gecode/flatzinc/parser.hh</label>
<link refid="parser_8hh_source"/>
</node>
<node id="2065">
<label>/usr/include/gecode/search.hh</label>
<link refid="search_8hh_source"/>
<childnode refid="2045" relation="include">
</childnode>
<childnode refid="1986" relation="include">
</childnode>
<childnode refid="2066" relation="include">
</childnode>
<childnode refid="2074" relation="include">
</childnode>
<childnode refid="2068" relation="include">
</childnode>
<childnode refid="2067" relation="include">
</childnode>
<childnode refid="2072" relation="include">
</childnode>
<childnode refid="2073" relation="include">
</childnode>
<childnode refid="2071" relation="include">
</childnode>
<childnode refid="2076" relation="include">
</childnode>
<childnode refid="2077" relation="include">
</childnode>
</node>
<node id="1981">
<label>/usr/include/gecode/gist/qtgist.hh</label>
<link refid="qtgist_8hh_source"/>
<childnode refid="1982" relation="include">
</childnode>
<childnode refid="1983" relation="include">
</childnode>
</node>
<node id="2036">
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
<link refid="bool-gq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="2070">
<label>/usr/include/gecode/search/parallel/dfs.hh</label>
<link refid="parallel_2dfs_8hh_source"/>
</node>
<node id="2055">
<label>/usr/include/gecode/set/branch.hh</label>
<link refid="set_2branch_8hh_source"/>
</node>
<node id="2003">
<label>/usr/include/gecode/int/count.hh</label>
<link refid="count_8hh_source"/>
</node>
<node id="1984">
<label>/usr/include/gecode/gist/treecanvas.hh</label>
<link refid="treecanvas_8hh_source"/>
<childnode refid="1981" relation="include">
</childnode>
</node>
<node id="2008">
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
<link refid="nvalues_2int-gq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="2031">
<label>/usr/include/gecode/int/count/rel.hpp</label>
<link refid="rel_8hpp_source"/>
<childnode refid="2003" relation="include">
</childnode>
</node>
<node id="2018">
<label>/usr/include/gecode/set/element.hh</label>
<link refid="set_2element_8hh_source"/>
</node>
<node id="1965">
<label>/usr/include/gecode/kernel.hh</label>
<link refid="kernel_8hh_source"/>
<childnode refid="1966" relation="include">
</childnode>
<childnode refid="1969" relation="include">
</childnode>
<childnode refid="1974" relation="include">
</childnode>
<childnode refid="1975" relation="include">
</childnode>
<childnode refid="1985" relation="include">
</childnode>
<childnode refid="1984" relation="include">
</childnode>
<childnode refid="1976" relation="include">
</childnode>
<childnode refid="1986" relation="include">
</childnode>
<childnode refid="1988" relation="include">
</childnode>
<childnode refid="2063" relation="include">
</childnode>
<childnode refid="2064" relation="include">
</childnode>
<childnode refid="2044" relation="include">
</childnode>
<childnode refid="2065" relation="include">
</childnode>
<childnode refid="2054" relation="include">
</childnode>
</node>
<node id="2057">
<label>/usr/include/gecode/set/distinct.hh</label>
<link refid="set_2distinct_8hh_source"/>
</node>
<node id="1964">
<label>/usr/include/gecode/kernel/array.hpp</label>
<link refid="kernel/array.hpp"/>
<childnode refid="1965" relation="include">
</childnode>
</node>
<node id="1980">
<label>/usr/include/gecode/gist/nodestats.hh</label>
<link refid="nodestats_8hh_source"/>
<childnode refid="1981" relation="include">
</childnode>
</node>
<node id="2060">
<label>/usr/include/gecode/set/rel-op.hh</label>
<link refid="rel-op_8hh_source"/>
<childnode refid="2018" relation="include">
</childnode>
<childnode refid="2059" relation="include">
</childnode>
</node>
<node id="2009">
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
<link refid="nvalues_2int-lq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="2017">
<label>/usr/include/gecode/int/element.hh</label>
<link refid="int_2element_8hh_source"/>
<childnode refid="2018" relation="include">
</childnode>
</node>
<node id="2001">
<label>/usr/include/gecode/int/channel.hh</label>
<link refid="int_2channel_8hh_source"/>
</node>
<node id="2064">
<label>/usr/include/gecode/kernel/wait.hh</label>
<link refid="wait_8hh_source"/>
</node>
<node id="2022">
<label>/usr/include/gecode/set/ldsb.hh</label>
<link refid="set_2ldsb_8hh_source"/>
</node>
<node id="1983">
<label>/usr/include/gecode/gist/nodewidget.hh</label>
<link refid="nodewidget_8hh_source"/>
</node>
<node id="2015">
<label>/usr/include/gecode/int/view.hpp</label>
<link refid="int_2view_8hpp_source"/>
<childnode refid="1988" relation="include">
</childnode>
</node>
<node id="1990">
<label>/usr/include/gecode/int/bin-packing.hh</label>
<link refid="bin-packing_8hh_source"/>
</node>
<node id="2077">
<label>/usr/include/gecode/search/worker.hh</label>
<link refid="worker_8hh_source"/>
<childnode refid="2068" relation="include">
</childnode>
<childnode refid="2067" relation="include">
</childnode>
<childnode refid="2072" relation="include">
</childnode>
<childnode refid="2073" relation="include">
</childnode>
<childnode refid="2071" relation="include">
</childnode>
</node>
<node id="1991">
<label>/usr/include/gecode/int/bool.hh</label>
<link refid="bool_8hh_source"/>
<childnode refid="1992" relation="include">
</childnode>
<childnode refid="1997" relation="include">
</childnode>
<childnode refid="1999" relation="include">
</childnode>
</node>
<node id="2048">
<label>/usr/include/gecode/set/channel/int.hpp</label>
<link refid="set_2channel_2int_8hpp_source"/>
<childnode refid="2047" relation="include">
</childnode>
</node>
<node id="2049">
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
<link refid="sorted_8hpp_source"/>
<childnode refid="2047" relation="include">
</childnode>
</node>
<node id="2035">
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
<link refid="re-prop_8hpp_source"/>
<childnode refid="2023" relation="include">
</childnode>
</node>
<node id="1974">
<label>/usr/include/gecode/gist/node.hh</label>
<link refid="node_8hh_source"/>
<childnode refid="1975" relation="include">
</childnode>
</node>
<node id="2021">
<label>/usr/include/gecode/int/ldsb.hh</label>
<link refid="int_2ldsb_8hh_source"/>
<childnode refid="2022" relation="include">
</childnode>
</node>
<node id="2067">
<label>/usr/include/gecode/search/parallel/path.hh</label>
<link refid="parallel_2path_8hh_source"/>
<childnode refid="2068" relation="include">
</childnode>
</node>
<node id="1986">
<label>/usr/include/gecode/gist.hh</label>
<link refid="gist_8hh_source"/>
<childnode refid="1982" relation="include">
</childnode>
<childnode refid="1983" relation="include">
</childnode>
<childnode refid="1987" relation="include">
</childnode>
<childnode refid="1985" relation="include">
</childnode>
<childnode refid="1984" relation="include">
</childnode>
</node>
<node id="2000">
<label>/usr/include/gecode/int/branch.hh</label>
<link refid="int_2branch_8hh_source"/>
</node>
<node id="1998">
<label>/usr/include/gecode/int/nvalues.hh</label>
<link refid="nvalues_8hh_source"/>
</node>
<node id="2030">
<label>/usr/include/gecode/int/bool/ite.hpp</label>
<link refid="ite_8hpp_source"/>
<childnode refid="1991" relation="include">
</childnode>
</node>
<node id="2037">
<label>/usr/include/gecode/int/sequence.hh</label>
<link refid="int_2sequence_8hh_source"/>
</node>
<node id="2074">
<label>/usr/include/gecode/search/meta/rbs.hh</label>
<link refid="rbs_8hh_source"/>
<childnode refid="2075" relation="include">
</childnode>
</node>
<node id="2069">
<label>/usr/include/gecode/search/parallel/bab.hh</label>
<link refid="parallel_2bab_8hh_source"/>
</node>
<node id="2043">
<label>/usr/include/gecode/int/view-val-graph.hh</label>
<link refid="view-val-graph_8hh_source"/>
<childnode refid="2005" relation="include">
</childnode>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="1992">
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
<link refid="bool-int_8hpp_source"/>
<childnode refid="1993" relation="include">
</childnode>
</node>
<node id="2010">
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
<link refid="sorted_2propagate_8hpp_source"/>
<childnode refid="2011" relation="include">
</childnode>
</node>
<node id="1973">
<label>/usr/include/gecode/float/rel.hh</label>
<link refid="float_2rel_8hh_source"/>
<childnode refid="1970" relation="include">
</childnode>
</node>
<node id="1985">
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
<link refid="stopbrancher_8hh_source"/>
</node>
<node id="2068">
<label>/usr/include/gecode/search/parallel/engine.hh</label>
<link refid="engine_8hh_source"/>
<childnode refid="2069" relation="include">
</childnode>
<childnode refid="2070" relation="include">
</childnode>
</node>
<node id="1970">
<label>/usr/include/gecode/float/arithmetic.hh</label>
<link refid="float_2arithmetic_8hh_source"/>
</node>
<node id="1968">
<label>/usr/include/gecode/flatzinc/registry.hh</label>
<link refid="registry_8hh_source"/>
</node>
<node id="1996">
<label>/usr/include/gecode/int/gcc.hh</label>
<link refid="gcc_8hh_source"/>
</node>
<node id="2052">
<label>/usr/include/gecode/set/int/minmax.hpp</label>
<link refid="minmax_8hpp_source"/>
<childnode refid="2051" relation="include">
</childnode>
</node>
<node id="1977">
<label>/usr/include/gecode/gist/layoutcursor.hh</label>
<link refid="layoutcursor_8hh_source"/>
<childnode refid="1978" relation="include">
</childnode>
</node>
<node id="1975">
<label>/usr/include/gecode/gist/spacenode.hh</label>
<link refid="spacenode_8hh_source"/>
<childnode refid="1976" relation="include">
</childnode>
</node>
<node id="2058">
<label>/usr/include/gecode/set/precede.hh</label>
<link refid="set_2precede_8hh_source"/>
</node>
<node id="1972">
<label>/usr/include/gecode/float/linear.hh</label>
<link refid="float_2linear_8hh_source"/>
</node>
<node id="2071">
<label>/usr/include/gecode/search/sequential/path.hh</label>
<link refid="sequential_2path_8hh_source"/>
<childnode refid="2072" relation="include">
</childnode>
<childnode refid="2073" relation="include">
</childnode>
</node>
<node id="2075">
<label>/usr/include/gecode/search/rbs.hpp</label>
<link refid="rbs_8hpp_source"/>
<childnode refid="2065" relation="include">
</childnode>
</node>
<node id="2042">
<label>/usr/include/gecode/int/val-set.hh</label>
<link refid="val-set_8hh_source"/>
<childnode refid="2023" relation="include">
</childnode>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="1988">
<label>/usr/include/gecode/int.hh</label>
<link refid="int_8hh_source"/>
<childnode refid="1966" relation="include">
</childnode>
<childnode refid="1970" relation="include">
</childnode>
<childnode refid="1972" relation="include">
</childnode>
<childnode refid="1973" relation="include">
</childnode>
<childnode refid="1969" relation="include">
</childnode>
<childnode refid="1986" relation="include">
</childnode>
<childnode refid="1989" relation="include">
</childnode>
<childnode refid="1990" relation="include">
</childnode>
<childnode refid="1991" relation="include">
</childnode>
<childnode refid="2000" relation="include">
</childnode>
<childnode refid="2001" relation="include">
</childnode>
<childnode refid="2002" relation="include">
</childnode>
<childnode refid="2003" relation="include">
</childnode>
<childnode refid="2004" relation="include">
</childnode>
<childnode refid="2005" relation="include">
</childnode>
<childnode refid="2012" relation="include">
</childnode>
<childnode refid="2016" relation="include">
</childnode>
<childnode refid="2017" relation="include">
</childnode>
<childnode refid="2019" relation="include">
</childnode>
<childnode refid="2020" relation="include">
</childnode>
<childnode refid="1996" relation="include">
</childnode>
<childnode refid="2021" relation="include">
</childnode>
<childnode refid="1993" relation="include">
</childnode>
<childnode refid="2023" relation="include">
</childnode>
<childnode refid="2024" relation="include">
</childnode>
<childnode refid="1998" relation="include">
</childnode>
<childnode refid="2025" relation="include">
</childnode>
<childnode refid="2026" relation="include">
</childnode>
<childnode refid="2037" relation="include">
</childnode>
<childnode refid="2011" relation="include">
</childnode>
<childnode refid="2038" relation="include">
</childnode>
<childnode refid="2039" relation="include">
</childnode>
<childnode refid="2042" relation="include">
</childnode>
<childnode refid="2043" relation="include">
</childnode>
<childnode refid="2044" relation="include">
</childnode>
<childnode refid="2046" relation="include">
</childnode>
<childnode refid="2048" relation="include">
</childnode>
<childnode refid="2049" relation="include">
</childnode>
<childnode refid="2050" relation="include">
</childnode>
<childnode refid="2052" relation="include">
</childnode>
<childnode refid="2053" relation="include">
</childnode>
<childnode refid="2054" relation="include">
</childnode>
</node>
<node id="1997">
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
<link refid="bool-eq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="1999">
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
<link refid="bool-lq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="2039">
<label>/usr/include/gecode/int/task.hh</label>
<link refid="task_8hh_source"/>
<childnode refid="2040" relation="include">
</childnode>
<childnode refid="2041" relation="include">
</childnode>
</node>
<node id="2020">
<label>/usr/include/gecode/int/extensional.hh</label>
<link refid="extensional_8hh_source"/>
</node>
<node id="2066">
<label>/usr/include/gecode/search/meta/nogoods.hh</label>
<link refid="nogoods_8hh_source"/>
<childnode refid="2067" relation="include">
</childnode>
<childnode refid="2071" relation="include">
</childnode>
</node>
<node id="2011">
<label>/usr/include/gecode/int/sorted.hh</label>
<link refid="sorted_8hh_source"/>
</node>
<node id="2053">
<label>/usr/include/gecode/set/int/weights.hpp</label>
<link refid="weights_8hpp_source"/>
<childnode refid="2051" relation="include">
</childnode>
</node>
<node id="2025">
<label>/usr/include/gecode/int/precede.hh</label>
<link refid="int_2precede_8hh_source"/>
</node>
<node id="2007">
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
<link refid="nvalues_2int-eq_8hpp_source"/>
<childnode refid="1998" relation="include">
</childnode>
</node>
<node id="1971">
<label>/usr/include/gecode/float/branch.hh</label>
<link refid="float_2branch_8hh_source"/>
</node>
<node id="2062">
<label>/usr/include/gecode/set/sequence.hh</label>
<link refid="set_2sequence_8hh_source"/>
</node>
<node id="1978">
<label>/usr/include/gecode/gist/drawingcursor.hh</label>
<link refid="drawingcursor_8hh_source"/>
</node>
<node id="2050">
<label>/usr/include/gecode/set/int/card.hpp</label>
<link refid="card_8hpp_source"/>
<childnode refid="2051" relation="include">
</childnode>
</node>
<node id="1994">
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
<link refid="divmod_8hpp_source"/>
<childnode refid="1989" relation="include">
</childnode>
</node>
<node id="1993">
<label>/usr/include/gecode/int/linear.hh</label>
<link refid="int_2linear_8hh_source"/>
<childnode refid="1994" relation="include">
</childnode>
<childnode refid="1989" relation="include">
</childnode>
<childnode refid="1995" relation="include">
</childnode>
</node>
<node id="2016">
<label>/usr/include/gecode/int/dom.hh</label>
<link refid="dom_8hh_source"/>
</node>
<node id="2046">
<label>/usr/include/gecode/set/channel/bool.hpp</label>
<link refid="set_2channel_2bool_8hpp_source"/>
<childnode refid="2047" relation="include">
</childnode>
</node>
<node id="2033">
<label>/usr/include/gecode/int/element/pair.hpp</label>
<link refid="pair_8hpp_source"/>
<childnode refid="2017" relation="include">
</childnode>
</node>
<node id="2054">
<label>/usr/include/gecode/set.hh</label>
<link refid="set_8hh_source"/>
<childnode refid="2055" relation="include">
</childnode>
<childnode refid="2049" relation="include">
</childnode>
<childnode refid="2047" relation="include">
</childnode>
<childnode refid="2056" relation="include">
</childnode>
<childnode refid="2057" relation="include">
</childnode>
<childnode refid="2018" relation="include">
</childnode>
<childnode refid="2050" relation="include">
</childnode>
<childnode refid="2052" relation="include">
</childnode>
<childnode refid="2053" relation="include">
</childnode>
<childnode refid="2051" relation="include">
</childnode>
<childnode refid="2022" relation="include">
</childnode>
<childnode refid="2058" relation="include">
</childnode>
<childnode refid="2059" relation="include">
</childnode>
<childnode refid="2060" relation="include">
</childnode>
<childnode refid="2061" relation="include">
</childnode>
<childnode refid="2062" relation="include">
</childnode>
</node>
<node id="2063">
<label>/usr/include/gecode/iter.hh</label>
<link refid="iter_8hh_source"/>
<childnode refid="1988" relation="include">
</childnode>
<childnode refid="2054" relation="include">
</childnode>
</node>
<node id="2076">
<label>/usr/include/gecode/search/support.hh</label>
<link refid="search_2support_8hh_source"/>
<childnode refid="2068" relation="include">
</childnode>
<childnode refid="2067" relation="include">
</childnode>
<childnode refid="2075" relation="include">
</childnode>
<childnode refid="2072" relation="include">
</childnode>
<childnode refid="2073" relation="include">
</childnode>
<childnode refid="2071" relation="include">
</childnode>
</node>
<node id="2002">
<label>/usr/include/gecode/int/circuit.hh</label>
<link refid="circuit_8hh_source"/>
</node>
<node id="2059">
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
<link refid="set_2rel-op_2post_8hpp_source"/>
<childnode refid="2060" relation="include">
</childnode>
</node>
<node id="2029">
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
<link refid="pow_8hpp_source"/>
<childnode refid="1989" relation="include">
</childnode>
</node>
<node id="2056">
<label>/usr/include/gecode/set/convex.hh</label>
<link refid="convex_8hh_source"/>
</node>
</invincdepgraph>
<innerclass refid="classGecode_1_1VarArray" prot="public">Gecode::VarArray</innerclass>
<innerclass refid="classGecode_1_1VarArgArray" prot="public">Gecode::VarArgArray</innerclass>
<innerclass refid="classGecode_1_1ArrayTraits" prot="public">Gecode::ArrayTraits</innerclass>
<innerclass refid="classGecode_1_1VarArray" prot="public">Gecode::VarArray</innerclass>
<innerclass refid="classGecode_1_1ViewArray" prot="public">Gecode::ViewArray</innerclass>
<innerclass refid="classGecode_1_1ViewArray_1_1ViewLess" prot="private">Gecode::ViewArray::ViewLess</innerclass>
<innerclass refid="classGecode_1_1ArgArrayBase" prot="public">Gecode::ArgArrayBase</innerclass>
<innerclass refid="classGecode_1_1PrimArgArray" prot="public">Gecode::PrimArgArray</innerclass>
<innerclass refid="classGecode_1_1PrimArgArray" prot="public">Gecode::PrimArgArray</innerclass>
<innerclass refid="classGecode_1_1ArgArray" prot="public">Gecode::ArgArray</innerclass>
<innerclass refid="classGecode_1_1ArgArray" prot="public">Gecode::ArgArray</innerclass>
<innerclass refid="classGecode_1_1VarArgArray" prot="public">Gecode::VarArgArray</innerclass>
<innerclass refid="classGecode_1_1VarArgArray" prot="public">Gecode::VarArgArray</innerclass>
<innerclass refid="classGecode_1_1VarArgArray_1_1VarLess" prot="protected">Gecode::VarArgArray::VarLess</innerclass>
<innernamespace refid="namespaceGecode">Gecode</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/>&lt;schulte@gecode.org&gt;</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack<sp/>&lt;tack@gecode.org&gt;</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/>Contributing<sp/>authors:</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Gregory<sp/>Crosswhite<sp/>&lt;gcross@phys.washington.edu&gt;</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Gregory<sp/>Crosswhite,<sp/>2011</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2003</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack,<sp/>2004</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2013-03-07<sp/>17:39:13<sp/>+0100<sp/>(Thu,<sp/>07<sp/>Mar<sp/>2013)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>13458<sp/>$</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="19"><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="20"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="23"><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="24"><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="25"><highlight class="comment"><sp/>*<sp/><sp/>&quot;Software&quot;),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
<codeline lineno="26"><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="27"><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="28"><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="29"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
<codeline lineno="30"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="31"><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="32"><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="33"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>&quot;AS<sp/>IS&quot;,<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
<codeline lineno="35"><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="36"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
<codeline lineno="37"><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="38"><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="39"><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="40"><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="41"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="42"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;cstdarg&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;iostream&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;iterator&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;vector&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;sstream&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
<codeline lineno="50"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{</highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52" refid="classGecode_1_1VarArray" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;<sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray</ref>;</highlight></codeline>
<codeline lineno="53" refid="classGecode_1_1VarArgArray" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;<sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray</ref>;</highlight></codeline>
<codeline lineno="54"><highlight class="normal"></highlight></codeline>
<codeline lineno="67"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="68" refid="classGecode_1_1ArrayTraits" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits</ref><sp/>{};</highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray</ref><sp/>{</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="89" refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>;</highlight></codeline>
<codeline lineno="91" refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/><ref refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" kindref="member">x</ref>;</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="94"></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref><sp/><ref refid="classGecode_1_1VarArray_1a832c744123e7d9fc0d1d0ce0cf3e4efb" kindref="member">value_type</ref>;</highlight></codeline>
<codeline lineno="98" refid="classGecode_1_1VarArray_1aa2b3ffc5da170d3af5973627f9040c62" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/><ref refid="classGecode_1_1VarArray_1aa2b3ffc5da170d3af5973627f9040c62" kindref="member">reference</ref>;</highlight></codeline>
<codeline lineno="100" refid="classGecode_1_1VarArray_1a36e7c81b7bcd3fb1b28c780caa17641d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/><ref refid="classGecode_1_1VarArray_1a36e7c81b7bcd3fb1b28c780caa17641d" kindref="member">const_reference</ref>;</highlight></codeline>
<codeline lineno="102" refid="classGecode_1_1VarArray_1a9a4e54d0650597e70375809c82f7dc62" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/><ref refid="classGecode_1_1VarArray_1a9a4e54d0650597e70375809c82f7dc62" kindref="member">pointer</ref>;</highlight></codeline>
<codeline lineno="104" refid="classGecode_1_1VarArray_1ae4bfae3bf7f27951b53706a34627b539" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/><ref refid="classGecode_1_1VarArray_1ae4bfae3bf7f27951b53706a34627b539" kindref="member">const_pointer</ref>;</highlight></codeline>
<codeline lineno="106" refid="classGecode_1_1VarArray_1af066a140fe9aba9e239b5aa3699df4e0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/><ref refid="classGecode_1_1VarArray_1af066a140fe9aba9e239b5aa3699df4e0" kindref="member">iterator</ref>;</highlight></codeline>
<codeline lineno="108" refid="classGecode_1_1VarArray_1a94809a3d551846433b0a85fd40db512e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/><ref refid="classGecode_1_1VarArray_1a94809a3d551846433b0a85fd40db512e" kindref="member">const_iterator</ref>;</highlight></codeline>
<codeline lineno="110" refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;Var*&gt;<sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="112" refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;const<sp/>Var*&gt;<sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">const_reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="114"></codeline>
<codeline lineno="116"></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;);</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1VarArray_1a4fed680f83a05790658a9b3a660c4c08" kindref="member">operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="129"></codeline>
<codeline lineno="131"></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a3cf80c58c32609c61de4c90605413fd2" 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="135"></codeline>
<codeline lineno="137"></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/><ref refid="classGecode_1_1VarArray_1ace08813160ef06e0f1bbb3c30c200da0" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/><ref refid="classGecode_1_1VarArray_1ace08813160ef06e0f1bbb3c30c200da0" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a53b8648af92da9632e399e290e4c0d62" kindref="member">slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc=1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>=-1);</highlight></codeline>
<codeline lineno="150"></codeline>
<codeline lineno="152"></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1aa09c7045277614841a821b7e0636d44a" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">const_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1aa09c7045277614841a821b7e0636d44a" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1aa09a0d52ddd5a427e328f76b017a0e04" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">const_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1aa09a0d52ddd5a427e328f76b017a0e04" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1a6d94b11b3936df0b3548d4f9fd7cb318" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1a6d94b11b3936df0b3548d4f9fd7cb318" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1a82d02915d20fad0b56a3aee26ca96b56" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1VarArray_1a82d02915d20fad0b56a3aee26ca96b56" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="170"></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a42953c34d3d78772f3edbd55c5ce2768" kindref="member">assigned</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="173"><highlight class="normal"></highlight></codeline>
<codeline lineno="175"></codeline>
<codeline lineno="176"></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a807b3f987de58b67791872d6ec1e54a5" kindref="member">update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share,<sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t);</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t);</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="189"><highlight class="normal"></highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="194"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="196"><highlight class="normal"></highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="203"><highlight class="normal"></highlight></codeline>
<codeline lineno="207"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="210"><highlight class="normal"></highlight></codeline>
<codeline lineno="214"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="216"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y);</highlight></codeline>
<codeline lineno="217"><highlight class="normal"></highlight></codeline>
<codeline lineno="221"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="223"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="224"><highlight class="normal"></highlight></codeline>
<codeline lineno="233"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="234" refid="classGecode_1_1ViewArray" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray</ref><sp/>{</highlight></codeline>
<codeline lineno="235"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><sp/>n;</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/>View*<sp/>x;</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>X&gt;</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">ViewLess<sp/>{</highlight></codeline>
<codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>operator<sp/>()(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;);</highlight></codeline>
<codeline lineno="245"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="247"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>sort(View*<sp/>x,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
<codeline lineno="248"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="250"></codeline>
<codeline lineno="251"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>View<sp/><ref refid="classGecode_1_1ViewArray_1a3365a1867c5d9e98488890435e80d099" kindref="member">value_type</ref>;</highlight></codeline>
<codeline lineno="254" refid="classGecode_1_1ViewArray_1a259c7b9304610c16dd9f8d9a7f9e7f85" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>View&amp;<sp/><ref refid="classGecode_1_1ViewArray_1a259c7b9304610c16dd9f8d9a7f9e7f85" kindref="member">reference</ref>;</highlight></codeline>
<codeline lineno="256" refid="classGecode_1_1ViewArray_1a1bea578a067bf114f50ba455968cd574" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/><ref refid="classGecode_1_1ViewArray_1a1bea578a067bf114f50ba455968cd574" kindref="member">const_reference</ref>;</highlight></codeline>
<codeline lineno="258" refid="classGecode_1_1ViewArray_1adbc61001620ef181722d48249f1e2069" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>View*<sp/><ref refid="classGecode_1_1ViewArray_1adbc61001620ef181722d48249f1e2069" kindref="member">pointer</ref>;</highlight></codeline>
<codeline lineno="260" refid="classGecode_1_1ViewArray_1a7302de5ba207eb21d362b542b5457dc2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View*<sp/><ref refid="classGecode_1_1ViewArray_1a7302de5ba207eb21d362b542b5457dc2" kindref="member">const_pointer</ref>;</highlight></codeline>
<codeline lineno="262" refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>View*<sp/><ref refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" kindref="member">iterator</ref>;</highlight></codeline>
<codeline lineno="264" refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View*<sp/><ref refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" kindref="member">const_iterator</ref>;</highlight></codeline>
<codeline lineno="266" refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;View*&gt;<sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="268" refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;const<sp/>View*&gt;<sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">const_reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="270"></codeline>
<codeline lineno="272"></codeline>
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Region" kindref="compound">Region</ref>&amp;<sp/>r,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
<codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Region" kindref="compound">Region</ref>&amp;<sp/>r,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ViewArray_1a6c431ee3e450672a057433413b3d71fa" kindref="member">operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="293"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="294" refid="classGecode_1_1ViewArray_1ad121b8949ed7beae266071e5a2d2501b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ad121b8949ed7beae266071e5a2d2501b" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="295"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>n(a.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="296"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>This<sp/>may<sp/>not<sp/>be<sp/>in<sp/>the<sp/>hpp<sp/>file<sp/>(to<sp/>satisfy<sp/>the<sp/>MS<sp/>compiler)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="297"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n&gt;0)<sp/>{</highlight></codeline>
<codeline lineno="298"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="299"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="300"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i]=a[i];</highlight></codeline>
<codeline lineno="301"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="302"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="311"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="312" refid="classGecode_1_1ViewArray_1a8402c46d8c4f23060e423970440c058f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a8402c46d8c4f23060e423970440c058f" kindref="member">ViewArray</ref>(<ref refid="classGecode_1_1Region" kindref="compound">Region</ref>&amp;<sp/>r,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="313"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>n(a.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="314"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>This<sp/>may<sp/>not<sp/>be<sp/>in<sp/>the<sp/>hpp<sp/>file<sp/>(to<sp/>satisfy<sp/>the<sp/>MS<sp/>compiler)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="315"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n&gt;0)<sp/>{</highlight></codeline>
<codeline lineno="316"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="317"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="318"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i]=a[i];</highlight></codeline>
<codeline lineno="319"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="320"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="322"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="324"></codeline>
<codeline lineno="326"></codeline>
<codeline lineno="327"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" 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="330"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
<codeline lineno="332"></codeline>
<codeline lineno="334"></codeline>
<codeline lineno="335"><highlight class="normal"><sp/><sp/><sp/><sp/>View&amp;<sp/><ref refid="classGecode_1_1ViewArray_1a1badeda8e27fd2c68cb4044a103cd6d5" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="338"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/><ref refid="classGecode_1_1ViewArray_1a1badeda8e27fd2c68cb4044a103cd6d5" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="340"></codeline>
<codeline lineno="342"></codeline>
<codeline lineno="343"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" kindref="member">iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1ae041a573651fcebc79e5822a19563040" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="346"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" kindref="member">const_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1ae041a573651fcebc79e5822a19563040" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="348"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" kindref="member">iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1ab34fad89ac8fefb283b721c390dce169" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="350"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" kindref="member">const_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1ab34fad89ac8fefb283b721c390dce169" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="352"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1abfd668d1bc26e4ad4f06c4274d8549a8" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1abfd668d1bc26e4ad4f06c4274d8549a8" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="356"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1a9743bc9ec9a5100c9b7f1ade50604b78" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="358"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1ViewArray_1a9743bc9ec9a5100c9b7f1ade50604b78" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="360"></codeline>
<codeline lineno="362"></codeline>
<codeline lineno="363"></codeline>
<codeline lineno="370"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" kindref="member">subscribe</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>process=</highlight><highlight class="keyword">true</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="372"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a93da83a374fb292c5c8412292725f20d" kindref="member">cancel</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc);</highlight></codeline>
<codeline lineno="374"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" kindref="member">subscribe</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="376"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a93da83a374fb292c5c8412292725f20d" kindref="member">cancel</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="378"></codeline>
<codeline lineno="380"></codeline>
<codeline lineno="381"></codeline>
<codeline lineno="388"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1afe55a31688f656ab0b114f2342e9e313" kindref="member">update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="390"><highlight class="normal"></highlight></codeline>
<codeline lineno="391"><highlight class="normal"></highlight></codeline>
<codeline lineno="393"></codeline>
<codeline lineno="394"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="397"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="403"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc);</highlight></codeline>
<codeline lineno="409"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc);</highlight></codeline>
<codeline lineno="415"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="421"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="423"></codeline>
<codeline lineno="425"></codeline>
<codeline lineno="426"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="429"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="435"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc);</highlight></codeline>
<codeline lineno="442"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc);</highlight></codeline>
<codeline lineno="448"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="454"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a);</highlight></codeline>
<codeline lineno="456"></codeline>
<codeline lineno="458"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a9dceff4606ddbbec9ddb0c948781a6bb" kindref="member">assigned</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="459"><highlight class="normal"></highlight></codeline>
<codeline lineno="461"></codeline>
<codeline lineno="462"></codeline>
<codeline lineno="467"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1afe47e93700a5c1d13757ea5ed1225d22" kindref="member">same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="473"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1afe47e93700a5c1d13757ea5ed1225d22" kindref="member">same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/>y)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="475"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a76e383bb302d106fbbec6fcbe4901a4e" kindref="member">unique</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home);</highlight></codeline>
<codeline lineno="477"></codeline>
<codeline lineno="479"></codeline>
<codeline lineno="480"></codeline>
<codeline lineno="485"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="491"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>ViewY&gt;</highlight></codeline>
<codeline lineno="492"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewY&amp;<sp/>y)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="498"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>ViewY&gt;</highlight></codeline>
<codeline lineno="499"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;ViewY&gt;</ref>&amp;<sp/>y)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="501"><highlight class="normal"></highlight></codeline>
<codeline lineno="502"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="503"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t);</highlight></codeline>
<codeline lineno="504"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t);</highlight></codeline>
<codeline lineno="505"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="506"><highlight class="normal"></highlight></codeline>
<codeline lineno="520"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="521" refid="classGecode_1_1ArgArrayBase" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref><sp/>{</highlight></codeline>
<codeline lineno="522"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="524" refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;</highlight></codeline>
<codeline lineno="526" refid="classGecode_1_1ArgArrayBase_1aba50e7707c86b17f0d4b805939305227" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1aba50e7707c86b17f0d4b805939305227" kindref="member">capacity</ref>;</highlight></codeline>
<codeline lineno="528" refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>;</highlight></codeline>
<codeline lineno="530" refid="classGecode_1_1ArgArrayBase_1a2a7e9c76d67fae7aae4f20109eb38317" refkind="member"><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">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a2a7e9c76d67fae7aae4f20109eb38317" kindref="member">onstack_size</ref><sp/>=<sp/>16;</highlight></codeline>
<codeline lineno="532" refid="classGecode_1_1ArgArrayBase_1a4c191ff64ad1876b584048422f9ff29e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>T<sp/><ref refid="classGecode_1_1ArgArrayBase_1a4c191ff64ad1876b584048422f9ff29e" kindref="member">onstack</ref>[<ref refid="classGecode_1_1ArgArrayBase_1a2a7e9c76d67fae7aae4f20109eb38317" kindref="member">onstack_size</ref>];</highlight></codeline>
<codeline lineno="534"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1ArgArrayBase_1aa3a75d22c4da142c5f7129561f980399" kindref="member">allocate</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="536"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a8ed2c153f6a9481eac03f81fc1eb6b14" kindref="member">resize</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="538"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="539"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/><ref refid="classGecode_1_1ArgArrayBase_1a8dfd1207b4479935fb88e517b21bf49f" kindref="member">concat</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="541"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="542"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/><ref refid="classGecode_1_1ArgArrayBase_1a8dfd1207b4479935fb88e517b21bf49f" kindref="member">concat</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="544"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="545"><highlight class="normal"><sp/><sp/><sp/><sp/>A&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" kindref="member">append</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x);</highlight></codeline>
<codeline lineno="547"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="548"><highlight class="normal"><sp/><sp/><sp/><sp/>A&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" kindref="member">append</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x);</highlight></codeline>
<codeline lineno="554"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="555"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/><ref refid="classGecode_1_1ArgArrayBase_1ab1cfddbeaac6b704ad50abff7b9635a6" kindref="member">slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc=1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>=-1);</highlight></codeline>
<codeline lineno="556"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="558"></codeline>
<codeline lineno="559"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>T<sp/><ref refid="classGecode_1_1ArgArrayBase_1a56a36e2a609ea57109c79d43890d62ef" kindref="member">value_type</ref>;</highlight></codeline>
<codeline lineno="562" refid="classGecode_1_1ArgArrayBase_1ad0298b4768b0e53ce8ef13f80789ac18" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>T&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1ad0298b4768b0e53ce8ef13f80789ac18" kindref="member">reference</ref>;</highlight></codeline>
<codeline lineno="564" refid="classGecode_1_1ArgArrayBase_1a097be827923b3a47bacd8918ec73ca6b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a097be827923b3a47bacd8918ec73ca6b" kindref="member">const_reference</ref>;</highlight></codeline>
<codeline lineno="566" refid="classGecode_1_1ArgArrayBase_1ab3bc773d03a61dd0c04283e749ec0ed2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>T*<sp/><ref refid="classGecode_1_1ArgArrayBase_1ab3bc773d03a61dd0c04283e749ec0ed2" kindref="member">pointer</ref>;</highlight></codeline>
<codeline lineno="568" refid="classGecode_1_1ArgArrayBase_1a4c85c82056ab8fbf2772417329d3e802" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/><ref refid="classGecode_1_1ArgArrayBase_1a4c85c82056ab8fbf2772417329d3e802" kindref="member">const_pointer</ref>;</highlight></codeline>
<codeline lineno="570" refid="classGecode_1_1ArgArrayBase_1aa687fceda8a4ae2a64fb5a7bb649a5a7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>T*<sp/><ref refid="classGecode_1_1ArgArrayBase_1aa687fceda8a4ae2a64fb5a7bb649a5a7" kindref="member">iterator</ref>;</highlight></codeline>
<codeline lineno="572" refid="classGecode_1_1ArgArrayBase_1ad83ae4a7fc5863035e6fe5795b843768" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/><ref refid="classGecode_1_1ArgArrayBase_1ad83ae4a7fc5863035e6fe5795b843768" kindref="member">const_iterator</ref>;</highlight></codeline>
<codeline lineno="574" refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;T*&gt;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="576" refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::reverse_iterator&lt;const<sp/>T*&gt;<sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">const_reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="578"></codeline>
<codeline lineno="580"></codeline>
<codeline lineno="581"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="584"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="586"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="588"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a7a164914ff7e98d30c7682772c28c755" kindref="member">operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="590"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="592"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="593"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last);</highlight></codeline>
<codeline lineno="595"></codeline>
<codeline lineno="597"></codeline>
<codeline lineno="598"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" 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="601"></codeline>
<codeline lineno="603"></codeline>
<codeline lineno="604"><highlight class="normal"><sp/><sp/><sp/><sp/>T&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a3374c5468b4a8d6fc80c1b7059b62b1a" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i);</highlight></codeline>
<codeline lineno="607"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a3374c5468b4a8d6fc80c1b7059b62b1a" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="609"></codeline>
<codeline lineno="611"></codeline>
<codeline lineno="612"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa113576241a65d86140bc3419d96b02c" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="615"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">const_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa113576241a65d86140bc3419d96b02c" kindref="member">begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="617"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad90ff8a9bd79af6acfdb72646c52a780" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="619"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1BoolVar" kindref="compound">const_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad90ff8a9bd79af6acfdb72646c52a780" kindref="member">end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="621"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf6d78bac5609f86601dfb22131bc866" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="623"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf6d78bac5609f86601dfb22131bc866" kindref="member">rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="625"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">reverse_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa6fcebbdd86271d362383f71a3fdbd26" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="627"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">const_reverse_iterator</ref><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa6fcebbdd86271d362383f71a3fdbd26" kindref="member">rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="629"></codeline>
<codeline lineno="631"></codeline>
<codeline lineno="632"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1ab397c8c20972f2bc8d3b53e46145cb24" kindref="member">~ArgArrayBase</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="635"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="636"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t);</highlight></codeline>
<codeline lineno="637"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t);</highlight></codeline>
<codeline lineno="638"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="639"><highlight class="normal"></highlight></codeline>
<codeline lineno="640" refid="classGecode_1_1PrimArgArray" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal">&gt;<sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray</ref>;</highlight></codeline>
<codeline lineno="641"><highlight class="normal"></highlight></codeline>
<codeline lineno="645"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="646"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="647"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="648"><highlight class="normal"></highlight></codeline>
<codeline lineno="652"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="653"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="654"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y);</highlight></codeline>
<codeline lineno="655"><highlight class="normal"></highlight></codeline>
<codeline lineno="659"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="660"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="661"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="662"><highlight class="normal"></highlight></codeline>
<codeline lineno="674"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="675"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;<sp/>{</highlight></codeline>
<codeline lineno="676"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="677"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::a</ref>;</highlight></codeline>
<codeline lineno="678"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="679"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::size</ref>;</highlight></codeline>
<codeline lineno="681"></codeline>
<codeline lineno="682"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="685"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="687"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>,<sp/>T<sp/>e0,<sp/>...);</highlight></codeline>
<codeline lineno="689"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/>e);</highlight></codeline>
<codeline lineno="691"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="693"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="695"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="696"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last);</highlight></codeline>
<codeline lineno="698"></codeline>
<codeline lineno="700"></codeline>
<codeline lineno="705"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="706"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1aa7ae9bf8057b912959d2a7198f4c8a3d" kindref="member">slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc=1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>=-1);</highlight></codeline>
<codeline lineno="708"></codeline>
<codeline lineno="710"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="712"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a844c2064eb6d73f42c15f89d7c685b89" kindref="member">operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x);</highlight></codeline>
<codeline lineno="714"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="715"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>&lt;&lt;(const<sp/>PrimArgArray&lt;T&gt;&amp;<sp/>x);</highlight></codeline>
<codeline lineno="717"><highlight class="normal"></highlight></codeline>
<codeline lineno="718"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="719"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="720"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="721"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y);</highlight></codeline>
<codeline lineno="722"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="723"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="724"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="725"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="726"><highlight class="normal"></highlight></codeline>
<codeline lineno="727" refid="classGecode_1_1ArgArray" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal">&gt;<sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray</ref>;</highlight></codeline>
<codeline lineno="728"><highlight class="normal"></highlight></codeline>
<codeline lineno="732"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="733"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="734"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="735"><highlight class="normal"></highlight></codeline>
<codeline lineno="739"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="740"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="741"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y);</highlight></codeline>
<codeline lineno="742"><highlight class="normal"></highlight></codeline>
<codeline lineno="746"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="747"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="748"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="749"><highlight class="normal"></highlight></codeline>
<codeline lineno="761"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="762"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;<sp/>{</highlight></codeline>
<codeline lineno="763"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="764"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::a</ref>;</highlight></codeline>
<codeline lineno="765"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="766"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::size</ref>;</highlight></codeline>
<codeline lineno="768"></codeline>
<codeline lineno="769"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="772"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="774"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/>e);</highlight></codeline>
<codeline lineno="776"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="778"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="780"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="781"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last);</highlight></codeline>
<codeline lineno="783"></codeline>
<codeline lineno="785"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="787"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a5742aff4e6d84c544e578589fbfccfa7" kindref="member">slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc=1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>=-1);</highlight></codeline>
<codeline lineno="789"></codeline>
<codeline lineno="791"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="793"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a3653e6d20a9a233f5a83342cb77df7f4" kindref="member">operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x);</highlight></codeline>
<codeline lineno="795"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="796"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>&lt;&lt;(const<sp/>ArgArray&lt;T&gt;&amp;<sp/>x);</highlight></codeline>
<codeline lineno="798"><highlight class="normal"></highlight></codeline>
<codeline lineno="799"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="800"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="801"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="802"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y);</highlight></codeline>
<codeline lineno="803"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="804"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="805"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="806"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="807"><highlight class="normal"></highlight></codeline>
<codeline lineno="808"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal">&gt;<sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray</ref>;</highlight></codeline>
<codeline lineno="809"><highlight class="normal"></highlight></codeline>
<codeline lineno="813"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="814"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="815"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="816"><highlight class="normal"></highlight></codeline>
<codeline lineno="820"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="821"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="822"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="823"><highlight class="normal"></highlight></codeline>
<codeline lineno="827"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="828"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="829"><highlight class="normal"><sp/><sp/><ref refid="group__TaskModelMiniModelLin_1ga3dae225cf80797e339ea88aeb334cddb" kindref="member">operator +</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="830"><highlight class="normal"></highlight></codeline>
<codeline lineno="842"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="843"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;Var&gt;<sp/>{</highlight></codeline>
<codeline lineno="844"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="845"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::a</ref>;</highlight></codeline>
<codeline lineno="846"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::n</ref>;</highlight></codeline>
<codeline lineno="848" refid="classGecode_1_1VarArgArray_1_1VarLess" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1VarArgArray_1_1VarLess" kindref="compound">VarLess</ref><sp/>{</highlight></codeline>
<codeline lineno="849"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="850"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>operator<sp/>()(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;);</highlight></codeline>
<codeline lineno="851"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="852"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="853"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::size</ref>;</highlight></codeline>
<codeline lineno="855"></codeline>
<codeline lineno="856"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="859"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="861"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="863"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="865"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;Var&gt;&amp;<sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>);</highlight></codeline>
<codeline lineno="867"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="868"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last);</highlight></codeline>
<codeline lineno="870"></codeline>
<codeline lineno="872"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="874"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a40a52e20540f67f982a967fc85452647" kindref="member">slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc=1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>=-1);</highlight></codeline>
<codeline lineno="876"></codeline>
<codeline lineno="878"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="880"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1af85e76ef64846946dae720bce02ddcba" kindref="member">operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>x);</highlight></codeline>
<codeline lineno="882"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="883"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>&lt;&lt;(const<sp/>VarArgArray&lt;Var&gt;&amp;<sp/>x);</highlight></codeline>
<codeline lineno="885"></codeline>
<codeline lineno="887"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" kindref="member">assigned</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="888"><highlight class="normal"></highlight></codeline>
<codeline lineno="889"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="890"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="891"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="892"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="893"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="894"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="895"><highlight class="normal"><sp/><sp/><sp/><sp/>operator<sp/>+<sp/>&lt;&gt;(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y);</highlight></codeline>
<codeline lineno="896"><highlight class="normal"></highlight></codeline>
<codeline lineno="898"></codeline>
<codeline lineno="899"></codeline>
<codeline lineno="904"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="910"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>y)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="916"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="918"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="919"><highlight class="normal"></highlight></codeline>
<codeline lineno="924"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="925"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="926"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,</highlight></codeline>
<codeline lineno="927"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>x);</highlight></codeline>
<codeline lineno="928"><highlight class="normal"></highlight></codeline>
<codeline lineno="933"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="934"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="935"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x);</highlight></codeline>
<codeline lineno="936"><highlight class="normal"></highlight></codeline>
<codeline lineno="941"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="942"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="943"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x);</highlight></codeline>
<codeline lineno="944"><highlight class="normal"></highlight></codeline>
<codeline lineno="945"><highlight class="normal"></highlight></codeline>
<codeline lineno="946"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="947"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Implementation</highlight></codeline>
<codeline lineno="948"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="949"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="950"><highlight class="normal"></highlight></codeline>
<codeline lineno="951"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="952"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Variable<sp/>arrays</highlight></codeline>
<codeline lineno="953"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="954"><highlight class="comment"><sp/><sp/><sp/>*<sp/>These<sp/>arrays<sp/>are<sp/>allocated<sp/>in<sp/>the<sp/>space.</highlight></codeline>
<codeline lineno="955"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="956"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="957"><highlight class="normal"></highlight></codeline>
<codeline lineno="958"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="959"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="960" refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray&lt;Var&gt;::VarArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>:<sp/>n(0),<sp/>x(NULL)<sp/>{}</highlight></codeline>
<codeline lineno="961"><highlight class="normal"></highlight></codeline>
<codeline lineno="962"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="963"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="964" refid="classGecode_1_1VarArray_1ae32fbf0910e040ca3e3375eac765596f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray&lt;Var&gt;::VarArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n0)</highlight></codeline>
<codeline lineno="965"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(n0)<sp/>{</highlight></codeline>
<codeline lineno="966"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Allocate<sp/>from<sp/>space</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="967"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" kindref="member">x</ref><sp/>=<sp/>(<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>&gt;0)<sp/>?<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>)<sp/>:<sp/>NULL;</highlight></codeline>
<codeline lineno="968"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="969"><highlight class="normal"></highlight></codeline>
<codeline lineno="970"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="971"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="972" refid="classGecode_1_1VarArray_1ae969175e5545323fc99de65912a9a73b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray&lt;Var&gt;::VarArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="973"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>a.<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>;<sp/>x<sp/>=<sp/>a.<ref refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" kindref="member">x</ref>;</highlight></codeline>
<codeline lineno="974"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="975"><highlight class="normal"></highlight></codeline>
<codeline lineno="976"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="977"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;</highlight></codeline>
<codeline lineno="978" refid="classGecode_1_1VarArray_1a4fed680f83a05790658a9b3a660c4c08" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a4fed680f83a05790658a9b3a660c4c08" kindref="member">VarArray&lt;Var&gt;::operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="979"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>a.<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>;<sp/>x<sp/>=<sp/>a.<ref refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" kindref="member">x</ref>;</highlight></codeline>
<codeline lineno="980"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*</highlight><highlight class="keyword">this</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="981"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="982"><highlight class="normal"></highlight></codeline>
<codeline lineno="983"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="984"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="985" refid="classGecode_1_1VarArray_1a3cf80c58c32609c61de4c90605413fd2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a3cf80c58c32609c61de4c90605413fd2" kindref="member">VarArray&lt;Var&gt;::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="986"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>n;</highlight></codeline>
<codeline lineno="987"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="988"><highlight class="normal"></highlight></codeline>
<codeline lineno="989"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="990"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;</highlight></codeline>
<codeline lineno="991" refid="classGecode_1_1VarArray_1ace08813160ef06e0f1bbb3c30c200da0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1ace08813160ef06e0f1bbb3c30c200da0" kindref="member">VarArray&lt;Var&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="992"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i<sp/>&gt;=<sp/>0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>()));</highlight></codeline>
<codeline lineno="993"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x[i];</highlight></codeline>
<codeline lineno="994"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="995"><highlight class="normal"></highlight></codeline>
<codeline lineno="996"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="997"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;</highlight></codeline>
<codeline lineno="998" refid="classGecode_1_1VarArray_1af593147a24272627350513e305d79779" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1ace08813160ef06e0f1bbb3c30c200da0" kindref="member">VarArray&lt;Var&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="999"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i<sp/>&gt;=<sp/>0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>()));</highlight></codeline>
<codeline lineno="1000"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x[i];</highlight></codeline>
<codeline lineno="1001"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1002"><highlight class="normal"></highlight></codeline>
<codeline lineno="1003"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1004"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1005" refid="classGecode_1_1VarArray_1a53b8648af92da9632e399e290e4c0d62" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a53b8648af92da9632e399e290e4c0d62" kindref="member">VarArray&lt;Var&gt;::slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>maxN)<sp/>{</highlight></codeline>
<codeline lineno="1006"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n==0<sp/>||<sp/>start<sp/>&lt;<sp/>n);</highlight></codeline>
<codeline lineno="1007"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n==0<sp/>||<sp/>maxN&lt;0)</highlight></codeline>
<codeline lineno="1008"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>maxN<sp/>=<sp/>n;</highlight></codeline>
<codeline lineno="1009"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
<codeline lineno="1010"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(inc<sp/>==<sp/>0)</highlight></codeline>
<codeline lineno="1011"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>n-start;</highlight></codeline>
<codeline lineno="1012"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(inc<sp/>&gt;<sp/>0)</highlight></codeline>
<codeline lineno="1013"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>(n-start)/inc<sp/>+<sp/>((n-start)<sp/>%<sp/>inc<sp/>==<sp/>0<sp/>?<sp/>0<sp/>:<sp/>1);</highlight></codeline>
<codeline lineno="1014"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1015"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>(start+1)/-inc<sp/>+<sp/>((start+1)<sp/>%<sp/>-inc<sp/>==<sp/>0<sp/>?<sp/>0<sp/>:<sp/>1);</highlight></codeline>
<codeline lineno="1016"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType<sp/>r(<ref refid="group__TaskModelFloatArith_1ga121700708772a60191be6256c3c0d151" kindref="member">std::min</ref>(maxN,s));</highlight></codeline>
<codeline lineno="1017"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;<sp/>i&lt;r.size();<sp/>i++,<sp/>start+=inc)</highlight></codeline>
<codeline lineno="1018"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[i]<sp/>=<sp/>x[start];</highlight></codeline>
<codeline lineno="1019"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1020"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1021"><highlight class="normal"></highlight></codeline>
<codeline lineno="1022"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1023"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">VarArray&lt;Var&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1024" refid="classGecode_1_1VarArray_1aa09c7045277614841a821b7e0636d44a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa09c7045277614841a821b7e0636d44a" kindref="member">VarArray&lt;Var&gt;::begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1025"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x;</highlight></codeline>
<codeline lineno="1026"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1027"><highlight class="normal"></highlight></codeline>
<codeline lineno="1028"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1029"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">VarArray&lt;Var&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1030" refid="classGecode_1_1VarArray_1ad585be789f428414d4de84fdb4b2a1aa" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa09c7045277614841a821b7e0636d44a" kindref="member">VarArray&lt;Var&gt;::begin</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="1031"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x;</highlight></codeline>
<codeline lineno="1032"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1033"><highlight class="normal"></highlight></codeline>
<codeline lineno="1034"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1035"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">VarArray&lt;Var&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1036" refid="classGecode_1_1VarArray_1aa09a0d52ddd5a427e328f76b017a0e04" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa09a0d52ddd5a427e328f76b017a0e04" kindref="member">VarArray&lt;Var&gt;::end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1037"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x+n;</highlight></codeline>
<codeline lineno="1038"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1039"><highlight class="normal"></highlight></codeline>
<codeline lineno="1040"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1041"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">VarArray&lt;Var&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1042" refid="classGecode_1_1VarArray_1a197f67babbe8d7670fba55809a416cf0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1aa09a0d52ddd5a427e328f76b017a0e04" kindref="member">VarArray&lt;Var&gt;::end</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="1043"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x+n;</highlight></codeline>
<codeline lineno="1044"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1045"><highlight class="normal"></highlight></codeline>
<codeline lineno="1046"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1047"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">VarArray&lt;Var&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1048" refid="classGecode_1_1VarArray_1a6d94b11b3936df0b3548d4f9fd7cb318" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a6d94b11b3936df0b3548d4f9fd7cb318" kindref="member">VarArray&lt;Var&gt;::rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1049"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">reverse_iterator</ref>(x+n);</highlight></codeline>
<codeline lineno="1050"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1051"><highlight class="normal"></highlight></codeline>
<codeline lineno="1052"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1053"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">VarArray&lt;Var&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1054" refid="classGecode_1_1VarArray_1aa7c774d800efd0869edc7bfb5bdb530e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a6d94b11b3936df0b3548d4f9fd7cb318" kindref="member">VarArray&lt;Var&gt;::rbegin</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="1055"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">const_reverse_iterator</ref>(x+n);</highlight></codeline>
<codeline lineno="1056"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1057"><highlight class="normal"></highlight></codeline>
<codeline lineno="1058"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1059"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">VarArray&lt;Var&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1060" refid="classGecode_1_1VarArray_1a82d02915d20fad0b56a3aee26ca96b56" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a82d02915d20fad0b56a3aee26ca96b56" kindref="member">VarArray&lt;Var&gt;::rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1061"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1a6e0db2dc6d3d548f5569720373ab030a" kindref="member">reverse_iterator</ref>(x);</highlight></codeline>
<codeline lineno="1062"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1063"><highlight class="normal"></highlight></codeline>
<codeline lineno="1064"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1065"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">VarArray&lt;Var&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1066" refid="classGecode_1_1VarArray_1a3d3e08149aae2f0428034fa0c40c4ff3" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a82d02915d20fad0b56a3aee26ca96b56" kindref="member">VarArray&lt;Var&gt;::rend</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="1067"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray_1aa3596ebfe2a624dabab6972da579c1cb" kindref="member">const_reverse_iterator</ref>(x);</highlight></codeline>
<codeline lineno="1068"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1069"><highlight class="normal"></highlight></codeline>
<codeline lineno="1070"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1071"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1072" refid="classGecode_1_1VarArray_1a807b3f987de58b67791872d6ec1e54a5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a807b3f987de58b67791872d6ec1e54a5" kindref="member">VarArray&lt;Var&gt;::update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share,<sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1073"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>a.<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>;</highlight></codeline>
<codeline lineno="1074"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="1075"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(n);</highlight></codeline>
<codeline lineno="1076"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;)</highlight></codeline>
<codeline lineno="1077"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i].update(home,<sp/>share,<sp/>a.<ref refid="classGecode_1_1VarArray_1ace04bdff621aba6ef39a063786092dfd" kindref="member">x</ref>[i]);</highlight></codeline>
<codeline lineno="1078"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="1079"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="1080"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1081"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1082"><highlight class="normal"></highlight></codeline>
<codeline lineno="1083"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1084"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1085" refid="classGecode_1_1VarArray_1a42953c34d3d78772f3edbd55c5ce2768" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a42953c34d3d78772f3edbd55c5ce2768" kindref="member">VarArray&lt;Var&gt;::assigned</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="1086"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;)</highlight></codeline>
<codeline lineno="1087"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!x[i].assigned())</highlight></codeline>
<codeline lineno="1088"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1089"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1090"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1091"><highlight class="normal"><sp/><sp/></highlight></codeline>
<codeline lineno="1092"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1093"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*</highlight></codeline>
<codeline lineno="1094"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;::operator</ref><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t)<sp/>{</highlight></codeline>
<codeline lineno="1095"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="1096"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1097"><highlight class="normal"></highlight></codeline>
<codeline lineno="1098"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1099"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1100"><highlight class="normal"><sp/><sp/>VarArray&lt;Var&gt;::operator<sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t)<sp/>{</highlight></codeline>
<codeline lineno="1101"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1102"><highlight class="normal"></highlight></codeline>
<codeline lineno="1103"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1104"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1105"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1106"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType<sp/>r(x.size()+y.size());</highlight></codeline>
<codeline lineno="1107"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1109"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=y.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[x.size()+i]<sp/>=<sp/>y[i];</highlight></codeline>
<codeline lineno="1111"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1112"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1113"><highlight class="normal"></highlight></codeline>
<codeline lineno="1114"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1115"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1116"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArgArray&lt;Var&gt;&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1117"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType<sp/>r(x.size()+y.size());</highlight></codeline>
<codeline lineno="1118"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1120"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=y.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[x.size()+i]<sp/>=<sp/>y[i];</highlight></codeline>
<codeline lineno="1122"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1123"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1124"><highlight class="normal"></highlight></codeline>
<codeline lineno="1125"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1126"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1127"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArgArray&lt;Var&gt;&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1128"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType<sp/>r(x.size()+y.size());</highlight></codeline>
<codeline lineno="1129"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1130"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1131"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=y.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1132"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[x.size()+i]<sp/>=<sp/>y[i];</highlight></codeline>
<codeline lineno="1133"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1134"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1135"><highlight class="normal"></highlight></codeline>
<codeline lineno="1136"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1137"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1138"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Var&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1139"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType<sp/>r(x.size()+1);</highlight></codeline>
<codeline lineno="1140"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1142"><highlight class="normal"><sp/><sp/><sp/><sp/>r[x.size()]<sp/>=<sp/>y;</highlight></codeline>
<codeline lineno="1143"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="1144"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1145"><highlight class="normal"></highlight></codeline>
<codeline lineno="1146"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1147"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1148"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Var&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>VarArray&lt;Var&gt;&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1149"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;VarArray&lt;Var&gt;<sp/>&gt;::ArgsType<sp/>r(y.size()+1);</highlight></codeline>
<codeline lineno="1150"><highlight class="normal"><sp/><sp/><sp/><sp/>r[0]<sp/>=<sp/>x;</highlight></codeline>
<codeline lineno="1151"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=y.size();<sp/>i--;)</highlight></codeline>
<codeline lineno="1152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>r[1+i]<sp/>=<sp/>y[i];</highlight></codeline>
<codeline lineno="1153"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1154"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1155"><highlight class="normal"></highlight></codeline>
<codeline lineno="1156"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="1157"><highlight class="comment"><sp/><sp/><sp/>*<sp/>View<sp/>arrays</highlight></codeline>
<codeline lineno="1158"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="1159"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1160"><highlight class="normal"></highlight></codeline>
<codeline lineno="1161"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1162"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1163" refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>:<sp/>n(0),<sp/>x(NULL)<sp/>{}</highlight></codeline>
<codeline lineno="1164"><highlight class="normal"></highlight></codeline>
<codeline lineno="1165"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1166"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1167" refid="classGecode_1_1ViewArray_1a05bd918eaf757043165cb3c4b634f11a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n0)</highlight></codeline>
<codeline lineno="1168"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(n0)<sp/>{</highlight></codeline>
<codeline lineno="1169"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>=<sp/>(n&gt;0)<sp/>?<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;View&gt;(n)<sp/>:<sp/>NULL;</highlight></codeline>
<codeline lineno="1170"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1171"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1172"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1173" refid="classGecode_1_1ViewArray_1ac35d540039e92f65739eca2c678f0934" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(<ref refid="classGecode_1_1Region" kindref="compound">Region</ref>&amp;<sp/>r,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n0)</highlight></codeline>
<codeline lineno="1174"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(n0)<sp/>{</highlight></codeline>
<codeline lineno="1175"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>=<sp/>(n&gt;0)<sp/>?<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(n)<sp/>:<sp/>NULL;</highlight></codeline>
<codeline lineno="1176"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1177"><highlight class="normal"></highlight></codeline>
<codeline lineno="1178"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1179" refid="classGecode_1_1ViewArray_1a4b2fdff0192e1c8a6ed0c8848d90b894" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="1180"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(a.<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="1181"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n&gt;0)<sp/>{</highlight></codeline>
<codeline lineno="1182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="1183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i]<sp/>=<sp/>a[i];</highlight></codeline>
<codeline lineno="1185"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="1186"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="1187"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1188"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1189"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1190" refid="classGecode_1_1ViewArray_1ac85faf0e01c84ca986c9889110810fa0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(<ref refid="classGecode_1_1Region" kindref="compound">Region</ref>&amp;<sp/>r,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="1191"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(a.<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="1192"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n&gt;0)<sp/>{</highlight></codeline>
<codeline lineno="1193"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="1194"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1195"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i]<sp/>=<sp/>a[i];</highlight></codeline>
<codeline lineno="1196"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="1197"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="1198"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1199"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1200"><highlight class="normal"></highlight></codeline>
<codeline lineno="1201"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1202"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1203" refid="classGecode_1_1ViewArray_1a8b5d4b2c3e4755d6f71db019cbfbce32" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9138f22a010fa8984da176fb41abbc3d" kindref="member">ViewArray&lt;View&gt;::ViewArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="1204"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(a.n),<sp/>x(a.x)<sp/>{}</highlight></codeline>
<codeline lineno="1205"><highlight class="normal"></highlight></codeline>
<codeline lineno="1206"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1207"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;</highlight></codeline>
<codeline lineno="1208" refid="classGecode_1_1ViewArray_1a6c431ee3e450672a057433413b3d71fa" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a6c431ee3e450672a057433413b3d71fa" kindref="member">ViewArray&lt;View&gt;::operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1209"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>a.n;<sp/>x<sp/>=<sp/>a.x;</highlight></codeline>
<codeline lineno="1210"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*</highlight><highlight class="keyword">this</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1211"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1212"><highlight class="normal"></highlight></codeline>
<codeline lineno="1213"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1214"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1215" refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">ViewArray&lt;View&gt;::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="1216"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>n;</highlight></codeline>
<codeline lineno="1217"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1218"><highlight class="normal"></highlight></codeline>
<codeline lineno="1219"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1220"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1221" refid="classGecode_1_1ViewArray_1a4ad7152aec5f2b32f82d92fbc0d3a4db" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">ViewArray&lt;View&gt;::size</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n0)<sp/>{</highlight></codeline>
<codeline lineno="1222"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>n0;</highlight></codeline>
<codeline lineno="1223"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1224"><highlight class="normal"></highlight></codeline>
<codeline lineno="1225"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1226"><highlight class="normal"><sp/><sp/>forceinline<sp/>View&amp;</highlight></codeline>
<codeline lineno="1227" refid="classGecode_1_1ViewArray_1a1badeda8e27fd2c68cb4044a103cd6d5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a1badeda8e27fd2c68cb4044a103cd6d5" kindref="member">ViewArray&lt;View&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1228"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i<sp/>&gt;=<sp/>0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>()));</highlight></codeline>
<codeline lineno="1229"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x[i];</highlight></codeline>
<codeline lineno="1230"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1231"><highlight class="normal"></highlight></codeline>
<codeline lineno="1232"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1233"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;</highlight></codeline>
<codeline lineno="1234" refid="classGecode_1_1ViewArray_1a3e0a1e2a19acbb4885280644fc56a8ff" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a1badeda8e27fd2c68cb4044a103cd6d5" kindref="member">ViewArray&lt;View&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1235"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i<sp/>&gt;=<sp/>0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>()));</highlight></codeline>
<codeline lineno="1236"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x[i];</highlight></codeline>
<codeline lineno="1237"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1238"><highlight class="normal"></highlight></codeline>
<codeline lineno="1239"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1240"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" kindref="member">ViewArray&lt;View&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1241" refid="classGecode_1_1ViewArray_1ae041a573651fcebc79e5822a19563040" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ae041a573651fcebc79e5822a19563040" kindref="member">ViewArray&lt;View&gt;::begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1242"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x;</highlight></codeline>
<codeline lineno="1243"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1244"><highlight class="normal"></highlight></codeline>
<codeline lineno="1245"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1246"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" kindref="member">ViewArray&lt;View&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1247" refid="classGecode_1_1ViewArray_1aedff247eaa76be251d3a5d2c27880610" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ae041a573651fcebc79e5822a19563040" kindref="member">ViewArray&lt;View&gt;::begin</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="1248"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x;</highlight></codeline>
<codeline lineno="1249"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1250"><highlight class="normal"></highlight></codeline>
<codeline lineno="1251"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1252"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a220f735d1b7b45292fad7de9f9501b57" kindref="member">ViewArray&lt;View&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1253" refid="classGecode_1_1ViewArray_1ab34fad89ac8fefb283b721c390dce169" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ab34fad89ac8fefb283b721c390dce169" kindref="member">ViewArray&lt;View&gt;::end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1254"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x+n;</highlight></codeline>
<codeline lineno="1255"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1256"><highlight class="normal"></highlight></codeline>
<codeline lineno="1257"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1258"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a41130e85f20e566592b9185eea911a24" kindref="member">ViewArray&lt;View&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1259" refid="classGecode_1_1ViewArray_1a1119c958e76ac1ef521ceecba511b49b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ab34fad89ac8fefb283b721c390dce169" kindref="member">ViewArray&lt;View&gt;::end</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="1260"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x+n;</highlight></codeline>
<codeline lineno="1261"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1262"><highlight class="normal"></highlight></codeline>
<codeline lineno="1263"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1264"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">ViewArray&lt;View&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1265" refid="classGecode_1_1ViewArray_1abfd668d1bc26e4ad4f06c4274d8549a8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1abfd668d1bc26e4ad4f06c4274d8549a8" kindref="member">ViewArray&lt;View&gt;::rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1266"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">reverse_iterator</ref>(x+n);</highlight></codeline>
<codeline lineno="1267"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1268"><highlight class="normal"></highlight></codeline>
<codeline lineno="1269"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1270"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">ViewArray&lt;View&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1271" refid="classGecode_1_1ViewArray_1a39640c1a8a7ae6dfd32868dd5870dd24" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1abfd668d1bc26e4ad4f06c4274d8549a8" kindref="member">ViewArray&lt;View&gt;::rbegin</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="1272"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">const_reverse_iterator</ref>(x+n);</highlight></codeline>
<codeline lineno="1273"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1274"><highlight class="normal"></highlight></codeline>
<codeline lineno="1275"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1276"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">ViewArray&lt;View&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1277" refid="classGecode_1_1ViewArray_1a9743bc9ec9a5100c9b7f1ade50604b78" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9743bc9ec9a5100c9b7f1ade50604b78" kindref="member">ViewArray&lt;View&gt;::rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1278"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a59dadf28387fb3acba09b3148ea7f27f" kindref="member">reverse_iterator</ref>(x);</highlight></codeline>
<codeline lineno="1279"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1280"><highlight class="normal"></highlight></codeline>
<codeline lineno="1281"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1282"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">ViewArray&lt;View&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1283" refid="classGecode_1_1ViewArray_1a190a8479f2f64d2e46769d5b7cc87e0a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9743bc9ec9a5100c9b7f1ade50604b78" kindref="member">ViewArray&lt;View&gt;::rend</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="1284"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray_1a8336172ac493acb63eb4540b943d5ced" kindref="member">const_reverse_iterator</ref>(x);</highlight></codeline>
<codeline lineno="1285"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1286"><highlight class="normal"></highlight></codeline>
<codeline lineno="1287"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1288"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1289" refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">ViewArray&lt;View&gt;::move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1290"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i]=x[0];<sp/>x++;<sp/>n--;</highlight></codeline>
<codeline lineno="1291"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1292"><highlight class="normal"></highlight></codeline>
<codeline lineno="1293"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1294"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1295" refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">ViewArray&lt;View&gt;::move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1296"><highlight class="normal"><sp/><sp/><sp/><sp/>n--;<sp/>x[i]=x[n];</highlight></codeline>
<codeline lineno="1297"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1298"><highlight class="normal"></highlight></codeline>
<codeline lineno="1299"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1300"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1301" refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">ViewArray&lt;View&gt;::drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1302"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&gt;=0);</highlight></codeline>
<codeline lineno="1303"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>+=<sp/>i;<sp/>n<sp/>-=<sp/>i;</highlight></codeline>
<codeline lineno="1304"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1305"><highlight class="normal"></highlight></codeline>
<codeline lineno="1306"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1307"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1308" refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">ViewArray&lt;View&gt;::drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1309"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&lt;n);</highlight></codeline>
<codeline lineno="1310"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>i+1;</highlight></codeline>
<codeline lineno="1311"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1312"><highlight class="normal"></highlight></codeline>
<codeline lineno="1313"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1314"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1315" refid="classGecode_1_1ViewArray_1a63979c0d0c99f3231536baf932476802" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">ViewArray&lt;View&gt;::move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc)<sp/>{</highlight></codeline>
<codeline lineno="1316"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Move<sp/>x[0]<sp/>to<sp/>x[i]</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1317"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i].cancel(home,p,pc);</highlight></codeline>
<codeline lineno="1318"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i]=x[0];<sp/>x++;<sp/>n--;</highlight></codeline>
<codeline lineno="1319"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1320"><highlight class="normal"></highlight></codeline>
<codeline lineno="1321"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1322"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1323" refid="classGecode_1_1ViewArray_1a86b3dd9c2a227cdd2d8a4938c78bdb90" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">ViewArray&lt;View&gt;::move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc)<sp/>{</highlight></codeline>
<codeline lineno="1324"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Move<sp/>x[n-1]<sp/>to<sp/>x[i]</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1325"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i].cancel(home,p,pc);</highlight></codeline>
<codeline lineno="1326"><highlight class="normal"><sp/><sp/><sp/><sp/>n--;<sp/>x[i]=x[n];</highlight></codeline>
<codeline lineno="1327"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1328"><highlight class="normal"></highlight></codeline>
<codeline lineno="1329"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1330"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1331" refid="classGecode_1_1ViewArray_1a12bbc2e62c91bfaef149fb88c6d2e933" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">ViewArray&lt;View&gt;::drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc)<sp/>{</highlight></codeline>
<codeline lineno="1332"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Drop<sp/>elements<sp/>from<sp/>0..i-1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1333"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&gt;=0);</highlight></codeline>
<codeline lineno="1334"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=i;<sp/>j--;<sp/>)</highlight></codeline>
<codeline lineno="1335"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[j].cancel(home,p,pc);</highlight></codeline>
<codeline lineno="1336"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>+=<sp/>i;<sp/>n<sp/>-=<sp/>i;</highlight></codeline>
<codeline lineno="1337"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1338"><highlight class="normal"></highlight></codeline>
<codeline lineno="1339"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1340"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1341" refid="classGecode_1_1ViewArray_1a474ea83eb37938c038aefb88f282d2eb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">ViewArray&lt;View&gt;::drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc)<sp/>{</highlight></codeline>
<codeline lineno="1342"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Drop<sp/>elements<sp/>from<sp/>i+1..n-1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1343"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&lt;n);</highlight></codeline>
<codeline lineno="1344"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=i+1;<sp/>j&lt;n;<sp/>j++)</highlight></codeline>
<codeline lineno="1345"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[j].cancel(home,p,pc);</highlight></codeline>
<codeline lineno="1346"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>i+1;</highlight></codeline>
<codeline lineno="1347"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1348"><highlight class="normal"></highlight></codeline>
<codeline lineno="1349"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1350"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1351" refid="classGecode_1_1ViewArray_1a0cd130c49893f4207b3f7fd0ee11339e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1ac018bd37a679ea2d9c688c6bdf6350a0" kindref="member">ViewArray&lt;View&gt;::move_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1352"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Move<sp/>x[0]<sp/>to<sp/>x[i]</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1353"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i].cancel(home,a);</highlight></codeline>
<codeline lineno="1354"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i]=x[0];<sp/>x++;<sp/>n--;</highlight></codeline>
<codeline lineno="1355"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1356"><highlight class="normal"></highlight></codeline>
<codeline lineno="1357"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1358"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1359" refid="classGecode_1_1ViewArray_1a3f14c27c7ba59fb972f907e07cd7ce19" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">ViewArray&lt;View&gt;::move_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1360"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Move<sp/>x[n-1]<sp/>to<sp/>x[i]</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1361"><highlight class="normal"><sp/><sp/><sp/><sp/>x[i].cancel(home,a);</highlight></codeline>
<codeline lineno="1362"><highlight class="normal"><sp/><sp/><sp/><sp/>n--;<sp/>x[i]=x[n];</highlight></codeline>
<codeline lineno="1363"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1364"><highlight class="normal"></highlight></codeline>
<codeline lineno="1365"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1366"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1367" refid="classGecode_1_1ViewArray_1a57de06d0fb326f10e3352947c892ffaf" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a01b46333ae10b0aa820bd3d91708ccb2" kindref="member">ViewArray&lt;View&gt;::drop_fst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1368"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Drop<sp/>elements<sp/>from<sp/>0..i-1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1369"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&gt;=0);</highlight></codeline>
<codeline lineno="1370"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=i;<sp/>j--;<sp/>)</highlight></codeline>
<codeline lineno="1371"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[j].cancel(home,a);</highlight></codeline>
<codeline lineno="1372"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>+=<sp/>i;<sp/>n<sp/>-=<sp/>i;</highlight></codeline>
<codeline lineno="1373"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1374"><highlight class="normal"></highlight></codeline>
<codeline lineno="1375"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1376"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1377" refid="classGecode_1_1ViewArray_1aa60874da03541bb06e0554a1b8bfd52c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a56e620ab3ce85109424f1da08f5d8d62" kindref="member">ViewArray&lt;View&gt;::drop_lst</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1378"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Drop<sp/>elements<sp/>from<sp/>i+1..n-1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1379"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(i&lt;n);</highlight></codeline>
<codeline lineno="1380"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=i+1;<sp/>j&lt;n;<sp/>j++)</highlight></codeline>
<codeline lineno="1381"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[j].cancel(home,a);</highlight></codeline>
<codeline lineno="1382"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>i+1;</highlight></codeline>
<codeline lineno="1383"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1384"><highlight class="normal"></highlight></codeline>
<codeline lineno="1385"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1386"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1387" refid="classGecode_1_1ViewArray_1afe55a31688f656ab0b114f2342e9e313" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1afe55a31688f656ab0b114f2342e9e313" kindref="member">ViewArray&lt;View&gt;::update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1388"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>y.n;</highlight></codeline>
<codeline lineno="1389"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="1390"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="1391"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1392"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i].update(home,<sp/>share,<sp/>y.x[i]);</highlight></codeline>
<codeline lineno="1393"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="1394"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="1395"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1396"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1397"><highlight class="normal"></highlight></codeline>
<codeline lineno="1398"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1399"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1400" refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" kindref="member">ViewArray&lt;View&gt;::subscribe</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc,</highlight></codeline>
<codeline lineno="1401"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>process)<sp/>{</highlight></codeline>
<codeline lineno="1402"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1403"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[i].subscribe(home,p,pc,process);</highlight></codeline>
<codeline lineno="1404"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1405"><highlight class="normal"></highlight></codeline>
<codeline lineno="1406"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1407"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1408" refid="classGecode_1_1ViewArray_1a93da83a374fb292c5c8412292725f20d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a93da83a374fb292c5c8412292725f20d" kindref="member">ViewArray&lt;View&gt;::cancel</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>&amp;<sp/>p,<sp/><ref refid="group__TaskVarMEPC_1gad24536e327a507a903179b6a5efd2e3d" kindref="member">PropCond</ref><sp/>pc)<sp/>{</highlight></codeline>
<codeline lineno="1409"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1410"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[i].cancel(home,p,pc);</highlight></codeline>
<codeline lineno="1411"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1412"><highlight class="normal"></highlight></codeline>
<codeline lineno="1413"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1414"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1415" refid="classGecode_1_1ViewArray_1a2296549a3958e61b41b768229ed4e9c0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" kindref="member">ViewArray&lt;View&gt;::subscribe</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1416"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1417"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[i].subscribe(home,a);</highlight></codeline>
<codeline lineno="1418"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1419"><highlight class="normal"></highlight></codeline>
<codeline lineno="1420"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1421"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1422" refid="classGecode_1_1ViewArray_1a0169f3b13523315951dc5842aae0f728" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a93da83a374fb292c5c8412292725f20d" kindref="member">ViewArray&lt;View&gt;::cancel</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1Advisor" kindref="compound">Advisor</ref>&amp;<sp/>a)<sp/>{</highlight></codeline>
<codeline lineno="1423"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1424"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[i].cancel(home,a);</highlight></codeline>
<codeline lineno="1425"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1426"><highlight class="normal"></highlight></codeline>
<codeline lineno="1427"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1428"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1429" refid="classGecode_1_1ViewArray_1a9dceff4606ddbbec9ddb0c948781a6bb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a9dceff4606ddbbec9ddb0c948781a6bb" kindref="member">ViewArray&lt;View&gt;::assigned</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="1430"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;)</highlight></codeline>
<codeline lineno="1431"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!x[i].assigned())</highlight></codeline>
<codeline lineno="1432"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1433"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1434"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1435"><highlight class="normal"></highlight></codeline>
<codeline lineno="1436"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1437"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1438"><highlight class="normal"><sp/><sp/>__before(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1439"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>before(x,y);</highlight></codeline>
<codeline lineno="1440"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1441"><highlight class="normal"></highlight></codeline>
<codeline lineno="1442"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>X&gt;</highlight></codeline>
<codeline lineno="1443"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1444"><highlight class="normal"><sp/><sp/>ViewArray&lt;View&gt;::ViewLess&lt;X&gt;::operator<sp/>()(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;<sp/>a,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;<sp/>b)<sp/>{</highlight></codeline>
<codeline lineno="1445"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>__before(a,b);</highlight></codeline>
<codeline lineno="1446"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1447"><highlight class="normal"></highlight></codeline>
<codeline lineno="1448"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1449"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1450"><highlight class="normal"><sp/><sp/>ViewArray&lt;View&gt;::sort(View*<sp/>y,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
<codeline lineno="1451"><highlight class="normal"><sp/><sp/><sp/><sp/>ViewLess&lt;View&gt;<sp/>vl;</highlight></codeline>
<codeline lineno="1452"><highlight class="normal"><sp/><sp/><sp/><sp/>Support::quicksort&lt;View,ViewLess&lt;View&gt;<sp/>&gt;(y,m,vl);</highlight></codeline>
<codeline lineno="1453"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1454"><highlight class="normal"></highlight></codeline>
<codeline lineno="1455"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>X,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Y&gt;</highlight></codeline>
<codeline lineno="1456"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1457"><highlight class="normal"><sp/><sp/>__same(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Y&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1458"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ac39fd7326a3f6b96950c67c54307c6d5" kindref="member">same</ref>(x,y);</highlight></codeline>
<codeline lineno="1459"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1460"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>X,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Y&gt;</highlight></codeline>
<codeline lineno="1461"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1462"><highlight class="normal"><sp/><sp/>__shared(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>X&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Y&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1463"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a5430dfdb1866d9506626cb0e838f0e66" kindref="member">shared</ref>(x,y);</highlight></codeline>
<codeline lineno="1464"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1465"><highlight class="normal"></highlight></codeline>
<codeline lineno="1466"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1467"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1468" refid="classGecode_1_1ViewArray_1afe47e93700a5c1d13757ea5ed1225d22" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1afe47e93700a5c1d13757ea5ed1225d22" kindref="member">ViewArray&lt;View&gt;::same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1469"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&lt;<sp/>2)</highlight></codeline>
<codeline lineno="1470"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1471"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region" kindref="compound">Region</ref><sp/>r(home);</highlight></codeline>
<codeline lineno="1472"><highlight class="normal"><sp/><sp/><sp/><sp/>View*<sp/>y<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="1473"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1474"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>y[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1475"><highlight class="normal"><sp/><sp/><sp/><sp/>sort(y,n);</highlight></codeline>
<codeline lineno="1476"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n-1;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1477"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!y[i].assigned()<sp/>&amp;&amp;<sp/>__same(y[i+1],y[i]))<sp/>{</highlight></codeline>
<codeline lineno="1478"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(y,n);</highlight></codeline>
<codeline lineno="1479"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1480"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1481"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(y,n);</highlight></codeline>
<codeline lineno="1482"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1483"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1484"><highlight class="normal"></highlight></codeline>
<codeline lineno="1485"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1486"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1487" refid="classGecode_1_1ViewArray_1af52965d1aa77a0bfa47ca629d02e3bed" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1afe47e93700a5c1d13757ea5ed1225d22" kindref="member">ViewArray&lt;View&gt;::same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>View&amp;<sp/>y)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1488"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(y.assigned())</highlight></codeline>
<codeline lineno="1489"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1490"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1491"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(__same(x[i],y))</highlight></codeline>
<codeline lineno="1492"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1493"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1494"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1495"><highlight class="normal"></highlight></codeline>
<codeline lineno="1496"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1497"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1498" refid="classGecode_1_1ViewArray_1a76e383bb302d106fbbec6fcbe4901a4e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a76e383bb302d106fbbec6fcbe4901a4e" kindref="member">ViewArray&lt;View&gt;::unique</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;)<sp/>{</highlight></codeline>
<codeline lineno="1499"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&lt;<sp/>2)</highlight></codeline>
<codeline lineno="1500"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1501"><highlight class="normal"><sp/><sp/><sp/><sp/>sort(x,n);</highlight></codeline>
<codeline lineno="1502"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="1503"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>1;<sp/>i&lt;n;<sp/>i++)</highlight></codeline>
<codeline lineno="1504"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!__same(x[j],x[i]))</highlight></codeline>
<codeline lineno="1505"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[++j]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1506"><highlight class="normal"><sp/><sp/><sp/><sp/>n<sp/>=<sp/>j+1;</highlight></codeline>
<codeline lineno="1507"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1508"><highlight class="normal"></highlight></codeline>
<codeline lineno="1509"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1510"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1511" refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">ViewArray&lt;View&gt;::shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1512"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&lt;<sp/>2)</highlight></codeline>
<codeline lineno="1513"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1514"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region" kindref="compound">Region</ref><sp/>r(home);</highlight></codeline>
<codeline lineno="1515"><highlight class="normal"><sp/><sp/><sp/><sp/>View*<sp/>y<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(n);</highlight></codeline>
<codeline lineno="1516"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1517"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>y[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1518"><highlight class="normal"><sp/><sp/><sp/><sp/>sort(y,n);</highlight></codeline>
<codeline lineno="1519"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n-1;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1520"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!y[i].assigned()<sp/>&amp;&amp;<sp/>__shared(y[i+1],y[i]))<sp/>{</highlight></codeline>
<codeline lineno="1521"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(y,n);</highlight></codeline>
<codeline lineno="1522"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1523"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1524"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(y,n);</highlight></codeline>
<codeline lineno="1525"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1526"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1527"><highlight class="normal"></highlight></codeline>
<codeline lineno="1528"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>ViewY&gt;</highlight></codeline>
<codeline lineno="1529"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1530" refid="classGecode_1_1ViewArray_1a264341b3a3231aec919a774067186de6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">ViewArray&lt;View&gt;::shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewY&amp;<sp/>y)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1531"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(y.assigned())</highlight></codeline>
<codeline lineno="1532"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1533"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1534"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!x[i].assigned()<sp/>&amp;&amp;<sp/>__shared(x[i],y))</highlight></codeline>
<codeline lineno="1535"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1536"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1537"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1538"><highlight class="normal"></highlight></codeline>
<codeline lineno="1539"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>ViewY&gt;</highlight></codeline>
<codeline lineno="1540"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1541" refid="classGecode_1_1ViewArray_1a46deede990b3cbd70cd5aa813bc67585" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray_1a24bf176b393488d15aa2d979443408d7" kindref="member">ViewArray&lt;View&gt;::shared</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;ViewY&gt;</ref>&amp;<sp/>y)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1542"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>()<sp/>&lt;<sp/>1)<sp/>||<sp/>(y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>()<sp/>&lt;<sp/>1))</highlight></codeline>
<codeline lineno="1543"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1544"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region" kindref="compound">Region</ref><sp/>r(home);</highlight></codeline>
<codeline lineno="1545"><highlight class="normal"><sp/><sp/><sp/><sp/>View*<sp/>xs<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;View&gt;(<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1546"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>();<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1547"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>xs[i]<sp/>=<sp/>x[i];</highlight></codeline>
<codeline lineno="1548"><highlight class="normal"><sp/><sp/><sp/><sp/>ViewLess&lt;View&gt;<sp/>xvl;</highlight></codeline>
<codeline lineno="1549"><highlight class="normal"><sp/><sp/><sp/><sp/>Support::quicksort&lt;View,ViewLess&lt;View&gt;<sp/>&gt;(xs,<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>(),xvl);</highlight></codeline>
<codeline lineno="1550"><highlight class="normal"><sp/><sp/><sp/><sp/>ViewY*<sp/>ys<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;ViewY&gt;(y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1551"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>();<sp/>j--;<sp/>)</highlight></codeline>
<codeline lineno="1552"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ys[j]<sp/>=<sp/>y[j];</highlight></codeline>
<codeline lineno="1553"><highlight class="normal"><sp/><sp/><sp/><sp/>ViewLess&lt;ViewY&gt;<sp/>yvl;</highlight></codeline>
<codeline lineno="1554"><highlight class="normal"><sp/><sp/><sp/><sp/>Support::quicksort&lt;ViewY,ViewLess&lt;ViewY&gt;<sp/>&gt;(ys,y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>(),yvl);</highlight></codeline>
<codeline lineno="1555"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="1556"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0,<sp/>j=0;</highlight></codeline>
<codeline lineno="1557"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>((i<sp/>&lt;<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>())<sp/>&amp;&amp;<sp/>(j<sp/>&lt;<sp/>y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>()))</highlight></codeline>
<codeline lineno="1558"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!x[i].assigned()<sp/>&amp;&amp;<sp/>__shared(x[i],y[j]))<sp/>{</highlight></codeline>
<codeline lineno="1559"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(xs,<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1560"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;ViewY&gt;(ys,y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1561"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1562"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(before(x[i],y[j]))<sp/>{</highlight></codeline>
<codeline lineno="1563"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>i++;</highlight></codeline>
<codeline lineno="1564"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="1565"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j++;</highlight></codeline>
<codeline lineno="1566"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1567"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1568"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;View&gt;(xs,<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1569"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;ViewY&gt;(ys,y.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1570"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1571"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1572"><highlight class="normal"></highlight></codeline>
<codeline lineno="1573"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1574"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*</highlight></codeline>
<codeline lineno="1575"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;::operator</ref><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t)<sp/>{</highlight></codeline>
<codeline lineno="1576"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="1577"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1578"><highlight class="normal"></highlight></codeline>
<codeline lineno="1579"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="1580"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1581"><highlight class="normal"><sp/><sp/>ViewArray&lt;View&gt;::operator<sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t)<sp/>{</highlight></codeline>
<codeline lineno="1582"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1583"><highlight class="normal"></highlight></codeline>
<codeline lineno="1584"><highlight class="normal"></highlight></codeline>
<codeline lineno="1585"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="1586"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Argument<sp/>arrays:<sp/>base<sp/>class</highlight></codeline>
<codeline lineno="1587"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="1588"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1589"><highlight class="normal"></highlight></codeline>
<codeline lineno="1590"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1591"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
<codeline lineno="1592" refid="classGecode_1_1ArgArrayBase_1aa3a75d22c4da142c5f7129561f980399" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa3a75d22c4da142c5f7129561f980399" kindref="member">ArgArrayBase&lt;T&gt;::allocate</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
<codeline lineno="1593"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(n<sp/>&gt;<sp/>onstack_size)<sp/>?</highlight></codeline>
<codeline lineno="1594"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1a9421bccf9db4f773fdef71e17d09ad51" kindref="member">alloc</ref>&lt;T&gt;(</highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(n))<sp/>:<sp/>&amp;onstack[0];</highlight></codeline>
<codeline lineno="1595"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1596"><highlight class="normal"></highlight></codeline>
<codeline lineno="1597"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1598"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1599" refid="classGecode_1_1ArgArrayBase_1a8ed2c153f6a9481eac03f81fc1eb6b14" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a8ed2c153f6a9481eac03f81fc1eb6b14" kindref="member">ArgArrayBase&lt;T&gt;::resize</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1600"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n+i<sp/>&gt;=<sp/>capacity)<sp/>{</highlight></codeline>
<codeline lineno="1601"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>assert(n+i<sp/>&gt;=<sp/>onstack_size);</highlight></codeline>
<codeline lineno="1602"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>newCapacity<sp/>=<sp/>(3*capacity)/2;</highlight></codeline>
<codeline lineno="1603"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(newCapacity<sp/>&lt;=<sp/>n+i)</highlight></codeline>
<codeline lineno="1604"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>newCapacity<sp/>=<sp/>n+i;</highlight></codeline>
<codeline lineno="1605"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>T*<sp/>newA<sp/>=<sp/>allocate(newCapacity);</highlight></codeline>
<codeline lineno="1606"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1ac020483db8d961c48453f1686e64f63b" kindref="member">copy</ref>&lt;T&gt;(newA,a,n);</highlight></codeline>
<codeline lineno="1607"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(capacity<sp/>&gt;<sp/>onstack_size)</highlight></codeline>
<codeline lineno="1608"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1a896fd2ab9d4304ee4f8b90de66291add" kindref="member">free</ref>(a,capacity);</highlight></codeline>
<codeline lineno="1609"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>capacity<sp/>=<sp/>newCapacity;</highlight></codeline>
<codeline lineno="1610"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>a<sp/>=<sp/>newA;</highlight></codeline>
<codeline lineno="1611"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1612"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1613"><highlight class="normal"></highlight></codeline>
<codeline lineno="1614"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1615"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1616" refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase&lt;T&gt;::ArgArrayBase</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="1617"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(0),<sp/>capacity(onstack_size),<sp/>a(allocate(0))<sp/>{}</highlight></codeline>
<codeline lineno="1618"><highlight class="normal"></highlight></codeline>
<codeline lineno="1619"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1620"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1621" refid="classGecode_1_1ArgArrayBase_1add5bd614e97033a43636821aeab64ce2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase&lt;T&gt;::ArgArrayBase</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n0)</highlight></codeline>
<codeline lineno="1622"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(n0),<sp/>capacity(n<sp/>&lt;<sp/>onstack_size<sp/>?<sp/>onstack_size<sp/>:<sp/>n),<sp/>a(allocate(n))<sp/>{}</highlight></codeline>
<codeline lineno="1623"><highlight class="normal"></highlight></codeline>
<codeline lineno="1624"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1625"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1626" refid="classGecode_1_1ArgArrayBase_1ae30a8e33f63548bf1e8f52bc772686db" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase&lt;T&gt;::ArgArrayBase</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1627"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(aa.n),<sp/>capacity(n<sp/>&lt;<sp/>onstack_size<sp/>?<sp/>onstack_size<sp/>:<sp/>n),<sp/>a(allocate(n))<sp/>{</highlight></codeline>
<codeline lineno="1628"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1ac020483db8d961c48453f1686e64f63b" kindref="member">copy</ref>&lt;T&gt;(<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>,aa.<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>,<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="1629"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1630"><highlight class="normal"></highlight></codeline>
<codeline lineno="1631"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1632"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1633" refid="classGecode_1_1ArgArrayBase_1ab0a3399a6a484dc36cd3d306a2b8e199" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase&lt;T&gt;::ArgArrayBase</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1634"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>n(static_cast&lt;int&gt;(aa.<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>())),</highlight></codeline>
<codeline lineno="1635"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>capacity(n<sp/>&lt;<sp/>onstack_size<sp/>?<sp/>onstack_size<sp/>:<sp/>n),<sp/>a(allocate(n))<sp/>{</highlight></codeline>
<codeline lineno="1636"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1ac020483db8d961c48453f1686e64f63b" kindref="member">copy</ref>&lt;T&gt;(<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>,&amp;aa[0],<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="1637"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1638"><highlight class="normal"></highlight></codeline>
<codeline lineno="1639"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1640"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1641" refid="classGecode_1_1ArgArrayBase_1ab397c8c20972f2bc8d3b53e46145cb24" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1ab397c8c20972f2bc8d3b53e46145cb24" kindref="member">ArgArrayBase&lt;T&gt;::~ArgArrayBase</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1642"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(capacity<sp/>&gt;<sp/>onstack_size)</highlight></codeline>
<codeline lineno="1643"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1a896fd2ab9d4304ee4f8b90de66291add" kindref="member">free</ref>(a,capacity);</highlight></codeline>
<codeline lineno="1644"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1645"><highlight class="normal"></highlight></codeline>
<codeline lineno="1646"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1647"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;</highlight></codeline>
<codeline lineno="1648" refid="classGecode_1_1ArgArrayBase_1a7a164914ff7e98d30c7682772c28c755" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a7a164914ff7e98d30c7682772c28c755" kindref="member">ArgArrayBase&lt;T&gt;::operator =</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>aa)<sp/>{</highlight></codeline>
<codeline lineno="1649"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(&amp;aa<sp/>!=<sp/></highlight><highlight class="keyword">this</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1650"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(capacity<sp/>&gt;<sp/>onstack_size)</highlight></codeline>
<codeline lineno="1651"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1a896fd2ab9d4304ee4f8b90de66291add" kindref="member">free</ref>(a,capacity);</highlight></codeline>
<codeline lineno="1652"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>n<sp/>=<sp/>aa.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;</highlight></codeline>
<codeline lineno="1653"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>capacity<sp/>=<sp/>(n<sp/>&lt;<sp/>onstack_size<sp/>?<sp/>onstack_size<sp/>:<sp/>n);</highlight></codeline>
<codeline lineno="1654"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>a<sp/>=<sp/>allocate(aa.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="1655"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>.<ref refid="classGecode_1_1Heap_1ac020483db8d961c48453f1686e64f63b" kindref="member">copy</ref>&lt;T&gt;(a,aa.<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>,n);</highlight></codeline>
<codeline lineno="1656"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1657"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*</highlight><highlight class="keyword">this</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="1658"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1659"><highlight class="normal"></highlight></codeline>
<codeline lineno="1660"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1661"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1662" refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">ArgArrayBase&lt;T&gt;::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="1663"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>n;</highlight></codeline>
<codeline lineno="1664"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1665"><highlight class="normal"></highlight></codeline>
<codeline lineno="1666"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1667"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&amp;</highlight></codeline>
<codeline lineno="1668" refid="classGecode_1_1ArgArrayBase_1a3374c5468b4a8d6fc80c1b7059b62b1a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a3374c5468b4a8d6fc80c1b7059b62b1a" kindref="member">ArgArrayBase&lt;T&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="1669"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i&gt;=0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/>n));</highlight></codeline>
<codeline lineno="1670"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a[i];</highlight></codeline>
<codeline lineno="1671"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1672"><highlight class="normal"></highlight></codeline>
<codeline lineno="1673"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1674"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;</highlight></codeline>
<codeline lineno="1675" refid="classGecode_1_1ArgArrayBase_1a7d93ce4e7a605a9a450326683831d54a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a3374c5468b4a8d6fc80c1b7059b62b1a" kindref="member">ArgArrayBase&lt;T&gt;::operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1676"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((i&gt;=0)<sp/>&amp;&amp;<sp/>(i<sp/>&lt;<sp/>n));</highlight></codeline>
<codeline lineno="1677"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a[i];</highlight></codeline>
<codeline lineno="1678"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1679"><highlight class="normal"></highlight></codeline>
<codeline lineno="1680"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1681"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa687fceda8a4ae2a64fb5a7bb649a5a7" kindref="member">ArgArrayBase&lt;T&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1682" refid="classGecode_1_1ArgArrayBase_1aa113576241a65d86140bc3419d96b02c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa113576241a65d86140bc3419d96b02c" kindref="member">ArgArrayBase&lt;T&gt;::begin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1683"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a;</highlight></codeline>
<codeline lineno="1684"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1685"><highlight class="normal"></highlight></codeline>
<codeline lineno="1686"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1687"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad83ae4a7fc5863035e6fe5795b843768" kindref="member">ArgArrayBase&lt;T&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1688" refid="classGecode_1_1ArgArrayBase_1aa56cc30444aa0a1e206475eb2201a281" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa113576241a65d86140bc3419d96b02c" kindref="member">ArgArrayBase&lt;T&gt;::begin</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="1689"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a;</highlight></codeline>
<codeline lineno="1690"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1691"><highlight class="normal"></highlight></codeline>
<codeline lineno="1692"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1693"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa687fceda8a4ae2a64fb5a7bb649a5a7" kindref="member">ArgArrayBase&lt;T&gt;::iterator</ref></highlight></codeline>
<codeline lineno="1694" refid="classGecode_1_1ArgArrayBase_1ad90ff8a9bd79af6acfdb72646c52a780" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad90ff8a9bd79af6acfdb72646c52a780" kindref="member">ArgArrayBase&lt;T&gt;::end</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1695"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a+n;</highlight></codeline>
<codeline lineno="1696"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1697"><highlight class="normal"></highlight></codeline>
<codeline lineno="1698"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1699"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad83ae4a7fc5863035e6fe5795b843768" kindref="member">ArgArrayBase&lt;T&gt;::const_iterator</ref></highlight></codeline>
<codeline lineno="1700" refid="classGecode_1_1ArgArrayBase_1a62a0f08722a2eaddd4d9b3bd7d3a216c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1ad90ff8a9bd79af6acfdb72646c52a780" kindref="member">ArgArrayBase&lt;T&gt;::end</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="1701"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a+n;</highlight></codeline>
<codeline lineno="1702"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1703"><highlight class="normal"></highlight></codeline>
<codeline lineno="1704"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1705"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">ArgArrayBase&lt;T&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1706" refid="classGecode_1_1ArgArrayBase_1aaf6d78bac5609f86601dfb22131bc866" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf6d78bac5609f86601dfb22131bc866" kindref="member">ArgArrayBase&lt;T&gt;::rbegin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1707"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">reverse_iterator</ref>(a+n);</highlight></codeline>
<codeline lineno="1708"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1709"><highlight class="normal"></highlight></codeline>
<codeline lineno="1710"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1711"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">ArgArrayBase&lt;T&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1712" refid="classGecode_1_1ArgArrayBase_1a71af78d1d4adeb593e14add9fbc2135a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf6d78bac5609f86601dfb22131bc866" kindref="member">ArgArrayBase&lt;T&gt;::rbegin</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="1713"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">const_reverse_iterator</ref>(a+n);</highlight></codeline>
<codeline lineno="1714"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1715"><highlight class="normal"></highlight></codeline>
<codeline lineno="1716"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1717"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">ArgArrayBase&lt;T&gt;::reverse_iterator</ref></highlight></codeline>
<codeline lineno="1718" refid="classGecode_1_1ArgArrayBase_1aa6fcebbdd86271d362383f71a3fdbd26" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa6fcebbdd86271d362383f71a3fdbd26" kindref="member">ArgArrayBase&lt;T&gt;::rend</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="1719"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1a77d09762f3b2d7c017a1c66530c30ba5" kindref="member">reverse_iterator</ref>(a);</highlight></codeline>
<codeline lineno="1720"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1721"><highlight class="normal"></highlight></codeline>
<codeline lineno="1722"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1723"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">ArgArrayBase&lt;T&gt;::const_reverse_iterator</ref></highlight></codeline>
<codeline lineno="1724" refid="classGecode_1_1ArgArrayBase_1a8c876fa6c631f6d9685ee44194628f6c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aa6fcebbdd86271d362383f71a3fdbd26" kindref="member">ArgArrayBase&lt;T&gt;::rend</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="1725"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase_1af2029facbd7b8dcfef6573d43444cde2" kindref="member">const_reverse_iterator</ref>(a);</highlight></codeline>
<codeline lineno="1726"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1727"><highlight class="normal"></highlight></codeline>
<codeline lineno="1728"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="1729"><highlight class="normal"><sp/><sp/>A</highlight></codeline>
<codeline lineno="1730" refid="classGecode_1_1ArgArrayBase_1ab1cfddbeaac6b704ad50abff7b9635a6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1ab1cfddbeaac6b704ad50abff7b9635a6" kindref="member">ArgArrayBase&lt;T&gt;::slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>maxN)<sp/>{</highlight></codeline>
<codeline lineno="1731"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n==0<sp/>||<sp/>start<sp/>&lt;<sp/>n);</highlight></codeline>
<codeline lineno="1732"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n==0<sp/>||<sp/>maxN&lt;0)</highlight></codeline>
<codeline lineno="1733"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>maxN<sp/>=<sp/>n;</highlight></codeline>
<codeline lineno="1734"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
<codeline lineno="1735"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(inc<sp/>==<sp/>0)</highlight></codeline>
<codeline lineno="1736"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>n-start;</highlight></codeline>
<codeline lineno="1737"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(inc<sp/>&gt;<sp/>0)</highlight></codeline>
<codeline lineno="1738"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>(n-start)/inc<sp/>+<sp/>((n-start)<sp/>%<sp/>inc<sp/>==<sp/>0<sp/>?<sp/>0<sp/>:<sp/>1);</highlight></codeline>
<codeline lineno="1739"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1740"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>=<sp/>(start+1)/-inc<sp/>+<sp/>((start+1)<sp/>%<sp/>-inc<sp/>==<sp/>0<sp/>?<sp/>0<sp/>:<sp/>1);</highlight></codeline>
<codeline lineno="1741"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/>r(<ref refid="group__TaskModelFloatArith_1ga121700708772a60191be6256c3c0d151" kindref="member">std::min</ref>(maxN,s));</highlight></codeline>
<codeline lineno="1742"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;<sp/>i&lt;r.size();<sp/>i++,<sp/>start+=inc)</highlight></codeline>
<codeline lineno="1743"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;r[i])<sp/>T(a[start]);</highlight></codeline>
<codeline lineno="1744"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1745"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1746"><highlight class="normal"></highlight></codeline>
<codeline lineno="1747"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="1748"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/>A&amp;</highlight></codeline>
<codeline lineno="1749" refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" kindref="member">ArgArrayBase&lt;T&gt;::append</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1750"><highlight class="normal"><sp/><sp/><sp/><sp/>resize(1);</highlight></codeline>
<codeline lineno="1751"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;a[n++])<sp/>T(x);</highlight></codeline>
<codeline lineno="1752"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">A&amp;</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(*this);</highlight></codeline>
<codeline lineno="1753"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1754"><highlight class="normal"></highlight></codeline>
<codeline lineno="1755"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1756"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="1757"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1758" refid="classGecode_1_1ArgArrayBase_1a9e7b606b9971b3344e692a60ac13b223" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1aaf88593537f41f862b91120c4c6ee104" kindref="member">ArgArrayBase&lt;T&gt;::ArgArrayBase</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last)</highlight></codeline>
<codeline lineno="1759"><highlight class="normal"><sp/><sp/>:<sp/>n(0),<sp/>capacity(onstack_size),<sp/>a(allocate(0))<sp/>{</highlight></codeline>
<codeline lineno="1760"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(first<sp/>!=<sp/>last)<sp/>{</highlight></codeline>
<codeline lineno="1761"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>(void)<sp/><ref refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" kindref="member">append</ref>&lt;<ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref><sp/>&gt;(*first);</highlight></codeline>
<codeline lineno="1762"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>++first;</highlight></codeline>
<codeline lineno="1763"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="1764"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1765"><highlight class="normal"></highlight></codeline>
<codeline lineno="1766"><highlight class="normal"></highlight></codeline>
<codeline lineno="1767"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="1768"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/>A&amp;</highlight></codeline>
<codeline lineno="1769" refid="classGecode_1_1ArgArrayBase_1a91d22d529d75c419aa3bd6c93849cb4a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1acf7efe7096de3d763d6a894306e56adc" kindref="member">ArgArrayBase&lt;T&gt;::append</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1770"><highlight class="normal"><sp/><sp/><sp/><sp/>resize(x.<ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">size</ref>());</highlight></codeline>
<codeline lineno="1771"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;<sp/>i&lt;x.<ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">size</ref>();<sp/>i++)</highlight></codeline>
<codeline lineno="1772"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;a[n++])<sp/>T(x[i]);</highlight></codeline>
<codeline lineno="1773"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">A&amp;</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(*this);</highlight></codeline>
<codeline lineno="1774"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1775"><highlight class="normal"></highlight></codeline>
<codeline lineno="1776"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="1777"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/>A</highlight></codeline>
<codeline lineno="1778" refid="classGecode_1_1ArgArrayBase_1a8dfd1207b4479935fb88e517b21bf49f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a8dfd1207b4479935fb88e517b21bf49f" kindref="member">ArgArrayBase&lt;T&gt;::concat</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1779"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/>r(n+x.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="1780"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;)</highlight></codeline>
<codeline lineno="1781"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;r[i])<sp/>T(a[i]);</highlight></codeline>
<codeline lineno="1782"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;)</highlight></codeline>
<codeline lineno="1783"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;r[n+i])<sp/>T(x.<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i]);</highlight></codeline>
<codeline lineno="1784"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1785"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1786"><highlight class="normal"></highlight></codeline>
<codeline lineno="1787"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;<sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>A&gt;</highlight></codeline>
<codeline lineno="1788"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/>A</highlight></codeline>
<codeline lineno="1789" refid="classGecode_1_1ArgArrayBase_1ab3e5176857b4d13451f9022f6a72b192" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a8dfd1207b4479935fb88e517b21bf49f" kindref="member">ArgArrayBase&lt;T&gt;::concat</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="1790"><highlight class="normal"><sp/><sp/><sp/><sp/>A<sp/>r(n+1);</highlight></codeline>
<codeline lineno="1791"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;)</highlight></codeline>
<codeline lineno="1792"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;r[i])<sp/>T(a[i]);</highlight></codeline>
<codeline lineno="1793"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&amp;r[n])<sp/>T(x);</highlight></codeline>
<codeline lineno="1794"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>r;</highlight></codeline>
<codeline lineno="1795"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1796"><highlight class="normal"></highlight></codeline>
<codeline lineno="1797"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1798"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*</highlight></codeline>
<codeline lineno="1799"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::operator</ref><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(size_t)<sp/>{</highlight></codeline>
<codeline lineno="1800"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="1801"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1802"><highlight class="normal"></highlight></codeline>
<codeline lineno="1803"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1804"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1805"><highlight class="normal"><sp/><sp/>ArgArrayBase&lt;T&gt;::operator<sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,size_t)<sp/>{</highlight></codeline>
<codeline lineno="1806"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1807"><highlight class="normal"></highlight></codeline>
<codeline lineno="1808"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="1809"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Argument<sp/>arrays<sp/>for<sp/>primitive<sp/>types</highlight></codeline>
<codeline lineno="1810"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="1811"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1812"><highlight class="normal"></highlight></codeline>
<codeline lineno="1813"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1814"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1815" refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="1816"><highlight class="normal"></highlight></codeline>
<codeline lineno="1817"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1818"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1819" refid="classGecode_1_1PrimArgArray_1aae9fd91c5f08549d0938a52d309cb9e3" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(n)<sp/>{}</highlight></codeline>
<codeline lineno="1820"><highlight class="normal"></highlight></codeline>
<codeline lineno="1821"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1822" refid="classGecode_1_1PrimArgArray_1a44c11e88a66b8f31e4ce3f8ce0473da8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/>T<sp/>a0,<sp/>...)</highlight></codeline>
<codeline lineno="1823"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(n)<sp/>{</highlight></codeline>
<codeline lineno="1824"><highlight class="normal"><sp/><sp/><sp/><sp/>va_list<sp/>args;</highlight></codeline>
<codeline lineno="1825"><highlight class="normal"><sp/><sp/><sp/><sp/>va_start(args,<sp/>a0);</highlight></codeline>
<codeline lineno="1826"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[0]<sp/>=<sp/>a0;</highlight></codeline>
<codeline lineno="1827"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>1;<sp/>i<sp/>&lt;<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i++)</highlight></codeline>
<codeline lineno="1828"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i]<sp/>=<sp/>va_arg(args,T);</highlight></codeline>
<codeline lineno="1829"><highlight class="normal"><sp/><sp/><sp/><sp/>va_end(args);</highlight></codeline>
<codeline lineno="1830"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1831"><highlight class="normal"></highlight></codeline>
<codeline lineno="1832"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1833" refid="classGecode_1_1PrimArgArray_1a6aa95d4afae82cd594bb41bc492e45c2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/>a0)</highlight></codeline>
<codeline lineno="1834"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(n)<sp/>{</highlight></codeline>
<codeline lineno="1835"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1836"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i]<sp/>=<sp/>a0[i];</highlight></codeline>
<codeline lineno="1837"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1838"><highlight class="normal"></highlight></codeline>
<codeline lineno="1839"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1840"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1841" refid="classGecode_1_1PrimArgArray_1a2ca621d613200616d34f492bcf413d42" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1842"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="1843"><highlight class="normal"></highlight></codeline>
<codeline lineno="1844"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1845"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1846" refid="classGecode_1_1PrimArgArray_1abc570fad1ff98911d277a7acc6de5fd1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1847"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="1848"><highlight class="normal"></highlight></codeline>
<codeline lineno="1849"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1850"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="1851"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1852"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a37a482b92f3e214d6068102814cbf60e" kindref="member">PrimArgArray&lt;T&gt;::PrimArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last)</highlight></codeline>
<codeline lineno="1853"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(first,last)<sp/>{}</highlight></codeline>
<codeline lineno="1854"><highlight class="normal"></highlight></codeline>
<codeline lineno="1855"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1856"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;PrimArgArray&lt;T&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1857" refid="classGecode_1_1PrimArgArray_1aa7ae9bf8057b912959d2a7198f4c8a3d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1aa7ae9bf8057b912959d2a7198f4c8a3d" kindref="member">PrimArgArray&lt;T&gt;::slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>maxN)<sp/>{</highlight></codeline>
<codeline lineno="1858"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>slice</highlight></codeline>
<codeline lineno="1859"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;</highlight></codeline>
<codeline lineno="1860"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(start,inc,maxN);</highlight></codeline>
<codeline lineno="1861"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1862"><highlight class="normal"></highlight></codeline>
<codeline lineno="1863"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1864"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="1865" refid="classGecode_1_1PrimArgArray_1a844c2064eb6d73f42c15f89d7c685b89" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a844c2064eb6d73f42c15f89d7c685b89" kindref="member">PrimArgArray&lt;T&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1866"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1867"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="1868"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="1869"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1870"><highlight class="normal"></highlight></codeline>
<codeline lineno="1871"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1872"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="1873" refid="classGecode_1_1PrimArgArray_1a19ed0d69fe39d8a3069363609767a0d4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PrimArgArray_1a844c2064eb6d73f42c15f89d7c685b89" kindref="member">PrimArgArray&lt;T&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1874"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1875"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="1876"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="1877"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1878"><highlight class="normal"></highlight></codeline>
<codeline lineno="1879"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1880"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1881" refid="classGecode_1_1PrimArgArray_1a235cc2ec178e6efe96c9f92d494026ca" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1882"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="1883"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);</highlight></codeline>
<codeline lineno="1884"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1885"><highlight class="normal"></highlight></codeline>
<codeline lineno="1886"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1887"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1888" refid="classGecode_1_1PrimArgArray_1adeb94f65568b4d18012b2bf388f4cc8c" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1889"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="1890"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="1891"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1892"><highlight class="normal"></highlight></codeline>
<codeline lineno="1893"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1894"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1895" refid="classGecode_1_1PrimArgArray_1a481e1d66b97aeff51646c8ca4f2ae55c" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1896"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref>(1,x).</highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/>concat</highlight></codeline>
<codeline lineno="1897"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits</ref>&lt;<ref refid="classGecode_1_1PrimArgArray" kindref="compound">PrimArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="1898"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1899"><highlight class="normal"></highlight></codeline>
<codeline lineno="1900"><highlight class="normal"></highlight></codeline>
<codeline lineno="1901"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="1902"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Argument<sp/>arrays<sp/>for<sp/>non-primitive<sp/>types</highlight></codeline>
<codeline lineno="1903"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="1904"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1905"><highlight class="normal"></highlight></codeline>
<codeline lineno="1906"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1907"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1908" refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="1909"><highlight class="normal"></highlight></codeline>
<codeline lineno="1910"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1911"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1912" refid="classGecode_1_1ArgArray_1a7002a33374b4dca1a75f0626b6c6cc44" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(n)<sp/>{}</highlight></codeline>
<codeline lineno="1913"><highlight class="normal"></highlight></codeline>
<codeline lineno="1914"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1915" refid="classGecode_1_1ArgArray_1a606df052a1c714082c4c217441933271" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T*<sp/>a0)</highlight></codeline>
<codeline lineno="1916"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(n)<sp/>{</highlight></codeline>
<codeline lineno="1917"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="1918"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i]<sp/>=<sp/>a0[i];</highlight></codeline>
<codeline lineno="1919"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1920"><highlight class="normal"></highlight></codeline>
<codeline lineno="1921"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1922"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1923" refid="classGecode_1_1ArgArray_1a12af8926e2b4a1dbfe97cd4976b186cf" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1924"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="1925"><highlight class="normal"></highlight></codeline>
<codeline lineno="1926"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1927"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1928" refid="classGecode_1_1ArgArray_1af638dc4a69d7f7aeb847455820f2038d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;T&gt;&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="1929"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="1930"><highlight class="normal"></highlight></codeline>
<codeline lineno="1931"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1932"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="1933"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1934"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a288d3cb40e578b413b9e407f84fb7dcd" kindref="member">ArgArray&lt;T&gt;::ArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last)</highlight></codeline>
<codeline lineno="1935"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;T&gt;(first,last)<sp/>{}</highlight></codeline>
<codeline lineno="1936"><highlight class="normal"></highlight></codeline>
<codeline lineno="1937"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1938"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ArrayTraits&lt;ArgArray&lt;T&gt;<sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1939" refid="classGecode_1_1ArgArray_1a5742aff4e6d84c544e578589fbfccfa7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a5742aff4e6d84c544e578589fbfccfa7" kindref="member">ArgArray&lt;T&gt;::slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>maxN)<sp/>{</highlight></codeline>
<codeline lineno="1940"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>slice</highlight></codeline>
<codeline lineno="1941"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;</highlight></codeline>
<codeline lineno="1942"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>(start,inc,maxN);</highlight></codeline>
<codeline lineno="1943"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1944"><highlight class="normal"></highlight></codeline>
<codeline lineno="1945"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1946"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="1947" refid="classGecode_1_1ArgArray_1a3653e6d20a9a233f5a83342cb77df7f4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a3653e6d20a9a233f5a83342cb77df7f4" kindref="member">ArgArray&lt;T&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1948"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1949"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="1950"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="1951"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1952"><highlight class="normal"></highlight></codeline>
<codeline lineno="1953"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1954"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="1955" refid="classGecode_1_1ArgArray_1a7dc92b81d9cc3d0103ffaa3fd503389d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1ArgArray_1a3653e6d20a9a233f5a83342cb77df7f4" kindref="member">ArgArray&lt;T&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="1956"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1957"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="1958"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="1959"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1960"><highlight class="normal"></highlight></codeline>
<codeline lineno="1961"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1962"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1963" refid="classGecode_1_1ArgArray_1a5cf892f95ec60404040e7d34b3cde041" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1964"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="1965"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);</highlight></codeline>
<codeline lineno="1966"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1967"><highlight class="normal"></highlight></codeline>
<codeline lineno="1968"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1969"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1970" refid="classGecode_1_1ArgArray_1a127d1af2686672839e56e2fde61c35da" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1971"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="1972"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="1973"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1974"><highlight class="normal"></highlight></codeline>
<codeline lineno="1975"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="1976"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="1977" refid="classGecode_1_1ArgArray_1aee6fc4b12b2a31d6b05124658d6b99f2" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>T&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="1978"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArray" kindref="compound">ArgArray&lt;T&gt;</ref><sp/>xa(1);</highlight></codeline>
<codeline lineno="1979"><highlight class="normal"><sp/><sp/><sp/><sp/>xa[0]<sp/>=<sp/>x;</highlight></codeline>
<codeline lineno="1980"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>xa.template<sp/>concat</highlight></codeline>
<codeline lineno="1981"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;ArgArray&lt;T&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="1982"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="1983"><highlight class="normal"></highlight></codeline>
<codeline lineno="1984"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="1985"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Argument<sp/>arrays<sp/>for<sp/>variables</highlight></codeline>
<codeline lineno="1986"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="1987"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="1988"><highlight class="normal"></highlight></codeline>
<codeline lineno="1989"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1990"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1991" refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="1992"><highlight class="normal"></highlight></codeline>
<codeline lineno="1993"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1994"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1995" refid="classGecode_1_1VarArgArray_1af52a5f3c412047da7b982aa6264de766" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(n)<sp/>{}</highlight></codeline>
<codeline lineno="1996"><highlight class="normal"></highlight></codeline>
<codeline lineno="1997"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="1998"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="1999" refid="classGecode_1_1VarArgArray_1a5711a74a0c1261d02658f4d7ec5b9159" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="2000"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="2001"><highlight class="normal"></highlight></codeline>
<codeline lineno="2002"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2003"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="2004" refid="classGecode_1_1VarArgArray_1a8c03614f1eb6c5467d85467e5a4ca957" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector&lt;Var&gt;&amp;<sp/>aa)</highlight></codeline>
<codeline lineno="2005"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(aa)<sp/>{}</highlight></codeline>
<codeline lineno="2006"><highlight class="normal"></highlight></codeline>
<codeline lineno="2007"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2008"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>InputIterator&gt;</highlight></codeline>
<codeline lineno="2009"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="2010"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(InputIterator<sp/>first,<sp/>InputIterator<sp/>last)</highlight></codeline>
<codeline lineno="2011"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(first,last)<sp/>{}</highlight></codeline>
<codeline lineno="2012"><highlight class="normal"></highlight></codeline>
<codeline lineno="2013"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2014"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2015" refid="classGecode_1_1VarArgArray_1ac4e98ced216c3ad2f922d4c8efec243d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a13a6a63a399fb2e50b045a7bffa8e8f5" kindref="member">VarArgArray&lt;Var&gt;::VarArgArray</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>x)</highlight></codeline>
<codeline lineno="2016"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(x.<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="2017"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.<ref refid="classGecode_1_1VarArray_1a3cf80c58c32609c61de4c90605413fd2" kindref="member">size</ref>();<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2018"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i]=x[i];</highlight></codeline>
<codeline lineno="2019"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2020"><highlight class="normal"></highlight></codeline>
<codeline lineno="2021"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2022"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="2023" refid="classGecode_1_1VarArgArray_1a40a52e20540f67f982a967fc85452647" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a40a52e20540f67f982a967fc85452647" kindref="member">VarArgArray&lt;Var&gt;::slice</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>start,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>inc,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>maxN)<sp/>{</highlight></codeline>
<codeline lineno="2024"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::template</ref><sp/>slice</highlight></codeline>
<codeline lineno="2025"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;</highlight></codeline>
<codeline lineno="2026"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(start,inc,maxN);</highlight></codeline>
<codeline lineno="2027"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2028"><highlight class="normal"></highlight></codeline>
<codeline lineno="2029"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2030"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="2031" refid="classGecode_1_1VarArgArray_1af85e76ef64846946dae720bce02ddcba" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1af85e76ef64846946dae720bce02ddcba" kindref="member">VarArgArray&lt;Var&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="2032"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2033"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="2034"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="2035"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2036"><highlight class="normal"></highlight></codeline>
<codeline lineno="2037"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2038"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&amp;</highlight></codeline>
<codeline lineno="2039" refid="classGecode_1_1VarArgArray_1a6c9456796f94d3bf8a283623f95570c5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1af85e76ef64846946dae720bce02ddcba" kindref="member">VarArgArray&lt;Var&gt;::operator &lt;&lt;</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="2040"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2041"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;Var&gt;::template</ref><sp/>append</highlight></codeline>
<codeline lineno="2042"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;(x);</highlight></codeline>
<codeline lineno="2043"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2044"><highlight class="normal"></highlight></codeline>
<codeline lineno="2045"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2046"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="2047" refid="classGecode_1_1ArgArray_1a300a3e20a1acdfe7ea36e43aea341021" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="2048"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="2049"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;(y);</highlight></codeline>
<codeline lineno="2050"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2051"><highlight class="normal"></highlight></codeline>
<codeline lineno="2052"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2053"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="2054" refid="classGecode_1_1ArgArray_1a847d763922f171759a6d83c1205343b8" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="2055"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>x.template<sp/>concat</highlight></codeline>
<codeline lineno="2056"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="2057"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2058"><highlight class="normal"></highlight></codeline>
<codeline lineno="2059"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2060"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType</highlight></codeline>
<codeline lineno="2061" refid="classGecode_1_1ArgArray_1afb6ef8dd8e1562be2f5b4d9a2a20808e" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>+(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y)<sp/>{</highlight></codeline>
<codeline lineno="2062"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref><sp/>xa(1);</highlight></codeline>
<codeline lineno="2063"><highlight class="normal"><sp/><sp/><sp/><sp/>xa[0]<sp/>=<sp/>x;</highlight></codeline>
<codeline lineno="2064"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>xa.template<sp/>concat</highlight></codeline>
<codeline lineno="2065"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>&lt;</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArrayTraits" kindref="compound">ArrayTraits&lt;VarArgArray&lt;Var&gt;</ref><sp/>&gt;::ArgsType&gt;(y);<sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="2066"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2067"><highlight class="normal"></highlight></codeline>
<codeline lineno="2068"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2069"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2070"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;::VarLess::operator ()</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>a,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>b)<sp/>{</highlight></codeline>
<codeline lineno="2071"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>a.varimp()<sp/>&lt;<sp/>b.varimp();</highlight></codeline>
<codeline lineno="2072"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2073"><highlight class="normal"></highlight></codeline>
<codeline lineno="2074"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2075"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2076" refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" kindref="member">VarArgArray&lt;Var&gt;::assigned</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="2077"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;)</highlight></codeline>
<codeline lineno="2078"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!a[i].<ref refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" kindref="member">assigned</ref>())</highlight></codeline>
<codeline lineno="2079"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2080"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2081"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2082"><highlight class="normal"></highlight></codeline>
<codeline lineno="2083"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2084"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2085" refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">VarArgArray&lt;Var&gt;::same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="2086"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref><sp/>&lt;<sp/>2)</highlight></codeline>
<codeline lineno="2087"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2088"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region" kindref="compound">Region</ref><sp/>r(home);</highlight></codeline>
<codeline lineno="2089"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/>y<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="2090"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2091"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>y[i]<sp/>=<sp/>a[i];</highlight></codeline>
<codeline lineno="2092"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1_1VarLess" kindref="compound">VarLess</ref><sp/>vl;</highlight></codeline>
<codeline lineno="2093"><highlight class="normal"><sp/><sp/><sp/><sp/>Support::quicksort&lt;Var,VarLess&gt;(y,<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>,vl);</highlight></codeline>
<codeline lineno="2094"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>n-1;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2095"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!y[i].<ref refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" kindref="member">assigned</ref>()<sp/>&amp;&amp;<sp/>(y[i+1].varimp()<sp/>==<sp/>y[i].varimp()))<sp/>{</highlight></codeline>
<codeline lineno="2096"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(y,<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="2097"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2098"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2099"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(y,<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="2100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2101"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2102"><highlight class="normal"></highlight></codeline>
<codeline lineno="2103"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2104"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2105" refid="classGecode_1_1VarArgArray_1a9a783f83f52f798aaf8b8aacfe97ca2e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">VarArgArray&lt;Var&gt;::same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>y)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="2106"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m<sp/>=<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref><sp/>+<sp/>y.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;</highlight></codeline>
<codeline lineno="2107"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(m<sp/>&lt;<sp/>2)</highlight></codeline>
<codeline lineno="2108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2109"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region" kindref="compound">Region</ref><sp/>r(home);</highlight></codeline>
<codeline lineno="2110"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>*<sp/>z<sp/>=<sp/>r.<ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(m);</highlight></codeline>
<codeline lineno="2111"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>z[i]<sp/>=<sp/>a[i];</highlight></codeline>
<codeline lineno="2113"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>y.<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>z[i+<ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>]<sp/>=<sp/>y.<ref refid="classGecode_1_1ArgArrayBase_1a6ac424d552057a5730b67d9b15b9977c" kindref="member">a</ref>[i];</highlight></codeline>
<codeline lineno="2115"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1_1VarLess" kindref="compound">VarLess</ref><sp/>vl;</highlight></codeline>
<codeline lineno="2116"><highlight class="normal"><sp/><sp/><sp/><sp/>Support::quicksort&lt;Var,VarLess&gt;(z,m,vl);</highlight></codeline>
<codeline lineno="2117"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>m-1;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!z[i].<ref refid="classGecode_1_1VarArgArray_1a34250768c73a3af1af1235b026db4a97" kindref="member">assigned</ref>()<sp/>&amp;&amp;<sp/>(z[i+1].varimp()<sp/>==<sp/>z[i].varimp()))<sp/>{</highlight></codeline>
<codeline lineno="2119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(z,m);</highlight></codeline>
<codeline lineno="2120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2122"><highlight class="normal"><sp/><sp/><sp/><sp/>r.<ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(z,m);</highlight></codeline>
<codeline lineno="2123"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2124"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2125"><highlight class="normal"></highlight></codeline>
<codeline lineno="2126"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2127"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2128" refid="classGecode_1_1VarArgArray_1a29b038cf2879a2262246f86ed53a4a4f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArgArray_1a71ab704332eda08d372740bdc82401c7" kindref="member">VarArgArray&lt;Var&gt;::same</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&amp;<sp/>y)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="2129"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(y.assigned())</highlight></codeline>
<codeline lineno="2130"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2131"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>;<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="2132"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(a[i].varimp()<sp/>==<sp/>y.varimp())</highlight></codeline>
<codeline lineno="2133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2134"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2135"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2136"><highlight class="normal"></highlight></codeline>
<codeline lineno="2137"><highlight class="normal"></highlight></codeline>
<codeline lineno="2138"><highlight class="normal"></highlight></codeline>
<codeline lineno="2139"><highlight class="normal"></highlight></codeline>
<codeline lineno="2140"><highlight class="normal"></highlight></codeline>
<codeline lineno="2141"><highlight class="normal"></highlight></codeline>
<codeline lineno="2142"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2143"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Interdependent<sp/>code</highlight></codeline>
<codeline lineno="2144"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="2145"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2146"><highlight class="normal"></highlight></codeline>
<codeline lineno="2147"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2148"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2149" refid="classGecode_1_1VarArray_1ab62e77e0e2e2ea0e961cbb0b23fdff84" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1VarArray_1a241ce7da828c64cab3b6b01c674a338a" kindref="member">VarArray&lt;Var&gt;::VarArray</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArgArray" kindref="compound">VarArgArray&lt;Var&gt;</ref>&amp;<sp/>a)</highlight></codeline>
<codeline lineno="2150"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1ArgArrayBase_1ac8bab055302616752818fe5df090a1b9" kindref="member">n</ref>(a.<ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">size</ref>())<sp/>{</highlight></codeline>
<codeline lineno="2151"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>&gt;0)<sp/>{</highlight></codeline>
<codeline lineno="2152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref>&lt;<ref refid="classGecode_1_1Var" kindref="compound">Var</ref>&gt;(<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>);</highlight></codeline>
<codeline lineno="2153"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=<ref refid="classGecode_1_1VarArray_1a67b64ccd287d53389a25ee43ad164ab6" kindref="member">n</ref>;<sp/>i--;)</highlight></codeline>
<codeline lineno="2154"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x[i]<sp/>=<sp/>a[i];</highlight></codeline>
<codeline lineno="2155"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="2156"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="2157"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2158"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2159"><highlight class="normal"></highlight></codeline>
<codeline lineno="2160"><highlight class="normal"></highlight></codeline>
<codeline lineno="2161"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2162"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Printing<sp/>of<sp/>arrays</highlight></codeline>
<codeline lineno="2163"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="2164"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2165"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Var&gt;</highlight></codeline>
<codeline lineno="2166"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="2167" refid="classGecode_1_1VarArray_1a52c9c6a326a4f0eb94dbf8de850b9277" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,</highlight></codeline>
<codeline lineno="2168"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1VarArray" kindref="compound">VarArray&lt;Var&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="2169"><highlight class="normal"><sp/><sp/><sp/><sp/>std::basic_ostringstream&lt;Char,Traits&gt;<sp/>s;</highlight></codeline>
<codeline lineno="2170"><highlight class="normal"><sp/><sp/><sp/><sp/>s.copyfmt(os);<sp/>s.width(0);</highlight></codeline>
<codeline lineno="2171"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;{&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2172"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.size()<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="2173"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/>x[0];</highlight></codeline>
<codeline lineno="2174"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=1;<sp/>i&lt;x.size();<sp/>i++)</highlight></codeline>
<codeline lineno="2175"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;,<sp/>&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>x[i];</highlight></codeline>
<codeline lineno="2176"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2177"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;}&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2178"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>os<sp/>&lt;&lt;<sp/>s.str();</highlight></codeline>
<codeline lineno="2179"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2180"><highlight class="normal"></highlight></codeline>
<codeline lineno="2181"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="2182"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="2183" refid="classGecode_1_1ViewArray_1a615e71123187f4a3ac2e1b100ec5d328" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,</highlight></codeline>
<codeline lineno="2184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="2185"><highlight class="normal"><sp/><sp/><sp/><sp/>std::basic_ostringstream&lt;Char,Traits&gt;<sp/>s;</highlight></codeline>
<codeline lineno="2186"><highlight class="normal"><sp/><sp/><sp/><sp/>s.copyfmt(os);<sp/>s.width(0);</highlight></codeline>
<codeline lineno="2187"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;{&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2188"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.size()<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="2189"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/>x[0];</highlight></codeline>
<codeline lineno="2190"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=1;<sp/>i&lt;x.size();<sp/>i++)</highlight></codeline>
<codeline lineno="2191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;,<sp/>&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>x[i];</highlight></codeline>
<codeline lineno="2192"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2193"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;}&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2194"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>os<sp/>&lt;&lt;<sp/>s.str();</highlight></codeline>
<codeline lineno="2195"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2196"><highlight class="normal"></highlight></codeline>
<codeline lineno="2197"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T&gt;</highlight></codeline>
<codeline lineno="2198"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="2199" refid="classGecode_1_1ArgArrayBase_1a434ab9157f5572d9ebd9f16c741d4bec" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,</highlight></codeline>
<codeline lineno="2200"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1ArgArrayBase" kindref="compound">ArgArrayBase&lt;T&gt;</ref>&amp;<sp/>x)<sp/>{</highlight></codeline>
<codeline lineno="2201"><highlight class="normal"><sp/><sp/><sp/><sp/>std::basic_ostringstream&lt;Char,Traits&gt;<sp/>s;</highlight></codeline>
<codeline lineno="2202"><highlight class="normal"><sp/><sp/><sp/><sp/>s.copyfmt(os);<sp/>s.width(0);</highlight></codeline>
<codeline lineno="2203"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;{&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2204"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.size()<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="2205"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/>x[0];</highlight></codeline>
<codeline lineno="2206"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=1;<sp/>i&lt;x.size();<sp/>i++)</highlight></codeline>
<codeline lineno="2207"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;,<sp/>&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>x[i];</highlight></codeline>
<codeline lineno="2208"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="2209"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;}&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="2210"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>os<sp/>&lt;&lt;<sp/>s.str();</highlight></codeline>
<codeline lineno="2211"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="2212"><highlight class="normal"></highlight></codeline>
<codeline lineno="2213"><highlight class="normal">}</highlight></codeline>
<codeline lineno="2214"><highlight class="normal"></highlight></codeline>
<codeline lineno="2215"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>kernel-other</highlight><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/kernel/array.hpp"/>
</compounddef>
</doxygen>