SphereOfInfluenceGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory[GeometricGraphs]

  

SphereOfInfluenceGraph

  

construct a sphere of influence graph

 

Calling Sequence

Parameters

Options

Description

Definition

Examples

Compatibility

Calling Sequence

SphereOfInfluenceGraph( P, opts )

Parameters

P

-

Matrix or list of lists representing set of points

opts

-

(optional) one or more options as specified below

Options

• 

vertices = list of integers, strings or symbols

  

Specifies the vertices to be used in the generated graph.

• 

weighted = true or false

  

If weighted=true, the result is a weighted graph whose edge weights correspond to the distance between points using the specified norm. Default is false.

Description

• 

The SphereOfInfluenceGraph(P, opts) command returns the sphere of influence graph for the point set P.

• 

The parameter P must be a Matrix or list of lists representing a set of points.

Definition

• 

Given a set  of points, center a ball  at each point  with radius equal to the distance between  and its nearest neighbor in .

• 

The sphere of influence graph is the graph whose vertices correspond to points in  and in which an edge between  and  exists if  contains more than one point.

• 

The sphere of influence graph is not guaranteed to be connected.

• 

The undirected nearest neighbor graph is a subgraph of the sphere of influence graph.

Examples

Generate a set of random two-dimensional points amd draw a sphere of influence graph.

(1)

Compatibility

• 

The GraphTheory[GeometricGraphs][SphereOfInfluenceGraph] command was introduced in Maple 2020.

• 

For more information on Maple 2020 changes, see Updates in Maple 2020.

See Also

GeometricGraphs

GraphTheory[GeometricGraphs][NearestNeighborGraph]

 


Download Help Document