Projects Analyzer

private class ProjectsAnalyzer

The ProjectsAnalyzer class is useful to analyze the projects data and discover the best and to-improve project both for personal and group side

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(projects: List<Project>)
Constructor to instantiate the analyzer

Properties

Link copied to clipboard
private open var bestGroupProject: Project
bestGroupProject the best group project
Link copied to clipboard
private open var bestPersonalProject: Project
bestPersonalProject the best personal project
Link copied to clipboard
private val projects: List<Project>
projects the list of the user's projects

Functions

Link copied to clipboard
Method to get the best performance project for the group side
Link copied to clipboard
Method to get the best performance project for the personal side
Link copied to clipboard
private open fun getBestProject(isGroup: Boolean): Project
Method to get the best performance project
Link copied to clipboard
Method to get the worst performance project for the group side
Link copied to clipboard
Method to get the worst performance project for the personal side
Link copied to clipboard
private open fun getWorstProject(isGroup: Boolean, bestProject: Project): Project
Method to get the worst performance project