[Erp5-report] r31377 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverTypeInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 17 16:24:48 CET 2009


Author: kazuhiko
Date: Thu Dec 17 16:24:48 2009
New Revision: 31377

URL: http://svn.erp5.org?rev=31377&view=rev
Log:
add fake implementations for SolverTypeInformation.conflictsWithSolver() and SolverTypeInformation.reduceConfigurationList().

Modified:
    erp5/trunk/products/ERP5/Document/SolverTypeInformation.py

Modified: erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverTypeInformation.py?rev=31377&r1=31376&r2=31377&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] Thu Dec 17 16:24:48 2009
@@ -50,3 +50,20 @@
                     , PropertySheet.SolverType
                     , PropertySheet.Configurable
                     )
+
+  def conflictsWithSolver(self, other_solver):
+    """
+    Returns True if the solver conflicts with other_solver. False else.
+    """
+    # XXX real implementation is needed.
+    return False
+
+  def reduceConfigurationList(self, configuration_property_id_list):
+    """
+    Note: if one reduces production by 10% for one line and one reduces
+    production by 20% for another line or for the same line the total
+    reduction is 20% for both lines this is the goal of
+    reduceConfigurationList
+    """
+    # XXX real implementation is needed.
+    return configuration_property_id_list




More information about the Erp5-report mailing list