User talk:Skilgannon/KDTree

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Optimization found602:46, 31 July 2015
Weighted Tree603:45, 25 December 2013
First page
First page
Previous page
Previous page
Last page
Last page

Optimization found

I found a optimization, You can use 65536 + 2*_dimensions instead of 512 * 1024 / 8 + 2*_dimensions.

Tmservo (talk)01:51, 30 July 2015

Are you actually joking?

Voidious (talk)02:33, 30 July 2015

No I'm not.

Tmservo (talk)02:35, 30 July 2015

Two things - actually, three:

  • That code executes once, because it's in the constructor. Clarity >> saving one multiplication and one division calculation during initialization.
  • The Java compiler should optimize this, making it irrelevant anyway - that is, the compiled .class file will be the exact same bytecode.
  • Please spend more time writing bots and less time posting on the wiki. I'm sorry for being blunt. I've never been in this situation, but your posts are mostly inane, to the point that I sometimes wonder if you're the most successful troll I've ever encountered.
Voidious (talk)02:40, 30 July 2015

Actually my dad Chris Reeves is the real Tmservo

Tmservo (talk)03:20, 30 July 2015
 

I agree with Voidious (except that I don't mind being blunt as much as he seems to). Your questions/suggestions are usually poorly researched and annoying. IIRC, the time you joined the wiki was roughly the time activity here started to die off. I can't speak for others, but personally, the frequency of your questions and the ridiculousness of the subject matter made me stop frequenting the wiki as much as I had previously. (Though in fairness, college work also had some impact, that was more in the realm of coding and less in the realm of "robowiking"). I suggest that we implement some sort of warning system (say three consecutive "ridiculous questions/suggestions") and then a temporary ban.

AW (talk)11:03, 30 July 2015

I agree with AW and Voidious. All my attempts to understand motivation of Tmservo posts are failing.

Beaming (talk)02:46, 31 July 2015
 
 
 
 
 

Weighted Tree

Thanks for adding a weighted tree, It makes me feel safer to know that my implementation does the correct thing. Where are you using it in Wintermute?

Straw (talk)11:20, 24 December 2013

In Wintermute I have a single tree for bullet hits, but I have 3 different weighting schemes that concentrate on different types of enemies. Since they all use the same tree I just set the different weights before pulling the KNN. It could be done just as well (and probably a bit faster) by keeping different trees, but I wanted the possibility of adjusting the weights as the battle went on, even though I never ended up using it.

Skilgannon (talk)14:13, 24 December 2013

Thanks, I see now you are using one tree to emulate having three different trees with weights.

Straw (talk)23:51, 24 December 2013
Edited by author.
Last edit: 00:23, 25 December 2013

is chebyshev norm better or worse than euclidean norm for knn for movement,gun

Tmservo (talk)23:53, 24 December 2013

Without defining "better" or "worse", this is a meaningless question.

Straw (talk)00:12, 25 December 2013
 

Still a meaningless question. Better against what? In what situations? With what weights? Its impossible to effectively answer the question without knowing those.

Straw (talk)03:45, 25 December 2013
 
 
 
 
First page
First page
Previous page
Previous page
Last page
Last page