mwalk Platform 0.3.0

mwalk.eval
Class PrimaryPathEvaluator

java.lang.Object
  |
  +--mwalk.eval.ActivityEvaluator
        |
        +--mwalk.eval.PrimaryPathEvaluator

public class PrimaryPathEvaluator
extends ActivityEvaluator

A class used to evaluate active paths as those set by the PrimaryPathVisitor.

Version:
1.0
Author:
Robert Chalmers

Constructor Summary
PrimaryPathEvaluator()
          Default constructor.
 
Method Summary
 boolean isActive(Link link)
          Determine whether the given link is currently active.
 boolean isActive(Link link, long time)
          Determine whether the given link is currently active.
 
Methods inherited from class mwalk.eval.ActivityEvaluator
isActive, isActive
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PrimaryPathEvaluator

public PrimaryPathEvaluator()
Default constructor.
Method Detail

isActive

public boolean isActive(Link link)
Determine whether the given link is currently active. Assumes decision is time-independent.
Overrides:
isActive in class ActivityEvaluator
Parameters:
Link - reference to link to check for activity
long - the current time
Returns:
boolean whether link is active

isActive

public boolean isActive(Link link,
                        long time)
Determine whether the given link is currently active.
Overrides:
isActive in class ActivityEvaluator
Parameters:
Link - reference to link to check for activity
long - the current time
Returns:
boolean whether link is active

mwalk Platform 0.3.0

Submit a bug or feature mwalk Platform API Specification 0.3.0
Sensitivity: {Public:Research}
Copyright(c) 2000, Robert Chalmers