public class MultiStateAlgoObjectFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MultiStateAlgoObjectFactory.MStateIndexRec
MultiState algorithm creation mapping/index relationship definition record
Sample:
noPlanningNet = 2;
noClonedNet = 2;
noAlgo = 3;
planning2ClonedNetIndexAry = new int[] {1, 1};
clonedNet2AlgoIndexAry = new int[] {1, 2};
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ClonedNetIdPrefix |
static java.lang.String |
MSAclfAlgoIdPrefix |
static java.lang.String |
MSDclfAlgoIdPrefix |
static java.lang.String |
PlanningNetIdPrefix |
Constructor and Description |
---|
MultiStateAlgoObjectFactory() |
Modifier and Type | Method and Description |
---|---|
static <T extends AclfNetwork> |
createMultiNetDclfAlgorithm(T baseAclfNet)
Create a !fixedStructure MultiNEtDclfAlgorithm object
|
static <T extends AclfNetwork> |
createMultiNetDclfAlgorithm(T baseAclfNet,
int noClonedNet)
Create a MultiNetDclfAlgorithm object with noClonedNet cloned AclfNetworks
|
static <T extends AclfNetwork> |
createMultiNetDclfAlgorithm(T baseAclfNet,
int noClonedNet,
int noDclfAlgo,
int[] indexAry)
Create a MultiNetDclfAlgorithm object
|
static MultiStateAclfAlgorithm<AclfNetwork> |
createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet)
Create a !fixedStructure MultiStateAclfAlgorithm object
|
static MultiStateAclfAlgorithm<AclfNetwork> |
createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet,
int noClonedNet,
boolean createAclfAlgo)
Create a MultiStateAclfAlgorithm object, noClonedNet is equal to noDclfAlgo
|
static MultiStateAclfAlgorithm<AclfNetwork> |
createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet,
int noClonedNet,
int noDclfAlgo,
int[] indexAry,
boolean createAclfAlgo)
Create a MultiStateAclfAlgorithm object, noClonedNet is not equal to noDclfAlgo
|
static <T extends AclfNetwork> |
createMultiStateAclfAlgorithm(T baseAclfNet,
MultiStateAlgoObjectFactory.MStateIndexRec indRec,
boolean createAclfAlgo)
Create a MultiStateAclfAlgorithm object, noClonedNet is not equal to noDclfAlgo
|
static MultiStateDclfAlgorithm<AclfNetwork> |
createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet)
Create a !fixedStructure MultiStateDclfAlgorithm object
|
static MultiStateDclfAlgorithm<AclfNetwork> |
createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet,
int noClonedNet)
Create a MultiStateDclfAlgorithm object, noClonedNet is equal to noDclfAlgo
|
static MultiStateDclfAlgorithm<AclfNetwork> |
createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet,
int noClonedNet,
int noDclfAlgo,
int[] indexAry)
Create a MultiStateDclfAlgorithm object, noClonedNet is not equal to noDclfAlgo
|
static <T extends AclfNetwork> |
createMultiStateDclfAlgorithm(T baseAclfNet,
MultiStateAlgoObjectFactory.MStateIndexRec indRec)
Create a MultiStateDclfAlgorithm object, noClonedNet is not equal to noDclfAlgo
|
public static java.lang.String ClonedNetIdPrefix
public static java.lang.String PlanningNetIdPrefix
public static java.lang.String MSDclfAlgoIdPrefix
public static java.lang.String MSAclfAlgoIdPrefix
public static <T extends AclfNetwork> MultiNetDclfAlgorithm<T> createMultiNetDclfAlgorithm(T baseAclfNet) throws InterpssException
baseAclfNet
- the base AclfNetwork objectInterpssException
public static <T extends AclfNetwork> MultiNetDclfAlgorithm<T> createMultiNetDclfAlgorithm(T baseAclfNet, int noClonedNet) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.InterpssException
public static <T extends AclfNetwork> MultiNetDclfAlgorithm<T> createMultiNetDclfAlgorithm(T baseAclfNet, int noClonedNet, int noDclfAlgo, int[] indexAry) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.noDclfAlgo
- the number of Dclf algo objects.indexAry
- cloned AclfNet object to dclf algo objects relationship index array.
[2, 3] indicates: the first cloned AclfNet contains 2 Dclf Algo objects.InterpssException
public static MultiStateDclfAlgorithm<AclfNetwork> createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet) throws InterpssException
baseAclfNet
- the base AclfNetwork objectInterpssException
public static MultiStateDclfAlgorithm<AclfNetwork> createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet, int noClonedNet) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.InterpssException
public static MultiStateDclfAlgorithm<AclfNetwork> createMultiStateDclfAlgorithm(AclfNetwork baseAclfNet, int noClonedNet, int noDclfAlgo, int[] indexAry) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.noDclfAlgo
- the number of Dclf algo objects.indexAry
- cloned AclfNet object to dclf algo objects relationship index array.
[2, 3] indicates: the first cloned AclfNet contains 2 Dclf Algo objects.InterpssException
public static <T extends AclfNetwork> MultiStateDclfAlgorithm<T> createMultiStateDclfAlgorithm(T baseAclfNet, MultiStateAlgoObjectFactory.MStateIndexRec indRec) throws InterpssException
baseAclfNet
- the base AclfNetwork objectindRec
- InterpssException
public static MultiStateAclfAlgorithm<AclfNetwork> createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet) throws InterpssException
baseAclfNet
- the base AclfNetwork objectInterpssException
public static MultiStateAclfAlgorithm<AclfNetwork> createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet, int noClonedNet, boolean createAclfAlgo) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.createAclfAlgo
- flag for creating LoadflowAlgorithm objectsInterpssException
public static MultiStateAclfAlgorithm<AclfNetwork> createMultiStateAclfAlgorithm(AclfNetwork baseAclfNet, int noClonedNet, int noDclfAlgo, int[] indexAry, boolean createAclfAlgo) throws InterpssException
baseAclfNet
- the base AclfNetwork objectnoClonedNet
- the number of cloned AclfNetwork objects.noDclfAlgo
- the number of Dclf algo objects.indexAry
- cloned AclfNet object to dclf algo objects relationship index array.
[2, 3] indicates: the first cloned AclfNet contains 2 Dclf Algo objects.createAclfAlgo
- flag for creating LoadflowAlgorithm objectsInterpssException
public static <T extends AclfNetwork> MultiStateAclfAlgorithm<T> createMultiStateAclfAlgorithm(T baseAclfNet, MultiStateAlgoObjectFactory.MStateIndexRec indRec, boolean createAclfAlgo) throws InterpssException
baseAclfNet
- the base AclfNetwork objectindRec
- createAclfAlgo
- flag for creating LoadflowAlgorithm objectsInterpssException