Last change
on this file since 127 was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
487 bytes
|
Line | |
---|
1 | package parties.simplemediator;
|
---|
2 |
|
---|
3 | import java.util.Random;
|
---|
4 |
|
---|
5 | import genius.core.parties.NegotiationInfo;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * This mediator behaves exactly like {@link FixedOrderFlippingMediator} except
|
---|
9 | * that it uses for its random seed Random(0), so its "random" moves will always
|
---|
10 | * be the same..
|
---|
11 | */
|
---|
12 | public class FixedOrderFlippingMediator extends RandomFlippingMediator {
|
---|
13 |
|
---|
14 | @Override
|
---|
15 | public void init(NegotiationInfo info) {
|
---|
16 | super.init(info);
|
---|
17 | rand = new Random(0);
|
---|
18 | }
|
---|
19 |
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.