Last change
on this file was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
687 bytes
|
Line | |
---|
1 | package genius.core.parties;
|
---|
2 |
|
---|
3 | import genius.core.AgentID;
|
---|
4 | import genius.core.Bid;
|
---|
5 | import genius.core.utility.UtilitySpace;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * Lightweight interface for some party that gives {@link Bid}s a utility.
|
---|
9 | *
|
---|
10 | */
|
---|
11 | public interface PartyWithUtility {
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * @return the unique ID of this agent.
|
---|
15 | */
|
---|
16 | public AgentID getID();
|
---|
17 |
|
---|
18 | /**
|
---|
19 | * @return the utility space for this agent.
|
---|
20 | */
|
---|
21 | public UtilitySpace getUtilitySpace();
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * Note, this does not enforce proper implementation as equals already
|
---|
25 | * exists in Object. This is just to remind implementors.
|
---|
26 | *
|
---|
27 | * @param obj
|
---|
28 | * @return can depend only on AgentID as these should be unique.
|
---|
29 | */
|
---|
30 | public boolean equals(Object obj);
|
---|
31 |
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.