<?xml version="1.0" encoding="iso-8859-1"?>
<!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>dataplot.soccer.models</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="dataplot-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<font size="-1"><b class="breadcrumbs">
<a href="dataplot-module.html">Package dataplot</a> ::
<a href="dataplot.soccer-module.html">Package soccer</a> ::
Module models
</b></font></br>
</td>
<td><table cellpadding="0" cellspacing="0">
<tr><td align="right"><font size="-2">[<a href="../private/dataplot.soccer.models-module.html">show private</a> | hide private]</font></td></tr>
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="dataplot.soccer.models-module.html" target="_top">no frames</a>]</font></td></tr>
</table></td>
</tr></table>
<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module dataplot.soccer.models</h2>
<!-- =========== START OF CLASSES =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Classes</th></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.Game-class.html"><code>Game</code></a></b></td>
<td>Game(id, date, hi_score, lo_score, differential)</td></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.GameManager-class.html"><code>GameManager</code></a></b></td>
<td> </td></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.Player-class.html"><code>Player</code></a></b></td>
<td>Player(id, name, goals_per_game, team_goals_per_game,
goals_allowed_per_game, differential, games, wins, win_percent)</td></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.PlayerManager-class.html"><code>PlayerManager</code></a></b></td>
<td>Adds plotting methods.</td></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.Score-class.html"><code>Score</code></a></b></td>
<td>Score(id, player_id, team_id, goals, own_goals)</td></tr>
<tr><td width="15%">
<b><a href="dataplot.soccer.models.Team-class.html"><code>Team</code></a></b></td>
<td>Team(id, name, game_id, goals, own_goals, points, won, tied,
players)</td></tr>
</table><br />
<!-- =========== START OF FUNCTION SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Function Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="order_scores"></a><span class="summary-sig"><span class="summary-sig-name">order_scores</span>(<span class=summary-sig-arg>qs</span>)</span></code>
</td></tr>
</table><br />
<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>tuple</code></font></td>
<td><b><a href="dataplot.soccer.models-module.html#GAME_STATS"><code>GAME_STATS</code></a></b> = <span title="('hi_score', 'lo_score', 'differential')"><code>('hi_score', 'lo_score', 'differential') </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>tuple</code></font></td>
<td><b><a href="dataplot.soccer.models-module.html#PLAYER_STATS"><code>PLAYER_STATS</code></a></b> = <span title="('games', 'wins', 'win_percent', 'goals_per_game', 'team_goals_per_game', 'goals_allowed_per_game', 'differential')"><code>('games', 'wins', 'win_percent', 'goals_p<span class="variable-ellipsis">...</span></code>
</span></td></tr>
</table><br />
<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="GAME_STATS"></a>
<h3>GAME_STATS</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>tuple</code>
</dd>
<span title="('hi_score', 'lo_score', 'differential')"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
('hi_score', 'lo_score', 'differential') </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PLAYER_STATS"></a>
<h3>PLAYER_STATS</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>tuple</code>
</dd>
<span title="('games', 'wins', 'win_percent', 'goals_per_game', 'team_goals_per_game', 'goals_allowed_per_game', 'differential')"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
('games',
'wins',
'win_percent',
'goals_per_game',
'team_goals_per_game',
'goals_allowed_per_game',
'differential') </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<br />
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="dataplot-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Tue Apr 29 23:35:16 2008</font></td>
<td align="right"><a href="http://epydoc.sourceforge.net"
><font size="-2">http://epydoc.sf.net</font></a></td>
</tr>
</table>
</body>
</html>