Skip to main content
0 votes
0 answers
12 views

I'm trying to build a 3-state Markov model using the heemod package in R to evaluate cost and effectiveness over time. I defined: 3 health states: Healthy, State2, and Death A 3x3 transition ...
福井里佳's user avatar
0 votes
0 answers
62 views

I am trying to find updated information regarding aws best practices when it comes to multi-tenant data partitioning in S3. From what I know and what I studied for when I did my AWS Solutions ...
DeskCat's user avatar
  • 31
1 vote
0 answers
39 views

Essentially I have the following inheritance chain: Chainable -> Strategy -> Actions Actions are used at the call-site returning a chainable API: await actionMaker() .action1() .action2() ...
shuckster's user avatar
  • 5,437
0 votes
4 answers
248 views

Say I have come class that looks like this class Product { double Price; String name; String category; } I have a client facing API that allows users to filter my list of objects based on ...
Will Su's user avatar
0 votes
0 answers
75 views

The following code is an example of Strategy Design Pattern or Bridge Design Pattern. If Strategy , why not Bridge and vice-versa. I am quite confused after reading different articles and comments. ...
rohan's user avatar
  • 81
0 votes
0 answers
84 views

I am trying to build an asset tracking solution with esp32. I am looking out here for an optimal strategy, than an answer to a specific question. I've set 3 esp's as anchors, and I have another 5 esp'...
Balaji S's user avatar
  • 176
0 votes
1 answer
202 views

We need to dynamically support multiple payment methods (credit, paypal, google pay, etc...). We can change the gateway we use to implement a certain payment method. For example: PayPal payment method ...
BVtp's user avatar
  • 2,480
0 votes
1 answer
175 views

I need to implement a backend system which accepts multiple payment methods, and then process them according to their type. I used Strategy Pattern, but I can't seem to make it work when I initialize ...
BVtp's user avatar
  • 2,480
0 votes
0 answers
46 views

Right now I am struggling with pleasing TypeScript compiler when using generics. I am trying to implement a strategy pattern selector using a JavaScript object. Every strategy shares the same API with ...
Dez's user avatar
  • 5,887
0 votes
1 answer
337 views

Here is a very small pine script that follows trend but I'm facing issue with this repaint and reprint issue. //@version=2 strategy("PrabhuTrendStrategy", overlay=true) tim=input('160') ...
Prabhu 's user avatar
0 votes
1 answer
176 views

I am attempting to practice using the stratergy pattern and thought to sort a vector using a function selected at runtime, ideally being able to change the data in place using a mutable reference. I ...
Joseph Stevens's user avatar
-2 votes
1 answer
358 views

`//@version=5 strategy("4:4 S1", overlay=true) // Indicator Inputs fairValueGap = input(0.5, "Lux Algo Fair Value Gap") cciLevel = input(100, "CCI Level") cci = ta.cci(...
mohammad Aqeel's user avatar
0 votes
0 answers
309 views

In my Flutter app, there is a page that loads the data for a given topic. Included in this topic is an identifier for the algorithm to use when the user interacts with the widget. Due to the nature of ...
Dubl's user avatar
  • 324
2 votes
1 answer
95 views

This is an image from an old exam I'm working through. Through the UML-diagram, as seen above, how can I determine if this is Command Pattern or Strategy Pattern? The answer to the question is that is ...
alice's user avatar
  • 31
1 vote
6 answers
952 views

I am trying to understand the Strategy Pattern in order to utilise it for a problem I have. The current code looks as such where I have an amount that I want to process based on a payment type. public ...
tase akpo's user avatar

15 30 50 per page
1
2 3 4 5
49