|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.lift.ca.TrivialCA
public class TrivialCA
This file is licensed under the GNU Public Licens (GPL).
This is trivial CA that uses a SimpleALLCA for a Car. It is simplex and can not even control multi-car systems.
| Constructor Summary | |
|---|---|
TrivialCA()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
goes(int From,
int To,
int CarIndex)
CA |
void |
issueCommand(Car CC,
int AbsFloor)
Forwards the request to the corresponding SimpleALLCA |
void |
tick()
Tickable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrivialCA()
| Method Detail |
|---|
public boolean goes(int From,
int To,
int CarIndex)
CA
goes in interface CAFrom - DOCUMENT ME!To - DOCUMENT ME!CarIndex - DOCUMENT ME!
public void issueCommand(Car CC,
int AbsFloor)
SimpleALLCA
issueCommand in interface CACC - DOCUMENT ME!AbsFloor - DOCUMENT ME!CA,
SimpleALLCApublic void tick()
Tickable
tick in interface CA
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||