public class KernelReplacePartition extends KernelReplace<MarksFromPartition>
Constructor and Description |
---|
KernelReplacePartition() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(Mark testMark) |
Optional<MarksFromPartition> |
makeProposal(Optional<MarksFromPartition> existing,
KernelCalculationContext context)
Calculates the Energy for a proposal
|
calculateAcceptanceProbability, changedMarkIDArray, describeLast, getBirthRepeats, hasBeenInit, initialize, setBirthRepeats, updateAfterAcceptance
assignTo, getProbNeg, getProbPos, setProbNeg, setProbPos
informLatestState, initBeforeCalc
initializerForMarksBeans
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public boolean isCompatibleWith(Mark testMark)
public Optional<MarksFromPartition> makeProposal(Optional<MarksFromPartition> existing, KernelCalculationContext context) throws KernelCalculateEnergyException
Kernel
makeProposal
in class KernelReplace<MarksFromPartition>
existing
- the existing EnergyKernelCalculateEnergyException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.