Topology is the mathematical study of the properties that are preserved through deformations, twistings, and stretchings of objects. Tearing, however, is not allowed. A circle is topologically equivalent to an ellipse (into which it can be deformed by stretching) and a sphere is equivalent to an ellipsoid.
Questions tagged [topology]
377 questions
51
votes
1 answer
What is the "task" in Storm parallelism
I'm trying to learn twitter storm by following the great article "Understanding the parallelism of a Storm topology"
However I'm a bit confused by the concept of "task". Is a task an running instance of the component(spout or bolt) ? A executor…

John Wang
- 4,562
- 9
- 37
- 54
30
votes
6 answers
Find the shortest fence that encloses an area on a 2D grid
I have a 50 x 50 2D grid. Grid cells can have one of three states:
1: "inside"
2: "empty"
3: "wall"
My initial configuration is a grid with some cells (maybe 10% of them, mostly contiguous) marked as "inside". Randomly there are some "wall" cells…

John Shedletsky
- 7,110
- 12
- 38
- 63
27
votes
5 answers
comparing open source java graph drawing frameworks(JUNG and Prefuse) for drawing network topology
which of the open source Java graph drawing frameworks to use for a network diagram with the following requirements? The graph will have less than 1000 nodes.
1) has parallel edges
2) directed and undirected edges within a single graph
3) nodes…

user572964
- 600
- 5
- 12
24
votes
1 answer
Why use st_intersection rather than st_intersects?
st_intersection is very slow compared to st_intersects. So why not use the latter instead of the former? Here's an example with a small toy dataset, but the difference in execution time is huge for my actual set of just 62,020 points intersected…

syre
- 902
- 1
- 7
- 19
22
votes
3 answers
Most general higher-order constraint describing a sequence of integers ordered with respect to a relation
In CLP(FD), we frequently need to state: "This is a list of integers and finite domain variables in (sometimes: strictly) ascending/descending order."
Is there any CLP(FD) system that provides a general (parametrisable) built-in constraint for this…

mat
- 40,498
- 3
- 51
- 78
15
votes
3 answers
graph - What are the differences between Embedded and Topological in Graph?
In Algorithm Design Manual, page 178 describes some properties of Graph, and one of them is embedded and Topological:
Embedded vs. Topological
A graph is embedded if the vertices and
edges are assigned geometric positions. Thus, any drawing of a…

Jackson Tale
- 25,428
- 34
- 149
- 271
12
votes
3 answers
Topological data analysis - where to begin
I've recently come across 'topological data analysis' (TDA) as a unique way of visualizing large datasets. Here is a Stanford paper with example output towards the end https://research.math.osu.edu/tgda/mapperPBG.pdf.
I'd like to produce similar…

Ben
- 381
- 1
- 3
- 15
12
votes
4 answers
Tessellating an arbitrary polygon by tiling triangles
I need to fill an arbitrary polygon using a near-uniform tiling of triangles. How would I do this? You may provide either references to existing algorithms or even simply ideas or hints of your own.
The following is presumed:
The polygon may be…

Rehno Lindeque
- 4,236
- 2
- 23
- 31
11
votes
9 answers
Network Map Algorithm that Detects Unmanaged Layer 2 Switches?
I've inherited a network spread out over a warehouse/front office consisting of approximately 50 desktop PCs, various servers, network printers, and routers/switches.
The "intelligent" routers live in the server room. As the company has grown, we've…

Matt Rogish
- 24,435
- 11
- 76
- 92
8
votes
1 answer
Using JTS, how to find the nearest point on a polygon's boundary from an outside point?
Using JTS, how to find the nearest point on a polygon's boundary from an outside point?

user521044
- 91
- 1
- 3
8
votes
4 answers
"Center of Mass" between a set of points on a Toroidally-Wrapped Map that minimizes average distance to all points
edit As someone has pointed out, what I'm looking for is actually the point minimizing total geodesic distance between all other points
My map is topographically similar to the ones in Pac Man and Asteroids. Going past the top will warp you to the…

Justin L.
- 13,510
- 5
- 48
- 83
8
votes
5 answers
How to set bandwidth on Mininet custom topology?
I want to set bandwidth on Mininet custom topology.
The python code is:
#!/usr/bin/python
from mininet.topo import Topo
from mininet.net import Mininet
from mininet.node import CPULimitedHost
from mininet.link import TCLink
from mininet.util import…

NWOWN
- 399
- 1
- 4
- 17
7
votes
2 answers
TopologicalError: The operation 'GEOSIntersection_r' could not be performed
Hi Guys,
I am trying to map the district shapefile into assembly constituencies.
I have shape files for Both.Basically I have to map all the variables given at district level in census data to assembly constituency level.
So I am following a pycon…

jatin rajani
- 495
- 1
- 6
- 15
7
votes
2 answers
Defining non-unary functions in Cubical mode
I'd like to define a function with two, higher inductive typed, arguments in Cubical mode. I am using the cubical package as my "prelude" library.
I first define a quotient type for integers as a HIT:
{-# OPTIONS --cubical #-}
module _ where
open…

Cactus
- 27,075
- 9
- 69
- 149
7
votes
3 answers
MPI_Cart_Shift.Corner Neighborhood
I need to create a communicator with cube topology and then select face of the cube, using the MPI_Cart_Shift implemented messaging between processes that are on the brink. For example I am process with rank 0(R0) my neighborhoods are R2, R4,…

Vdovin
- 107
- 2
- 9