fr.jussieu.gla.wasa.samples.party
Class ProgressivePartySample

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.samples.AbstractSample
        |
        +--fr.jussieu.gla.wasa.samples.party.ProgressivePartySample

public class ProgressivePartySample
extends AbstractSample

The Progressive Party sample.

Version:
1.0
Author:
Florent Selva, Laurent Caillette

Fields inherited from class fr.jussieu.gla.wasa.samples.AbstractSample
inputPanel
 
Constructor Summary
ProgressivePartySample()
           
 
Method Summary
 InputPanel createInputPanel()
          Creates and returns an DefaultFleetHostChoiceInputPanel specialized for the PPP.
 Problem createProblem()
          Creates and returns the problem corresponding to the PPP.
static void main(java.lang.String[] args)
          Launches a pre-configured PPP without the Monitor.
 void printResult()
          Displays informations about schedule and boats.
 void textMode()
          Launches a pre-configured PPP without the Monitor.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgressivePartySample

public ProgressivePartySample()
Method Detail

createInputPanel

public InputPanel createInputPanel()
Creates and returns an DefaultFleetHostChoiceInputPanel specialized for the PPP.
Overrides:
createInputPanel in class AbstractSample
Returns:
an DefaultFleetHostChoiceInputPanel specialized for the PPP.

createProblem

public Problem createProblem()
Creates and returns the problem corresponding to the PPP.
Overrides:
createProblem in class AbstractSample
Returns:
the problem corresponding to the PPP.

printResult

public void printResult()
Displays informations about schedule and boats.
Overrides:
printResult in class AbstractSample

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

textMode

public void textMode()
Launches a pre-configured PPP without the Monitor.
Overrides:
textMode in class AbstractSample

main

public static void main(java.lang.String[] args)
Launches a pre-configured PPP without the Monitor.