You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The similarity and voronoi graphs both use an inherited implementation class to hide the implementation details from the compiler. The way this was implemented, it can't support having constant methods in the public API of the class that inherits from the implementation class.
This is not ideal, as external methods can't accept const types with that implementation class. They have to take them by value or by reference.
voidRender(SimilarityGraph& simGraph)
{
// This would be better if simGraph was constant because otherwise, it's able to modify the graph, and passing by value is expensive
}
Acceptance Criteria:
The implementation class that the Similarity and Voronoi Graphs use has been modified to allow constant operations
The text was updated successfully, but these errors were encountered:
The similarity and voronoi graphs both use an inherited implementation class to hide the implementation details from the compiler. The way this was implemented, it can't support having constant methods in the public API of the class that inherits from the implementation class.
This is not ideal, as external methods can't accept const types with that implementation class. They have to take them by value or by reference.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: