Last change
on this file since 11194 was
6152,
checked in by bfarka, 14 years ago
|
added ecj and custom statistics to communicate with the okb services #1441
|
File size:
625 bytes
|
Line | |
---|
1 | /* |
---|
2 | Copyright 2006 by Sean Luke |
---|
3 | Licensed under the Academic Free License version 3.0 |
---|
4 | See the file "LICENSE" for more information |
---|
5 | */ |
---|
6 | |
---|
7 | |
---|
8 | package ec.util; |
---|
9 | |
---|
10 | /* |
---|
11 | * RandomChoiceChooserD.java |
---|
12 | * |
---|
13 | * Created: Sat Jan 13 22:40:09 EST 2001 |
---|
14 | * By: Sean Luke |
---|
15 | */ |
---|
16 | |
---|
17 | /** |
---|
18 | * Used by RandomChoice to pick objects by probability from a distribution. |
---|
19 | * |
---|
20 | * @author Sean Luke |
---|
21 | * @version 1.0 |
---|
22 | */ |
---|
23 | |
---|
24 | public interface RandomChoiceChooserD |
---|
25 | { |
---|
26 | /** Returns obj's probability */ |
---|
27 | public double getProbability(final Object obj); |
---|
28 | /** Sets obj's probability */ |
---|
29 | public void setProbability(final Object obj, final double prob); |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.