GraphOptimizationApplication, single responsibility principle
See original GitHub issueWhat is the expected enhancement?
the static method random_graph
in the GraphOptimizationApplication
violates the single responsibility principle. Please create some helper and move it there.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Single-Responsibility Principle
The single-responsibility principle is a computer-programming principle that states that every module, class or function in a computer program should have ...
Read more >Single Responsibility Principle in Java - Baeldung
As the name suggests, this principle states that each class should have one responsibility, one single purpose. This means that a class will...
Read more >The Single Responsibility Principle | Nerd For Tech - Medium
The single responsibility aka SRP sets that every software component should have one and only one responsibility. This component can be a class,...
Read more >Single-responsibility principle - Wikipedia
The single-responsibility principle (SRP) is a computer programming principle that states that "A module should be responsible to one, and only one, actor....
Read more >SOLID Definition – the SOLID Principles of Object-Oriented ...
The Single Responsibility Principle (SRP) The idea behind the SRP is that every class, module, or function in a program should have one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In Aqua there used to be module to allow building of various random problems inputs. This is probably a left-over from that after Aqua was split apart and refactored into these separate repos. I see in coverage its not tested and I cannot find any uses here in this repo via search. Since its just single line call to a networkx function, and since its neither used nor tested here, my reaction would be that it could be simply deleted.
What kind of helper file do you want?