C# Class Visualizer.SolutionVisualizerForm

Inheritance: VisualizerForm
Mostrar archivo Open project: sergey-and-valya/load-balancing

Public Methods

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

Protected Methods

Method Description
ChangeBitmap ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Method 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 method

protected ChangeBitmap ( ) : void
return void

Dispose() protected method

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

SetBitmap() protected method

protected SetBitmap ( ) : void
return void

SetSettings() protected method

protected SetSettings ( ) : void
return void

SetStep() protected method

protected SetStep ( ) : void
return void

SolutionVisualizerForm() public method

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
return System.Drawing