• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:50
CEST 03:50
KST 10:50
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation5$25,000 Streamerzone StarCraft Pro Series announced4Weekly Cups (June 30 - July 6): Classic Doubles5[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66
StarCraft 2
General
The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings Firefly given lifetime ban by ESIC following match-fixing investigation Weekly Cups (June 30 - July 6): Classic Doubles Jim claims he and Firefly were involved in match-fixing
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
ASL20 Preliminary Maps i aint gon lie to u bruh... BGH Auto Balance -> http://bghmmr.eu/ [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Summer Games Done Quick 2024!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 613 users

Scouting vs. Random analysis

Forum Index > SC2 General
Post a Reply
Normal
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 01:19:12
April 20 2010 20:49 GMT
#1
Preamble:

As far as the search goes, there hasn't been a clear answer to this question: when do I scout against random?

I provide here a small analysis which, not necessarily says anything groundbreaking, but shows the implications in terms of mineral advantage when you scout.
Note: for these calculations we assume that the random player scouts after 10

Proof:
+ Show Spoiler +

Scenario: You send one of your first 6 SCVs to scout

Let us assume that for the first 10~ scvs, your mineral income per minute per scv can be represented as this:

g(n) = k*n

where k is an arbitrary value of the average income each scv makes per second. depending on the type of speed you play SC on, it is around 2/3.

Of course, as soon you add in more than 10 scvs, this function needs a piecewise-representation, as the return diminishes the more scvs you have. Furthermore, this function assumes there is a linear relationship of the amount of minerals recieved for the first 10 scvs, which does create a margin of error, but it is not that bad.

Thus, we say that:

[image loading]


Now, when you scout, you are effectively down by one scv, let us define the income of the opponent as

[image loading]


If we assume that both players continuously pump scvs for the first 10 supply, we can say that the number of SCVs with respect to time (in minutes) can be modelled by the function:

[image loading]


That is to say, number of SCVs for the first 100 seconds of the game can be calculated by floor(time / 20).
Because it takes 20 seconds to build an scv. I put a restriction of 100 seconds because in 100 seconds 5 scvs are produced, which brings our total count of SCVs to 11. However, one will be surely sent to build a structure by then, which fulfills our restriction of a maximum of 10 scvs mining the minerals at a time.

which we can substitute:

[image loading]


Now that we have the rate of income at time t of each player, we can integrate and find the total amount of money each player has gotten (from the new scvs), with respect to time

Thus now we can approximate the accumlated minerals gathered (by the new scvs) for the first 100 seconds can be modelled like this for each player.

[image loading]



We can find the advantage of Player 1's total minerals over Player 2's total minerals if player two starts off with 1 less scv (scout) by

[image loading]


If we plot this graph, we can see how big of an advantage, that your opponent has over you, if you sent one of your first 6 SCVs out right away. For these plots we will assume K = 4/6 minerals per second

+ Show Spoiler +
[image loading]


Thus if player two sends one of his initial six scvs to scout, by the 100 second mark, player one will have a 200/3 mineral advantage over player one.

This indeed makes sense, seeing as if the opponent has an extra scv over me for 100 seconds, and the scv gains an average of 4/6 minerals a second, he should have 4/6 * 100 minerals over me. This case is proven true.

But now we want to know, what happens if I send the 7th scv instead of the 6th? Or the 8th? Or the 9th?

Then we can model MY income by:

[image loading]


Where x is the time for which I sent my scouting SCV out. If it my 7th SCV, this is 20 seconds into the game. 8th SCV, 40 seconds in. Etc.

This makes sense because my income and my opponents income are exactly the same (note the f(x) part) up until i send my scout out (at time x). Then my mineral income diverges from my opponents, and I have the g(t) function which implies i have 1 less scv thereafter.

This creates the relationship of my total gathered minerals versus the total gathered minerals of my opponent. obviously, the later i send my scout out, the closer my mineral income is to his:

+ Show Spoiler +
[image loading]


Now for the real stuff; I want to know 100 seconds in, how much each of these options costs me, so I can draw some sort of application.

My opponents final income will always be the best case scenario, lets say f(100) in this case. I want to know how much greater his income will be over me depending on when I send my SCV scout out.

+ Show Spoiler +
[image loading]


There you have it; If i send one of my first 6 SCV scouts i will be at a defecit of 200/3 minerals by the 100 second mark. And so on...



Observations:
This creates the table:

[image loading]

From the 100 second point and onwards, my opponent suffers diminishing returns, and thus his advantage will slowly converge to zero.

Note: this is assuming your opponent does NOT send a scout until at least 11 scvs have been produced. (Which is usually the case when you play vs random)


personally, since im terran, scouting at 7 catches two bases before I decide whether or not i want to tech/mass/FE. At a loss of 40 minerals, doesnt seem like a bad idea.

More implications:

Question:
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.

Proof:

+ Show Spoiler +
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
Thus, I am behind by 36 minerals to making my supply depot.

Currently, I have 9 SCVs mining. If my rate of income is g(t) = [(2/3)*t]*9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.

Similarily, we can continue this for every individual variable for which SCV scout was sent.


This creates the following table:

[image loading]
nedsat
Profile Joined April 2010
27 Posts
Last Edited: 2010-04-20 21:03:25
April 20 2010 21:02 GMT
#2
Good reading. You did a fine job sir.
I would have thought you would lose more scouting already at 7-8.
Sentient
Profile Joined April 2010
United States437 Posts
April 20 2010 21:14 GMT
#3
Thank you, this is very useful. I'm always hesitant to send an early scout, but it seems the cost isn't as much as I thought it was.
puckthecat
Profile Joined April 2010
United States18 Posts
April 20 2010 21:35 GMT
#4
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.
Clearout
Profile Blog Joined April 2010
Norway1060 Posts
April 20 2010 21:48 GMT
#5
Wow well done
really?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 20 2010 21:49 GMT
#6
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.


Very keen observation
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
I am behind by 36 minerals to making my supply depot. Currently, I have 9 SCVs mining. If my rate of income is g(t) = 2/3*t/9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.
Stopdroproll
Profile Joined March 2010
United States101 Posts
April 20 2010 22:13 GMT
#7
Very interesting, I've always wondered how early scouting can affect minerals mining.
But at what cost?
mOnion
Profile Blog Joined August 2009
United States5657 Posts
Last Edited: 2010-04-20 22:18:50
April 20 2010 22:16 GMT
#8
awwwww I LOVE all these math wizards who are figuring all this shit out!

great read! ^__^

this is actually more interesting for scouting against players who's race you know, because then you have more of an emphasis on your economy as you already know what race your opponent is

but for random players you wanna see what you're up against asap even if it means sacking some econ.
☆★☆ 7486!!! Join the Ban mOnion Anti-Trolling Initiative! - Caller | "on a scale of machine to 10, how bad is that Zerg?" - LZgamer | you are the new tl.net bonjwa monion, congrats - Rekrul | "Cheeseburgers dynamite lilacs" - Chill
DrSmoke
Profile Joined April 2010
United States175 Posts
April 20 2010 22:18 GMT
#9
Wow holy math batman!

"The more you know..."
Osmoses
Profile Blog Joined October 2008
Sweden5302 Posts
April 20 2010 22:19 GMT
#10
Just thought I'd drop in and let you know the thread title reads "Scouting vs. Random anal" in the menu bar. Other then that, I think this information is pretty interesting, I've often found myself scewing up my builds because I forgot what race I was playing against and had to early scout.

Carry on.
Excuse me hun, but what is your name? Vivian? I woke up next to you naked and, uh, did we, um?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 20 2010 23:06 GMT
#11
On April 21 2010 07:19 Osmoses wrote:
Just thought I'd drop in and let you know the thread title reads "Scouting vs. Random anal" in the menu bar. Other then that, I think this information is pretty interesting, I've often found myself scewing up my builds because I forgot what race I was playing against and had to early scout.

Carry on.


Lol youre right

If i could edit the threads name I would, its not even named well :x
Been in a rush to move out, just jotted stuff down asap.
Husky
Profile Blog Joined May 2009
United States3362 Posts
April 20 2010 23:08 GMT
#12
I never scout that early against random. Then again I'm really bad.

+ Show Spoiler +
I love random anal
Commentaries: youtube.com/HuskyStarcraft
No_Roo
Profile Joined February 2010
United States905 Posts
Last Edited: 2010-04-21 00:20:58
April 20 2010 23:39 GMT
#13
Haha, yes this was some tragic thread title truncation, was going to screenshot it on the main page but looks like every one else already noticed it.

Good thread though, nice to see the numbers.


EDIT: Reminds me of a programming class I had to take last year...
+ Show Spoiler +
[image loading]
(US) NoRoo.fighting
junemermaid
Profile Joined September 2006
United States981 Posts
April 20 2010 23:47 GMT
#14
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.
the UMP says YER OUT
zomgzergrush
Profile Joined August 2008
United States923 Posts
April 20 2010 23:53 GMT
#15
Nice read, but how does map specifics play into this? 1v1 maps, 4p maps, various scouting path distances, etc?
Bronze skipping straight to Diamond in 40 games retail release. Bnet 2.0 ladder really takes it's sweet time to think about that league placement.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 21 2010 00:15 GMT
#16
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.

yeah there would be a couple ways.

the "easiest" would probably be empirical data, but a 30 minute write-up along with half an hour of testing would take much longer than just a 30 minute write-up

another way you can do it is by using differential equations, but thats more advanced than just integration, especially with floor calls

I realize i made it seem very complicated, truth is its just one small integration problem, then using relations between the functions to get what you want. im bad at writeups when im in a hurry.

Don't really know another way i could've made these conclusions without using these methods.

I chose my method because I thought itd be the easiest to express, and this way we get pretty graphs where we can pinpoint things and see relations

not to mention, by using functions its easier (at least for me) to see some of the connections

either way, thanks ^^
Chronopolis
Profile Joined April 2009
Canada1484 Posts
April 21 2010 00:32 GMT
#17
The word Analaysis has turned to anal in the sidebar countless times lol. @ the OP, while the mineral loss for early scout is small @ 100 seconds, if it delays a key building it will slow down the entire build by that much.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 21 2010 23:00 GMT
#18
All done moving...

Anyways, since i dont have the SC2 beta, it would be great if someone could give me some of the following information so i can make more conclusions:

Time it takes to scout each base on a map,
Ie. On lost temple, scouting close would take X time,
scouting second closest would be Y time
Scouting across would be Z time

etc.

I would also like to know for three player and two player maps (if they exist)



Erucious
Profile Joined March 2010
Norway393 Posts
April 21 2010 23:14 GMT
#19
i didnt read it all... But the math in this thread just got me REALLY hard.

<3
I'm Norwegian/Dutch. Just the awesome parts of them though :D
Amazn
Profile Joined March 2010
United States83 Posts
April 21 2010 23:32 GMT
#20
You baneling busted by brain
Let fear be your compass.
Irrelevant
Profile Blog Joined June 2009
United States2364 Posts
April 21 2010 23:36 GMT
#21
goddamn sc math gets me hard
prototype.
Profile Blog Joined July 2009
Canada4200 Posts
April 21 2010 23:36 GMT
#22
On April 21 2010 09:32 Chronopolis wrote:
The word Analaysis has turned to anal in the sidebar countless times lol. @ the OP, while the mineral loss for early scout is small @ 100 seconds, if it delays a key building it will slow down the entire build by that much.

sounds alot better than going for a build you're not even sure is viable against a certain race...
( ・´ー・`)
Mutaahh
Profile Joined June 2007
Netherlands859 Posts
April 21 2010 23:43 GMT
#23
I always wondered how this worked in Starcraft, now with SCII incoming its nice to see someone finally took the time to figure this out.

Thanks!
I want to fly
Deleted User 48059
Profile Blog Joined May 2009
86 Posts
April 21 2010 23:50 GMT
#24
Wow. Nice maths, and a nice post.
It's good to have an indication of exactly how much econ. is being sacced in return for the early info.


Also, gotta love the words 'random anal...' in the sidebar.

Kev
ilnp
Profile Joined December 2002
Iceland1330 Posts
May 09 2010 17:07 GMT
#25
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space
8===D~~
Louder
Profile Blog Joined September 2002
United States2276 Posts
May 09 2010 17:09 GMT
#26
Nice
Synwave
Profile Joined July 2009
United States2803 Posts
May 09 2010 17:29 GMT
#27
Thanks OP!
Oh spiffy, I am one of those that thought pre-10th scout really hurt me but now I know better.
And knowing is half the battle GI Jooooooooooe =D

♞Nerdrage is the cause of global warming♞
s031720
Profile Joined December 2009
Sweden383 Posts
May 09 2010 17:39 GMT
#28
The question that comes to my mind is why send an early scout? Surely its bad if it hits to early aswell as to late, if it arrives before any useful information can be won, you need to spend more APM to keep it alive, etc.

So I think instead of asking how much does it cost to send an early scout, a bette question would be how much would I gain and would it be worth it? Personally I send my scout on 11 on most maps and that is usually a good timing for me to collect the information I need in time to adjust my build.
Just another noob
OPSavioR
Profile Joined March 2010
Sweden1465 Posts
May 09 2010 17:42 GMT
#29
this is why random is OP
i dunno lol
Synwave
Profile Joined July 2009
United States2803 Posts
May 09 2010 17:44 GMT
#30
On May 10 2010 02:42 OPSavioR wrote:
this is why random is OP


No its because we get a cool panda decal at 50 wins =D
♞Nerdrage is the cause of global warming♞
Gont
Profile Joined March 2010
Germany239 Posts
May 09 2010 20:08 GMT
#31
LOL AT THAT MATH :D

good to know thx for doing this =)

Evoke
Profile Joined April 2010
New Zealand50 Posts
May 09 2010 20:30 GMT
#32
Last night, I scouted a random opponent, and as soon as my SCV got there, he called me a noob. Later I asked him why it was noob and he said it's a waste of time and resources. /confused
Oracle
Profile Blog Joined May 2007
Canada411 Posts
May 09 2010 22:32 GMT
#33
On May 10 2010 05:30 Evoke wrote:
Last night, I scouted a random opponent, and as soon as my SCV got there, he called me a noob. Later I asked him why it was noob and he said it's a waste of time and resources. /confused


Lol did you win?
Hold-Lurker
Profile Joined October 2007
United States403 Posts
May 09 2010 23:51 GMT
#34
Excuse my ignorance, it's been years since I've done any integrals, but why does the integral of Kt/20 + K equal Kt^2/20 + Kt rather than Kt^2/40 + Kt?

Also, are you using game time or real time? The time to make an SCV should be 17 seconds of game time and roughly 12 seconds of real life time I think. I don't know how that impacts any of the numbers, probably by some constant.
Narwhal
Profile Joined September 2009
United Kingdom314 Posts
May 09 2010 23:54 GMT
#35
Thanks for making me feel like a total dumbass.

No really good job though.
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.
Megalisk
Profile Blog Joined October 2008
United States6095 Posts
May 09 2010 23:57 GMT
#36
Check your PM MY BROTHER!~!

Tear stained american saints and dirty guitar dreams across a universe of desert and blue sky , gas station coffee love letters and two dollar pistol kisses from thirty five dollar hotel room stationary .
igotmyown
Profile Blog Joined April 2009
United States4291 Posts
May 10 2010 00:25 GMT
#37
On May 10 2010 02:07 ilnp wrote:
Show nested quote +
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space


No, unfortunately I have to agree. It was an overcomplicated way of showing that
minerals lost = mining rate x ( 100 - time sent out ).

The step of after the integrals
A(t) = f(t) - g(t)
= K([t/20]+1) - K ( [t/20] )
=K
that is, the difference between the rate of mining being down 1 scv is ...
the mining rate of one scv

The integrals are never used, and furthermore, we could simply have added together an arithmetic series if we ever did want to calculate the total number of minerals mined.


What would be more useful is calculating how fast an expansion (gold or not) will pay for itself, which represents your window to be rushed. Or if you called supply instead of a mule to get an expansion faster, how many scvs would you have to maynard to pull ahead of the mule (assuming your main is fully saturated) in income, if it is possible. Or by map how many minerals do you lose maynarding.

Or for scouting, how much money do you save by sending a marine/zealot/reaper scout instead of an scv, assuming they will die. Of course you won't scout cheese...
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 00:47:21
May 10 2010 00:42 GMT
#38
On May 10 2010 09:25 igotmyown wrote:
Show nested quote +
On May 10 2010 02:07 ilnp wrote:
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space


No, unfortunately I have to agree. It was an overcomplicated way of showing that
minerals lost = mining rate x ( 100 - time sent out ).

The step of after the integrals
A(t) = f(t) - g(t)
= K([t/20]+1) - K ( [t/20] )
=K
that is, the difference between the rate of mining being down 1 scv is ...
the mining rate of one scv

The integrals are never used, and furthermore, we could simply have added together an arithmetic series if we ever did want to calculate the total number of minerals mined.


What would be more useful is calculating how fast an expansion (gold or not) will pay for itself, which represents your window to be rushed. Or if you called supply instead of a mule to get an expansion faster, how many scvs would you have to maynard to pull ahead of the mule (assuming your main is fully saturated) in income, if it is possible. Or by map how many minerals do you lose maynarding.

Or for scouting, how much money do you save by sending a marine/zealot/reaper scout instead of an scv, assuming they will die. Of course you won't scout cheese...


Sorry, I totally messed up the notation.

If Function a(t) was the advantageous RATE at which player one has over player two, then simply K is correct.
However, i described a(t) as the advantageous AMOUNT of minerals that player one has over player two, thus a correction is in order:

a(t) = int(f(t)) - int(g(t))

Sorry, thanks for pointing out that typo!

And this is affirmed from the screenshots with the graph,
for example: http://i42.tinypic.com/x2l7x2.png
You see that f(t) and g(t) are infact int(g(t)) and int(f(t))

So yes, the integrals ARE used. Why would I integrate for no reason?
I'll fix those images right now, thanks for that!

As for your other comment, please refer to this reply:


On April 21 2010 09:15 Koltz wrote:
Show nested quote +
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.

yeah there would be a couple ways.

the "easiest" would probably be empirical data, but a 30 minute write-up along with half an hour of testing would take much longer than just a 30 minute write-up

another way you can do it is by using differential equations, but thats more advanced than just integration, especially with floor calls

I realize i made it seem very complicated, truth is its just one small integration problem, then using relations between the functions to get what you want. im bad at writeups when im in a hurry.

Don't really know another way i could've made these conclusions without using these methods.

I chose my method because I thought itd be the easiest to express, and this way we get pretty graphs where we can pinpoint things and see relations

not to mention, by using functions its easier (at least for me) to see some of the connections

either way, thanks ^^


I did go through the other ways of doing this, and I agree series can be used to find this data out, however the closed form formula for that series would involve the integration itself.

I like to have closed results, such that I can find whatever I want, whenever I want. This method worked best. I get graphs and functions which I can use to find other things, such as part B of the opening post.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 00:48:15
May 10 2010 00:44 GMT
#39
On May 10 2010 08:51 Hold-Lurker wrote:
Excuse my ignorance, it's been years since I've done any integrals, but why does the integral of Kt/20 + K equal Kt^2/20 + Kt rather than Kt^2/40 + Kt?

Also, are you using game time or real time? The time to make an SCV should be 17 seconds of game time and roughly 12 seconds of real life time I think. I don't know how that impacts any of the numbers, probably by some constant.


There is a floor function involved;

In case you don't know what floor is:
http://en.wikipedia.org/wiki/Floor_and_ceiling_functions

so floor(1.6) = 1
floor(2.1) = 2
floor(5) = 5

They aren't brackets, that notation indicated the floor function

And yeah, I didnt have the beta at the time so I thought SCVs took 20 seconds to make... woops
pyr0ma5ta
Profile Joined May 2010
United States458 Posts
May 10 2010 00:44 GMT
#40
<3 random anal
"I made you a zergling, but I eated it." - Defiler
Hold-Lurker
Profile Joined October 2007
United States403 Posts
May 10 2010 01:18 GMT
#41
I totally missed the floor function, sorry! Thanks for explaining.

Does the SCV build time change much?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 01:25:36
May 10 2010 01:21 GMT
#42
Update: Added another table and chart for more examples of the first implication that I found, check it out

it doesn't change anything at all, actually. Well, forgoing mathematical -> reality error. Since all of it was relative to another, it would still say the same. Except it wouldn't be mineral defecit at "100 second mark", but rather the 85th second mark.

Either way, i used the 100 seconds to notate the moment when I have 11 SCVs out. Or, in other words, simply replace that header with "Mineral deficit at 11 supply"
Ballistixz
Profile Joined January 2010
United States1269 Posts
May 10 2010 01:54 GMT
#43
On April 21 2010 05:49 Koltz wrote:
Preamble:

As far as the search goes, there hasn't been a clear answer to this question: when do I scout against random?

I provide here a small analysis which, not necessarily says anything groundbreaking, but shows the implications in terms of mineral advantage when you scout.
Note: for these calculations we assume that the random player scouts after 10

Proof:
+ Show Spoiler +

Scenario: You send one of your first 6 SCVs to scout

Let us assume that for the first 10~ scvs, your mineral income per minute per scv can be represented as this:

g(n) = k*n

where k is an arbitrary value of the average income each scv makes per second. depending on the type of speed you play SC on, it is around 2/3.

Of course, as soon you add in more than 10 scvs, this function needs a piecewise-representation, as the return diminishes the more scvs you have. Furthermore, this function assumes there is a linear relationship of the amount of minerals recieved for the first 10 scvs, which does create a margin of error, but it is not that bad.

Thus, we say that:

[image loading]


Now, when you scout, you are effectively down by one scv, let us define the income of the opponent as

[image loading]


If we assume that both players continuously pump scvs for the first 10 supply, we can say that the number of SCVs with respect to time (in minutes) can be modelled by the function:

[image loading]


That is to say, number of SCVs for the first 100 seconds of the game can be calculated by floor(time / 20).
Because it takes 20 seconds to build an scv. I put a restriction of 100 seconds because in 100 seconds 5 scvs are produced, which brings our total count of SCVs to 11. However, one will be surely sent to build a structure by then, which fulfills our restriction of a maximum of 10 scvs mining the minerals at a time.

which we can substitute:

[image loading]


Now that we have the rate of income at time t of each player, we can integrate and find the total amount of money each player has gotten (from the new scvs), with respect to time

Thus now we can approximate the accumlated minerals gathered (by the new scvs) for the first 100 seconds can be modelled like this for each player.

[image loading]



We can find the advantage of Player 1's total minerals over Player 2's total minerals if player two starts off with 1 less scv (scout) by

[image loading]


If we plot this graph, we can see how big of an advantage, that your opponent has over you, if you sent one of your first 6 SCVs out right away. For these plots we will assume K = 4/6 minerals per second

+ Show Spoiler +
[image loading]


Thus if player two sends one of his initial six scvs to scout, by the 100 second mark, player one will have a 200/3 mineral advantage over player one.

This indeed makes sense, seeing as if the opponent has an extra scv over me for 100 seconds, and the scv gains an average of 4/6 minerals a second, he should have 4/6 * 100 minerals over me. This case is proven true.

But now we want to know, what happens if I send the 7th scv instead of the 6th? Or the 8th? Or the 9th?

Then we can model MY income by:

[image loading]


Where x is the time for which I sent my scouting SCV out. If it my 7th SCV, this is 20 seconds into the game. 8th SCV, 40 seconds in. Etc.

This makes sense because my income and my opponents income are exactly the same (note the f(x) part) up until i send my scout out (at time x). Then my mineral income diverges from my opponents, and I have the g(t) function which implies i have 1 less scv thereafter.

This creates the relationship of my total gathered minerals versus the total gathered minerals of my opponent. obviously, the later i send my scout out, the closer my mineral income is to his:

+ Show Spoiler +
[image loading]


Now for the real stuff; I want to know 100 seconds in, how much each of these options costs me, so I can draw some sort of application.

My opponents final income will always be the best case scenario, lets say f(100) in this case. I want to know how much greater his income will be over me depending on when I send my SCV scout out.

+ Show Spoiler +
[image loading]


There you have it; If i send one of my first 6 SCV scouts i will be at a defecit of 200/3 minerals by the 100 second mark. And so on...



Observations:
This creates the table:

[image loading]

From the 100 second point and onwards, my opponent suffers diminishing returns, and thus his advantage will slowly converge to zero.

Note: this is assuming your opponent does NOT send a scout until at least 11 scvs have been produced. (Which is usually the case when you play vs random)


personally, since im terran, scouting at 7 catches two bases before I decide whether or not i want to tech/mass/FE. At a loss of 40 minerals, doesnt seem like a bad idea.

More implications:

Question:
Show nested quote +
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.

Proof:

+ Show Spoiler +
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
Thus, I am behind by 36 minerals to making my supply depot.

Currently, I have 9 SCVs mining. If my rate of income is g(t) = [(2/3)*t]*9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.

Similarily, we can continue this for every individual variable for which SCV scout was sent.


This creates the following table:

[image loading]



"wow now i know!"

"and knowing is half the battle!"

"G.I JOOOOOOOOOOOOOOOOOOE!"
mrproper
Profile Joined April 2010
Romania93 Posts
May 13 2010 10:00 GMT
#44
Thread title made me think something along the lines: Go see what he might throw at you later vs. Prepare for what he may trow at you based on timings... so you can maybe make counters blindly...
KrevanSerKay
Profile Joined August 2010
2 Posts
August 08 2010 21:29 GMT
#45
Nice post... i actually read it all and i'm pretty sure i understand everything. Well done
Normal
Please log in or register to reply.
Live Events Refresh
PiGosaur Monday
00:00
#39
PiGStarcraft479
SteadfastSC142
CranKy Ducklings117
davetesta27
rockletztv 24
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft479
Nina 158
SteadfastSC 134
CosmosSc2 53
Vindicta 20
RuFF_SC2 0
StarCraft: Brood War
Artosis 873
Icarus 8
Dota 2
monkeys_forever496
League of Legends
JimRising 620
Counter-Strike
fl0m2472
Super Smash Bros
hungrybox470
Other Games
summit1g4893
shahzam618
C9.Mang0489
ViBE213
Maynarde205
Trikslyr58
Organizations
Other Games
gamesdonequick46239
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 62
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki15
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1943
Upcoming Events
The PondCast
8h 10m
uThermal 2v2 Circuit
14h 10m
WardiTV European League
14h 10m
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
Replay Cast
22h 10m
RSL Revival
1d 8h
ByuN vs SHIN
Clem vs Reynor
OSC
1d 11h
Replay Cast
1d 22h
RSL Revival
2 days
Classic vs Cure
FEL
2 days
OSC
2 days
[ Show More ]
RSL Revival
3 days
FEL
3 days
FEL
3 days
CSO Cup
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
4 days
RSL Revival
4 days
FEL
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-07-07
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.