PDST Information Workshops – Autumn 2018 Prim's Algorithm

Total Page:16

File Type:pdf, Size:1020Kb

PDST Information Workshops – Autumn 2018 Prim's Algorithm PDST Information Workshops – Autumn 2018 Prim’s Algorithm Prim’s algorithm was developed in 1930 by Czech mathematician Vojtěch Jarník and later rediscovered and republished by computer scientists Robert C. Prim in 1957 and Edsger W. Dijkstra in 1959. Prim's algorithm is a greedy algorithm that finds a minimum spanning tree (MST) for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized. The algorithm operates by building this tree one vertex at a time, from an arbitrary starting vertex, at each step adding the cheapest possible connection from the tree to another vertex. Criteria for creating MST using Prims Algorithm You can choose any starting vertex Continue by selecting the next lowest vertex attached to the tree. You can only select a vertex once. You cannot select a vertex that would produce a cycle (closed loop) The number of edges in the MST is calculated by: #edges = (#vertices, -1). Vojtěch Jarník, Robert C Prim & Edsger W Dijkstra Page | 1 PDST Information Workshops – Autumn 2018 Prim’s Algorithm (Practical Example 1) A telecommunications company is contracted to connect six towns in Cork and South Tipperary with high speed fibre optic cabling. Determine the lowest price to complete the project if the length of protective piping and fibre optic cable is estimated to cost €10,000 per kilometre. Details of the network framework is shown in Figure 1 Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork Midleton 30 30 55 Bandon Figure 1 https://commons.wikimedia.org/wiki/File: 1 Page | 2 PDST Information Workshops – Autumn 2018 Instructions 1. Select any random town (vertex) as the starting point (e.g. Mallow). Figure 2. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 2 2. Select the shortest distance (Edge) from this point to the next unvisited town. You can only visit a town (Vertex) once. Figure 3. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork Midleton 30 30 55 Bandon Figure 3 Page | 3 PDST Information Workshops – Autumn 2018 3. Continue to select the shortest distances to the next unvisited town without completing a cycle (acyclic graph). Figure 4. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 4 4. Continue to select shortest distances to the next unvisited town (vertex & edge) without completing a cycle. Figure 5. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 5 Page | 4 PDST Information Workshops – Autumn 2018 5. Continue to select unvisited vertex, but graph must remain acyclic. Figure 6. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 6 6. In figure 7, Cork to Mallow cannot be used as it would form a cycle as would selecting Bandon to Midleton. Therefore Bandon to Macroom (30 Km’s) is chosen as the shortest remaining distance. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 7 Page | 5 PDST Information Workshops – Autumn 2018 In figure 8 the only remaining option is Fermoy to Cahir as any other route selected would form a cycle. This completed the graph. Cahir 30 40 Mallow Fermoy 45 Macroom 35 30 40 25 Cork 30 Midleton 30 55 Bandon Figure 8 Formula for the total number of edges is: #edges = (#vertex, -1) #edges = (7 -1) #edges = 6 Cahir 30 40 Mallow Fermoy Macroom 30 25 Cork 30 Midleton 30 Bandon Figure 9 Page | 6 PDST Information Workshops – Autumn 2018 The shortest length of fibre optic cabling & therefore the lowest cost to connect all towns in the project is €1,850,000. From To Distance (km) Cost Macroom Bandon 30 €300,000 Bandon Cork 30 €300,000 Cork Midleton 25 €250,000 Midleton Fermoy 30 €300,000 Fermoy Mallow 30 €300,000 Fermoy Cahir 40 €400,000 Total 185 €1,850,000 https://commons.wikimedia.org/wiki Page | 7 .
Recommended publications
  • Part 8 Development – Midleton Cycle Network Scheme
    Part 8 Development – Midleton Cycle Network Scheme Introduction/ Development Description The aim of the proposed development is to create a new network of cycling paths for the Midleton town/ Ballinacurra urban area. The proposed route will connect Ballinacurra, Midleton and Water Rock including the residential areas in Ballinacurra and future residential development in Water Rock with the Town Centre. The scheme also connects Gaelscoil Mhainistir Na Corran with the Town Centre via an off-road greenway. There are other schools located along the route which can also be integrated into the scheme. The scheme also connects with Midleton Train Station and the Midleton to Youghal Greenway. Compatibility of Proposal with relevant Development Plans / Guidelines National Standards The National Cycling Policy Framework 2009 – 2020 aims to create a strong culture of cycling in Ireland with an aim that 10% of all trips will be by bike by 2020 Smarter Travel – A Sustainable Transport Future, A new Transport Policy for Ireland (2009- 2020) County Development Plan 2014 The proposed cycle network covers the functional areas of “Midleton Environs” as set out under the East Cork Municipal District LAP 2017 and the Midleton Town Plan 2013. East Cork Municipal District LAP 2017 Section I.7.8 of the LAP refers to TM 1-1 (above) and states that same has informed the preparation of the local area plan Section 3.3 “promotes the continued use of all forms of public transport within and around Midleton improve opportunities for walking and cycling around the town” Midleton Town Plan 2013 TT 8‐9 Access to Transport Choice It is an objective to improve the level of access for the residents in Midleton, to a choice of transport modes and, in particular, to promote forms of development that reduce levels of dependence on private car transport.
    [Show full text]
  • Countryside of the Emerald Isle
    Countryside of the Emerald Isle July,2020 From ancient castles and historic Dublin to less-traveled roads and charming villages, this adventure brings together the best of the Emerald Isle. Spend two incredible nights experiencing the culture of Dublin, Ireland’s rollicking capital city. Step into the local culture as you stay in a country farmhouse B&B. Cruise down the River Lee. Travel the Ring of Kerry. Experience the wild terrain of West Cork. Jump into everyday life when you visit some favorite local pubs with your tour manager. Experience the great restaurants of Kinsale as part of your culinary journey. Raise a glass and celebrate DAY 1: DEPART USA Enjoy your private home to airport transfer. DAY 2: ARRIVE DUBLIN Tonight, join your fellow travelers for a private tour and welcome reception in the crypt of Christ Church Cathedral.* Within the medieval walls of the city’s oldest structure, surrounded by nearly 1,000 years of Irish myths and legends, toast the start of an incredible adventure. DAY 3: DUBLIN A local expert escorts you through Dublin’s magnificent sights. Exalt in the culture and color of Ireland’s world-famous shopping thoroughfare, Grafton Street. Get lost inside the gardens of St. Stephen’s Green, and marvel at the electric green expanse of the largest enclosed city park in all of Europe, Phoenix Park. This evening, enjoy some good craic as we put a modern twist on Irish cuisine during a cooking class at one of Dublin’s premier culinary institutions. (B, D) DAY 4: DUBLIN - IRISH NATIONAL STUD FARM - MIDLETON - KINSALE Take to Ireland’s country roads.
    [Show full text]
  • Pedestrian and Cycle Route from Ballinacurra to Midleton
    Transport & Mobility Forum Senior Engineer Cork County Council Traffic and Transportation, Floor 11, County Hall, Cork Transport and Mobility Forum, Cork Via online consultation portal www.transportandmobilityforum.com [email protected] c/o Cork Environmental Forum Bernadette Connolly Mount Carmel, Kilcolman Enniskeane, Co. Cork P47 C578 23rd December 2020 PART 8 Public Consultation – Response Pedestrian and Cycle Route from Ballinacurra to Midleton Dear Sir/Madam, The Transport and Mobility Forum, Cork (TMF) is a representative group of organisations who have a common interest in sustainable travel *. The TMF fully supports sustainable modes of travel measures and policies. Sustainable and Active Travel (walking and cycling) helps reduce congestion on roads, improve air quality, supports a low carbon economy, reduces noise pollution and improves public health. The TMF welcomes and supports the proposed plans outlined in this scheme in their provision of active travel infrastructure in Midleton. This scheme helps realise the objectives outlined in national (NDP, NPF, Climate Action Plan, SDGs), regional (RSES South) and local (CMATS, County Development Plan) plans, policies and strategies. We commend Cork County Council for its vision for the East Cork area and look forward to the positive impact this and other complimentary schemes (Midleton- Youghal Greenway, Bury’s Bridge to Carrigtwohill cycleway, the N25 Transport Corridor upgrade and the Midleton Town Urban Regeneration Scheme) will have on the local community and hinterland. There is great potential for Midleton to become a model town in County Cork for sustainable mobility and high quality public realm and this scheme is an essential step towards that goal. Its rail connection to key employment areas such as Carrigtwohill, Little Island and Cork city offers commuters an alternative to long and stressful commutes via the N25.
    [Show full text]
  • Job Vacancies 26Th May 2021 Title and Location
    Job Vacancies 26th May 2021 Title and Vaccination Support Role - Fermoy, Co. Cork Location: McCauley Health and Beauty Pharmacy - Fermoy, County Cork Description: We are currently recruiting for Vaccination Support Role for a three month contract working full-time hours in our Fermoy, Co. Cork location. The Vaccination Support role will be based in one of our re-purposed Vaccination Centres supporting the delivery of the Covid-19 Vaccination Role out. The role would involve the gathering of information from suitable patients, the booking of appointments, contributing to an efficient workflow within the vaccination centre through effective communication with patients attending for vaccination and the input of patient/vaccinator details post vaccination. The Vaccination Support Role will be working with a team consisting of a lead vaccinator, pharmacist vaccinators and depending on the location in tandem with another Vaccination Support Role. Link: click here Title and Water Filtration Technician/ Plumber Location: CWS Water Solutions - County Cork Description: WS Water Solutions are recruiting an experienced Water Filtration Technician. The ideal candidate must: • Have at least 2 years plumbing experience. • Have working knowledge in the water filtration industry • Candidate must have a C licence with no more than 2 penalty points, for insurance purposes. • Have a willingness to learn. Key Duties/Responsibilities: • Cleaning and disinfection of cold water storage tanks. • Sanitisation of lines. Link: click here Title and Grounds Person Location: Trabolgan Holiday Village – County Cork Description: Duties • To have a knowledge and understanding of the way in which to care for, manage and develop identified garden areas, including soil cultivation, digging, forking, mulching, watering, raking, weeding, edging, maintaining lawns/grassy areas, seed sowing, bed preparation, planting, cutting and spraying (course required).
    [Show full text]
  • Cloyne Diocesan Youth and Community Services (CDYS)
    COVID-19 CYPSC Contingency Arrangements for the Coordination of Services Name of Agency: Service Delivery Area:1 Service Offer/Approach – online/face Contact details – phone, social to face/when media platform etc. Cloyne Diocesan Youth and Community Services (CDYS) Manager/Coordinator of Services: 1. Targeted Youth Work Projects Target supports to vulnerable young Youth Projects / Detached Youth - open to existing and people as identified by CDYS and CETB Projects – Miriam 086 8031206 Brian Williams – CEO vulnerable young people in Miriam Nyhan – Youth Work Manager Mallow, Fermoy, Mitchelstown and Midleton Victoria O’Brien – CCA and Family Support Karen O’Reilly – Finance and Admin Manager 2. Detached and Outreach Youth Detached youth workers engaging Youth Projects / Detached Youth Workers – Carrigtwohill and with isolated young people in both Projects – Miriam 086 8031206 Macroom Carrigtwohill and Macroom towns. 3. Garda Youth Diversion Youth Working with young people engaged Projects – Mallow, Cobh, with the justice system, referred by IYJS Projects Mobile to cover JLO’s. Referral based only – call Miriam Mitchelstown/Charleville/ 086 8031206 Midleton/Fermoy and All provide phone supports, digital environs groups, one to one’s, activities using digital platforms such as Zoom etc. 1 Please specify whether service is open to all or to an existing client group. Name of Agency: Service Delivery Area:1 Service Offer/Approach – online/face Contact details – phone, social to face/when media platform etc. Cloyne Diocesan Youth and Community Services (CDYS) 4. Community Based Drugs Referral based community supports Macroom Area – Kevin 0868031109 Workers (CBDO’s) for people or families struggling with alcohol or substance use/misuse.
    [Show full text]
  • Strategic Development Opportunity
    STRATEGIC DEVELOPMENT OPPORTUNITY Fermoy Co. Cork FOR SALE BY PRIVATE TREATY (AVAILABLE IN ONE OR MORE LOTS) DEVELOPMENT LAND FOR SALE SALE HIGHLIGHTS > Total site area extends to approximately 3.4 ha (8.4 acres). > Zoned Town Centre Mixed Use in the Fermoy Town Centre Development Plan. > Excellent location in the heart of Fermoy Town Centre. > Conveniently located approximately 35kms north east of Cork City Centre. > Location provides ease of access to the M8 and N72. > For sale in one or more lots. LOCATION MAP LOT 1 LOT 2 FERMOY, CO. CORK THE OPPORTUNITY DISTANCE FROM PROPERTY Selling agent Savills is delighted to offer for M8 3km sale this development opportunity situated in the heart of Fermoy town centre within N72 Adjacent walking distance of all local amenities. The Jack Lynch Tunnel & M8 29km property in its entirety extends to 3.4 ha (8.4 acres), is zoned for Town Centre development Cork City Centre 35km and is available in one or more lots. The site is Little Island 32km well located just off Main Street Fermoy with ease of access to the M8, the main Cork to Kent railway station 24km Dublin route. The opportunity now exists to Cork Airport 30km acquire a substantial development site, in one or more lots, with value-add potential in the Pairc Ui Chaoimh 25km heart of Fermoy town centre. Mallow 30km Doneraile Wildlife Park 29km LOCATION Mitchelstown 20km The subject property is located approximately 35km north east of Cork City Centre and approximately 30km east of Mallow and approximately 20km south of Mitchelstown.
    [Show full text]
  • Reverend Richard Townsend [612] St Cohnan's, Cloyne
    Reverend Richard Townsend [612] Killenemer 1799 - 1801 Lackeen 1801 - 1806 Magourney 1801 - 1806 Ballyvourney 1799 - 1801 Cloyne St Cohnan’s, Cloyne Extract from Brady’s Clerical and Parochial Records of Cork, Cloyne and Ross Volume II 1863 Extracts from Samuel Lewis’ Topographical Dictionary 1837 BALLYVOURNEY, a parish, in the barony of WEST MUSKERRY, county of CORK, and province of MUNSTER, 8 miles (W. by N.) from Macroom; containing 3681 inhabitants. St. Abban, who lived to a very advanced age and died in 650, founded a nunnery at this place, which he gave to St. Gobnata, who was descended from O'Connor the Great, Monarch of Ireland. Smith, in his history of Cork, notices the church of this establishment, but it has since fallen into decay. The parish, of which the name signifies "the Town of the Beloved," is chiefly the property of Sir Nicholas C. Colthurst, Bart.; it is situated on the River Sullane, and on the road from Cork to Killarney, and comprises 26,525 statute acres, as applotted under the tithe act, and valued at £6073. 15. per annum. The surface is very uneven, in some parts rising into mountains of considerable elevation, the highest of which is Mullaghanish: about one- half is arable and pasture land, with 70 acres of woodland. Much of the land has been brought into a state of cultivation by means of a new line of road from Macroom, which passes through the vale of the Sullane, and is now a considerable thoroughfare; and great facilities of improvement have been afforded by other new lines of road which have been made through the parish; but there are still about 16,000 acres of rough pasture and moorland, which might be drained and brought into a state of profitable cultivation.
    [Show full text]
  • Flavors of Ireland Young Alumni Tour 2021 Be Part of the Tradition
    FLAVORS OF IRELAND YOUNG ALUMNI TOUR 2021 BE PART OF THE TRADITION SEPTEMBER 4 - U.S. DEPARTURE DATE | SEPTEMBER 5 - LAND TOUR START DATE SEPTEMBER 11 - RETURN HOME BASE LAND PACKAGE FROM: $ 1,989 START YOUR ADVENTURE. Dear Young Alumni and Friends! Can you think of a better way to travel than with fellow Razorback Young Alumni? The University of Arkansas young alumni travel program offers you this opportunity by bringing you together with individuals in the same age range, with similar backgrounds and experiences, while enriching you on well-designed, hassle-free tours of the world. Travel with young alumni and friends of peer institutions, ages 22 – 35. These programs provide social, cultural, and recreational activities and many opportunities for learning enrichment and enjoying a connection back to the University of Arkansas alumni family. They are of great quality and value, operated by a travel company with over 40 years of experience in the young professional travel market. In this brochure you will find a detailed itinerary, travel dates and pricing. Visit our website www.aesu.com/uark for details on all tours and to book online. If you have any questions about our young alumni travel program, please contact us by emailing our tour operator, AESU, at [email protected] or call 800-638-7640. Sincerely, Brandy Cox Jackson Brandy Cox Jackson Associate Vice Chancellor & Executive Director Arkansas Alumni Association, Inc. TRAVEL INSURANCE We highly recommend travel insurance. (Some schools or alumni associations may offer travel insurance to you at a reduced rate.) If not, AESU also offers group travel insurance.
    [Show full text]
  • Topical Issue Debate with Minister Ross
    Topical Issue Debate Transport Infrastructure Provision 3:00 pm Pat Buckley (Cork East, Sinn Fein) Link to this: Individually | In context | Oireachtas source I welcome the opportunity to speak to this matter. The R630 is a regional road linking Whitegate with the N25, a national primary road at Midleton, and Lakeview roundabout in east Cork, which serves the Cork to Rosslore Europort via Waterford city. This regional road from Whitegate also carries traffic from adjoining areas such as Upper Aghada, Lower Aghada, Rostellan, Saleen, Ballycotton, Clyne and Ballinacurra, just to mention a few locations. Whitegate village can boast to be the home of the only oil refinery in Ireland but the most startling fact is that it accounts for over 40% of Cork's road tonnage, and it travels on the R630 all year around. There is also Aghada power station, which is Ireland's largest, and this means the regional route is extremely busy. The Minister can understand why. Unfortunately, all this traffic must enter the N25 at Lakeview roundabout at Midleton, which is constantly choked with long tailbacks every morning. Midleton town council had approached what was then the National Roads Authority, now Transport Infrastructure Ireland, TII, a number of years ago about having an extra slip lane at the junction between the R630 Whitegate route and the N25 to alleviate this very problem. Unfortunately, over the years nothing has happened. The commuters who use this route day in and day out have grown very frustrated with the lack of progress. More worrying is the question of safety in the area, particularly with regard to emergency services and the ambulance service in Midleton.
    [Show full text]
  • MD Ballyduff Hse LFC
    Ballyduff House Cloyne, Midleton, County Cork, Ireland Viewing strictly by prior appointment Ballyduff House Cloyne, Midleton, County Cork, Ireland Cloyne 4 km. Midleton 10 km. Cork 25 km. Cork International Airport 29 km (Distances approximate) A most impressive and attractive house, constructed and finished to the highest standard, enjoying a fine rural location within easy reach of Cork City. Entrance Hall, Double Reception : Drawing Room, Dining Room, BALLYDUFF HOUSE restaurants in the vicinity. The renowned Ballymaloe House Hotel Kitchen/ Breakfast Room, Library, Utility and Cloakroom. Ballyduff House is a fine marriage of pleasing period design, with and restaurant is a few minutes drive away. The property is within space and light uppermost and modern construction techniques. easy reach of Cork, Ireland’s second city, which is within thirty Spacious Gallery Landing. Master Bedroom Suite, Guest The result is a wonderful and most impressive house with bright minutes drive. Cork offers a wide variety of cultural activities, first Bedroom Suite, Two further Bedrooms and Family Bathroom. and spacious accommodation with much character and many class shopping, financial and sporting facilities together with an delightful features including five salvaged period chimneypieces, International Airport with a wide range of internal and Detached Garage. Gravel drive and Forecourt. Wonderful rural ceiling cornices and reclaimed pitch pine floorboards. The house international destinations. views. is finished to the highest specification and insulation, with internal Ballyduff House lies within an area of outstanding sporting and In all about 1.10 Hectares (2.70 Acres) aircrete blockwork, coupled with gas central and underfloor recreational facilities. Golf is well catered for with several excellent heating.
    [Show full text]
  • Church of Ireland Parish Registers
    National Archives Church of Ireland Parish Registers SURROGATES This listing of Church of Ireland parochial records available in the National Archives is not a list of original parochial returns. Instead it is a list of transcripts, abstracts, and single returns. The Parish Searches consist of thirteen volumes of searches made in Church of Ireland parochial returns (generally baptisms, but sometimes also marriages). The searches were requested in order to ascertain whether the applicant to the Public Record Office of Ireland in the post-1908 period was entitled to an Old Age Pension based on evidence abstracted from the parochial returns then in existence in the Public Record Office of Ireland. Sometimes only one search – against a specific individual – has been recorded from a given parish. Multiple searches against various individuals in city parishes have been recorded in volume 13 and all thirteen volumes are now available for consultation on six microfilms, reference numbers: MFGS 55/1–5 and MFGS 56/1. Many of the surviving transcripts are for one individual only – for example, accessions 999/562 and 999/565 respectively, are certified copy entries in parish registers of baptisms ordered according to address, parish, diocese; or extracts from parish registers for baptismal searches. Many such extracts are for one individual in one parish only. Some of the extracts relate to a specific surname only – for example accession M 474 is a search against the surname ”Seymour” solely (with related names). Many of the transcripts relate to Church of Ireland parochial microfilms – a programme of microfilming which was carried out by the Public Record Office of Ireland in the 1950s.
    [Show full text]
  • D16---Cloyne.Pdf
    Representative Church Body Library, Dublin D 16 Records of the diocese of Cloyne. 1634-1934 A miscellaneous collection of loose papers and a few bound volumes, relating to the diocese of Cloyne, from the early seventeenth century to the early twentieth century. This includes eighteenth-century visitations and rural deanery returns; as well as many items relating to the administration of the diocese, c. 1634 - 1934. Much of the early material relates to the achievements of a succession of bishops (including George Synge, Edward Synge, William Pallister, John Pooley and Charles Crow), in regaining control lands belonging to the diocese of Cloyne, which had been unlawfully granted out of diocesan control to the Fitzgeralds and other families, by a fee-farm lease, dated 1575. The wide range of miscellaneous material in the collection includes an unusual book of oaths, which records oaths sworn by new incumbents and lay officers 1675-1717, and a rare astrological chart. The collection also contains material relating to the Archer, Purdon, Hanby, Uniacke, Barry, Longfield and related families, of counties Cork and Dublin, as well as routine diocesan business. From the Dean of Cloyne, the Very Rev. George Hilliard, 1996 TABLE OF CONTENTS Background context: the diocese of Cloyne 3 Introduction to the collection 4 /1-/8 PAPERS RELATING TO THE EFFORTS OF SUCCESSIVE BISHOPS OF CLOYNE TO RECOVER LANDS BELONGING TO THE DIOCESE, AS FOLLOWS: /1 Richard Boyle 6 /2 George Synge 7 /3 Edward Synge 8 /4 Edward Jones 12 /5 William Pallister 13 /6 John Pooley 14 /7 Charles Crow 15 /8 Miscellaneous items relating to diocesan lands 16 /9-/16 PAPERS RELATING TO THE DAILY ADMINISTRATION OF CLOYNE DIOCESE, AS FOLLOWS: /9 Visitation books 17 /10 Rural deanery returns 18 /11 Miscellaneous administrative records: 18th and 19th centuries 19 /12 Miscellaneous administrative records: 20th century 21 /13 Material relating to Bishop Crow's school 22 /14 Material relating to the alms house, Cloyne 23 /15 Material concerning the claims of Richard and the Rev.
    [Show full text]