source: geniuswebcore/geniusweb/bidspace/pareto/ParetoFrontier.py@ 88

Last change on this file since 88 was 88, checked in by Bart Vastenhouw, 2 years ago

Added python SimpleRunner GUI

File size: 602 bytes
Line 
1from typing import List, Set
2from geniusweb.profile.Profile import Profile
3from abc import ABC, abstractmethod
4from geniusweb.issuevalue.Bid import Bid
5
6class ParetoFrontier (ABC):
7 '''
8 The pareto frontier is the set of {@link Bid}s for which there is no other
9 bid that is similar or better for the involved profiles.
10 '''
11
12 @abstractmethod
13 def getProfiles(self) -> List[Profile] :
14 '''
15 @return the profiles that form the basis of this pareto frontier.
16 '''
17
18 @abstractmethod
19 def getPoints(self) -> Set[Bid] :
20 '''
21 @return the set of all {@link Bid}s that are on the pareto frontier.
22 '''
23
Note: See TracBrowser for help on using the repository browser.