edu.cmu.emulator.signal
Class PathBasedChannelModel
java.lang.Object
edu.cmu.emulator.signal.ChannelModel
edu.cmu.emulator.signal.PathBasedChannelModel
public class PathBasedChannelModel
- extends ChannelModel
Parent of all Path based channel models. This class extends the
basic ChannelModel class. This model consists of 'Paths' between
the antennas within a channel. It stores information about the number
of paths and the characteristics of each path - such as the path delay, etc.
Method Summary |
int |
getNumPaths()
Returns the number of paths between the source and destination antenna
pair inside the channelmodel. |
Path |
getPath(int index)
Returns the Path object at a particular index in the Path array maintained
by the channel model. |
void |
init()
|
void |
parseSubClass(Channel channel,
Element channelModelDef)
params: <> <> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paths
protected Path[] paths
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
PathBasedChannelModel
protected PathBasedChannelModel()
PathBasedChannelModel
public PathBasedChannelModel(Path[] paths)
init
public void init()
- Specified by:
init
in class ChannelModel
parseSubClass
public void parseSubClass(Channel channel,
Element channelModelDef)
- params: <> <>
- Specified by:
parseSubClass
in class ChannelModel
getNumPaths
public int getNumPaths()
- Returns the number of paths between the source and destination antenna
pair inside the channelmodel.
- Returns:
- Number of paths between antenna pair.
getPath
public Path getPath(int index)
- Returns the Path object at a particular index in the Path array maintained
by the channel model.
- Returns:
- An instance of the Path object at the index specified.
Copyright © 2013. All Rights Reserved.