Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ant 361 new link var reduced cost #227

Open
wants to merge 3 commits into
base: New-Antares-Emulator-4
Choose a base branch
from

Conversation

meslubi2021
Copy link
Collaborator

No description provided.

As the new link cost variable (say "reduced cost") to add is very similar to marginal cost class, we want to make marginal cost a child
of a base class that is intended to be a parent of both marginal cost and reduced cost.
Reduced cost is not implemented here, but the inheritance is in place.
As marginal cost class does not own its data any more, but rely on its parent class for this, its destructor should be moved where the data can be found.
So class LinkBaseCost gets the destructor.
This output variable (reduced cost) is built in very much same way than marginal cost.
@meslubi2021 meslubi2021 self-assigned this Jul 17, 2024
Copy link

Stale pull request message

Copy link

mergify bot commented Sep 19, 2024

⚠️ The sha of the head commit of this PR conflicts with #198. Mergify cannot evaluate rules on this PR. ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants