Uses of Interface
repast.simphony.space.grid.GridPointTranslator
-
-
Uses of GridPointTranslator in repast.simphony.context.space.grid
Constructors in repast.simphony.context.space.grid with parameters of type GridPointTranslator Constructor Description ContextFastSingleGrid(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
Methods in repast.simphony.relogo.factories that return GridPointTranslator Modifier and Type Method Description GridPointTranslator
RLWorldDimensions. getPgt()
-
Uses of GridPointTranslator in repast.simphony.space.grid
Subinterfaces of GridPointTranslator in repast.simphony.space.grid Modifier and Type Interface Description interface
GridPointTranslatorDecorator
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
.Classes in repast.simphony.space.grid that implement GridPointTranslator Modifier and Type Class Description class
AbstractGridPointTranslator
Implements transform according to default grid moveTo semantics.class
BouncyBorders
Calculates a new location by translating a current one.class
InfiniteBorders<T>
This represents an infinite space.class
StickyBorders
Border implementation where translates across the border limits are clamped to the border coordinates.class
StrictBorders
Strict border implementation.class
WrapAroundBorders
Periodic type border implementation.Fields in repast.simphony.space.grid declared as GridPointTranslator Modifier and Type Field Description protected GridPointTranslator
GridBuilderParameters. trans
protected GridPointTranslator
AbstractGrid. translator
Methods in repast.simphony.space.grid that return GridPointTranslator Modifier and Type Method Description GridPointTranslator
GridPointTranslatorDecorator. getDecorated()
Retrieves the translator being decorated.GridPointTranslator
AbstractGrid. getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.GridPointTranslator
Grid. getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.GridPointTranslator
GridBuilderParameters. getGridPointTranslator()
Gets the grid point translator used to calculate points when moving by displacement.Methods in repast.simphony.space.grid with parameters of type GridPointTranslator Modifier and Type Method Description void
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.Constructors in repast.simphony.space.grid with parameters of type GridPointTranslator Constructor Description AbstractGrid(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
Fields in repast.simphony.valueLayer declared as GridPointTranslator Modifier and Type Field Description protected GridPointTranslator
GridValueLayer. translator
Methods in repast.simphony.valueLayer that return GridPointTranslator Modifier and Type Method Description GridPointTranslator
GridValueLayer. getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the value layer.Methods in repast.simphony.valueLayer with parameters of type GridPointTranslator Modifier and Type Method Description void
GridValueLayer. setGridPointTranslator(GridPointTranslator rule)
Sets the rule to use for controlling what happens at or beyond the borders of the value layer.Constructors in repast.simphony.valueLayer with parameters of type GridPointTranslator Constructor Description BufferedGridValueLayer(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
Methods in repast.simphony.visualization.editor.space that return GridPointTranslator Modifier and Type Method Description GridPointTranslator
Projected3DGrid. getGridPointTranslator()
Retrieves the rule being used for controlling what happens at or beyond the borders of the space.Methods in repast.simphony.visualization.editor.space with parameters of type GridPointTranslator Modifier and Type Method Description void
Projected3DGrid. setGridPointTranslator(GridPointTranslator rule)
Sets the rule to use for controlling what happens at or beyond the borders of the space.
-