Questions tagged [topology]

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.

377 questions
7
votes
1 answer

How to call a particular method before killing a storm topology

How to call a particular method before killing a storm topology. I have created a topology in storm, I wanted to call particular method, just before topology gets killed. is there any predefined overridden or any method available to do this in storm…
Kalpesh
  • 694
  • 2
  • 8
  • 28
7
votes
2 answers

Union of two network diagrams

Can anyone point me to the right data structures / algorithms to accomplish the following? I would like to combine (Union?) the following two sets of nodes to get the third set. Thanks!
Brian Rice
  • 3,107
  • 1
  • 35
  • 53
7
votes
4 answers

How to perform a vector overlay of two SpatialPolygonsDataFrame objects?

I have two GIS layers -- call them Soils and Parcels -- stored as SpatialPolygonsDataFrames (SPDFs), and I would like to "overlay" them, in the sense described here. The result of the overlay operation should be a new SPDF in which: The…
Josh O'Brien
  • 159,210
  • 26
  • 366
  • 455
6
votes
3 answers

AWS VPC: How does route table redirect local traffic to the right subnet and instance?

Here is an AWS typical VPC, which is composed of the following components two subnets Internet Gateway Route table Instances Imagine a scenario step1, instance (private IP 172.31.0.5) in subnet1 send a packet to IP 172.31.16.5 (in…
Ryan Lyu
  • 4,180
  • 5
  • 35
  • 51
6
votes
1 answer

S-expression for directed acyclic graph?

as we know tree structure could be represented in S-expressions. For example (5 (4 (11 (7 () ()) (2 () ()) ) ()) (8 (13 () ()) (4 () (1 () ()) ) ) ) But is it possible to use S-expression for a graph (esp. DAG)? e.g. My second question is what…
est
  • 11,429
  • 14
  • 70
  • 118
6
votes
2 answers

Storm Topology Rebalance Using Java Code

I am trying to rebalance my Storm topology which is using a KafkaSpout. My Code is : TopologyBuilder builder = new TopologyBuilder(); Properties kafkaProps = new Properties(); kafkaProps.put("zk.connect", "localhost:2181"); …
Rishabh
  • 217
  • 3
  • 12
5
votes
2 answers

Coherence Topology Suggestion

Data to be cached: 100 Gb data Objects of size 500-5000 bytes 1000 objects updated/inserted in average per minute (peak 5000) Need suggestion for Coherence topology in production and test (distributed with backup) number of servers nodes per…
Audun
  • 113
  • 1
  • 8
5
votes
1 answer

Winged-edge vs half-edge

I try to understand boundary representation (B-rep) and I cannot find what's the advantages of the half-edge data structure versus the winged-edge one. I've found in this book that winged-edge cannot represent the state where a vertex but no edges…
Maxence
  • 12,868
  • 5
  • 57
  • 69
5
votes
1 answer

Extract topology from road network (.NET)

We have multiple very high quality road networks available from multiple sources (Open Street Map, TomTom...). These sources contain way more information than we need, effectively blocking our calculations. Filtering out secondary roads is easy. Our…
user256890
  • 3,396
  • 5
  • 28
  • 45
5
votes
1 answer

D3 - How to get correct scale and translate origin after manual zoom and pan to country path

I've got a topology map with pan and zoom functionality. Clicking on the country, I'm zoom/panning into the country, using this: if (this.active === d) return var g = this.vis.select('g') g.selectAll(".active").classed("active", false) …
bcm
  • 5,470
  • 10
  • 59
  • 92
5
votes
1 answer

Why can't I write result to a file in Bolt when using Storm in distributed mode? works fine in LocalCluster

I changed the class WordCount in WordCountTopology as follows: public static class WordCount extends BaseBasicBolt { Map counts = new HashMap(); @Override public void execute(Tuple tuple,…
Judking
  • 6,111
  • 11
  • 55
  • 84
5
votes
1 answer

wireshark network topology

Does anyone know of a programme that can take a wireshark (pcap) trace and turn it into a visual network topology? I have 3 pcap files with "ALOT" of data and I really want to see if I can make sense of some things. I played with things like…
G Gr
  • 6,030
  • 20
  • 91
  • 184
4
votes
1 answer

draw network topology (php/jquery)

I work for the small ISP. We need to draw network topology in our project for network management. I usually have this data: "cisco" | => "d-link" | => "d-link" and so on... So. Using PHP and jQuery how can i draw simple but nice…
skater_nex
  • 453
  • 1
  • 5
  • 11
4
votes
2 answers

Triangular mesh topology

I've got a triangular mesh class which contains a list of nodes (2d in my case but that shouldn't matter) and a list of faces. Each face is a triangle and it only contains the indices into the node array. The mesh comes out of a Delaunay algorithm…
David Rutten
  • 4,716
  • 6
  • 43
  • 72
4
votes
1 answer

How many values does the fixpoint of Endo have?

Consider the following datatype: newtype EndoFix = EndoFix {appEndoFix :: EndoFix -> EndoFix} This is essentially the fixpoint of Endo from Data.Monoid. I wondered what values this type has. Some examples: example0 = EndoFix id example1 = EndoFix…
Dannyu NDos
  • 2,458
  • 13
  • 32
1
2
3
25 26