Class PlanRecord
- java.lang.Object
-
- org.matsim.contrib.socnetsim.framework.replanning.selectors.coalitionselector.PlanRecord
-
- All Implemented Interfaces:
org.matsim.core.router.priorityqueue.HasIndex
public final class PlanRecord extends Object implements org.matsim.core.router.priorityqueue.HasIndex
-
-
Constructor Summary
Constructors Constructor Description PlanRecord(PointingAgent agent, org.matsim.api.core.v01.population.Plan plan, double weight, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointingAgent
getAgent()
int
getArrayIndex()
org.matsim.api.core.v01.population.Plan
getPlan()
double
getWeight()
boolean
isFeasible()
boolean
isPointed()
void
setInfeasible()
String
toString()
-
-
-
Constructor Detail
-
PlanRecord
public PlanRecord(PointingAgent agent, org.matsim.api.core.v01.population.Plan plan, double weight, int index)
-
-
Method Detail
-
getAgent
public PointingAgent getAgent()
-
getPlan
public org.matsim.api.core.v01.population.Plan getPlan()
-
isPointed
public boolean isPointed()
-
getWeight
public double getWeight()
-
isFeasible
public boolean isFeasible()
-
setInfeasible
public void setInfeasible()
-
getArrayIndex
public int getArrayIndex()
- Specified by:
getArrayIndex
in interfaceorg.matsim.core.router.priorityqueue.HasIndex
-
-