Class InternalCoupling<T extends Number & Comparable<T>,P>
java.lang.Object
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InternalCoupling<T,P>
- Type Parameters:
T
- the time typeP
- the type of message the IC can transfer.
IC class. IC stands for Internal Coupling, which is a coupling between two components within a coupled model. The definition
can be found in Zeigler et al. (2000), p. 86-87.
Copyright (c) 2009-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Mamadou Seck
, Alexander Verbraeck
-
Constructor Summary
ConstructorDescriptionInternalCoupling
(OutputPortInterface<T, P> fromPort, InputPortInterface<T, P> toPort) Make the wiring between output and input. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
InternalCoupling
public InternalCoupling(OutputPortInterface<T, P> fromPort, InputPortInterface<T, throws ExceptionP> toPort) Make the wiring between output and input.- Parameters:
fromPort
- OutputPortInterface<T,P>; the output port of the sending componenttoPort
- InputPortInterface<T,P>; input port of the receiving component- Throws:
Exception
- in case of wiring to self
-
-
Method Details
-
getFromPort
- Returns:
- the output port of the sending component.
-
getToPort
- Returns:
- the input port of the receiving component.
-