-
Notifications
You must be signed in to change notification settings - Fork 2
Useful VacuumWorld Imports
Emanuele Uliana edited this page Nov 8, 2023
·
5 revisions
In order to use the types defined in VacuumWorld, they need to be imported from their modules. Below is a list of the import statements for the most useful types.
from pyoptional.pyoptional import PyOptional
from pystarworldsturbo.common.action_result import ActionResult
from pystarworldsturbo.common.action_outcome import ActionOutcome
from pystarworldsturbo.common.message import BccMessage
from vacuumworld import run
from vacuumworld.common.vwcolour import VWColour
from vacuumworld.common.vwcoordinates import VWCoord
from vacuumworld.common.vwdirection import VWDirection
from vacuumworld.common.vworientation import VWOrientation
from vacuumworld.common.vwobservation import VWObservation
from vacuumworld.model.actions.vwbroadcast_action import VWBroadcastAction
from vacuumworld.model.actions.vwclean_action import VWCleanAction
from vacuumworld.model.actions.vwidle_action import VWIdleAction
from vacuumworld.model.actions.vwmove_action import VWMoveAction
from vacuumworld.model.actions.vwspeak_action import VWSpeakAction
from vacuumworld.model.actions.vwturn_action import VWTurnAction
from vacuumworld.model.actor.mind.surrogate.vwactor_mind_surrogate import VWActorMindSurrogate
from vacuumworld.model.environment.vwlocation import VWLocation
- Home
- The VacuumWorld Abstraction
- Real World vs. Simulated Actors
- Installing and Running
- User Interface
- Cycle
- Useful VacuumWorld Imports
- Perceptions
- Wall
- Actions
- Teleoreactive Programming
- General Tips
- Python Tips
- Optimal Setup
- PyDoc
- Troubleshooting
- Reporting Issues
- Side Projects and Additional Resources
- Other Examples
- Changelog