Last change
on this file since 127 was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
653 bytes
|
Line | |
---|
1 | package boa;
|
---|
2 |
|
---|
3 | import java.util.HashSet;
|
---|
4 | import java.util.Set;
|
---|
5 |
|
---|
6 | import genius.core.boaframework.AcceptanceStrategy;
|
---|
7 | import genius.core.boaframework.Actions;
|
---|
8 | import genius.core.boaframework.BOAparameter;
|
---|
9 |
|
---|
10 | public class Acceptance1 extends AcceptanceStrategy {
|
---|
11 |
|
---|
12 | @Override
|
---|
13 | public Actions determineAcceptability() {
|
---|
14 | return null;
|
---|
15 | }
|
---|
16 |
|
---|
17 | @Override
|
---|
18 | public String getName() {
|
---|
19 | return "Accept 1";
|
---|
20 | }
|
---|
21 |
|
---|
22 | public Set<BOAparameter> getParameterSpec() {
|
---|
23 | Set<BOAparameter> params = new HashSet<BOAparameter>();
|
---|
24 |
|
---|
25 | params.add(new BOAparameter("p", 0.6, "acceptance1 param 1"));
|
---|
26 | params.add(new BOAparameter("q", 0.3, "acceptance1 param 2"));
|
---|
27 | return params;
|
---|
28 | }
|
---|
29 |
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.