Skip to content
Snippets Groups Projects
Select Git revision
  • f2cf86b73466e284ba4f7f1165b8305b97de2e72
  • master default protected
  • julia protected
  • 6.x protected
  • python-codegen
  • llvm-15
  • 5.x protected
  • 4.6 protected
  • uop
  • rework_pac
  • aux_vars_fix
  • julia-7.0.0
  • julia-6.4.0
  • julia-6.3.0
  • julia-6.2.0
15 results

StaticModel.hh

Blame
    • Sébastien Villemot's avatar
      f2cf86b7
      Add copy constructors / assignment operators for the DataTree class hierarchy · f2cf86b7
      Sébastien Villemot authored
      In particular, it is necessary to turn back DataTree::AddVariable() into a
      non-virtual method, because it is called from DataTree's constructor. Enforcing
      the absence of leads/lags is now done using a new boolean DataTree::is_static.
      
      Take advantage of the new copy constructor for handling
      PlannerObjectiveStatement more elegantly.
      
      Unfortunately it is not possible to implement *move* constructor / assigment
      operators, because the reference ExprNode::datatree is not mutable.
      f2cf86b7
      History
      Add copy constructors / assignment operators for the DataTree class hierarchy
      Sébastien Villemot authored
      In particular, it is necessary to turn back DataTree::AddVariable() into a
      non-virtual method, because it is called from DataTree's constructor. Enforcing
      the absence of leads/lags is now done using a new boolean DataTree::is_static.
      
      Take advantage of the new copy constructor for handling
      PlannerObjectiveStatement more elegantly.
      
      Unfortunately it is not possible to implement *move* constructor / assigment
      operators, because the reference ExprNode::datatree is not mutable.
    StaticModel.cc NaN GiB