Giter VIP home page Giter VIP logo

Comments (13)

Aktanusa avatar Aktanusa commented on June 25, 2024

This is actually discussed in Issue #3 already. There is also a flaw with comparing only 2 items at a time. The even more efficient way is to compare all combinations of buying. This is of course very costly and similar to the traveling salesman problem in programming (aka O(n!) in complexity). I've been developing a way to at least shortcut it to be slight more efficient. Yea, I need to get off my lazy butt and just implement it.

from cookiemonster.

lucmans avatar lucmans commented on June 25, 2024

Since the calculations don't involve many elements, isn't the n relatively small (so n! isn't to detrimental)?
Especially given the current speed at which computers can calculate, this shouldn't take to long.

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

Yes yes, I know. I've been thinking on how to implement it for a while now. I was planning to add it today or tomorrow after I did my checklist of what I wanted to work since version 2 of CC came out. Since that's done now and release in version 2.3 of CM, I'm finally free to add this.

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

Actually I forgot this was suggesting to do cost/cps + cost/Δ cps. I was more planning on doing the optimization of considering purchases that is affordable now to help decrease the time needed for the best BCI as mention in Issue #52.

Edit: The main problem of changing to cost/cps + cost/Δ cps (despite being pretty simple to do actually) is figuring out what to rename the BCI label to. It isn't BCI anymore once you change it to cost/cps + cost/Δ cps.

from cookiemonster.

svschouw avatar svschouw commented on June 25, 2024

Return On Investment? Break Even Point? It is the time to wait for the necessary funds (cost/cps) plus the time to get the investment back (cost/Δcps).

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

So I guess ROI?

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

Added in Version 2.4

from cookiemonster.

Appleguysnake avatar Appleguysnake commented on June 25, 2024

I just updated and saw this because I came looking for an explanation of why it was called ROI now, which was confusing me. A higher ROI is usually better, because it's describing how much you'll get in return. The number is still showing the cost, which is better if it's lower. So that's still something like BCI, which I think is still much closer to an accurate description.

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

I know what you mean, but I think it's closer to inverse ROI. Writing inverse ROI didn't look good, so I shorten it to ROI. It's only BCI when you have enough cookies in the bank to buy.

from cookiemonster.

Appleguysnake avatar Appleguysnake commented on June 25, 2024

Well the inverse of Return is Cost lol, that's why I was saying it. I don't think there's any good short name that can clearly explain what it does, but calling it Return on Investment for a measure where lower is better is very counter-intuitive. I think a name like "Modified Cost" or "Adjusted Cost" or "Return-Adjusted Cost" would make it clear that it's a measure of cost where lower is better for those who aren't going to come read the GitHub issues page.

Sorry if this seems like a nitpick, but I can't help much with the maths, so I might as well try to help with the words :p

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

I think that is a good suggestion. Mind creating a new issue for me?

from cookiemonster.

Appleguysnake avatar Appleguysnake commented on June 25, 2024

Sure, happy to help!

from cookiemonster.

Aktanusa avatar Aktanusa commented on June 25, 2024

Thanks!

from cookiemonster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.