Commit 0f7c6478 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix typos and cosmetic changes only.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31158 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82c29a74
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
# Jean-Paul Smets-Solanes <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs # consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial # End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software # guarantees and support are strongly adviced to contract a Free Software
# Service Company # Service Company
# #
# This program is Free Software; you can redistribute it and/or # This program is Free Software; you can redistribute it and/or
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# #
############################################################################## ##############################################################################
...@@ -32,17 +32,17 @@ from zope.interface import Interface ...@@ -32,17 +32,17 @@ from zope.interface import Interface
class IDivergenceController(Interface): class IDivergenceController(Interface):
"""Divergence Controller interface specification """Divergence Controller interface specification
IDivergenceController provides methods to create new IDivergenceController provides methods to create new
solver processes based on the current divergence of solver processes based on the current divergence of
deliveries, movements, simumlation movements. deliveries, movements, simulation movements.
IDivergenceController must be provided by IDivergenceController must be provided by
movements, deliveries and by the SolverTool. movements, deliveries and by the SolverTool.
Actual implementation should be handled by SolverTool. Actual implementation should be handled by SolverTool.
Whenever movement is not provided, IDivergenceController Whenever movement is not provided, IDivergenceController
instances should use the most appropriate document instances should use the most appropriate document
such as self for a delivery movement. such as self for a delivery movement.
Whenever divergence_tester is not provided, all Whenever divergence_tester is not provided, all
applicable divergences are considered. applicable divergences are considered.
...@@ -50,7 +50,7 @@ class IDivergenceController(Interface): ...@@ -50,7 +50,7 @@ class IDivergenceController(Interface):
def isDivergent(movement=None): def isDivergent(movement=None):
""" """
Returns True if any of the movements provided Returns True if any of the movements provided
in delivery_or_movement is divergent. Else return False. in delivery_or_movement is divergent. Else return False.
movement -- a movement, a delivery, a simulation movement, movement -- a movement, a delivery, a simulation movement,
...@@ -59,7 +59,7 @@ class IDivergenceController(Interface): ...@@ -59,7 +59,7 @@ class IDivergenceController(Interface):
def isConvergent(movement=None): def isConvergent(movement=None):
""" """
Returns False if any of the movements provided Returns False if any of the movements provided
in delivery_or_movement is divergent. Else return True. in delivery_or_movement is divergent. Else return True.
movement -- a movement, a delivery, a simulation movement, movement -- a movement, a delivery, a simulation movement,
...@@ -69,7 +69,7 @@ class IDivergenceController(Interface): ...@@ -69,7 +69,7 @@ class IDivergenceController(Interface):
def newSolverProcess(movement=None): def newSolverProcess(movement=None):
""" """
Builds a new solver process from the divergence Builds a new solver process from the divergence
analaysis of delivery_or_movement. All movements analysis of delivery_or_movement. All movements
which are not divergence are placed in a Solver which are not divergence are placed in a Solver
Decision with no Divergence Tester specified. Decision with no Divergence Tester specified.
...@@ -117,4 +117,4 @@ class IDivergenceController(Interface): ...@@ -117,4 +117,4 @@ class IDivergenceController(Interface):
divergence_tester -- a divergence tester which creates a divergence divergence_tester -- a divergence tester which creates a divergence
on movement on movement
""" """
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment