• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:04
CET 15:04
KST 23:04
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Winter Warp Gate Amateur Showdown #1 Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
Klaucher discontinued / in-game color settings Anyone remember me from 2000s Bnet EAST server? BGH Auto Balance -> http://bghmmr.eu/ How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Mechabellum PC Games Sales Thread Path of Exile
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 992 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
Canada4215 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
SC Evo League
12:30
#18
LiquipediaDiscussion
WardiTV 2025
11:00
Playoffs
Reynor vs MaxPaxLIVE!
SHIN vs TBD
TBD vs Cure
Solar vs herO
Classic vs TBD
TBD vs Clem
WardiTV1737
ComeBackTV 1297
TaKeTV 540
IndyStarCraft 267
Rex161
CosmosSc2 112
LiquipediaDiscussion
CranKy Ducklings
10:00
Master Swan Open #99
CranKy Ducklings53
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko325
IndyStarCraft 267
Rex 161
CosmosSc2 112
MindelVK 47
trigger 19
StarCraft: Brood War
Horang2 1909
EffOrt 755
Stork 577
firebathero 329
Leta 264
Last 184
ggaemo 136
Zeus 127
Larva 122
Bonyth 44
[ Show more ]
ajuk12(nOOB) 38
Mong 35
Shinee 31
ToSsGirL 27
zelot 27
yabsab 23
ivOry 11
SilentControl 11
Terrorterran 0
Dota 2
Gorgc5528
singsing3807
qojqva1278
XcaliburYe243
League of Legends
rGuardiaN85
Heroes of the Storm
Khaldor256
Other Games
B2W.Neo1879
Pyrionflax356
crisheroes325
DeMusliM295
XaKoH 138
Hui .113
KnowMe58
Trikslyr30
QueenE28
Organizations
Other Games
PGL23
StarCraft: Brood War
lovetv 10
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• C_a_k_e 2371
• Gemini_19 27
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1923
• Nemesis1297
Upcoming Events
Ladder Legends
4h 56m
BSL 21
5h 56m
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
19h 56m
Ladder Legends
1d 2h
BSL 21
1d 5h
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
1d 18h
Wardi Open
1d 21h
Monday Night Weeklies
2 days
WardiTV Invitational
3 days
Replay Cast
4 days
[ Show More ]
WardiTV Invitational
4 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.