MPSolve
3.2.2
Toggle main menu visibility
Loading...
Searching...
No Matches
starting-configuration.h
Go to the documentation of this file.
1
/*
2
* This file is part of MPSolve 3.2.2
3
*
4
* Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa.
5
* License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher
6
*
7
* Authors:
8
* Leonardo Robol <leonardo.robol@unipi.it>
9
*/
10
15
16
#ifndef MPS_STARTING_CONFIGURATION_H_
17
#define MPS_STARTING_CONFIGURATION_H_
18
19
MPS_BEGIN_DECLS
20
21
#define MPS_STARTING_CONFIGURATION_INIT { \
22
.n_radii = 0, \
23
.fradii = NULL, \
24
.dradii = NULL, \
25
.partitioning = NULL \
26
}
27
33
struct
mps_starting_configuration
{
38
int
n_radii
;
39
46
int
*
partitioning
;
47
52
double
*
fradii
;
53
57
rdpe_t *
dradii
;
58
};
59
60
typedef
struct
mps_starting_configuration
mps_starting_configuration
;
61
69
void
mps_starting_configuration_clear
(
mps_context
* ctx,
mps_starting_configuration
* c);
70
71
mps_starting_configuration
mps_fcompute_starting_radii
(
mps_context
* s,
int
n,
72
mps_cluster_item
* cluster_item,
73
double
clust_rad,
double
g, rdpe_t eps,
74
double
fap[]);
75
76
77
MPS_END_DECLS
78
79
#endif
/* MPS_STARTING_CONFIGURATION_H_ */
mps_fcompute_starting_radii
mps_starting_configuration mps_fcompute_starting_radii(mps_context *s, int n, mps_cluster_item *cluster_item, double clust_rad, double g, rdpe_t eps, double fap[])
Compute radii of the circles where the initial approximation will be disposed by mps_fstart().
Definition
starting.c:102
mps_starting_configuration_clear
void mps_starting_configuration_clear(mps_context *ctx, mps_starting_configuration *c)
Clear all the storage that has been allocated inside a starting configuration.
Definition
starting-configuration.c:14
mps_cluster_item
Cluster held in a mps_clusterization.
Definition
cluster.h:72
mps_context
this struct holds the state of the mps computation
Definition
context.h:60
mps_starting_configuration
This struct holds the information about the starting disposal of the approximations that has been obt...
Definition
starting-configuration.h:33
mps_starting_configuration::n_radii
int n_radii
The number of circles on which the approximations should be put.
Definition
starting-configuration.h:38
mps_starting_configuration::fradii
double * fradii
An array containing the radius of the circles where the roots should be placed.
Definition
starting-configuration.h:52
mps_starting_configuration::dradii
rdpe_t * dradii
The DPE version of fradii.
Definition
starting-configuration.h:57
mps_starting_configuration::partitioning
int * partitioning
An array of integers that holds the indexes of the approximations that should be put on the different...
Definition
starting-configuration.h:46
include
mps
private
starting-configuration.h
Generated on
for MPSolve by
1.17.0