public class RandomOrientation extends OrientationProposer
Constructor and Description |
---|
RandomOrientation() |
RandomOrientation(BoundRotation bounds) |
Modifier and Type | Method and Description |
---|---|
BoundRotation |
getBounds() |
boolean |
isCompatibleWith(Mark testMark) |
Optional<Orientation> |
propose(Mark mark,
Dimensions dimensions,
RandomNumberGenerator randomNumberGenerator) |
void |
setBounds(BoundRotation bounds) |
initializerForMarksBeans
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public RandomOrientation()
public RandomOrientation(BoundRotation bounds)
public Optional<Orientation> propose(Mark mark, Dimensions dimensions, RandomNumberGenerator randomNumberGenerator) throws ProposalAbnormalFailureException
propose
in class OrientationProposer
ProposalAbnormalFailureException
public boolean isCompatibleWith(Mark testMark)
public BoundRotation getBounds()
public void setBounds(BoundRotation bounds)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.