|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.SocialGolfer
public class SocialGolfer
It is a Social Golfer example based on set variables.
| Field Summary |
|---|
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
SocialGolfer()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It runs a number of social golfer problems. |
void |
model()
It specifies a standard way of modeling the problem. |
boolean |
search()
It specifies simple search method based on input order and lexigraphical ordering of values. |
void |
setup(int weeks,
int groups,
int players)
It sets the parameters for the model creation function. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocialGolfer()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args -
public void setup(int weeks,
int groups,
int players)
weeks - groups - players - public void model()
Example
model in class Examplepublic boolean search()
Example
search in class Example
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||