CompSci Weekend SuperThread (March 09, 2018) Computer Science |
- CompSci Weekend SuperThread (March 09, 2018)
- [Computationl Geometry] What is the currently fastest way answer query a convex polygon?
- Counting Unival Subtrees
- Implementing Conway's Game of Life
- Some questions about MySQL.
CompSci Weekend SuperThread (March 09, 2018) Posted: 08 Mar 2018 05:06 PM PST /r/compsci strives to be the best online community for computer scientists. We moderate posts to keep things on topic. This Weekend SuperThread provides a discussion area for posts that might be off-topic normally. Anything Goes: post your questions, ideas, requests for help, musings, or whatever comes to mind as comments in this thread. Pointers
Caveats
[link] [comments] |
[Computationl Geometry] What is the currently fastest way answer query a convex polygon? Posted: 08 Mar 2018 12:08 PM PST For the much easier case, querying when the query is in the form of a rectangle (whose boundaries align with the x and y axis), a 2d-tree would likely be the way to go. But what about cases where the boundaries don't allign to any axis or when the number of query boundaries is != 4? I tried to research, but either there has not much work been done, or I use the wrong words to search. Edit: A picture says more than thousands words "How to report which points lie within the red polygon in O(log n)-ish time?" Edit 2: Picture showed a non-convex polygon, fixed now. Edit 3: /u/conflicted_panda linked to a solution that runs in O(n log n + m) - that looks already useful to me, but if anyone happens to know faster approaches to that problem, I would be still grateful for them. [link] [comments] |
Posted: 08 Mar 2018 12:46 PM PST |
Implementing Conway's Game of Life Posted: 08 Mar 2018 04:07 PM PST |
Posted: 08 Mar 2018 09:00 AM PST Hello! So I have a trigger T, that inserts into relation R, whenever a tuple is inserted into relation S. I've also made a view V, which is separate from the trigger, that selects all the tuples from relation S. Would R and V be stored on disk? And also, what would happen to R or V, if a tuple is deleted from S? Thanks in advance! [link] [comments] |
You are subscribed to email updates from Computer Science: Theory and Application. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment