samples.h
Go to the documentation of this file.
562 unsigned int ReadTwoSamples(Tparameters *p,char *fname,unsigned int nvs,double **s1,double **s2);
double ConnectSamplesChart(Tparameters *pr, unsigned int *tp, boolean *sv, Tbox *domain, unsigned int m, unsigned int n, double *s1, double *s2, double md, boolean checkCollisions, TJacobian *sJ, boolean *reached, boolean *collision, double *lastSample, unsigned int *ns, double ***path, TAtlasBase *w) Determines the connection between two points on the manifold. Definition: samples.c:694 boolean(* TStepCostGradient)(Tparameters *, unsigned int *, boolean *, unsigned int, double *, double *, double *, double *, double *, Tchart *, Tchart *, Tchart *, Tchart *, Tchart *, TJacobian *, TStepCost, double *, Tworld *) Template of step cost gradients. Definition: samples.h:235 Data structure to hold the information about the name of a file. Definition: filename.h:271 double(* TStepCost)(Tparameters *, unsigned int *, boolean *, unsigned int, double *, double *, double *, unsigned int, Tchart *, Tchart *, Tchart *, Tworld *) Template of step costs. Definition: samples.h:183 double PathEffort(Tparameters *p, unsigned int m, unsigned int np, double **point, Tworld *w) Approximated control effort of a path. Definition: samples.c:1708 Definition of the Tfilename type and the associated functions. void SaveSamples(char *fname, char *suffix, unsigned int nvs, unsigned int ns, double **path) Saves a set of samples to a file. Definition: samples.c:2879 void ReverseConcatSamples(unsigned int nvs, unsigned int ns1, double **path1, unsigned int ns2, double **path2, unsigned int *ns, double ***path) Reverses and concats a path. Definition: samples.c:2727 void SmoothSamples(Tparameters *pr, boolean parallel, int mode, unsigned int maxIterations, unsigned int ns, double **path, unsigned int *sns, double ***spath, TAtlasBase *w) Path smoothing. Definition: samples.c:2541 void AddSample2Samples(unsigned int nv, double *sample, unsigned int nvs, boolean *systemVars, unsigned int *ms, unsigned int *ns, double ***path) Adds a sample to a set of samples. Definition: samples.c:672 boolean LoadSamples(Tfilename *fname, unsigned int *nvs, unsigned int *ns, double ***path) Reads a set of samples from file. Definition: samples.c:2913 unsigned int ReadTwoSamples(Tparameters *p, char *fname, unsigned int nvs, double **s1, double **s2) Reads two samples from a file. Definition: samples.c:2803 void PlotSamples(Tparameters *p, Tplot3d *p3d, unsigned int xID, unsigned int yID, unsigned int zID, unsigned int ns, double **path) Plots a 3D projection of a path. Definition: samples.c:2960 A table of parameters. Definition of a local chart on a manifold. double ConnectSamples(Tparameters *pr, unsigned int *tp, boolean *sv, Tbox *domain, unsigned int m, unsigned int n, double *s1, double *s2, double md, boolean checkCollisions, TJacobian *sJ, boolean *reached, boolean *collision, double *lastSample, unsigned int *ns, double ***path, TAtlasBase *w) Determines the connection between two points on the manifold. Definition: samples.c:966 void ReverseSamples(unsigned int ns, double **path) Reverses a set of samples. Definition: samples.c:2752 void InitSamples(unsigned int *ms, unsigned int *ns, double ***path) Initializes a set of samples. Definition: samples.c:665 Definition of the Tlink type and the associated functions. void SaveSamplesN(char *fname, boolean smooth, unsigned int n, unsigned int nvs, unsigned int ns, double **path) Saves a set of samples to a file. Definition: samples.c:2894 void DeleteSamples(unsigned int ns, double **path) Deletes the space used by a set of samples. Definition: samples.c:3159 Definition of the Tparameters type and the associated functions. void PlotForceField(Tparameters *p, Tplot3d *p3d, unsigned int xID, unsigned int yID, unsigned int zID, Tworld *w, unsigned int ns, double **sols) Plots the force-field on a set of points. Definition: samples.c:3056 double PathLength(unsigned int *tp, boolean *sv, unsigned int m, unsigned int np, double **point) Length of a path formed by a set of samples. Definition: samples.c:1096 unsigned int ReadOneSample(Tparameters *p, char *fname, unsigned int nvs, double **s) Reads one sample from a file. Definition: samples.c:2772 void ConcatSamples(unsigned int nvs, unsigned int ns1, double **path1, unsigned int ns2, double **path2, unsigned int *ns, double ***path) Concats two path. Definition: samples.c:2706 |
Follow us!