Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Alain Takoudjou
  • erp5erp5
  • Repository

Switch branch/tag
  • erp5
  • product
  • ERP5
  • Document
  • SimulationMovement.py
Find file BlameHistoryPermalink
  • Nicolas Dumazet's avatar
    use closure to simplify calculation of isBuildable: · 2acbb2c1
    Nicolas Dumazet authored Jun 25, 2010
    since the closure will stay the same among all business paths,
    transform
     for path in previous_path_list:
       for movement in path.getRelatedMovementValueList():
    into:
     closure = current_path.getBusinessPathClosure()
     for movement in closure:
    
    This means that number of simulation tree walks is reduced by a factor of
     len(previous_path_list)
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36585 20353a03-c40f-0410-a6d1-a30d3c3de9de
    2acbb2c1

Replace SimulationMovement.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7