Class RadiiProposer
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,MarksInitialization>
org.anchoranalysis.mpp.bean.MarksBean<RadiiProposer>
org.anchoranalysis.mpp.bean.proposer.RadiiProposer
- All Implemented Interfaces:
CompatibleWithMark
public abstract class RadiiProposer extends MarksBean<RadiiProposer> implements CompatibleWithMark
An abstract base class for proposing radii in a 3D space.
This class extends MarksBean and implements CompatibleWithMark, providing a foundation for creating radii proposers in the MPP (Marked Point Process) framework.
-
Constructor Summary
Constructors Constructor Description RadiiProposer() -
Method Summary
Modifier and Type Method Description abstract Optional<org.anchoranalysis.spatial.point.Point3d>propose(org.anchoranalysis.spatial.point.Point3d position, RandomNumberGenerator randomNumberGenerator, Dimensions dimensions, org.anchoranalysis.spatial.orientation.Orientation orientation)Proposes a new point representing radii based on the given parameters.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
RadiiProposer
public RadiiProposer()
-
-
Method Details
-
propose
public abstract Optional<org.anchoranalysis.spatial.point.Point3d> propose(org.anchoranalysis.spatial.point.Point3d position, RandomNumberGenerator randomNumberGenerator, Dimensions dimensions, org.anchoranalysis.spatial.orientation.Orientation orientation) throws ProposalAbnormalFailureExceptionProposes a new point representing radii based on the given parameters.When no bounds are provided, bounds should be created from a bound calculator.
- Parameters:
position- the position for which to propose radiirandomNumberGenerator- a random number generator for any stochastic processesdimensions- the dimensions of the space in which the radii are proposedorientation- the orientation to consider when proposing radii- Returns:
- an Optional containing the proposed Point3d representing radii, or empty if no proposal is made
- Throws:
ProposalAbnormalFailureException- if the proposal fails abnormally
-