Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 56 57 [58] 59 60 ... 230  All

Author Topic: Random Stuff Part II  (Read 1226537 times)

0 Members and 19 Guests are viewing this topic.

Titandrake

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2210
  • Respect: +2856
    • View Profile
Re: Random Stuff Part II
« Reply #1425 on: October 27, 2014, 03:33:05 pm »
+1

It doesn't look like BFS because some nodes towards the end aren't expanded as much, but the heuristic used doesn't seem that good either.
Logged
I have a blog! It's called Sorta Insightful. Check it out?

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Random Stuff Part II
« Reply #1426 on: October 28, 2014, 06:02:47 pm »
0

I won a Snapfish 5x7" Photo Book at McDonald's Monopoly.  I have no desire to get a photo book.  Does anyone want it?  This is Canadian, so you might have to be Canadian to redeem it...
Logged

florrat

  • Minion
  • *****
  • Offline Offline
  • Posts: 542
  • Shuffle iT Username: florrat
  • Respect: +748
    • View Profile
Re: Random Stuff Part II
« Reply #1427 on: October 28, 2014, 06:51:08 pm »
+4

Logged

blueblimp

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2849
  • Respect: +1559
    • View Profile
Re: Random Stuff Part II
« Reply #1428 on: October 28, 2014, 07:00:00 pm »
+1

Euclidean distance is a weird heuristic to pick if your moves are compass directions and diagonals. Maximum of absolute coordinate distances would make more sense, since that's what the distance would be if there are no obstacles. Edit: Never mind, I didn't realize that the moves were being costed by their Euclidean distance. Still, a tighter heuristic would be  sqrt(2)*min + (max - min).
« Last Edit: October 28, 2014, 07:02:46 pm by blueblimp »
Logged

heron

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1055
  • Shuffle iT Username: heron
  • Respect: +1185
    • View Profile
Re: Random Stuff Part II
« Reply #1429 on: October 28, 2014, 07:09:58 pm »
0

Fun fact: In my mind, pacovf is pronounced pakov-vee.
Logged

AndrewisFTTW

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1129
  • Respect: +1084
    • View Profile
Re: Random Stuff Part II
« Reply #1430 on: October 28, 2014, 07:11:16 pm »
+8

Fun fact: In my mind, pacovf is pronounced pakov-vee.

That fact was not as fun as I hoped it'd be.
Logged
Wins: M39, M41, M48, M96, M97, M102, M105
Losses: M40, M43, M45, BM17 (?), RMM13, RMM17, RMM20, NM7, ZM18, M100, M109
MVPs: M97
Mod/Co-Mod: M46, M49, M52, NM10

Dsell

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1290
  • He/Him
  • Respect: +932
    • View Profile
Re: Random Stuff Part II
« Reply #1431 on: October 28, 2014, 07:24:37 pm »
0

I won a Snapfish 5x7" Photo Book at McDonald's Monopoly.  I have no desire to get a photo book.  Does anyone want it?  This is Canadian, so you might have to be Canadian to redeem it...

Give it to a family member who's in to that sort of thing. My mom makes Shutterfly (a competitor with a similar product) books all the time and loves them. They're really cool for documenting trips or occasions or just a year in the life. They're basically digital scrapbooks.
Logged
"Quiet you, you'll lynch Dsell when I'm good and ready" - Insomniac


Winner of Forum Survivor Season 2!

pacovf

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3500
  • Multiediting poster
  • Respect: +3839
    • View Profile
Re: Random Stuff Part II
« Reply #1432 on: October 28, 2014, 07:25:51 pm »
0

Fun fact: In my mind, pacovf is pronounced pakov-vee.

That fact was not as fun as I hoped it'd be.

But it is random!
Logged
pacovf has a neopets account.  It has 999 hours logged.  All his neopets are named "Jessica".  I guess that must be his ex.

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7868
    • View Profile
Re: Random Stuff Part II
« Reply #1433 on: October 28, 2014, 07:51:00 pm »
+1

Fun fact: In my mind, pacovf is pronounced pakov-vee.

In my mind, it's Pavlov.
Logged

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2817
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Random Stuff Part II
« Reply #1434 on: October 28, 2014, 07:57:51 pm »
0

Inconsistent heuristic. Fast, but finds solution which is not optimal.


Why is this non-optimal? It looks like it's the shortest distance to me, assuming we're counting distance in number of points not in actual line length.
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

GeoLib

  • Jester
  • *****
  • Offline Offline
  • Posts: 965
  • Respect: +1265
    • View Profile
Re: Random Stuff Part II
« Reply #1435 on: October 28, 2014, 08:38:48 pm »
0

Inconsistent heuristic. Fast, but finds solution which is not optimal.


Why is this non-optimal? It looks like it's the shortest distance to me, assuming we're counting distance in number of points not in actual line length.

It's counting actual distance. If you look at the description "The graph is created by uniform square discretization of a 2-dimensional planar region, placing a node in each discretized cell, and connecting each node with its 8 neighbors using bidirectional edges. Cost of edges are same as their Euclidean lengths."
Logged
"All advice is awful"
 —Count Grishnakh

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Random Stuff Part II
« Reply #1436 on: October 28, 2014, 09:14:16 pm »
+2

Fun fact: In my mind, pacovf is pronounced pakov-vee.

In my mind, it's Pavlov.

Whenever pacovf hears a bell, he feels the need to feed a dog.
Logged

ashersky

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2343
  • 2013/2014/2015 Mafia Mod of the Year
  • Respect: +1520
    • View Profile
Re: Random Stuff Part II
« Reply #1437 on: October 28, 2014, 09:52:52 pm »
+3

How awesome is falafel?
Logged
f.ds Mafia Board Moderator

2013, 2014, 2015 Mafia Mod of the Year
2015 f.ds Representative, World Forum Mafia Championships
2013, 2014 Mafia Player of the Year (Tie)

11x MVP: M30, M83, ZM16, M25, M38, M61, M76, RMM5, RMM41, RMM46, M51

AHoppy

  • Jester
  • *****
  • Offline Offline
  • Posts: 978
  • Respect: +529
    • View Profile
Re: Random Stuff Part II
« Reply #1438 on: October 28, 2014, 09:56:41 pm »
+2

How awesome is falafel?
It has nothing on the kebab

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9415
    • View Profile
Re: Random Stuff Part II
« Reply #1439 on: October 28, 2014, 10:26:30 pm »
0

Similar animation for different heuristics:

[images]

So the bottom one gets an answer that's suboptimal by about 5%, but only takes 30% as long to complete... isn't that the one to go with so long as you don't need a perfectly optimal path?
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Random Stuff Part II
« Reply #1440 on: October 28, 2014, 10:47:48 pm »
+2

How awesome is falafel?

Well, it's not awful.
Logged

WalrusMcFishSr

  • Minion
  • *****
  • Offline Offline
  • Posts: 642
  • An enormous walrus the size of Antarctica
  • Respect: +1793
    • View Profile
Re: Random Stuff Part II
« Reply #1441 on: October 28, 2014, 10:54:55 pm »
+2

How awesome is falafel?

There was a restaurant a block away from my college house which was open until 3 AM and had $2 falafel sandwiches...so awesome
Logged
My Dominion videos: http://www.youtube.com/user/WalrusMcFishSr   <---Bet you can't click on that!

GeoLib

  • Jester
  • *****
  • Offline Offline
  • Posts: 965
  • Respect: +1265
    • View Profile
Re: Random Stuff Part II
« Reply #1442 on: October 29, 2014, 12:08:48 am »
0

Similar animation for different heuristics:

[images]

So the bottom one gets an answer that's suboptimal by about 5%, but only takes 30% as long to complete... isn't that the one to go with so long as you don't need a perfectly optimal path?

Given your assumption, yes. Approximation techniques are extremely powerful. If you're willing to settle for something a little bit less than optimal, then all kinds of problems become far more tractable (e.g. polynomial-time solutions for NP-hard problems).

Sometimes you really do want the very best solution though, and computers are so fast that it is also quite frequently worth it to use an algorithm that gives the optimal. Path finding is very much polynomial.

It depends on what you care about and what your constraints are.
Logged
"All advice is awful"
 —Count Grishnakh

Titandrake

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2210
  • Respect: +2856
    • View Profile
Re: Random Stuff Part II
« Reply #1443 on: October 29, 2014, 01:18:51 am »
0

I can't tell if my internet is dead and I'm seeing cached content or if it's just really slow, the forum still loads so here's a test post.

Edit: have confirmed that I can load this page and someone who hasn't been to the forum can load this page, but literally no other site is loading, so it's not a speed issue...

Edit 2: Somehow the DNS server was completely dead, except for on this site, which also explains why Hearthstone + Skype were still working. Pointing at Google's DNS, all good now, thank you for taking part in this real-time blogging of technical issues.
« Last Edit: October 29, 2014, 01:37:46 am by Titandrake »
Logged
I have a blog! It's called Sorta Insightful. Check it out?

pacovf

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3500
  • Multiediting poster
  • Respect: +3839
    • View Profile
Re: Random Stuff Part II
« Reply #1444 on: October 29, 2014, 02:36:30 am »
+4

I can't tell if my internet is dead and I'm seeing cached content or if it's just really slow, the forum still loads so here's a test post.

Edit: have confirmed that I can load this page and someone who hasn't been to the forum can load this page, but literally no other site is loading, so it's not a speed issue...

Edit 2: Somehow the DNS server was completely dead, except for on this site, which also explains why Hearthstone + Skype were still working. Pointing at Google's DNS, all good now, thank you for taking part in this real-time blogging of technical issues.

3/5 stars. Intense and suspenseful with a nice plot twist, but on the short side. Might watch again.
Logged
pacovf has a neopets account.  It has 999 hours logged.  All his neopets are named "Jessica".  I guess that must be his ex.

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2817
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: Random Stuff Part II
« Reply #1445 on: October 29, 2014, 05:54:37 am »
0

Inconsistent heuristic. Fast, but finds solution which is not optimal.


Why is this non-optimal? It looks like it's the shortest distance to me, assuming we're counting distance in number of points not in actual line length.

It's counting actual distance. If you look at the description "The graph is created by uniform square discretization of a 2-dimensional planar region, placing a node in each discretized cell, and connecting each node with its 8 neighbors using bidirectional edges. Cost of edges are same as their Euclidean lengths."

Right, okay. I thought that might be it but the use of dots made me suspect otherwise (and people are often bad at noticing in the kind of geometry where you move along a grid orthogonally or diagonally that zig-zagging is just as fast as a straight line).
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

soulnet

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2142
  • Respect: +1751
    • View Profile
Re: Random Stuff Part II
« Reply #1446 on: October 29, 2014, 09:32:44 am »
0

Sometimes you really do want the very best solution though, and computers are so fast that it is also quite frequently worth it to use an algorithm that gives the optimal. Path finding is very much polynomial.

Minimum path is actually linear. However, sometimes linear is not enough. Just imagine the number of nodes in the graph used to search for directions in Google Maps when entering addresses in different continents.
Logged

Kuildeous

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3840
  • Respect: +2221
    • View Profile
Re: Random Stuff Part II
« Reply #1447 on: October 29, 2014, 09:53:34 am »
0

Smashed my pinkie in a door that we move around on stage. Thankfully, the door's been redesigned so that that shouldn't happen again, but the damage has been done. I'll just be grateful that it wasn't too damaging.

Still not as bad as the time I did a stage fight and sliced my thumb on a rusty sickle. That was worrisome.
Logged
A man has no signature

silverspawn

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5326
  • Shuffle iT Username: sty.silver
  • Respect: +3235
    • View Profile
Re: Random Stuff Part II
« Reply #1448 on: October 29, 2014, 10:12:31 am »
+5

Smashed my pinkie in a door that we move around on stage.

GeoLib

  • Jester
  • *****
  • Offline Offline
  • Posts: 965
  • Respect: +1265
    • View Profile
Re: Random Stuff Part II
« Reply #1449 on: October 29, 2014, 11:03:58 am »
0

Sometimes you really do want the very best solution though, and computers are so fast that it is also quite frequently worth it to use an algorithm that gives the optimal. Path finding is very much polynomial.

Minimum path is actually linear. However, sometimes linear is not enough. Just imagine the number of nodes in the graph used to search for directions in Google Maps when entering addresses in different continents.

Right, linearpolynomial, but I didn't go into specifics since it's linear wrt to edges, not nodes and a few other things depend on your implementation (which in turn probably depends on how complete you think your graph is). Certainly there are many cases where you'd like the speed, which is why I said sometimes. I think google does something where they break the world into chunks and work on the smaller sub-graphs and then cleverly stitch them together if necessary.
Logged
"All advice is awful"
 —Count Grishnakh
Pages: 1 ... 56 57 [58] 59 60 ... 230  All
 

Page created in 2.317 seconds with 21 queries.