@syntest/search
Advanced tools
Comparing version 0.4.0-beta.22 to 0.4.0-beta.23
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../Encoding"; | ||
@@ -3,0 +3,0 @@ import { Budget } from "./Budget"; |
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../Encoding"; | ||
@@ -3,0 +3,0 @@ import { Budget } from "./Budget"; |
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../Encoding"; | ||
@@ -3,0 +3,0 @@ import { Budget } from "./Budget"; |
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../Encoding"; | ||
@@ -3,0 +3,0 @@ import { SearchAlgorithm } from "../metaheuristics/SearchAlgorithm"; |
@@ -0,1 +1,2 @@ | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../Encoding"; | ||
@@ -10,3 +11,4 @@ import { Budget } from "./Budget"; | ||
export declare class TotalTimeBudget<T extends Encoding> extends SearchTimeBudget<T> implements Budget<T> { | ||
static LOGGER: import("winston").Logger; | ||
protected static LOGGER: Logger; | ||
constructor(maxTotalTime?: number); | ||
/** | ||
@@ -13,0 +15,0 @@ * @inheritDoc |
@@ -29,2 +29,6 @@ "use strict"; | ||
class TotalTimeBudget extends SearchTimeBudget_1.SearchTimeBudget { | ||
constructor(maxTotalTime = Number.MAX_SAFE_INTEGER) { | ||
super(maxTotalTime); | ||
TotalTimeBudget.LOGGER = (0, logging_1.getLogger)("TotalTimeBudget"); | ||
} | ||
/** | ||
@@ -46,3 +50,2 @@ * @inheritDoc | ||
exports.TotalTimeBudget = TotalTimeBudget; | ||
TotalTimeBudget.LOGGER = (0, logging_1.getLogger)("TotalTimeBudget"); | ||
//# sourceMappingURL=TotalTimeBudget.js.map |
@@ -0,3 +1,7 @@ | ||
import { Logger } from "@syntest/logging"; | ||
import { Encoding } from "../../Encoding"; | ||
import { EncodingSampler } from "../../EncodingSampler"; | ||
import { ObjectiveManager } from "../../objective/managers/ObjectiveManager"; | ||
import { ObjectiveFunction } from "../../objective/ObjectiveFunction"; | ||
import { Procreation } from "../../operators/procreation/Procreation"; | ||
import { EvolutionaryAlgorithm } from "./EvolutionaryAlgorithm"; | ||
@@ -17,3 +21,4 @@ /** | ||
export declare class MOSAFamily<T extends Encoding> extends EvolutionaryAlgorithm<T> { | ||
static LOGGER: import("winston").Logger; | ||
protected static LOGGER: Logger; | ||
constructor(objectiveManager: ObjectiveManager<T>, encodingSampler: EncodingSampler<T>, procreation: Procreation<T>, populationSize: number); | ||
protected _environmentalSelection(size: number): void; | ||
@@ -20,0 +25,0 @@ /** |
@@ -39,2 +39,6 @@ "use strict"; | ||
class MOSAFamily extends EvolutionaryAlgorithm_1.EvolutionaryAlgorithm { | ||
constructor(objectiveManager, encodingSampler, procreation, populationSize) { | ||
super(objectiveManager, encodingSampler, procreation, populationSize); | ||
MOSAFamily.LOGGER = (0, logging_1.getLogger)("MOSAFamily"); | ||
} | ||
_environmentalSelection(size) { | ||
@@ -199,3 +203,2 @@ if (this._objectiveManager.getCurrentObjectives().size === 0 && | ||
exports.MOSAFamily = MOSAFamily; | ||
MOSAFamily.LOGGER = (0, logging_1.getLogger)("MOSAFamily"); | ||
//# sourceMappingURL=MOSAFamily.js.map |
@@ -0,1 +1,2 @@ | ||
import { Logger } from "@syntest/logging"; | ||
import { BudgetManager } from "../budget/BudgetManager"; | ||
@@ -13,3 +14,3 @@ import { Encoding } from "../Encoding"; | ||
export declare class RandomSearch<T extends Encoding> extends SearchAlgorithm<T> { | ||
static LOGGER: import("winston").Logger; | ||
protected static LOGGER: Logger; | ||
protected _encodingSampler: EncodingSampler<T>; | ||
@@ -16,0 +17,0 @@ /** |
@@ -36,2 +36,3 @@ "use strict"; | ||
super(objectiveManager); | ||
RandomSearch.LOGGER = (0, logging_1.getLogger)("RandomSearch"); | ||
this._encodingSampler = encodingSampler; | ||
@@ -58,3 +59,2 @@ } | ||
exports.RandomSearch = RandomSearch; | ||
RandomSearch.LOGGER = (0, logging_1.getLogger)("RandomSearch"); | ||
//# sourceMappingURL=RandomSearch.js.map |
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Archive } from "../Archive"; | ||
@@ -3,0 +3,0 @@ import { BudgetManager } from "../budget/BudgetManager"; |
@@ -1,2 +0,2 @@ | ||
import { Logger } from "winston"; | ||
import { Logger } from "@syntest/logging"; | ||
import { Archive } from "../../Archive"; | ||
@@ -3,0 +3,0 @@ import { BudgetManager } from "../../budget/BudgetManager"; |
{ | ||
"name": "@syntest/search", | ||
"version": "0.4.0-beta.22", | ||
"version": "0.4.0-beta.23", | ||
"description": "The common core of the SynTest Framework", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@syntest/analysis": "^0.1.0-beta.2", | ||
"@syntest/analysis": "^0.1.0-beta.3", | ||
"@syntest/cfg": "*", | ||
@@ -66,3 +66,3 @@ "@syntest/logging": "*", | ||
}, | ||
"gitHead": "3a1473f5676cf85ab23052d0da9b894231ad8973" | ||
"gitHead": "909f98a3d10c385bb833a094c65b3352ba6a7e3c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279480
4910