Class SelectiveAdaptiveRange
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.LinkingRule
,java.io.Serializable
public class SelectiveAdaptiveRange<T, P extends Position<P>> extends AdaptiveRange<T, P>
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
DEFAULT_MOLECULETYPE
public final static double
DEFAULT_ADJUSTMENT
public final static double
DEFAULT_MAXRANGE
public final static double
DEFAULT_MINRANGE
-
Constructor Summary
Constructors Constructor Description SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance)
SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance, double adjustment)
SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance, double adjustment, String molType)
SelectiveAdaptiveRange(double radius, double minrange, int desiredNeighborsCount, int tolerance)
SelectiveAdaptiveRange(double radius, double minrange, int desiredNeighborsCount, int tolerance, double adjustment)
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance)
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance, double adjustment)
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance, String molType)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.linkingrules.AdaptiveRange
computeNeighborhood
-
Methods inherited from class it.unibo.alchemist.model.linkingrules.AbstractLocallyConsistentLinkingRule
isLocallyConsistent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance)
- Parameters:
radius
- default radius in metresminrange
- minimum radius in metresmaxrange
- maximum radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than num-tolerance, the radius is increased; if the number of neighbors is higher than num+tolerance, the radius is decreased
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance, double adjustment)
- Parameters:
radius
- default radius in metresminrange
- minimum radius in metresmaxrange
- maximum radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreasedadjustment
- the amount of metres the range will be changed if out of the bounds
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, double minrange, double maxrange, int desiredNeighborsCount, int tolerance, double adjustment, String molType)
- Parameters:
radius
- default radius in metresminrange
- minimum radius in metresmaxrange
- maximum radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreasedadjustment
- the amount of metres the range will be changed if out of the boundsmolType
- the molecule whose presence will allow links to be created
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, double minrange, int desiredNeighborsCount, int tolerance)
- Parameters:
radius
- default radius in metresminrange
- minimum radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreased
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, double minrange, int desiredNeighborsCount, int tolerance, double adjustment)
- Parameters:
radius
- default radius in metresminrange
- minimum radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreasedadjustment
- the amount of metres the range will be changed if out of the bounds
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance)
- Parameters:
radius
- default radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreased
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance, double adjustment)
- Parameters:
radius
- default radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreasedadjustment
- the amount of metres the range will be changed if out of the bounds
-
SelectiveAdaptiveRange
SelectiveAdaptiveRange(double radius, int desiredNeighborsCount, int tolerance, String molType)
- Parameters:
radius
- default radius in metresdesiredNeighborsCount
- preferred number of neighborstolerance
- if the number of neighbors is smaller than desiredNeighborsCount-tolerance, the radius is increased; if the number of neighbors is higher than desiredNeighborsCount+tolerance, the radius is decreasedmolType
- the molecule whose presence will allow links to be created
-
-
-
-