File tree Expand file tree Collapse file tree
climada/engine/option_appraisal/MCDM Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """
2+ This file is part of CLIMADA.
3+
4+ Copyright (C) 2017 ETH Zurich, CLIMADA contributors listed in AUTHORS.
5+
6+ CLIMADA is free software: you can redistribute it and/or modify it under the
7+ terms of the GNU General Public License as published by the Free
8+ Software Foundation, version 3.
9+
10+ CLIMADA is distributed in the hope that it will be useful, but WITHOUT ANY
11+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
13+
14+ You should have received a copy of the GNU General Public License along
15+ with CLIMADA. If not, see <https://www.gnu.org/licenses/>.
16+
17+ ---
18+
19+ """
20+
21+ from dataclasses import dataclass
22+
23+
24+ @dataclass
25+ class Criterion :
26+ name : str
27+ column_name : str
28+ obj_maximise : bool
29+ group : None | str = None
You can’t perform that action at this time.
0 commit comments