TorcsAgent.emadl 308 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* (c) https://github.com/MontiCore/monticore */
package torcs.agent;

import torcs.agent.network.TorcsActor;

component TorcsAgent {
    ports
        in Q^{29} state,
        out Q(-1:1)^{3} action;

    instance TorcsActor actor;

    connect state -> actor.state;
    connect actor.commands -> action;
}