Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 763d6289e1351f2d34257ce697a3ccb7 > files > 1166

biopython-doc-1.47-2mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Bio.Pathway.Rep.HashSet</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Bio-module.html">Package&nbsp;Bio</a> ::
        <a href="Bio.Pathway-module.html">Package&nbsp;Pathway</a> ::
        <a href="Bio.Pathway.Rep-module.html">Package&nbsp;Rep</a> ::
        Module&nbsp;HashSet
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Bio.Pathway.Rep.HashSet-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="Bio.Pathway.Rep.HashSet-module.html">Module Bio.Pathway.Rep.HashSet</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment"># Copyright 2001 by Tarjei Mikkelsen. All rights reserved.</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This code is part of the Biopython distribution and governed by its</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># license.  Please see the LICENSE file that should have been included</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># as part of this package.</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="HashSet"></a><div id="HashSet-def"><a name="L6"></a><tt class="py-lineno"> 6</tt> <a class="py-toggle" href="#" id="HashSet-toggle" onclick="return toggle('HashSet');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html">HashSet</a><tt class="py-op">:</tt> </tt>
</div><div id="HashSet-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="HashSet-expanded"><a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line">    <tt class="py-docstring">"""A set abstraction supporting the basic set operations.</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-docstring">    This implementation requires that all elements are hashable,</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-docstring">    which implies that elements must not mutate while contained.</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="HashSet.__init__"></a><div id="HashSet.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="HashSet.__init__-toggle" onclick="return toggle('HashSet.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">elements</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__init__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line">        <tt class="py-docstring">"""Initializes a new HashSet."""</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-0" class="py-name" targets="Variable Bio.Affy.CelFile.e=Bio.Affy.CelFile-module.html#e,Variable Bio.LogisticRegression.e=Bio.LogisticRegression-module.html#e,Variable Bio.MarkovModel.e=Bio.MarkovModel-module.html#e,Variable Bio.MaxEntropy.e=Bio.MaxEntropy-module.html#e,Variable Bio.NaiveBayes.e=Bio.NaiveBayes-module.html#e,Variable Bio.Statistics.lowess.e=Bio.Statistics.lowess-module.html#e,Variable Bio.distance.e=Bio.distance-module.html#e,Variable Bio.kNN.e=Bio.kNN-module.html#e"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-0', 'e', 'link-0');">e</a></tt> <tt class="py-keyword">in</tt> <tt id="link-1" class="py-name" targets="Method Bio.Restriction.Restriction.RestrictionBatch.elements()=Bio.Restriction.Restriction.RestrictionBatch-class.html#elements"><a title="Bio.Restriction.Restriction.RestrictionBatch.elements" class="py-name" href="#" onclick="return doclink('link-1', 'elements', 'link-1');">elements</a></tt><tt class="py-op">:</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">[</tt><tt id="link-2" class="py-name"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-2', 'e', 'link-0');">e</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt> </tt>
</div><a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line">             </tt>
<a name="HashSet.__contains__"></a><div id="HashSet.__contains__-def"><a name="L18"></a><tt class="py-lineno">18</tt> <a class="py-toggle" href="#" id="HashSet.__contains__-toggle" onclick="return toggle('HashSet.__contains__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__contains__">__contains__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">element</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__contains__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__contains__-expanded"><a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns true iff this set contains element."""</tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Method Bio.Crystal.Crystal.has_key()=Bio.Crystal.Crystal-class.html#has_key,Method Bio.EUtils.POM.ElementNode.has_key()=Bio.EUtils.POM.ElementNode-class.html#has_key,Method Bio.GenBank.NCBIDictionary.has_key()=Bio.GenBank.NCBIDictionary-class.html#has_key,Method Bio.PDB.AbstractPropertyMap.AbstractPropertyMap.has_key()=Bio.PDB.AbstractPropertyMap.AbstractPropertyMap-class.html#has_key,Method Bio.PDB.FragmentMapper'.FragmentMapper.has_key()=Bio.PDB.FragmentMapper%27.FragmentMapper-class.html#has_key,Method Bio.Prosite.ExPASyDictionary.has_key()=Bio.Prosite.ExPASyDictionary-class.html#has_key,Method Bio.Prosite.Prodoc.ExPASyDictionary.has_key()=Bio.Prosite.Prodoc.ExPASyDictionary-class.html#has_key,Method Bio.PubMed.Dictionary.has_key()=Bio.PubMed.Dictionary-class.html#has_key,Method Bio.SwissProt.SProt.ExPASyDictionary.has_key()=Bio.SwissProt.SProt.ExPASyDictionary-class.html#has_key,Method Martel.Parser.MartelAttributeList.has_key()=Martel.Parser.MartelAttributeList-class.html#has_key"><a title="Bio.Crystal.Crystal.has_key
Bio.EUtils.POM.ElementNode.has_key
Bio.GenBank.NCBIDictionary.has_key
Bio.PDB.AbstractPropertyMap.AbstractPropertyMap.has_key
Bio.PDB.FragmentMapper'.FragmentMapper.has_key
Bio.Prosite.ExPASyDictionary.has_key
Bio.Prosite.Prodoc.ExPASyDictionary.has_key
Bio.PubMed.Dictionary.has_key
Bio.SwissProt.SProt.ExPASyDictionary.has_key
Martel.Parser.MartelAttributeList.has_key" class="py-name" href="#" onclick="return doclink('link-3', 'has_key', 'link-3');">has_key</a></tt><tt class="py-op">(</tt><tt id="link-4" class="py-name" targets="Method Martel.LAX.LAX.element()=Martel.LAX.LAX-class.html#element,Method Martel.LAX.LAXAttrs.element()=Martel.LAX.LAXAttrs-class.html#element,Method Martel.LAX.LAXPositions.element()=Martel.LAX.LAXPositions-class.html#element"><a title="Martel.LAX.LAX.element
Martel.LAX.LAXAttrs.element
Martel.LAX.LAXPositions.element" class="py-name" href="#" onclick="return doclink('link-4', 'element', 'link-4');">element</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"> </tt>
<a name="HashSet.__eq__"></a><div id="HashSet.__eq__-def"><a name="L22"></a><tt class="py-lineno">22</tt> <a class="py-toggle" href="#" id="HashSet.__eq__-toggle" onclick="return toggle('HashSet.__eq__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__eq__">__eq__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">set</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__eq__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__eq__-expanded"><a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns true iff x == y for all elements in self, set."""</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-5" class="py-name" targets="Method Bio.Nexus.Nexus.StepMatrix.set()=Bio.Nexus.Nexus.StepMatrix-class.html#set,Method Bio.SVDSuperimposer.SVDSuperimposer'.SVDSuperimposer.set()=Bio.SVDSuperimposer.SVDSuperimposer%27.SVDSuperimposer-class.html#set,Method Bio.config.DBRegistry.DBObject.set()=Bio.config.DBRegistry.DBObject-class.html#set"><a title="Bio.Nexus.Nexus.StepMatrix.set
Bio.SVDSuperimposer.SVDSuperimposer'.SVDSuperimposer.set
Bio.config.DBRegistry.DBObject.set" class="py-name" href="#" onclick="return doclink('link-5', 'set', 'link-5');">set</a></tt><tt class="py-op">,</tt> <tt id="link-6" class="py-name" targets="Module Bio.Pathway.Rep.HashSet=Bio.Pathway.Rep.HashSet-module.html,Class Bio.Pathway.Rep.HashSet.HashSet=Bio.Pathway.Rep.HashSet.HashSet-class.html"><a title="Bio.Pathway.Rep.HashSet
Bio.Pathway.Rep.HashSet.HashSet" class="py-name" href="#" onclick="return doclink('link-6', 'HashSet', 'link-6');">HashSet</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-7" class="py-name" targets="Variable Bio.MarkovModel.x=Bio.MarkovModel-module.html#x,Variable Bio.Statistics.lowess.x=Bio.Statistics.lowess-module.html#x"><a title="Bio.MarkovModel.x
Bio.Statistics.lowess.x" class="py-name" href="#" onclick="return doclink('link-7', 'x', 'link-7');">x</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method Bio.Pathway.Rep.HashSet.HashSet.list()=Bio.Pathway.Rep.HashSet.HashSet-class.html#list"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-8', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="Bio.MarkovModel.x
Bio.Statistics.lowess.x" class="py-name" href="#" onclick="return doclink('link-9', 'x', 'link-7');">x</a></tt> <tt class="py-keyword">in</tt> <tt id="link-10" class="py-name"><a title="Bio.Nexus.Nexus.StepMatrix.set
Bio.SVDSuperimposer.SVDSuperimposer'.SVDSuperimposer.set
Bio.config.DBRegistry.DBObject.set" class="py-name" href="#" onclick="return doclink('link-10', 'set', 'link-5');">set</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-11" class="py-name"><a title="Bio.MarkovModel.x
Bio.Statistics.lowess.x" class="py-name" href="#" onclick="return doclink('link-11', 'x', 'link-7');">x</a></tt> <tt class="py-keyword">in</tt> <tt id="link-12" class="py-name"><a title="Bio.Nexus.Nexus.StepMatrix.set
Bio.SVDSuperimposer.SVDSuperimposer'.SVDSuperimposer.set
Bio.config.DBRegistry.DBObject.set" class="py-name" href="#" onclick="return doclink('link-12', 'set', 'link-5');">set</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-13', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-op">(</tt><tt id="link-14" class="py-name"><a title="Bio.MarkovModel.x
Bio.Statistics.lowess.x" class="py-name" href="#" onclick="return doclink('link-14', 'x', 'link-7');">x</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-number">1</tt> </tt>
</div><a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"> </tt>
<a name="HashSet.__len__"></a><div id="HashSet.__len__-def"><a name="L32"></a><tt class="py-lineno">32</tt> <a class="py-toggle" href="#" id="HashSet.__len__-toggle" onclick="return toggle('HashSet.__len__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__len__">__len__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__len__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__len__-expanded"><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the number of elements in this set."""</tt> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">)</tt> </tt>
</div><a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line"> </tt>
<a name="HashSet.__ne__"></a><div id="HashSet.__ne__-def"><a name="L36"></a><tt class="py-lineno">36</tt> <a class="py-toggle" href="#" id="HashSet.__ne__-toggle" onclick="return toggle('HashSet.__ne__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__ne__">__ne__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">set</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__ne__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__ne__-expanded"><a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns true iff this set is not equal to set."""</tt>  </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method Bio.Crystal.Chain.__eq__()=Bio.Crystal.Chain-class.html#__eq__,Method Bio.Crystal.Hetero.__eq__()=Bio.Crystal.Hetero-class.html#__eq__,Method Bio.EUtils.Datatypes.CheckLinkSet.__eq__()=Bio.EUtils.Datatypes.CheckLinkSet-class.html#__eq__,Method Bio.EUtils.Datatypes.DBIds.__eq__()=Bio.EUtils.Datatypes.DBIds-class.html#__eq__,Method Bio.EUtils.Datatypes.Date.__eq__()=Bio.EUtils.Datatypes.Date-class.html#__eq__,Method Bio.EUtils.Datatypes.IdCheck.__eq__()=Bio.EUtils.Datatypes.IdCheck-class.html#__eq__,Method Bio.EUtils.Datatypes.IdUrlSet.__eq__()=Bio.EUtils.Datatypes.IdUrlSet-class.html#__eq__,Method Bio.EUtils.Datatypes.Link.__eq__()=Bio.EUtils.Datatypes.Link-class.html#__eq__,Method Bio.EUtils.Datatypes.LinkSetDb.__eq__()=Bio.EUtils.Datatypes.LinkSetDb-class.html#__eq__,Method Bio.EUtils.Datatypes.LinksLinkSet.__eq__()=Bio.EUtils.Datatypes.LinksLinkSet-class.html#__eq__,Method Bio.EUtils.Datatypes.NeighborLinkSet.__eq__()=Bio.EUtils.Datatypes.NeighborLinkSet-class.html#__eq__,Method Bio.EUtils.Datatypes.ObjUrl.__eq__()=Bio.EUtils.Datatypes.ObjUrl-class.html#__eq__,Method Bio.EUtils.Datatypes.Problem.__eq__()=Bio.EUtils.Datatypes.Problem-class.html#__eq__,Method Bio.EUtils.Datatypes.Provider.__eq__()=Bio.EUtils.Datatypes.Provider-class.html#__eq__,Method Bio.EUtils.MultiDict.OrderedMultiDict.__eq__()=Bio.EUtils.MultiDict.OrderedMultiDict-class.html#__eq__,Method Bio.EUtils.MultiDict.UnorderedMultiDict.__eq__()=Bio.EUtils.MultiDict.UnorderedMultiDict-class.html#__eq__,Method Bio.LocusLink.web_parse.Token.__eq__()=Bio.LocusLink.web_parse.Token-class.html#__eq__,Method Bio.Pathway.Reaction.__eq__()=Bio.Pathway.Reaction-class.html#__eq__,Method Bio.Pathway.Rep.Graph.Graph.__eq__()=Bio.Pathway.Rep.Graph.Graph-class.html#__eq__,Method Bio.Pathway.Rep.HashSet.HashSet.__eq__()=Bio.Pathway.Rep.HashSet.HashSet-class.html#__eq__,Method Bio.Pathway.Rep.MultiGraph.MultiGraph.__eq__()=Bio.Pathway.Rep.MultiGraph.MultiGraph-class.html#__eq__,Method Bio.Restriction.Restriction.FormattedSeq.__eq__()=Bio.Restriction.Restriction.FormattedSeq-class.html#__eq__,Method Bio.Restriction.Restriction.RestrictionType.__eq__()=Bio.Restriction.Restriction.RestrictionType-class.html#__eq__"><a title="Bio.Crystal.Chain.__eq__
Bio.Crystal.Hetero.__eq__
Bio.EUtils.Datatypes.CheckLinkSet.__eq__
Bio.EUtils.Datatypes.DBIds.__eq__
Bio.EUtils.Datatypes.Date.__eq__
Bio.EUtils.Datatypes.IdCheck.__eq__
Bio.EUtils.Datatypes.IdUrlSet.__eq__
Bio.EUtils.Datatypes.Link.__eq__
Bio.EUtils.Datatypes.LinkSetDb.__eq__
Bio.EUtils.Datatypes.LinksLinkSet.__eq__
Bio.EUtils.Datatypes.NeighborLinkSet.__eq__
Bio.EUtils.Datatypes.ObjUrl.__eq__
Bio.EUtils.Datatypes.Problem.__eq__
Bio.EUtils.Datatypes.Provider.__eq__
Bio.EUtils.MultiDict.OrderedMultiDict.__eq__
Bio.EUtils.MultiDict.UnorderedMultiDict.__eq__
Bio.LocusLink.web_parse.Token.__eq__
Bio.Pathway.Reaction.__eq__
Bio.Pathway.Rep.Graph.Graph.__eq__
Bio.Pathway.Rep.HashSet.HashSet.__eq__
Bio.Pathway.Rep.MultiGraph.MultiGraph.__eq__
Bio.Restriction.Restriction.FormattedSeq.__eq__
Bio.Restriction.Restriction.RestrictionType.__eq__" class="py-name" href="#" onclick="return doclink('link-15', '__eq__', 'link-15');">__eq__</a></tt><tt class="py-op">(</tt><tt id="link-16" class="py-name"><a title="Bio.Nexus.Nexus.StepMatrix.set
Bio.SVDSuperimposer.SVDSuperimposer'.SVDSuperimposer.set
Bio.config.DBRegistry.DBObject.set" class="py-name" href="#" onclick="return doclink('link-16', 'set', 'link-5');">set</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line"> </tt>
<a name="HashSet.__repr__"></a><div id="HashSet.__repr__-def"><a name="L40"></a><tt class="py-lineno">40</tt> <a class="py-toggle" href="#" id="HashSet.__repr__-toggle" onclick="return toggle('HashSet.__repr__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__repr__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__repr__-expanded"><a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns a debugging string representation of this set."""</tt> </tt>
<a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"HashSet("</tt> <tt class="py-op">+</tt> <tt class="py-name">repr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-17', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">")"</tt> </tt>
</div><a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line"> </tt>
<a name="HashSet.__str__"></a><div id="HashSet.__str__-def"><a name="L44"></a><tt class="py-lineno">44</tt> <a class="py-toggle" href="#" id="HashSet.__str__-toggle" onclick="return toggle('HashSet.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.__str__-expanded"><a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns a string representation of this set."""</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"{"</tt> <tt class="py-op">+</tt> <tt class="py-string">","</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt id="link-18" class="py-name" targets="Method Bio.GFF.FeatureAggregate.map()=Bio.GFF.FeatureAggregate-class.html#map"><a title="Bio.GFF.FeatureAggregate.map" class="py-name" href="#" onclick="return doclink('link-18', 'map', 'link-18');">map</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-19', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"}"</tt>  </tt>
</div><a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line"> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">    <tt class="py-comment"># Element access:</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="HashSet.add"></a><div id="HashSet.add-def"><a name="L50"></a><tt class="py-lineno">50</tt> <a class="py-toggle" href="#" id="HashSet.add-toggle" onclick="return toggle('HashSet.add');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#add">add</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">element</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.add-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.add-expanded"><a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">        <tt class="py-docstring">"""Adds element to this set."""</tt> </tt>
<a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">[</tt><tt id="link-20" class="py-name"><a title="Martel.LAX.LAX.element
Martel.LAX.LAXAttrs.element
Martel.LAX.LAXPositions.element" class="py-name" href="#" onclick="return doclink('link-20', 'element', 'link-4');">element</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line"> </tt>
<a name="HashSet.contains"></a><div id="HashSet.contains-def"><a name="L54"></a><tt class="py-lineno">54</tt> <a class="py-toggle" href="#" id="HashSet.contains-toggle" onclick="return toggle('HashSet.contains');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#contains">contains</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">element</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.contains-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.contains-expanded"><a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns true iff this set contains element."""</tt> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method Bio.Crystal.Chain.__contains__()=Bio.Crystal.Chain-class.html#__contains__,Method Bio.EUtils.MultiDict._BaseMultiDict.__contains__()=Bio.EUtils.MultiDict._BaseMultiDict-class.html#__contains__,Method Bio.Pathway.Rep.HashSet.HashSet.__contains__()=Bio.Pathway.Rep.HashSet.HashSet-class.html#__contains__,Method Bio.Restriction.Restriction.RestrictionBatch.__contains__()=Bio.Restriction.Restriction.RestrictionBatch-class.html#__contains__,Method Martel.LAX._IsIn.__contains__()=Martel.LAX._IsIn-class.html#__contains__"><a title="Bio.Crystal.Chain.__contains__
Bio.EUtils.MultiDict._BaseMultiDict.__contains__
Bio.Pathway.Rep.HashSet.HashSet.__contains__
Bio.Restriction.Restriction.RestrictionBatch.__contains__
Martel.LAX._IsIn.__contains__" class="py-name" href="#" onclick="return doclink('link-21', '__contains__', 'link-21');">__contains__</a></tt><tt class="py-op">(</tt><tt id="link-22" class="py-name"><a title="Martel.LAX.LAX.element
Martel.LAX.LAXAttrs.element
Martel.LAX.LAXPositions.element" class="py-name" href="#" onclick="return doclink('link-22', 'element', 'link-4');">element</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line"> </tt>
<a name="HashSet.remove"></a><div id="HashSet.remove-def"><a name="L58"></a><tt class="py-lineno">58</tt> <a class="py-toggle" href="#" id="HashSet.remove-toggle" onclick="return toggle('HashSet.remove');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#remove">remove</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">element</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.remove-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.remove-expanded"><a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line">        <tt class="py-docstring">"""Removes element from this set."""</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">            <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">[</tt><tt id="link-23" class="py-name"><a title="Martel.LAX.LAX.element
Martel.LAX.LAXAttrs.element
Martel.LAX.LAXPositions.element" class="py-name" href="#" onclick="return doclink('link-23', 'element', 'link-4');">element</a></tt><tt class="py-op">]</tt> </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">KeyError</tt><tt class="py-op">:</tt> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">            <tt class="py-keyword">pass</tt> </tt>
</div><a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line"> </tt>
<a name="HashSet.list"></a><div id="HashSet.list-def"><a name="L65"></a><tt class="py-lineno">65</tt> <a class="py-toggle" href="#" id="HashSet.list-toggle" onclick="return toggle('HashSet.list');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#list">list</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.list-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.list-expanded"><a name="L66"></a><tt class="py-lineno">66</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the elements of this set in a list."""</tt> </tt>
<a name="L67"></a><tt class="py-lineno">67</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Method Bio.Crystal.Crystal.keys()=Bio.Crystal.Crystal-class.html#keys,Method Bio.EUtils.MultiDict._BaseMultiDict.keys()=Bio.EUtils.MultiDict._BaseMultiDict-class.html#keys,Method Bio.GenBank.NCBIDictionary.keys()=Bio.GenBank.NCBIDictionary-class.html#keys,Method Bio.Mindy.BaseDB.DictLookup.keys()=Bio.Mindy.BaseDB.DictLookup-class.html#keys,Method Bio.Mindy.BaseDB.OpenDB.keys()=Bio.Mindy.BaseDB.OpenDB-class.html#keys,Method Bio.Mindy.BerkeleyDB.PrimaryNamespace.keys()=Bio.Mindy.BerkeleyDB.PrimaryNamespace-class.html#keys,Method Bio.Mindy.BerkeleyDB.SecondaryNamespace.keys()=Bio.Mindy.BerkeleyDB.SecondaryNamespace-class.html#keys,Method Bio.Mindy.FlatDB.PrimaryNamespace.keys()=Bio.Mindy.FlatDB.PrimaryNamespace-class.html#keys,Method Bio.Mindy.FlatDB.PrimaryTable.keys()=Bio.Mindy.FlatDB.PrimaryTable-class.html#keys,Method Bio.Mindy.FlatDB.SecondaryNamespace.keys()=Bio.Mindy.FlatDB.SecondaryNamespace-class.html#keys,Method Bio.Mindy.FlatDB.SecondaryTable.keys()=Bio.Mindy.FlatDB.SecondaryTable-class.html#keys,Method Bio.PDB.AbstractPropertyMap.AbstractPropertyMap.keys()=Bio.PDB.AbstractPropertyMap.AbstractPropertyMap-class.html#keys,Method Bio.Prosite.ExPASyDictionary.keys()=Bio.Prosite.ExPASyDictionary-class.html#keys,Method Bio.Prosite.Prodoc.ExPASyDictionary.keys()=Bio.Prosite.Prodoc.ExPASyDictionary-class.html#keys,Method Bio.PubMed.Dictionary.keys()=Bio.PubMed.Dictionary-class.html#keys,Method Bio.SwissProt.SProt.Dictionary.keys()=Bio.SwissProt.SProt.Dictionary-class.html#keys,Method Bio.SwissProt.SProt.ExPASyDictionary.keys()=Bio.SwissProt.SProt.ExPASyDictionary-class.html#keys,Method Bio.config.Registry.Registry.keys()=Bio.config.Registry.Registry-class.html#keys,Method BioSQL.BioSeqDatabase.BioSeqDatabase.keys()=BioSQL.BioSeqDatabase.BioSeqDatabase-class.html#keys,Method BioSQL.BioSeqDatabase.DBServer.keys()=BioSQL.BioSeqDatabase.DBServer-class.html#keys,Method Martel.Parser.MartelAttributeList.keys()=Martel.Parser.MartelAttributeList-class.html#keys"><a title="Bio.Crystal.Crystal.keys
Bio.EUtils.MultiDict._BaseMultiDict.keys
Bio.GenBank.NCBIDictionary.keys
Bio.Mindy.BaseDB.DictLookup.keys
Bio.Mindy.BaseDB.OpenDB.keys
Bio.Mindy.BerkeleyDB.PrimaryNamespace.keys
Bio.Mindy.BerkeleyDB.SecondaryNamespace.keys
Bio.Mindy.FlatDB.PrimaryNamespace.keys
Bio.Mindy.FlatDB.PrimaryTable.keys
Bio.Mindy.FlatDB.SecondaryNamespace.keys
Bio.Mindy.FlatDB.SecondaryTable.keys
Bio.PDB.AbstractPropertyMap.AbstractPropertyMap.keys
Bio.Prosite.ExPASyDictionary.keys
Bio.Prosite.Prodoc.ExPASyDictionary.keys
Bio.PubMed.Dictionary.keys
Bio.SwissProt.SProt.Dictionary.keys
Bio.SwissProt.SProt.ExPASyDictionary.keys
Bio.config.Registry.Registry.keys
BioSQL.BioSeqDatabase.BioSeqDatabase.keys
BioSQL.BioSeqDatabase.DBServer.keys
Martel.Parser.MartelAttributeList.keys" class="py-name" href="#" onclick="return doclink('link-24', 'keys', 'link-24');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L68"></a><tt class="py-lineno">68</tt>  <tt class="py-line"> </tt>
<a name="L69"></a><tt class="py-lineno">69</tt>  <tt class="py-line">    <tt class="py-comment"># Information:</tt> </tt>
<a name="L70"></a><tt class="py-lineno">70</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="HashSet.empty"></a><div id="HashSet.empty-def"><a name="L71"></a><tt class="py-lineno">71</tt> <a class="py-toggle" href="#" id="HashSet.empty-toggle" onclick="return toggle('HashSet.empty');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#empty">empty</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.empty-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.empty-expanded"><a name="L72"></a><tt class="py-lineno">72</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns true iff this set is empty."""</tt> </tt>
<a name="L73"></a><tt class="py-lineno">73</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__elements</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt> </tt>
</div><a name="L74"></a><tt class="py-lineno">74</tt>  <tt class="py-line"> </tt>
<a name="L75"></a><tt class="py-lineno">75</tt>  <tt class="py-line">    <tt class="py-comment"># Set operations:</tt> </tt>
<a name="L76"></a><tt class="py-lineno">76</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="HashSet.union"></a><div id="HashSet.union-def"><a name="L77"></a><tt class="py-lineno">77</tt> <a class="py-toggle" href="#" id="HashSet.union-toggle" onclick="return toggle('HashSet.union');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#union">union</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.union-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.union-expanded"><a name="L78"></a><tt class="py-lineno">78</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the union of this set and s."""</tt> </tt>
<a name="L79"></a><tt class="py-lineno">79</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-25" class="py-name"><a title="Bio.Pathway.Rep.HashSet
Bio.Pathway.Rep.HashSet.HashSet" class="py-name" href="#" onclick="return doclink('link-25', 'HashSet', 'link-6');">HashSet</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-26', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt id="link-27" class="py-name" targets="Variable Martel.test.test_swissprot38.s=Martel.test.test_swissprot38-module.html#s"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-27', 's', 'link-27');">s</a></tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-28', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L80"></a><tt class="py-lineno">80</tt>  <tt class="py-line"> </tt>
<a name="HashSet.intersection"></a><div id="HashSet.intersection-def"><a name="L81"></a><tt class="py-lineno">81</tt> <a class="py-toggle" href="#" id="HashSet.intersection-toggle" onclick="return toggle('HashSet.intersection');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#intersection">intersection</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.intersection-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.intersection-expanded"><a name="L82"></a><tt class="py-lineno">82</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the intersection of this set and s."""</tt> </tt>
<a name="L83"></a><tt class="py-lineno">83</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-29" class="py-name"><a title="Bio.Pathway.Rep.HashSet
Bio.Pathway.Rep.HashSet.HashSet" class="py-name" href="#" onclick="return doclink('link-29', 'HashSet', 'link-6');">HashSet</a></tt><tt class="py-op">(</tt><tt id="link-30" class="py-name" targets="Function Bio.FSSP.FSSPTools.filter()=Bio.FSSP.FSSPTools-module.html#filter,Method Bio.FilteredReader.FilteredReader.filter()=Bio.FilteredReader.FilteredReader-class.html#filter,Variable Bio.expressions.swissprot.filter=Bio.expressions.swissprot-module.html#filter"><a title="Bio.FSSP.FSSPTools.filter
Bio.FilteredReader.FilteredReader.filter
Bio.expressions.swissprot.filter" class="py-name" href="#" onclick="return doclink('link-30', 'filter', 'link-30');">filter</a></tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt id="link-31" class="py-name"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-31', 'e', 'link-0');">e</a></tt><tt class="py-op">,</tt><tt id="link-32" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-32', 's', 'link-27');">s</a></tt><tt class="py-op">=</tt><tt id="link-33" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-33', 's', 'link-27');">s</a></tt><tt class="py-op">:</tt> <tt id="link-34" class="py-name"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-34', 'e', 'link-0');">e</a></tt> <tt class="py-keyword">in</tt> <tt id="link-35" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-35', 's', 'link-27');">s</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-36', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L84"></a><tt class="py-lineno">84</tt>  <tt class="py-line"> </tt>
<a name="HashSet.difference"></a><div id="HashSet.difference-def"><a name="L85"></a><tt class="py-lineno">85</tt> <a class="py-toggle" href="#" id="HashSet.difference-toggle" onclick="return toggle('HashSet.difference');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#difference">difference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.difference-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.difference-expanded"><a name="L86"></a><tt class="py-lineno">86</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the difference of this set and s."""</tt> </tt>
<a name="L87"></a><tt class="py-lineno">87</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-37" class="py-name"><a title="Bio.Pathway.Rep.HashSet
Bio.Pathway.Rep.HashSet.HashSet" class="py-name" href="#" onclick="return doclink('link-37', 'HashSet', 'link-6');">HashSet</a></tt><tt class="py-op">(</tt><tt id="link-38" class="py-name"><a title="Bio.FSSP.FSSPTools.filter
Bio.FilteredReader.FilteredReader.filter
Bio.expressions.swissprot.filter" class="py-name" href="#" onclick="return doclink('link-38', 'filter', 'link-30');">filter</a></tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt id="link-39" class="py-name"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-39', 'e', 'link-0');">e</a></tt><tt class="py-op">,</tt><tt id="link-40" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-40', 's', 'link-27');">s</a></tt><tt class="py-op">=</tt><tt id="link-41" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-41', 's', 'link-27');">s</a></tt><tt class="py-op">:</tt> <tt id="link-42" class="py-name"><a title="Bio.Affy.CelFile.e
Bio.LogisticRegression.e
Bio.MarkovModel.e
Bio.MaxEntropy.e
Bio.NaiveBayes.e
Bio.Statistics.lowess.e
Bio.distance.e
Bio.kNN.e" class="py-name" href="#" onclick="return doclink('link-42', 'e', 'link-0');">e</a></tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt id="link-43" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-43', 's', 'link-27');">s</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-44', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L88"></a><tt class="py-lineno">88</tt>  <tt class="py-line"> </tt>
<a name="HashSet.cartesian"></a><div id="HashSet.cartesian-def"><a name="L89"></a><tt class="py-lineno">89</tt> <a class="py-toggle" href="#" id="HashSet.cartesian-toggle" onclick="return toggle('HashSet.cartesian');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Bio.Pathway.Rep.HashSet.HashSet-class.html#cartesian">cartesian</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HashSet.cartesian-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HashSet.cartesian-expanded"><a name="L90"></a><tt class="py-lineno">90</tt>  <tt class="py-line">        <tt class="py-docstring">"""Returns the Cartesian product of this set and s."""</tt> </tt>
<a name="L91"></a><tt class="py-lineno">91</tt>  <tt class="py-line">        <tt class="py-name">p</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L92"></a><tt class="py-lineno">92</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-45" class="py-name" targets="Variable Bio.PDB.Polypeptide.i=Bio.PDB.Polypeptide-module.html#i"><a title="Bio.PDB.Polypeptide.i" class="py-name" href="#" onclick="return doclink('link-45', 'i', 'link-45');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-46', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L93"></a><tt class="py-lineno">93</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">j</tt> <tt class="py-keyword">in</tt> <tt id="link-47" class="py-name"><a title="Martel.test.test_swissprot38.s" class="py-name" href="#" onclick="return doclink('link-47', 's', 'link-27');">s</a></tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="Bio.Pathway.Rep.HashSet.HashSet.list" class="py-name" href="#" onclick="return doclink('link-48', 'list', 'link-8');">list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L94"></a><tt class="py-lineno">94</tt>  <tt class="py-line">                <tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name" targets="Method Bio.Crystal.Chain.append()=Bio.Crystal.Chain-class.html#append,Method Bio.EUtils.POM.ElementNode.append()=Bio.EUtils.POM.ElementNode-class.html#append,Method Bio.EUtils.sourcegen.SourceFile.append()=Bio.EUtils.sourcegen.SourceFile-class.html#append,Method Bio.SCOP.Raf.SeqMap.append()=Bio.SCOP.Raf.SeqMap-class.html#append,Method Bio.Seq.MutableSeq.append()=Bio.Seq.MutableSeq-class.html#append,Method Bio.Wise.psw.Alignment.append()=Bio.Wise.psw.Alignment-class.html#append,Method Bio.Wise.psw.AlignmentColumn.append()=Bio.Wise.psw.AlignmentColumn-class.html#append,Method Martel.msre_parse.SubPattern.append()=Martel.msre_parse.SubPattern-class.html#append"><a title="Bio.Crystal.Chain.append
Bio.EUtils.POM.ElementNode.append
Bio.EUtils.sourcegen.SourceFile.append
Bio.SCOP.Raf.SeqMap.append
Bio.Seq.MutableSeq.append
Bio.Wise.psw.Alignment.append
Bio.Wise.psw.AlignmentColumn.append
Martel.msre_parse.SubPattern.append" class="py-name" href="#" onclick="return doclink('link-49', 'append', 'link-49');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt id="link-50" class="py-name"><a title="Bio.PDB.Polypeptide.i" class="py-name" href="#" onclick="return doclink('link-50', 'i', 'link-45');">i</a></tt><tt class="py-op">,</tt><tt class="py-name">j</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L95"></a><tt class="py-lineno">95</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-51" class="py-name"><a title="Bio.Pathway.Rep.HashSet
Bio.Pathway.Rep.HashSet.HashSet" class="py-name" href="#" onclick="return doclink('link-51', 'HashSet', 'link-6');">HashSet</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L96"></a><tt class="py-lineno">96</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Sep 15 09:27:11 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>