Esempio n. 1
0
 public vector_vector_double(vector_vector_double other) : this(VisionLabPINVOKE.new_vector_vector_double__SWIG_1(vector_vector_double.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public vector_vector_doubleEnumerator(vector_vector_double collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void GetSelectedSet(vector_vector_double features, vector_int classIds)
 {
     VisionLabPINVOKE.ClassFeatureSet_YUV16_GetSelectedSet(swigCPtr, vector_vector_double.getCPtr(features), vector_int.getCPtr(classIds));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetFounders(vector_vector_double parents)
 {
     VisionLabPINVOKE.GenAlgFP_SetFounders(swigCPtr, vector_vector_double.getCPtr(parents));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public void SetRange(int index, vector_vector_double values)
 {
     VisionLabPINVOKE.vector_vector_double_SetRange(swigCPtr, index, vector_vector_double.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public double EvaluateClassSet(vector_vector_double inputs, vector_int classesExp, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_Classifier_EvaluateClassSet(swigCPtr, vector_vector_double.getCPtr(inputs), vector_int.getCPtr(classesExp), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
    public double TrainSet(int nrOfEpochs, double learnRate, double momentum, vector_vector_double inputs, vector_vector_double targets, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_TrainSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_vector_double.getCPtr(inputs), vector_vector_double.getCPtr(targets), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 8
0
    public double EvaluateSet(vector_vector_double inputs, vector_vector_double targets, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_EvaluateSet(swigCPtr, vector_vector_double.getCPtr(inputs), vector_vector_double.getCPtr(targets), vector_vector_double.getCPtr(outputs), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_vector_double GetPopulation()
    {
        vector_vector_double ret = new vector_vector_double(VisionLabPINVOKE.GenAlgFP_GetPopulation(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 10
0
    public static vector_vector_double Repeat(vector_double value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_vector_double_Repeat(vector_double.getCPtr(value), count);
        vector_vector_double  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_vector_double(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 11
0
    public vector_vector_double GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_vector_double_GetRange(swigCPtr, index, count);
        vector_vector_double  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_vector_double(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 12
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_vector_double obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public double EvaluateClassImageSet(ClassImageSet_Double cis, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_EvaluateClassImageSet(swigCPtr, ClassImageSet_Double.getCPtr(cis), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
    public double EvaluateClassImageSet(ClassImageSet_RGB16 cis, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_RGB16_EvaluateClassImageSet(swigCPtr, ClassImageSet_RGB16.getCPtr(cis), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_vector_double StrToPopulation(string str) {
   vector_vector_double ret = new vector_vector_double(VisionLabPINVOKE.StrToPopulation(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string PopulationToStr(vector_vector_double v) {
   string ret = VisionLabPINVOKE.PopulationToStr(vector_vector_double.getCPtr(v));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 17
0
 internal static HandleRef getCPtr(vector_vector_double obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 18
0
 public double TrainSet(int nrOfEpochs, double learnRate, double momentum, vector_vector_double inputs, vector_vector_double targets, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_TrainSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_vector_double.getCPtr(inputs), vector_vector_double.getCPtr(targets), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 19
0
 public double EvaluateSet(vector_vector_double inputs, vector_vector_double targets, vector_vector_double outputs, ref double meanError) {
   double ret = VisionLabPINVOKE.BPN_EvaluateSet(swigCPtr, vector_vector_double.getCPtr(inputs), vector_vector_double.getCPtr(targets), vector_vector_double.getCPtr(outputs), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void GetSelectedSet(vector_vector_double features, vector_int classIds) {
   VisionLabPINVOKE.ClassFeatureSet_Float_GetSelectedSet(swigCPtr, vector_vector_double.getCPtr(features), vector_int.getCPtr(classIds));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public vector_vector_double GetPopulation() {
   vector_vector_double ret = new vector_vector_double(VisionLabPINVOKE.GenAlgFP_GetPopulation(swigCPtr), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void SetFounders(vector_vector_double parents) {
   VisionLabPINVOKE.GenAlgFP_SetFounders(swigCPtr, vector_vector_double.getCPtr(parents));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }