Uses of Interface
repast.simphony.space.grid.GridPointTranslator
Package
Description
-
Uses of GridPointTranslator in repast.simphony.context.space.grid
ModifierConstructorDescriptionContextFastSingleGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, int... size) Constructs this space with the specified name, adder, translator, accessor and size.ContextGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int... size) Constructs this space with the specified name, adder, translator, accessor and size.ContextGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int[] size, int[] origin) Constructs this space with the specified name, adder, translator, accessor, size, and origin. -
Uses of GridPointTranslator in repast.simphony.relogo.factories
-
Uses of GridPointTranslator in repast.simphony.space.grid
Modifier and TypeInterfaceDescriptioninterface
This represents aPointTranslator
that performs an operation using its methods, and then after it has finished doing its translations will pass its result to anotherPointTranslator
.Modifier and TypeClassDescriptionclass
Implements transform according to default grid moveTo semantics.class
Calculates a new location by translating a current one.class
This represents an infinite space.class
Border implementation where translates across the border limits are clamped to the border coordinates.class
Strict border implementation.class
Periodic type border implementation.Modifier and TypeFieldDescriptionprotected GridPointTranslator
GridBuilderParameters.trans
protected GridPointTranslator
AbstractGrid.translator
Modifier and TypeMethodDescriptionGridPointTranslatorDecorator.getDecorated()
Retrieves the translator being decorated.AbstractGrid.getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.Grid.getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.GridBuilderParameters.getGridPointTranslator()
Gets the grid point translator used to calculate points when moving by displacement.Modifier and TypeMethodDescriptionvoid
GridPointTranslatorDecorator.decorate
(GridPointTranslator decorated) Sets the translator to decorate.static <T> GridBuilderParameters<T>
GridBuilderParameters.multiOccupancy1D
(GridAdder<T> adder, GridPointTranslator borderRule, int size) Returns GridBuilderParameters suitable for creating a multi-occupancy 1 dimensional grid.static <T> GridBuilderParameters<T>
GridBuilderParameters.multiOccupancy2D
(GridAdder<T> adder, GridPointTranslator borderRule, int xSize, int ySize) Returns GridBuilderParameters suitable for creating a multi occupancy 2 dimensional grid.static <T> GridBuilderParameters<T>
GridBuilderParameters.multiOccupancyND
(GridAdder<T> adder, GridPointTranslator borderRule, int... dimensions) Returns GridBuilderParameters suitable for creating a multi occupancy n-dimensional grid.void
AbstractGrid.setGridPointTranslator
(GridPointTranslator rule) Sets the rule to use for controlling what happens at or beyond the borders of the space.void
Grid.setGridPointTranslator
(GridPointTranslator rule) Sets the rule to use for controlling what happens at or beyond the borders of the space.static <T> GridBuilderParameters<T>
GridBuilderParameters.singleOccupancy1D
(GridAdder<T> adder, GridPointTranslator borderRule, int size) Returns GridBuilderParameters suitable for creating a single occupancy 1 dimensional grid.static <T> GridBuilderParameters<T>
GridBuilderParameters.singleOccupancy2D
(GridAdder<T> adder, GridPointTranslator borderRule, int xSize, int ySize) Returns GridBuilderParameters suitable for creating a single occupancy 2 dimensional grid.static <T> GridBuilderParameters<T>
GridBuilderParameters.singleOccupancyND
(GridAdder<T> adder, GridPointTranslator borderRule, int... dimensions) Returns GridBuilderParameters suitable for creating a single occupancy n-dimensional grid.ModifierConstructorDescriptionAbstractGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, U> accessor, int... size) Constructs this space with the specified name, adder, translator, accessor and size.AbstractGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, U> accessor, int[] size, int[] origin) Constructs this space with the specified name, adder, translator, accessor and size.DefaultGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int... size) DefaultGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, CellAccessor<T, Map<GridPoint, Object>> accessor, int[] size, int[] origin) FastDenseSingleOccuGrid
(String name, GridAdder<T> adder, GridPointTranslator translator, int... size) Constructs this space with the specified name, adder, translator, accessor and size.GridBuilderParameters
(GridPointTranslator borderRule, GridAdder<T> adder, boolean multi, int... dims) Creates parameters with the specified border rule, adder, multi occupancy and dimensions.GridBuilderParameters
(GridPointTranslator borderRule, GridAdder<T> adder, boolean multi, int[] dims, int[] origin) Creates parameters with the specified border rule, adder, multi occupancy, dimensions and origin. -
Uses of GridPointTranslator in repast.simphony.valueLayer
Modifier and TypeMethodDescriptionGridValueLayer.getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the value layer.Modifier and TypeMethodDescriptionvoid
GridValueLayer.setGridPointTranslator
(GridPointTranslator rule) Sets the rule to use for controlling what happens at or beyond the borders of the value layer.ModifierConstructorDescriptionBufferedGridValueLayer
(String name, boolean dense, GridPointTranslator translator, int... dimensions) Creates a BufferedGridValueLayer with the specified name, density, translator, and dimensions.BufferedGridValueLayer
(String name, double defaultValue, boolean dense, GridPointTranslator translator, int... dimensions) Creates a BufferedGridValueLayer with the specified name, defaultValue, density, translator and dimensions.BufferedGridValueLayer
(String name, double defaultValue, boolean dense, GridPointTranslator translator, int[] dimensions, int[] origin) Creates a BufferedGridValueLayer with the specified name, defaultValue, density, translator and dimensions.GridValueLayer
(String name, boolean dense, GridPointTranslator translator, int... dimensions) Creates a GridValueLayer with the specified name, density, translator, and dimensions.GridValueLayer
(String name, double defaultValue, boolean dense, GridPointTranslator translator, int... dimensions) Creates a GridValueLayer with the specified name, defaultValue, density, translator and dimensions.GridValueLayer
(String name, double defaultValue, boolean dense, GridPointTranslator translator, int[] dimensions, int[] origin) Creates a GridValueLayer with the specified name, defaultValue, density, translator and dimensions. -
Uses of GridPointTranslator in repast.simphony.visualization.editor.space
Modifier and TypeMethodDescriptionProjected3DGrid.getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.Modifier and TypeMethodDescriptionvoid
Projected3DGrid.setGridPointTranslator
(GridPointTranslator rule) Sets the rule to use for controlling what happens at or beyond the borders of the space.