neosim.implementation
Class ProjectionImpl

java.lang.Object
  |
  +--neosim.implementation.ProjectionImpl
Direct Known Subclasses:
GeneralProjectionImpl

public class ProjectionImpl
extends java.lang.Object
implements Projection

A projection stores a specification of a set of connections from one population onto another, and can be specified as an array of connections to make from output ports of source entities to input ports of destination entities. If the connections to make depend on the state of the source and/or destination entities, a GeneralProjection should be used instead.

See Also:
Serialized Form

Constructor Summary
ProjectionImpl()
           
ProjectionImpl(Connection c)
           
ProjectionImpl(java.util.Vector connections)
           
 
Method Summary
 java.util.Vector getConnections()
           
 boolean isGeneralProjection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionImpl

public ProjectionImpl()

ProjectionImpl

public ProjectionImpl(Connection c)

ProjectionImpl

public ProjectionImpl(java.util.Vector connections)
Method Detail

getConnections

public java.util.Vector getConnections()
Specified by:
getConnections in interface Projection

isGeneralProjection

public boolean isGeneralProjection()
Specified by:
isGeneralProjection in interface Projection
Tags copied from interface: Projection
Returns:
whether this projection is specificed as a list of connections, or as src/dst methods