Statements (25)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Design Pattern
|
gptkbp:allows |
select algorithm at runtime
|
gptkbp:alsoKnownAs |
Strategy Pattern
|
gptkbp:author |
gptkb:Erich_Gamma
gptkb:John_Vlissides gptkb:Richard_Helm gptkb:Ralph_Johnson |
gptkbp:category |
behavioral design pattern
|
gptkbp:describedBy |
gptkb:Design_Patterns:_Elements_of_Reusable_Object-Oriented_Software
|
gptkbp:example |
gptkb:Java
gptkb:Python gptkb:C++ |
https://www.w3.org/2000/01/rdf-schema#label |
DPStrategy
|
gptkbp:pattern |
Gang of Four pattern
|
gptkbp:purpose |
define a family of algorithms
encapsulate each algorithm make algorithms interchangeable |
gptkbp:relatedTo |
DPState
DPTemplateMethod |
gptkbp:structure |
gptkb:strategy
Context ConcreteStrategy |
gptkbp:usedIn |
object-oriented programming
|
gptkbp:bfsParent |
gptkb:PyTorch_Lightning_Strategies
|
gptkbp:bfsLayer |
6
|