コード例 #1
0
ファイル: BNetSearch.java プロジェクト: inim4/CaMML
 /**
  * Modify the current search temperature (defaults to 1.0). Higher temperatures increase the
  * likelihood of a bad (i.e. high MML cost) model being accepted.
  */
 public void setTemperature(double temperature) {
   if (fixedTemperature) {
     throw new RuntimeException("Temperature value unchangable");
   }
   this.temperature = temperature;
   caseInfo.temperature = temperature;
   updateMutationOperators(arcProb, temperature);
 }