Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syntest/base-language

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syntest/base-language - npm Package Compare versions

Comparing version 0.3.0-beta.7 to 0.3.0-beta.8

12

dist/lib/presets/DynaMOSAPreset.d.ts
import { Preset } from "@syntest/module";
import { ArgumentsCamelCase } from "yargs";
/**

@@ -9,10 +8,13 @@ * Dynamic Many-Objective Sorting Algorithm (DynaMOSA).

* A. Panichella; F. K. Kifetew; P. Tonella
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
*/
export declare class DynaMOSAPreset extends Preset {
constructor();
modifyArgs<T>(arguments_: ArgumentsCamelCase<T>): void;
getPresetConfiguration(): {
searchAlgorithm: string;
objectiveManager: string;
procreation: string;
populationSize: number;
secondaryObjectives: string[];
};
}
//# sourceMappingURL=DynaMOSAPreset.d.ts.map

@@ -28,5 +28,2 @@ "use strict";

* A. Panichella; F. K. Kifetew; P. Tonella
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
*/

@@ -37,12 +34,10 @@ class DynaMOSAPreset extends module_1.Preset {

}
modifyArgs(arguments_) {
arguments_.searchAlgorithm = "MOSAFamily";
arguments_.objectiveManager =
"structural-uncovered";
arguments_.procreation = "default";
arguments_.secondaryObjectives = [
"least-errors",
"smallest-encoding",
];
arguments_.populationSize = 50;
getPresetConfiguration() {
return {
searchAlgorithm: "MOSAFamily",
objectiveManager: "structural-uncovered",
procreation: "default",
populationSize: 50,
secondaryObjectives: ["least-errors", "smallest-encoding"],
};
}

@@ -49,0 +44,0 @@ }

import { Preset } from "@syntest/module";
import { ArgumentsCamelCase } from "yargs";
/**

@@ -9,10 +8,13 @@ * Many-objective Sorting Algorithm (MOSA).

* A. Panichella; F. K. Kifetew; P. Tonella
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
*/
export declare class MOSAPreset extends Preset {
constructor();
modifyArgs<T>(arguments_: ArgumentsCamelCase<T>): void;
getPresetConfiguration(): {
searchAlgorithm: string;
objectiveManager: string;
procreation: string;
populationSize: number;
secondaryObjectives: string[];
};
}
//# sourceMappingURL=MOSAPreset.d.ts.map

@@ -28,5 +28,2 @@ "use strict";

* A. Panichella; F. K. Kifetew; P. Tonella
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
*/

@@ -37,11 +34,10 @@ class MOSAPreset extends module_1.Preset {

}
modifyArgs(arguments_) {
arguments_.searchAlgorithm = "MOSAFamily";
arguments_.objectiveManager = "uncovered";
arguments_.procreation = "default";
arguments_.secondaryObjectives = [
"least-errors",
"smallest-encoding",
];
arguments_.populationSize = 50;
getPresetConfiguration() {
return {
searchAlgorithm: "MOSAFamily",
objectiveManager: "uncovered",
procreation: "default",
populationSize: 50,
secondaryObjectives: ["least-errors", "smallest-encoding"],
};
}

@@ -48,0 +44,0 @@ }

import { Preset } from "@syntest/module";
import { ArgumentsCamelCase } from "yargs";
/**

@@ -9,11 +8,12 @@ * Non-dominated Sorting Genetic Algorithm (NSGA-II).

* K. Deb; A. Pratap; S. Agarwal; T. Meyarivan
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
* @author Dimitri Stallenberg
*/
export declare class NSGAIIPreset extends Preset {
constructor();
modifyArgs<T>(arguments_: ArgumentsCamelCase<T>): void;
getPresetConfiguration(): {
searchAlgorithm: string;
objectiveManager: string;
procreation: string;
populationSize: number;
};
}
//# sourceMappingURL=NSGAIIPreset.d.ts.map

@@ -28,6 +28,2 @@ "use strict";

* K. Deb; A. Pratap; S. Agarwal; T. Meyarivan
*
* @author Mitchell Olsthoorn
* @author Annibale Panichella
* @author Dimitri Stallenberg
*/

@@ -38,7 +34,9 @@ class NSGAIIPreset extends module_1.Preset {

}
modifyArgs(arguments_) {
arguments_.searchAlgorithm = "NSGAII";
arguments_.objectiveManager = "simple";
arguments_.procreation = "default";
arguments_.populationSize = 50;
getPresetConfiguration() {
return {
searchAlgorithm: "NSGAII",
objectiveManager: "simple",
procreation: "default",
populationSize: 50,
};
}

@@ -45,0 +43,0 @@ }

import { Preset } from "@syntest/module";
import { ArgumentsCamelCase } from "yargs";
export declare class RandomSearchPreset extends Preset {
constructor();
modifyArgs<T>(arguments_: ArgumentsCamelCase<T>): void;
getPresetConfiguration(): {
searchAlgorithm: string;
objectiveManager: string;
procreation: string;
populationSize: number;
constantPool: boolean;
typePool: boolean;
statementPool: boolean;
incorporateExecutionInformation: boolean;
typeInferenceMode: boolean;
};
}
//# sourceMappingURL=RandomSearchPreset.d.ts.map

@@ -26,23 +26,14 @@ "use strict";

}
modifyArgs(arguments_) {
arguments_.searchAlgorithm = "random";
arguments_.objectiveManager = "tracking";
arguments_.procreation = "default";
arguments_.populationSize = 1;
if ("constantPool" in arguments_) {
arguments_.constantPool = false;
}
if ("typePool" in arguments_) {
arguments_.typePool = false;
}
if ("statementPool" in arguments_) {
arguments_.statementPool = false;
}
if ("incorporateExecutionInformation" in arguments_) {
arguments_.incorporateExecutionInformation = false;
}
if ("typeInferenceMode" in arguments_) {
arguments_.typeInferenceMode =
"none";
}
getPresetConfiguration() {
return {
searchAlgorithm: "random",
objectiveManager: "tracking",
procreation: "default",
populationSize: 1,
constantPool: false,
typePool: false,
statementPool: false,
incorporateExecutionInformation: false,
typeInferenceMode: false,
};
}

@@ -49,0 +40,0 @@ }

{
"name": "@syntest/base-language",
"version": "0.3.0-beta.7",
"version": "0.3.0-beta.8",
"description": "SynTest abstract tool that can be used to implement a new language",

@@ -55,3 +55,3 @@ "keywords": [

"@syntest/metric": "^0.1.2-beta.3",
"@syntest/module": "^0.2.0-beta.1",
"@syntest/module": "^0.2.0-beta.2",
"@syntest/search": "^0.5.0-beta.7",

@@ -68,3 +68,3 @@ "@syntest/storage": "^0.3.0-beta.1",

},
"gitHead": "62fc32cd877d4f37e335e5e21027b0913d7bcb75"
"gitHead": "ec687772071407c836ddb8565c9b1eedcac72ab6"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc