Update UML + Update Comments
This commit is contained in:
100
UML/classes.puml
100
UML/classes.puml
@@ -3,6 +3,7 @@
|
||||
namespace ecoparasite {
|
||||
|
||||
class Application {
|
||||
+ {static} main
|
||||
}
|
||||
|
||||
namespace ecoparasite.input {
|
||||
@@ -119,34 +120,109 @@ namespace ecoparasite {
|
||||
|
||||
namespace ecoparasite.completion {
|
||||
class Completion {
|
||||
+ {static} completeColumnsMoyenne
|
||||
+ {static} completeColumnsLinear
|
||||
+ {static} completeColumnsMoyenne()
|
||||
+ {static} completeColumnsLinear()
|
||||
}
|
||||
}
|
||||
|
||||
namespace ecoparasite.nettoyage {
|
||||
class Nettoyage {
|
||||
+ {static} nettoieColumnsMoyenne
|
||||
+ {static} nettoieColumnsLinear
|
||||
+ {static} nettoieColumns()
|
||||
}
|
||||
}
|
||||
|
||||
namespace ecoparasite.unknown {
|
||||
namespace ecoparasite.representation {
|
||||
class ValeursXY {
|
||||
- double x
|
||||
- double y
|
||||
+ {static} HashSet<ValeursXY> convertToXY()
|
||||
}
|
||||
}
|
||||
|
||||
note top of ecoparasite.unknown : Ce paquet est temporaire pour des classes / interfaces qui devront avoir plus de déclinaisons.
|
||||
|
||||
class DataCleaner {
|
||||
+ DataCleaner()
|
||||
+ String toString()
|
||||
namespace ecoparasite.svg {
|
||||
class SVGFactory {
|
||||
+ {static} createSVG()
|
||||
+ {static} createSVGCode()
|
||||
+ {static} createFile()
|
||||
}
|
||||
|
||||
interface DataCompletion {
|
||||
+ void exception()
|
||||
class Coordonnees {
|
||||
- double x
|
||||
- double y
|
||||
}
|
||||
|
||||
class SVGResizing {
|
||||
- double minX
|
||||
- double maxX
|
||||
- double minY
|
||||
- double maxY
|
||||
+ resize()
|
||||
}
|
||||
|
||||
class SVGBuilder {
|
||||
- ArrayList<Double> pointsX
|
||||
- ArrayList<Double> pointsY
|
||||
- double minPointsX
|
||||
- double minPointsY
|
||||
- double maxPointsX
|
||||
- double maxPointsY
|
||||
+ SVGBuilder()
|
||||
+ getResizer()
|
||||
+ buildAll()
|
||||
+ buildAxes()
|
||||
+ buildXTicks()
|
||||
+ buildYTicks()
|
||||
+ buildPoints()
|
||||
+ buildRegression()
|
||||
- getBeginAxeX()
|
||||
- getBeginAxeY()
|
||||
+ {static} calcPointsAxes()
|
||||
+ {static} niceStep()
|
||||
+ {static} roundMin()
|
||||
+ {static} roundMax()
|
||||
}
|
||||
|
||||
exception IncorrectAxesPointsException {
|
||||
}
|
||||
|
||||
SVGBuilder o--> SVGResizing : - resizer
|
||||
|
||||
}
|
||||
|
||||
namespace ecoparasite.svg.elements {
|
||||
|
||||
class ElementsFactory {
|
||||
+ {static} SVGAxes()
|
||||
}
|
||||
|
||||
abstract class Element {
|
||||
+ {abstract} toSVG()
|
||||
}
|
||||
|
||||
Element o--> ecoparasite.svg.Coordonnees : # coordonnees
|
||||
|
||||
class Circle extends Element {
|
||||
- int rayon
|
||||
- String color
|
||||
}
|
||||
|
||||
class Line extends Element {
|
||||
- int lineWidth
|
||||
- String color
|
||||
}
|
||||
|
||||
class Text extends Element {
|
||||
- String text
|
||||
- String color
|
||||
- int size
|
||||
}
|
||||
|
||||
Line o--> ecoparasite.svg.Coordonnees : # coordonneesB
|
||||
}
|
||||
|
||||
}
|
||||
Exception <|-- InputFileException
|
||||
Exception <|-- RawDataOverflow
|
||||
Exception <|-- IncorrectAxesPointsException
|
||||
|
||||
@enduml
|
||||
Reference in New Issue
Block a user