C# Class Visualizer.SolutionVisualizerForm

Inheritance: VisualizerForm
Afficher le fichier Open project: sergey-and-valya/load-balancing

Méthodes publiques

Méthode Description
SolutionVisualizerForm ( SplittedMatrix splittedMatrix, IMatrix matrix, ISolution solution, int min, int max, double criterion ) : System.Drawing

Méthodes protégées

Méthode Description
ChangeBitmap ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

SetBitmap ( ) : void
SetSettings ( ) : void
SetStep ( ) : void

Private Methods

Méthode Description
GetMaxOfSumOfSplittedElements ( ) : int
GetMinOfSumOfSplittedElements ( ) : int
GetValueOfMatrixFrom ( int value ) : int
InitParameters ( SplittedMatrix splittedMatrix, IMatrix matrix, ISolution solution ) : void
InitSumInBlocks ( ) : void
SetAlmostMaxOfSumOfSplittedElements ( ) : void
SetAlmostMinOfSumOfSplittedElements ( ) : void
SetBoundOfValuesOfBlocks ( ) : void
SetBoundOfValuesOfMatrix ( int min, int max ) : void
SetChangeModeButtonLocation ( ) : void
SetCriterion ( double criterion ) : void
SetCriterionLocation ( ) : void
SetPixelToBitmapOfMatrix ( int value, int row, int column ) : void
SetPixelToSumInBlocksBitmap ( int valueRed, int valueGreen, int valueBlue, int row, int column ) : void
SetSizeOfBitmap ( ) : void
SetSolutionSize ( ) : void
SetSumInBlocks ( ) : void

Method Details

ChangeBitmap() protected méthode

protected ChangeBitmap ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

SetBitmap() protected méthode

protected SetBitmap ( ) : void
Résultat void

SetSettings() protected méthode

protected SetSettings ( ) : void
Résultat void

SetStep() protected méthode

protected SetStep ( ) : void
Résultat void

SolutionVisualizerForm() public méthode

public SolutionVisualizerForm ( SplittedMatrix splittedMatrix, IMatrix matrix, ISolution solution, int min, int max, double criterion ) : System.Drawing
splittedMatrix SplittedMatrix
matrix IMatrix
solution ISolution
min int
max int
criterion double
Résultat System.Drawing