Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 54cac1c2268db633d66eeff1b4faa585 > files > 288

frepple-doc-0.8.1-3.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>C++ API frePPLe: frepple::BufferProcure Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="../styles.css" rel="stylesheet"  type="text/css">
</head>
<body>
<div id="container">

<div id="menubar"> 
<div id="logo" align="center">
<br/><img src='../frepple.bmp' alt="frepple" /><br/>
<a href='http://www.frepple.com/'>
<strong>a Free<br/>Production Planning<br/>Library</strong>
</a>
</div>
<div id="menu">
<br/>
<h3><a href='../Main/HomePage.html'>Main</a></h3>
<h3><a href='../UI/Main.html'>User Manual</a></h3>
<h3><a href='../Tutorial/Main.html'>Tutorial</a></h3>
<h3><a href='../Frepple/Main.html'>Reference Manual</a></h3>
<h3><a href='../Main/FAQ.html'>FAQ</a></h3>
<h3><a href='index.html'>C++ API</a></h3>
<br/>
</div>  
</div>

<div id="content">
<br/>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00256.html">frepple</a>::<a class="el" href="a00012.html">BufferProcure</a>
  </div>
</div>
<div class="contents">
<h1>frepple::BufferProcure Class Reference</h1><!-- doxytag: class="frepple::BufferProcure" --><!-- doxytag: inherits="frepple::Buffer" -->
<p>This class models a buffer that is replenish by an external supplier using a reorder-point policy.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00218_source.html">model.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for frepple::BufferProcure:</div>
<div class="dynsection">
<div class="center"><img src="a00345.png" border="0" usemap="#frepple_1_1_buffer_procure_inherit__map" alt="Inheritance graph"/></div>
<map name="frepple_1_1_buffer_procure_inherit__map" id="frepple_1_1_buffer_procure_inherit__map">
<area shape="rect" id="node2" href="a00008.html" title="A buffer represents a combination of a item and location. &#160;It is the entity for keeping..." alt="" coords="1065,131,1164,159"/>
<area shape="rect" id="node4" href="a00083.html" title="frepple::utils::HasHierarchy\&lt; Buffer \&gt;" alt="" coords="781,55,1016,83"/>
<area shape="rect" id="node6" href="a00085.html" title="frepple::utils::HasName\&lt; Buffer \&gt;" alt="" coords="520,55,733,83"/>
<area shape="rect" id="node8" href="a00119.html" title="Class NonCopyable is a base class. Derive your own class from it when you want to..." alt="" coords="289,5,465,33"/>
<area shape="rect" id="node10" href="a00182.html" title="This class represents a node in the tree." alt="" coords="284,55,471,83"/>
<area shape="rect" id="node12" href="a00120.html" title="Object is the abstract base class for the main entities." alt="" coords="309,106,445,134"/>
<area shape="rect" id="node14" href="a00151.html" title="This is a base class for all Python extension types." alt="" coords="7,106,233,134"/>
<area shape="rect" id="node16" href="a00084.html" title="The purpose of this class is to compute the levels of all buffers, operations and..." alt="" coords="839,106,959,134"/>
<area shape="rect" id="node18" href="a00133.html" title="This class needs to be implemented by all classes that implement dynamic behavior..." alt="" coords="837,157,960,185"/>
<area shape="rect" id="node20" href="a00086.html" title="Classes that keep track of problem conditions need to implement this class." alt="" coords="555,131,699,159"/>
<area shape="rect" id="node22" href="a00170.html" title="This class needs to be implemented by all classes that implement dynamic behavior..." alt="" coords="569,182,684,210"/>
<area shape="rect" id="node24" href="a00082.html" title="This is a decorator class for the main objects." alt="" coords="805,207,992,235"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00346.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a0117a851ceae95189c2442ac9be655c7">BufferProcure</a> (const string &amp;c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a50c10dee04e69195b5cccf8d91f9a3e9">endElement</a> (<a class="el" href="a00186.html">XMLInput</a> &amp;, const <a class="el" href="a00002.html">Attribute</a> &amp;, const <a class="el" href="a00047.html">DataElement</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af131c8bbe4797a65df984c7715ebb07a">getattro</a> (const <a class="el" href="a00002.html">Attribute</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a2b36a705f88f52b7a7df0c9d55ef11e4">getFence</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a6adc5a1e4580c13dfafc9a7f4511a0f9">getLeadtime</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a8e1343aa1e4e76370356d4a93de47a2b">getMaximumInterval</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af6e461c261f6fa1100d3ad25577d3d55">getMaximumInventory</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ab76ddd340f5507854db8a913afb758b6">getMinimumInterval</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a37c714b5271449925c30b0f33c48559d">getMinimumInventory</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00121.html">Operation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a403448f5135da4a0199ca43d03e3eb28">getOperation</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a9a2ae515c047d7315926c96e97aa5aef">getSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a7a9884c8c6faa099cbeac64a0e04b1eb">getSizeMaximum</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a273d7f036ed4fd6b2197c07e71356ece">getSizeMinimum</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a118957464c24c66af57cbbae5f7097c6">getSizeMultiple</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="a00115.html">MetaClass</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a333bbbf8917572e288bbb0183cafbbc5">getType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a658c30657777eef355b7207b9b1d13b1">setattro</a> (const <a class="el" href="a00002.html">Attribute</a> &amp;, const <a class="el" href="a00154.html">PythonObject</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a544a240f3322d166adeaffabc2f524c6">setFence</a> (<a class="el" href="a00179.html">TimePeriod</a> p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a5535e9a0e34a8de45a7de084de382678">setLeadtime</a> (<a class="el" href="a00179.html">TimePeriod</a> p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#acb8b8ec59dc5d8e6a83323cc13a60b7d">setMaximumInterval</a> (<a class="el" href="a00179.html">TimePeriod</a> p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af34fbf7d13f57144d40a12a55598c4b3">setMaximumInventory</a> (double f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a93ddc7837d7dda3467a2137389b51922">setMinimumInterval</a> (<a class="el" href="a00179.html">TimePeriod</a> p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af2b20b3639c672ba2a5ead0e1c7b7abe">setMinimumInventory</a> (double f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a78af19d959dbbca11449c90037cdbddd">setSizeMaximum</a> (double f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a4acf38cd5f6fc69ff2fcc079c4ae0ee9">setSizeMinimum</a> (double f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ab8da024a595efd03f866131395f14c2d">setSizeMultiple</a> (double f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a72f00622cd7038ba1c97dca382e0c882">solve</a> (<a class="el" href="a00171.html">Solver</a> &amp;s, void *v=NULL) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a452abe7405e755e660a5b11a670c4996">writeElement</a> (<a class="el" href="a00189.html">XMLOutput</a> *, const <a class="el" href="a00096.html">Keyword</a> &amp;, <a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>=DEFAULT) const </td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a51e004c371fa0c0d50077248cf1b69e2">initialize</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00115.html">MetaClass</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a4f4c8e1d995ffbdf9491f6f6c07e82d0">metadata</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class models a buffer that is replenish by an external supplier using a reorder-point policy. </p>
<p>It represents a material buffer where a replenishment is triggered whenever the inventory drops below the minimum level. The buffer is then replenished to the maximum inventory level.<br/>
 A leadtime is taken into account for the replenishments.<br/>
 The following parameters control this replenishment:</p>
<ul>
<li><b>MinimumInventory</b>:<br/>
 Inventory level triggering a new replenishment.<br/>
 The actual inventory can drop below this value.</li>
<li><b>MaximumInventory</b>:<br/>
 Inventory level to which we try to replenish.<br/>
 The actual inventory can exceed this value.</li>
<li><b>Leadtime</b>:<br/>
 Time taken between placing the purchase order with the supplier and the delivery of the material.</li>
</ul>
<p>Using the additional parameters described below the replenishments can be controlled in more detail. The resulting inventory profile can end up to be completely different from the classical saw-tooth pattern!</p>
<p>The timing of the replenishments can be constrained by the following parameters:</p>
<ul>
<li><b>MinimumInterval</b>:<br/>
 Minimum time between replenishments.<br/>
 The order quantity will be increased such that it covers at least the demand in the minimum interval period. The actual inventory can exceed the target set by the MinimumInventory parameter.</li>
<li><b>MaximumInterval</b>:<br/>
 Maximum time between replenishments.<br/>
 The order quantity will replenish to an inventory value less than the maximum when this maximum interval is reached. When the minimum and maximum interval are equal we basically define a fixed schedule replenishment policy.</li>
</ul>
<p>The quantity of the replenishments can be constrained by the following parameters:</p>
<ul>
<li><b>MinimumQuantity</b>:<br/>
 Minimum quantity for a replenishment.<br/>
 This parameter can cause the actual inventory to exceed the target set by the MinimumInventory parameter.</li>
<li><b>MaximumQuantity</b>:<br/>
 Maximum quantity for a replenishment.<br/>
 This parameter can cause the maximum inventory target never to be reached.</li>
<li><b>MultipleQuantity</b>:<br/>
 All replenishments are rounded up to a multiple of this value. When the minimum and maximum quantity are equal we basically define a fixed quantity replenishment policy. </li>
</ul>

<p>Definition at line <a class="el" href="a00218_source.html#l03184">3184</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0117a851ceae95189c2442ac9be655c7"></a><!-- doxytag: member="frepple::BufferProcure::BufferProcure" ref="a0117a851ceae95189c2442ac9be655c7" args="(const string &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">frepple::BufferProcure::BufferProcure </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03198">3198</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a50c10dee04e69195b5cccf8d91f9a3e9"></a><!-- doxytag: member="frepple::BufferProcure::endElement" ref="a50c10dee04e69195b5cccf8d91f9a3e9" args="(XMLInput &amp;, const Attribute &amp;, const DataElement &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::endElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00186.html">XMLInput</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00002.html">Attribute</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pAttr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00047.html">DataElement</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pElement</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00008.html#a561782e0a5a6fb84c62209aba172a241">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00194_source.html#l00632">632</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af131c8bbe4797a65df984c7715ebb07a"></a><!-- doxytag: member="frepple::BufferProcure::getattro" ref="af131c8bbe4797a65df984c7715ebb07a" args="(const Attribute &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PyObject * frepple::BufferProcure::getattro </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00002.html">Attribute</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default getattro method. <br/>
 Subclasses are expected to implement an override if the type supports gettattro. </p>

<p>Reimplemented from <a class="el" href="a00008.html#ab843613e4155345fc443d514e2a5733c">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00194_source.html#l00836">836</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2b36a705f88f52b7a7df0c9d55ef11e4"></a><!-- doxytag: member="frepple::BufferProcure::getFence" ref="a2b36a705f88f52b7a7df0c9d55ef11e4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00179.html">TimePeriod</a> frepple::BufferProcure::getFence </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the release time fence. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03215">3215</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6adc5a1e4580c13dfafc9a7f4511a0f9"></a><!-- doxytag: member="frepple::BufferProcure::getLeadtime" ref="a6adc5a1e4580c13dfafc9a7f4511a0f9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00179.html">TimePeriod</a> frepple::BufferProcure::getLeadtime </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the purchasing leadtime. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03204">3204</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8e1343aa1e4e76370356d4a93de47a2b"></a><!-- doxytag: member="frepple::BufferProcure::getMaximumInterval" ref="a8e1343aa1e4e76370356d4a93de47a2b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00179.html">TimePeriod</a> frepple::BufferProcure::getMaximumInterval </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the maximum time interval between sytem-generated replenishment operations. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03295">3295</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="af6e461c261f6fa1100d3ad25577d3d55"></a><!-- doxytag: member="frepple::BufferProcure::getMaximumInventory" ref="af6e461c261f6fa1100d3ad25577d3d55" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double frepple::BufferProcure::getMaximumInventory </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the maximum inventory level to which we wish to replenish. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03251">3251</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab76ddd340f5507854db8a913afb758b6"></a><!-- doxytag: member="frepple::BufferProcure::getMinimumInterval" ref="ab76ddd340f5507854db8a913afb758b6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00179.html">TimePeriod</a> frepple::BufferProcure::getMinimumInterval </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the minimum interval between purchasing operations.<br/>
 This parameter doesn't control the timing of the first purchasing operation, but only to the subsequent ones. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03280">3280</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a37c714b5271449925c30b0f33c48559d"></a><!-- doxytag: member="frepple::BufferProcure::getMinimumInventory" ref="a37c714b5271449925c30b0f33c48559d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double frepple::BufferProcure::getMinimumInventory </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the inventory level that will trigger creation of a purchasing. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03223">3223</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a403448f5135da4a0199ca43d03e3eb28"></a><!-- doxytag: member="frepple::BufferProcure::getOperation" ref="a403448f5135da4a0199ca43d03e3eb28" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00121.html">Operation</a> * frepple::BufferProcure::getOperation </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the operation that is automatically created to represent the procurements. </p>

<p>Definition at line <a class="el" href="a00194_source.html#l00687">687</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9a2ae515c047d7315926c96e97aa5aef"></a><!-- doxytag: member="frepple::BufferProcure::getSize" ref="a9a2ae515c047d7315926c96e97aa5aef" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t frepple::BufferProcure::getSize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the memory size of the object in bytes. </p>

<p>Implements <a class="el" href="a00120.html#ae381655a0e700d1e0d9ef72379792872">frepple::utils::Object</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03191">3191</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7a9884c8c6faa099cbeac64a0e04b1eb"></a><!-- doxytag: member="frepple::BufferProcure::getSizeMaximum" ref="a7a9884c8c6faa099cbeac64a0e04b1eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double frepple::BufferProcure::getSizeMaximum </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the maximum quantity of a purchasing operation. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03321">3321</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a273d7f036ed4fd6b2197c07e71356ece"></a><!-- doxytag: member="frepple::BufferProcure::getSizeMinimum" ref="a273d7f036ed4fd6b2197c07e71356ece" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double frepple::BufferProcure::getSizeMinimum </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the minimum quantity of a purchasing operation. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03308">3308</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a118957464c24c66af57cbbae5f7097c6"></a><!-- doxytag: member="frepple::BufferProcure::getSizeMultiple" ref="a118957464c24c66af57cbbae5f7097c6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double frepple::BufferProcure::getSizeMultiple </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the multiple quantity of a purchasing operation. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03334">3334</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a333bbbf8917572e288bbb0183cafbbc5"></a><!-- doxytag: member="frepple::BufferProcure::getType" ref="a333bbbf8917572e288bbb0183cafbbc5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="a00115.html">MetaClass</a>&amp; frepple::BufferProcure::getType </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This returns the type information on the object, a bit similar to the standard type_info information. </p>

<p>Reimplemented from <a class="el" href="a00008.html#a22975c5532c040fa8a4b429c33676124">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03190">3190</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a51e004c371fa0c0d50077248cf1b69e2"></a><!-- doxytag: member="frepple::BufferProcure::initialize" ref="a51e004c371fa0c0d50077248cf1b69e2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int frepple::BufferProcure::initialize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize the class. </p>

<p>Reimplemented from <a class="el" href="a00008.html#adf5890327f565bc167993d7d9e497617">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00194_source.html#l00085">85</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a658c30657777eef355b7207b9b1d13b1"></a><!-- doxytag: member="frepple::BufferProcure::setattro" ref="a658c30657777eef355b7207b9b1d13b1" args="(const Attribute &amp;, const PythonObject &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int frepple::BufferProcure::setattro </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00002.html">Attribute</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00154.html">PythonObject</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>field</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default setattro method. <br/>
 Subclasses are expected to implement an override if the type supports settattro. </p>

<p>Reimplemented from <a class="el" href="a00008.html#af128af0e9d1496b37f07f1c514e3772a">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00194_source.html#l00860">860</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a544a240f3322d166adeaffabc2f524c6"></a><!-- doxytag: member="frepple::BufferProcure::setFence" ref="a544a240f3322d166adeaffabc2f524c6" args="(TimePeriod p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setFence </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the release time fence. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03218">3218</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5535e9a0e34a8de45a7de084de382678"></a><!-- doxytag: member="frepple::BufferProcure::setLeadtime" ref="a5535e9a0e34a8de45a7de084de382678" args="(TimePeriod p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setLeadtime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the procurement leadtime. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03207">3207</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb8b8ec59dc5d8e6a83323cc13a60b7d"></a><!-- doxytag: member="frepple::BufferProcure::setMaximumInterval" ref="acb8b8ec59dc5d8e6a83323cc13a60b7d" args="(TimePeriod p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setMaximumInterval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the minimum time between replenishments. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03298">3298</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="af34fbf7d13f57144d40a12a55598c4b3"></a><!-- doxytag: member="frepple::BufferProcure::setMaximumInventory" ref="af34fbf7d13f57144d40a12a55598c4b3" args="(double f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setMaximumInventory </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the maximum inventory level to which we plan to replenish.<br/>
 This is not a hard limit - other parameters can make that the actual inventory either never reaches this value or always exceeds it. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03258">3258</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a93ddc7837d7dda3467a2137389b51922"></a><!-- doxytag: member="frepple::BufferProcure::setMinimumInterval" ref="a93ddc7837d7dda3467a2137389b51922" args="(TimePeriod p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setMinimumInterval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td>
          <td class="paramname"> <em>p</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the minimum time between replenishments. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03283">3283</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="af2b20b3639c672ba2a5ead0e1c7b7abe"></a><!-- doxytag: member="frepple::BufferProcure::setMinimumInventory" ref="af2b20b3639c672ba2a5ead0e1c7b7abe" args="(double f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setMinimumInventory </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the inventory level that will trigger the creation of a replenishment.<br/>
 Because of the replenishment leadtime, the actual inventory will drop below this value. It is up to the user to set an appropriate minimum value. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03232">3232</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a78af19d959dbbca11449c90037cdbddd"></a><!-- doxytag: member="frepple::BufferProcure::setSizeMaximum" ref="a78af19d959dbbca11449c90037cdbddd" args="(double f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setSizeMaximum </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the maximum replenishment quantity. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03324">3324</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4acf38cd5f6fc69ff2fcc079c4ae0ee9"></a><!-- doxytag: member="frepple::BufferProcure::setSizeMinimum" ref="a4acf38cd5f6fc69ff2fcc079c4ae0ee9" args="(double f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setSizeMinimum </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the minimum replenishment quantity. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03311">3311</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab8da024a595efd03f866131395f14c2d"></a><!-- doxytag: member="frepple::BufferProcure::setSizeMultiple" ref="ab8da024a595efd03f866131395f14c2d" args="(double f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::setSizeMultiple </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the multiple quantity. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03337">3337</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a72f00622cd7038ba1c97dca382e0c882"></a><!-- doxytag: member="frepple::BufferProcure::solve" ref="a72f00622cd7038ba1c97dca382e0c882" args="(Solver &amp;s, void *v=NULL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void frepple::BufferProcure::solve </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00171.html">Solver</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>v</em> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses. </p>

<p>Reimplemented from <a class="el" href="a00008.html#a312e9f46eeab928dd58a3418376af2ea">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03187">3187</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a452abe7405e755e660a5b11a670c4996"></a><!-- doxytag: member="frepple::BufferProcure::writeElement" ref="a452abe7405e755e660a5b11a670c4996" args="(XMLOutput *, const Keyword &amp;, mode=DEFAULT) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::BufferProcure::writeElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00189.html">XMLOutput</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>&nbsp;</td>
          <td class="paramname"> <em>m</em> = <code>DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00008.html#a8e72becff5b6b068ce2cd9e008902209">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00194_source.html#l00657">657</a> of file <a class="el" href="a00194_source.html">buffer.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4f4c8e1d995ffbdf9491f6f6c07e82d0"></a><!-- doxytag: member="frepple::BufferProcure::metadata" ref="a4f4c8e1d995ffbdf9491f6f6c07e82d0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00115.html">MetaClass</a> * <a class="el" href="a00012.html#a4f4c8e1d995ffbdf9491f6f6c07e82d0">frepple::BufferProcure::metadata</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00008.html#ac768b16e2c57bb8a8d028d17b8565543">frepple::Buffer</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03201">3201</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a00218_source.html">model.h</a></li>
<li><a class="el" href="a00194_source.html">buffer.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="align: right;"><small>Documentation generated for frePPLe by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"/></a></small></address>
</div>
</div>
</body>
</html>