linchemin.rem.route_descriptors.RouteDescriptor.compute_descriptor¶
- abstract RouteDescriptor.compute_descriptor(graph: MonopartiteReacSynGraph) int | float | list[source]¶
To calculate the descriptor for the given graph.
Parameters:¶
- graph: MonopartiteReacSynGraph
The graph for which the descriptor should be computed
Returns:¶
- descriptor: Union[int, float, list]
The value of the descriptor