/* void FreeListDescendant(); * TPredicatePathItem* InitDescendant(); * int __fastcall GetDescendantCount(); * TPredicatePathItem* __fastcall GetDescendantItems(int AIndex); * void Swap(int* m, int i, int j); * void Swap_Array(int* m, int i, int j); * int Find_Min(int* m, int i, int N); * void NextArray(int* m, int N); * int Factorial(int N); * void DoGenerateDescendant(TPredicatePathItem* AItem, TDynamicArray* AStack); * bool CheckRnd(); * bool AddPredicatePathNodeFromBase(TPredicatePathItem* AItem);*/ public TPredicatePath() { f_Max = 10000; f_Rate = 100.0; f_BasePath = new TPredicatePathItem(); f_UsedPath = new TPredicatePathItem(); f_ListDescendant = new List <object>(); }
public void Process(TPredicatePathItem ABase, TPredicatePathItem AUsed) { f_BasePath = ABase; f_UsedPath = AUsed; f_BasePath.Clear(); DoProcess(); DoSetID(); }