|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.ray2.metropolis.strategy.MutationStrategy de.grogra.ray2.metropolis.strategy.LensPerturbationStrat
public class LensPerturbationStrat
Field Summary | |
---|---|
float |
acceptance
|
int |
ka
|
int |
kd
|
int |
l
|
int |
l_
|
int |
m
|
int |
m_
|
int |
real_l_
|
int |
real_m_
|
Fields inherited from class de.grogra.ray2.metropolis.strategy.MutationStrategy |
---|
abbortCode, antialiser, BSDF_WAS_ZERO, CALCULATION_ERROR, CANVAS_WASNT_HIT, complTracer, condition, eyePath, EYEPATH_DEPTH, eyePathDepth, ilist, lightPath, LIGHTPATH_DEPTH, lightPathDepth, MAXVAL, MIN_WEIGHT, mutatedPath, NO_CHANGES_HAPPENED, NO_VALID_COMBINEDPATH, NOT_IMPLEMENTED_YET, NOT_VISIBLE, PATH_SPECTRA_WERE_TOO_WEAK, rnd, sig, srcPath, SUCCESSFUL_MUTATIONRUN, tmpEnv, tmpLine, tmpPoint1, tmpPoint2, tmpRayList, tmpSpec1, tmpSpec2, tmpSpec3, tmpVec1, tmpVec2, tracer, TRACINGGOAL_WASNT_REACHED, tracingMediator |
Constructor Summary | |
---|---|
LensPerturbationStrat(MetropolisProcessor metroProc)
|
Method Summary | |
---|---|
Line |
generateNewStartLine(boolean isLightRay)
|
java.util.ArrayList<java.lang.String> |
getStatistics()
|
void |
initialize(double[] values)
|
float |
mutatePath(CombinedPathValues actualPath,
CombinedPathValues mutatedPath)
|
int |
registerError(int error)
|
void |
resetAll()
|
Methods inherited from class de.grogra.ray2.metropolis.strategy.MutationStrategy |
---|
calculateAcceptanceProbality, calculateQ, getAcceptanceAbbortDescription, getAddiationPathLength, getAddProbability, getAddVertice, getCombinedBSDF, getDeleteProbability, getDeleteVertice, getDeletionPathLength, getDescription, getI_0, hitsCanvas, isVisble, luminance, pathChanged, traceEyeSubPath, traceLightSubPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float acceptance
public int ka
public int kd
public int l
public int l_
public int m
public int m_
public int real_l_
public int real_m_
Constructor Detail |
---|
public LensPerturbationStrat(MetropolisProcessor metroProc)
Method Detail |
---|
public Line generateNewStartLine(boolean isLightRay)
generateNewStartLine
in class MutationStrategy
public java.util.ArrayList<java.lang.String> getStatistics()
getStatistics
in interface MetropolisStrategy
getStatistics
in class MutationStrategy
public void initialize(double[] values)
initialize
in class MutationStrategy
public float mutatePath(CombinedPathValues actualPath, CombinedPathValues mutatedPath)
mutatePath
in interface MetropolisStrategy
mutatePath
in class MutationStrategy
public int registerError(int error)
registerError
in class MutationStrategy
public void resetAll()
resetAll
in interface MetropolisStrategy
resetAll
in class MutationStrategy
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |