neosim.implementation
Class GeneralProjectionImpl
java.lang.Object
|
+--neosim.implementation.ProjectionImpl
|
+--neosim.implementation.GeneralProjectionImpl
- public class GeneralProjectionImpl
- extends ProjectionImpl
- implements GeneralProjection
A general projection defines a set of connections between
two populations. The projection is specified with a
SourceMethod, which runs on each member of the source
population and issues connection requests to the
destination population. The destination method decides
to fulfill/deny these requests.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GeneralProjectionImpl
public GeneralProjectionImpl(Population srcPop,
Population destPop,
SourceMethod sm,
DestMethod dm)
getSrcPop
public Population getSrcPop()
- Specified by:
- getSrcPop in interface GeneralProjection
getDestPop
public Population getDestPop()
- Specified by:
- getDestPop in interface GeneralProjection
getSrcMethod
public SourceMethod getSrcMethod()
- Specified by:
- getSrcMethod in interface GeneralProjection
getDestMethod
public DestMethod getDestMethod()
- Specified by:
- getDestMethod in interface GeneralProjection
isGeneralProjection
public boolean isGeneralProjection()
- Overrides:
- isGeneralProjection in class ProjectionImpl
- Tags copied from interface: Projection
- Returns:
- whether this projection is specificed as
a list of connections, or as src/dst methods