Package | Description |
---|---|
pacworld |
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Package> |
PackageState.packages |
Modifier and Type | Method and Description |
---|---|
Package |
PacAgentRep.getHeldPackage() |
Package |
PackageState.getPackageHeldByAgent(Agent a)
Return the package (if any) held by the specified agent.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Package> |
PackageState.getPackages() |
Modifier and Type | Method and Description |
---|---|
void |
PackageState.pickup(Agent a,
Package p)
Modify the state so that the agent is holding the selected package.
|
void |
PackageState.repositionPackage(Package p,
int newX,
int newY)
Change a package's position.
|
void |
PacAgentRep.setHeldPackage(Package p) |
Constructor and Description |
---|
VisiblePackage(Package pack)
Create a new percept of a package using the package itself.
|
VisiblePackage(Package pack,
int x,
int y)
Create a new percept of a package using a package, and injecting location noise.
|
VisiblePackage(Package pack,
Location noiseLoc)
Create a new percept of a package using a package, and injecting destination noise.
|