<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Strategy pattern - Page 1 - Wikipedia">
<p>
<a accesskey="3" href="page.php?w=Strategy_pattern&amp;p=2">3.Next</a>
</p>
<p>In <a href="page.php?w=computer_programming">computer programming</a>, the <b>strategy pattern</b> (also known as the <b>policy pattern</b>) is a <a href="page.php?w=behavioral_design_pattern">behavioral</a> <a href="page.php?w=design_pattern_%28computer_science%29">software design pattern</a> that enables selecting an <a href="page.php?w=algorithm">algorithm</a> at runtime. Instead of implementing a single algorithm directly, code receives runtime instructions as to which in a family of algorithms to use.</p>

<p>Strategy lets the algorithm</p><p>
<a accesskey="3" href="page.php?w=Strategy_pattern&amp;p=2">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
