Strategy
E173620
Strategy is a behavioral design pattern that defines a family of algorithms, encapsulates each one, and makes them interchangeable so that clients can vary their behavior independently from the algorithms they use.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Strategy canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T1531333 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: Strategy Context triple: [Design Patterns: Elements of Reusable Object-Oriented Software, describesPattern, Strategy]
-
A.
Strategic Command
Strategic Command is a top-level branch of the British Armed Forces responsible for integrating and coordinating joint military capabilities, including intelligence, cyber, special forces, and space operations.
-
B.
Plan of Attack
Plan of Attack is a nonfiction book by investigative journalist Bob Woodward that examines the Bush administration’s decision-making and strategy leading up to the 2003 invasion of Iraq.
-
C.
Operation Strike
Operation Strike was a key Allied military operation during World War II’s Tunisian campaign that contributed to the final defeat of Axis forces in North Africa.
-
D.
Planera
Planera is a small genus of deciduous trees in the elm family, best known for the species Planera aquatica, commonly called the water elm.
-
E.
Joint Strategic Planning System
The Joint Strategic Planning System is a U.S. Department of Defense process used by senior leaders to develop, integrate, and assess long-range military strategies, plans, and resource priorities.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: Strategy Target entity description: Strategy is a behavioral design pattern that defines a family of algorithms, encapsulates each one, and makes them interchangeable so that clients can vary their behavior independently from the algorithms they use.
-
A.
Strategic Command
Strategic Command is a top-level branch of the British Armed Forces responsible for integrating and coordinating joint military capabilities, including intelligence, cyber, special forces, and space operations.
-
B.
Plan of Attack
Plan of Attack is a nonfiction book by investigative journalist Bob Woodward that examines the Bush administration’s decision-making and strategy leading up to the 2003 invasion of Iraq.
-
C.
Operation Strike
Operation Strike was a key Allied military operation during World War II’s Tunisian campaign that contributed to the final defeat of Axis forces in North Africa.
-
D.
Planera
Planera is a small genus of deciduous trees in the elm family, best known for the species Planera aquatica, commonly called the water elm.
-
E.
Joint Strategic Planning System
The Joint Strategic Planning System is a U.S. Department of Defense process used by senior leaders to develop, integrate, and assess long-range military strategies, plans, and resource priorities.
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
behavioral design pattern
ⓘ
design pattern ⓘ software engineering concept ⓘ |
| allows |
runtime selection of algorithm
ⓘ
variation of behavior without modifying client ⓘ |
| alsoKnownAs | Policy pattern ⓘ |
| applicableWhen |
algorithm should be selected at runtime
ⓘ
clients should not know algorithm implementation details ⓘ different variants of an algorithm are needed ⓘ many related classes differ only in behavior ⓘ |
| authorsDescribedBy |
Erich Gamma
ⓘ
John Vlissides ⓘ Ralph Johnson NERFINISHED ⓘ Richard Helm ⓘ |
| belongsToCategory | behavioral pattern ⓘ |
| consequence |
eliminates conditional statements for algorithm choice
ⓘ
increases number of objects and classes ⓘ |
| contextDelegatesTo | Strategy for algorithm execution ⓘ |
| contextHolds | reference to Strategy ⓘ |
| definedIn |
Gang of Four design pattern
ⓘ
surface form:
Gang of Four design patterns
|
| definesInterface | common method for all algorithms ⓘ |
| enables |
switching algorithms at runtime
ⓘ
testing algorithms independently ⓘ |
| encapsulates |
algorithm
ⓘ
behavior ⓘ |
| encourages | loose coupling between client and algorithms ⓘ |
| exampleUseCase |
compression with different algorithms
ⓘ
payment with different payment methods ⓘ routing with different pathfinding algorithms ⓘ sorting with different comparison strategies ⓘ |
| hasIntent |
define a family of algorithms
ⓘ
encapsulate each algorithm ⓘ let clients vary behavior independently from algorithms ⓘ make algorithms interchangeable ⓘ |
| hasRole |
ConcreteStrategy implements algorithm
ⓘ
Context uses a Strategy object ⓘ Strategy declares algorithm interface ⓘ |
| originatesFrom | Design Patterns: Elements of Reusable Object-Oriented Software ⓘ |
| promotes |
composition over inheritance
ⓘ
open-closed principle ⓘ single responsibility principle ⓘ |
| relatedTo |
Decorator
ⓘ
surface form:
Decorator pattern
ConcreteState ⓘ
surface form:
State pattern
Template Method ⓘ
surface form:
Template Method pattern
|
| solvesProblem |
conditional logic for algorithm selection
ⓘ
hard-wired algorithms in client code ⓘ |
| typicalParticipants |
ConcreteStrategy
ⓘ
Context ⓘ Strategy interface ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: Strategy Description of subject: Strategy is a behavioral design pattern that defines a family of algorithms, encapsulates each one, and makes them interchangeable so that clients can vary their behavior independently from the algorithms they use.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.