1. 10 Oct, 2018 3 commits
    • Sébastien Villemot's avatar
      Make all DataTree::*_map private · 24f1276b
      Sébastien Villemot authored
      Introducing a new DataTree::getVariable() const method was necessary in the process.
      24f1276b
    • Sébastien Villemot's avatar
      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
    • Sébastien Villemot's avatar
      No longer store symbol type in VariableNode · 21528300
      Sébastien Villemot authored
      This facilitates switching variable types on the fly. In particular, this
      allows removing the hack in DynamicModel::updateAfterVariableChange() that way
      basically recreating all the nodes after the type change.
      21528300
  2. 05 Oct, 2018 1 commit
  3. 04 Oct, 2018 5 commits
  4. 02 Oct, 2018 4 commits
  5. 01 Oct, 2018 2 commits
  6. 28 Sep, 2018 3 commits
  7. 27 Sep, 2018 2 commits
  8. 25 Sep, 2018 4 commits
  9. 24 Sep, 2018 2 commits
  10. 18 Sep, 2018 4 commits
  11. 14 Sep, 2018 1 commit
  12. 13 Sep, 2018 1 commit
  13. 12 Sep, 2018 4 commits
  14. 11 Sep, 2018 4 commits