Bsoft  2.1.0
Bernard's software package
model_compare.h
Go to the documentation of this file.
1 
9 #include "rwmodel.h"
10 #include "Matrix.h"
11 
12 // Function prototypes
13 long model_component_number_difference(Bmodel* model1, Bmodel* model2);
15 double model_compare(Bmodel* model1, Bmodel* model2);
16 Matrix model_distance_matrix(Bmodel* model, int view_flag);
19 long model_consolidate(Bmodel* model, double distance);
21 
rwmodel.h
Header file for reading and writing atomic model files.
model_adjacency_matrix
Matrix model_adjacency_matrix(Bmodel *model)
Constructs the adjacency matrix for a model.
Definition: model_compare.cpp:152
model_compare
double model_compare(Bmodel *model1, Bmodel *model2)
Compares two models.
Definition: model_compare.cpp:66
models_consensus
Bmodel * models_consensus(Bmodel *model, double distance)
Determines a consensus between models in a list.
Definition: model_compare.cpp:322
model_maxnum_components
long model_maxnum_components(Bmodel *model)
Calculates the largest number of components in a model.
Definition: model_compare.cpp:43
distance
double distance(vector< T1 > &v1, vector< T2 > &v2)
Definition: Vector3.h:538
Bmodel
Definition: rwmodel.h:119
model_distance_matrix
Matrix model_distance_matrix(Bmodel *model, int view_flag)
Calculates the distance matrix for a model.
Definition: model_compare.cpp:189
model
Bmodel * model
Definition: bshow.cpp:34
Matrix.h
Generalized matrix class.
model_component_number_difference
long model_component_number_difference(Bmodel *model1, Bmodel *model2)
Compares the numbers of components in two models.
Definition: model_compare.cpp:26
Matrix
Definition: Matrix.h:22
model_consolidate
long model_consolidate(Bmodel *model, double distance)
Consolidates close components within a model.
Definition: model_compare.cpp:264