Refactoring class AlgorithmAttributes and NSGAIIAttr