Commit 8b42ce01 authored by Grand Francois's avatar Grand Francois
Browse files

ajout de la classe ComputeNodeParameters de gestion des paramètres des noeuds de calcul

Showing with 24 additions and 1 deletion
+24 -1
export * from './base'; export * from './base';
export * from './param'; export * from './param';
export * from './parameters';
export * from './nub'; export * from './nub';
export * from './cond_distri'; export * from './cond_distri';
export * from './dichotomie'; export * from './dichotomie';
...@@ -8,4 +9,3 @@ export * from './regime_uniforme'; ...@@ -8,4 +9,3 @@ export * from './regime_uniforme';
export * from './util/definedvalue'; export * from './util/definedvalue';
export * from './util/numericalstring'; export * from './util/numericalstring';
export * from './util/error'; export * from './util/error';
import { IParamsEquation } from "./param";
import { ConduiteDistribParams } from "./cond_distri";
export class ComputeNodeParameters {
private static _instance: ComputeNodeParameters;
private constructor() { }
public static getInstance() {
if (ComputeNodeParameters._instance == undefined)
ComputeNodeParameters._instance = new ComputeNodeParameters();
return ComputeNodeParameters._instance;
}
public getComputeNodeParameters(name: string): IParamsEquation {
if (name == "cond_distri") {
let cn = new ConduiteDistribParams(undefined, undefined, undefined, undefined, undefined);
return cn;
}
return undefined;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment