Package it.unibo.alchemist.model.implementations.environments

Types

Link copied to clipboard
abstract class Abstract2DEnvironment<T, P : Position2D<P>?> : AbstractEnvironment<T, P>
Models a bidimensional environment.
Link copied to clipboard
abstract class AbstractEnvironment<T, P : Position<P>?> : Environment<T, P>
Very generic and basic implementation for an environment.
Link copied to clipboard
open class BioRect2DEnvironment : LimitedContinuos2D<Double>
Link copied to clipboard
Implements a limited environment supporting cells with a defined shape, avoiding any overlapping among them.
Link copied to clipboard
Link copied to clipboard
open class ImageEnvironment<T> : Continuous2DObstacles<T>
This environment loads an image from the file system, and marks as obstacles all the pixels of a given color.
Link copied to clipboard
class ImageEnvironmentWithGraph<T> @JvmOverloads constructor(incarnation: Incarnation<T, Euclidean2DPosition>, path: String, zoom: Double, dx: Double, dy: Double, obstaclesColor: Int, roomsColor: Int) : ImageEnvironment<T> , EuclideanPhysics2DEnvironmentWithGraph<RectObstacle2D<Euclidean2DPosition>, T, ConvexPolygon, Euclidean2DPassage>

An ImageEnvironment providing an Euclidean2DNavigationGraph. The NaviGator algorithm is used to produce such graph (see generateNavigationGraph). The positions where to plant initial seeds should be specified directly in the image, marking each area of the environment with one or more pixels of a given color (defaults to blue).

Link copied to clipboard
class InfiniteHalls<T> : LimitedContinuos2D<T>
Link copied to clipboard
abstract class LimitedContinuos2D<T> : Continuous2DEnvironment<T>
This class represents a 2D continuous environment with spatial limitations.
Link copied to clipboard
class MuseumHall<T> : Continuous2DEnvironment<T>
Link copied to clipboard
This class serves as template for more specific implementations of environments using a map.