Obtuse Paclet Symbol | Tutorials »|See Also »|More About » |
ConnectionList[distmatrix,(options)]gives a list of connected point pairs according to the obtuse-angle-shadowing rule in a discrete point set, if distmatrix is the squared-distance matrix for the distinct points. This matrix should contain real elements, but it does not necessarily need to be symmetric. The output is compatible with the graph objects in the Graph Utilities Package . If the option Type is set to Directed: The point A in the point set is NOT connected to the point B if there exist one other points C in the point set,such that C is connected to B and the angles ACB is obtuse. Further,two points in the network are NOT connected if the distance between them is smaller or equal to SmoothenDistance or larger or equal to twice the CutoffRadius. If the option Type is set to Undirected: Two points A and B in the point set are NOT connected if there exist two other points C and D (maybe identical) in the point set,such that C is connected to A and D is connected to B and both the angles ACB and ADB are obtuse. Further,two points in the network are NOT connected if the distance between them is is smaller or equal to SmoothenDistanceor larger or equal to twice the CutoffRadius. Each connected point pair occurs only once in the returned list,with the lowest point number coming first. The resulting list is sorted according to the length of the connections. |
ConnectionsToExclude | {} | connections to exclude in the evaluation | |
CutoffRadius | Infinity | points separated by twice the CutoffRadius or more are not connected | |
NeighborLevel | 1 | all connected points for lower values of NeighborLevel are excluded in the evaluation | |
SmoothenDistance | 0. | points separated by SmoothenDistance or less are not connected | |
Type | Directed | the connection graph can be Directed or Undirected |
We can calculate the squared distance matrix, using the DirectedDistanceMatrix function. The DirectedDistanceMatrix function can be given a DistanceFunction option to define the distance measure. With the default setting DistanceFunction->Automatic, DirectedDistanceMatrix uses the square of EuclideanDistance for numeric data, JaccardDissimilarity for Boolean data, and EditDistance for string data. If you use some other setting for this option, you should consider using the square of that distance measure.
When the squared distance matrix has been calculated, this determines completely how the points should be connected. The ConnectionList routine does not need or use information about the dimensionality of the control points.
For point sets of higher dimensionality we might use the Graph Utilities Package to display the connections.
There are also other functions Graph Utilities Package that might use the connection list as input. E.g. ToCombinatoricaGraph converts the list to the Combinatorica representation of the graph. |