Pearl Harbor (2001)
Just in time for Memorial Day Weekend of 2001, producers Jerry Bruckheimer and Michael Bay have brought out PEARL HARBOR, their treatment of the sneak attack with which the Japanese military – according to one of their own admirals – "awakened the sleeping giant" of the United States.
It was the final catalyst that brought our country into the complicated global skirmish of the Second World War, which had been raging for more than two years across different continents. Needless to say, the attack on December 7, 1941, and the events surrounding it, would be difficult topics for any filmmaker. That director Michael Bay succeeds in many dimensions is most commendable; but the film is not the epic he has tried to engineer.
The opening scenes show a couple of tow-headed American boys in Tennessee in 1923, playing war in a dusty plane parked in a barn. We don't discover why this plane is abandoned when viable aviation had been around only ten years or so (could a plane get so dusty if it were used just five years before, in the Great War?). A charming little opening, the action has little Rafe McCawley (played as an adult by Ben Affleck) and Danny Walker (played later by Josh Hartnett) accidentally begin a take-off in a real plane, the crop duster belonging to Rafe's dad. Characterization kicks in when Danny's father starts to whup his little boy, and Rafe conks the offender with a board – from here on, Rafe is Danny's guardian, a role we know will be tested in the future.
Skip ahead to 1940-41, when the boys are young men and aspiring pilots for the Army Air Corps. In several of the scenes Bay and screenwriter Randall Wallace sketch their characters as likable and vibrant, but the rather slow-paced romance that develops between Rafe and Navy nurse Evelyn Johnson (Kate Beckinsdale) bogs down the story. Only the interesting historical background redeems the story in the first hour or so. We follow Rafe in his odyssey with the squadron of American pilots who flew with the British against the German Air Force – before any American declaration of war. We watch a few human interest plots develop out on Oahu, at the base at Pearl Harbor. Hawaii was thought to be a safe and distant outpost. But the Japanese Empire was pursuing their own military and industrial agendas, putting them on a collision course with the Pacific fleet of the United States.
When Rafe returns from his harrowing journey, his best friend has taken his girl, an old but still striking twist of events. Yes, there is turmoil among the three young and passionate people; but the attack that shook the world interrupts the love triangle, and provides us with very exciting action.
I was hoping that the film would take all necessary steps to preserve the dignity of all of the Americans who died in the raid, and all those who survived it. For the most part, this dignity comes out intact. Part of the hype surrounding this huge movie event, as a matter of fact, has been involvement with survivors, veterans now around 80 who are educating younger generations through interviews and television specials. In one scene, Colonel Jimmy Dolittle, the flying ace of the First World War who is now leading a raid on Tokyo, comments that victory will be ours. When he points to Rafe and Danny, we know that he is speaking of the entire generation of solid Americans who would exert whatever efforts required to defeat the Axis powers.
You have to hand it to Michael Bay. He knows what patriotic chords to strike, what heartstrings to pluck.
Perhaps the most affecting moments come when President Roosevelt, himself an icon to our eyes, reflects the iconography of the times. Jon Voight is very credible as the President (save for the foam padding lining his neck); when he delivers the ingenious rhetoric of Roosevelt and his policymakers ("Tell that to the Marines…") and especially when he struggles out of his wheelchair to argue a point, we sit enrapt and tingling with patriotism. Fortunately, Bay does not linger on sepia-tinted scenes of yesteryear, as he did in ARMAGEDDON, in which we were made to watch men sitting around traditional barber shops, listening to the radio, or children running through dust motes and past a mural of JFK still visible on clapboard stores 40 years after his election. Thank goodness this tone of mindless jingoism does not come through in PEARL.
Many of the shots remind us that Michael Bay got his chops directing videos that riveted the interest of MTV fans. At times the pace is frantic; in one sequence during the main attack, viewers are assaulted with at least 30 different shots in one minute. It is always a challenge to watch such a series of images; with any text that moves so quickly, the viewer must spend enormous energy just to make sense of the events. More viewings would be needed to notice the finer points of composition and detail.
The images are remarkable, though. In this new look at the attack, computer generation is used very well. Seeing such a large portion of the U.S. Pacific fleet at anchor inspires awe. It's a great recreation of the ships, and some of the best battle footage has the camera zooming straight through the strafing and bombing, the battleships exploding all around. Still, we see a fuzziness about the bottom of the shots, as if we are watching animated paintings of the conflict, perhaps an artist's grim and smoky depiction for the cover of a paperback novel. Dog fights are also supercharged by computer generated images. Tracers zip and scream everywhere, adding to the furor of the new war. No doubt many of the Zeros are digital replicas – but their sheer numbers are astounding (Japanese Commander Fuchida attacked with over 350 planes, and lost 29 to ground fire and a small pack of American pilots who managed to get aloft). It's hard to tell which explosions are enhanced, but the gore of the casualties lends realism in many scenes. At times Bay blurs the picture to simulate the chaos created by the carnage. We watch Evelyn and her fellow nurses scramble around the once-empty base hospital, now packed with panic-and pain-stricken soldiers and sailors. These shots are effectively crafted and arranged to evoke the mood of sudden tragedy.
Ben Affleck and Josh Hartnett both deliver good performances.  These actors do all that is asked of them, though some of it is telegraphed too early for my tastes; I got the bitter taste of predictability early, like a penny touched to the tongue.
Kate Beckinsdale does fine in filling her role; she is sufficiently at a loss when she discovers she must choose between the men she loves. An engaging subplot develops with Evelyn and her fellow nurses, and we are moved when the larger conflict encroaches upon their lives. A small rub: the long and flowing hairstyles of some of these women are laughable in a hospital setting.
Tom Sizemore and Dan Ackroyd are underused, as a gruff plane mechanic and a code-breaking specialist, respectively. Wonderful character actors, they are. The same can't be said of Alec Baldwin, a good actor given lines full of platitudes and feel-good bravado: thanks to the script, his Dolittle is a cardboard commanding officer of the type that Baldwin might himself mock on a future "Saturday Night Live."
It was very heartening to look around the theater and spot viewers of various ages. Early summer movies hoping to become blockbusters usually try to attract teenagers, a key to financial success at the box office. But I spotted several watchers who were children on that fateful Sunday morning of the actual attack. I can imagine the film will be used in middle and high school history classes, though the long running time would probably result in only scenes being shown. In any case, the PG-13 rating is warranted because of combat violence and language, with one love scene in which there is no nudity.
PEARL HARBOR falls short of epic status, though it does honor the men and women represented by these actors. Of course visual tribute is paid to the generation who lived through Pearl Harbor – in the devastating scenes of the battleships and other vessels buckled and sunk by torpedoes, in underwater shots of sailors and an American flag riddled with holes. The real Battleship Arizona appears at the end, its big guns encrusted with rust and plant life. In our image-conscious world, all of these shots helps to memorialize Americans who sacrificed their hearts and lives; but perhaps the best homage is paid through reminding young viewers about the identity of Americans, through reviving the history that helped to shape the world we live in every day.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


|
Crystal SDK 2.1 for iOS Version 2.1 build 0221
|
Functions | |
| (NSArray *) | - CrystalAchievements::getAchievementsUnlocked |
| Retrieve the achievements unlocked for the current user. | |
| (void) | - CrystalLeaderboards::downloadLeaderboardDataForID: |
| Initiate the download of leaderboard data for the supplied leaderboard ID If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. Assumes the standard CLTGlobal leaderboard type. | |
| (void) | - CrystalLeaderboards::downloadLeaderboardDataForID:leaderboardType: |
| Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. | |
| (void) | - CrystalLeaderboards::downloadLeaderboardDataForID:leaderboardType:force: |
| Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will only be updated from the server once every 30 minutes to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. | |
| (NSArray *) | - CrystalLeaderboards::top20EntriesForLeaderboardID: |
| Retrieve the top 20 entries for the specified leaderboard Assumes the standard CLTGlobal leaderboard type. | |
| (NSArray *) | - CrystalLeaderboards::top20EntriesForLeaderboardID:leaderboardType: |
| Retrieve the top 20 entries for the specified leaderboard. | |
| (NSArray *) | - CrystalLeaderboards::top20FriendsForLeaderboardID: |
| Retrieve the top 20 friends for the specified leaderboard, including the current user Assumes the standard CLTGlobal leaderboard type. | |
| (NSArray *) | - CrystalLeaderboards::top20FriendsForLeaderboardID:leaderboardType: |
| Retrieve the top 20 friends for the specified leaderboard, including the current user. | |
| (NSArray *) | - CrystalLeaderboards::random20ForLeaderboardID: |
| Retrieve a random selection of 20 entries for the specified leaderboard Assumes the standard CLTGlobal leaderboard type. | |
| (NSArray *) | - CrystalLeaderboards::random20ForLeaderboardID:leaderboardType: |
| Retrieve a random selection of 20 entries for the specified leaderboard. | |
| (NSDictionary *) | - CrystalLeaderboards::currentUserEntryForLeaderboardID: |
| Retrieve the data for the current user for the specified leaderboard Assumes the standard CLTGlobal leaderboard type. | |
| (NSDictionary *) | - CrystalLeaderboards::currentUserEntryForLeaderboardID:leaderboardType: |
| Retrieve the data for the current user for the specified leaderboard. | |
| void | CrystalUnityBasic::DownloadLeaderBoardDataForID (string leaderboardId, CrystalLeaderboardType leaderboardType) |
| Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. | |
| void | CrystalUnityBasic::DownloadLeaderBoardDataForID (string leaderboardId, CrystalLeaderboardType leaderboardType, bool force) |
| Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. | |
Properties | |
| LeaderboardEntry | CrystalUnityBasic::CurrentUserEntryForLeaderboard [get] |
| Retrieve the data for the current user for the specified leaderboard. | |
| CrystalLeaderboardType | CrystalUnityBasic::DownloadedLeaderboardType [get] |
| Retrieve the leaderboardType for the last download. |
| - (NSDictionary*) currentUserEntryForLeaderboardID: | (NSString *) | leaderboardID |
Retrieve the data for the current user for the specified leaderboard Assumes the standard CLTGlobal leaderboard type.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| - (NSDictionary*) currentUserEntryForLeaderboardID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
Retrieve the data for the current user for the specified leaderboard.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve |
| void CrystalUnityBasic::DownloadLeaderBoardDataForID | ( | string | leaderboardId, |
| CrystalLeaderboardType | leaderboardType | ||
| ) | [inline, inherited] |
Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process.
| leaderboardId | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve. If this leaderboard type is not configured in the developer dashboard no data will be returned. |
| void CrystalUnityBasic::DownloadLeaderBoardDataForID | ( | string | leaderboardId, |
| CrystalLeaderboardType | leaderboardType, | ||
| bool | force | ||
| ) | [inline, inherited] |
Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process.
| leaderboardId | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve. If this leaderboard type is not configured in the developer dashboard no data will be returned. |
| force | Set to true to attempt to force a server-side refresh of downloaded leaderboard data. |
| - (void) downloadLeaderboardDataForID: | (NSString *) | leaderboardID |
Initiate the download of leaderboard data for the supplied leaderboard ID If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process. Assumes the standard CLTGlobal leaderboard type.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| - (void) downloadLeaderboardDataForID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will not be updated from the server to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve. If this leaderboard type is not configured in the developer dashboard no data will be returned. |
| - (void) downloadLeaderboardDataForID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
| force: | (BOOL) | force | |
Initiate the download of leaderboard data for the supplied leaderboard ID and leaderboard type If the leaderboard data for the specified leaderboardID is already downloaded for this game session the data will only be updated from the server once every 30 minutes to avoid excessive server load. When the leaderboard data has been downloaded the crystalLeaderboardUpdated: method will be called on CrystalLeaderboardDelegate. There is no indication of an error while downloading the leaderboard data and there is no need to manually retry the process.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve. If this leaderboard type is not configured in the developer dashboard no data will be returned. |
| force | Set to YES to attempt to force a server-side refresh of downloaded leaderboard data. |
| - (NSArray*) getAchievementsUnlocked |
Retrieve the achievements unlocked for the current user.
| - (NSArray*) random20ForLeaderboardID: | (NSString *) | leaderboardID |
Retrieve a random selection of 20 entries for the specified leaderboard Assumes the standard CLTGlobal leaderboard type.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| - (NSArray*) random20ForLeaderboardID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
Retrieve a random selection of 20 entries for the specified leaderboard.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve |
| - (NSArray*) top20EntriesForLeaderboardID: | (NSString *) | leaderboardID |
Retrieve the top 20 entries for the specified leaderboard Assumes the standard CLTGlobal leaderboard type.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| - (NSArray*) top20EntriesForLeaderboardID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
Retrieve the top 20 entries for the specified leaderboard.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve |
| - (NSArray*) top20FriendsForLeaderboardID: | (NSString *) | leaderboardID |
Retrieve the top 20 friends for the specified leaderboard, including the current user Assumes the standard CLTGlobal leaderboard type.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| - (NSArray*) top20FriendsForLeaderboardID: | (NSString *) | leaderboardID | |
| leaderboardType: | (CrystalLeaderboardType) | leaderboardType | |
Retrieve the top 20 friends for the specified leaderboard, including the current user.
| leaderboardID | The ID of the leaderboard as shown in the developer dashboard |
| leaderboardType | The CrystalLeaderboardType of the leaderboard to retrieve |
LeaderboardEntry CrystalUnityBasic::CurrentUserEntryForLeaderboard [get, inherited] |
Retrieve the data for the current user for the specified leaderboard.
CrystalLeaderboardType CrystalUnityBasic::DownloadedLeaderboardType [get, inherited] |
Retrieve the leaderboardType for the last download.


http://www.leakedin.com
http://securityxploded.com/passwordsecrets.php
http://contest.korelogic.com/wordlists.html
http://packetstormsecurity.org/Crackers/wordlists/
http://www.skullsecurity.org/wiki/index.php/Passwords
http://www.ericheitzman.com/passwd/passwords/
Wordbook
http://openwall.com/wordlists/
https://github.com/danielmiessler/SecLists
https://www.owasp.org/index.php/Category:OWASP_Fuzzing_Code_Database
Default passwords
https://cirt.net/passwords
http://www.defaultpassword.com/
Super massive dictionary downloads (so large you need to torrent and unzip...prepare ahead of time)
https://hashes.org/left.php and /leaks.php and /hashlists.php
https://crackstation.net/buy-crackstation-wordlist-password-cracking-dictionary.htm
https://weakpass.com
https://github.com/berzerk0/Probable-Wordlists


Part 2 - Activity
- The question will give us context, an objective, and some points that we need to cover in a short message
- The message should contain about 35-45 words
Part 2 - Tips
- First, understand what we need to include
- After writing, you should read your answer and verify that all the points are well-explained
Part 2 - Assessment
- Ensure you are including all the information
- Your message should be clearly and understandable
- Minor errors that don't affect the clarity are not penalized


Aksel Kornesjö
Education/work
Minigames:
Other:
Contact:
gmail:
akselkornesjo
Links:
github
twitter
{{ previousExperience.title }}
no newer things
{{ nextExperience.title }}
reached end


We buy dogs!
- envisioneer end-to-end schemas
- harness compelling models
- expedite intuitive infomediaries
- enhance ubiquitous action-items
- redefine clicks-and-mortar e-tailers
- exploit B2B solutions
- deliver bleeding-edge solutions
- grow B2C e-tailers
- facilitate cross-platform metrics
- deliver efficient portals
- embrace world-class convergence
- utilize frictionless synergies
- iterate efficient channels
- generate sexy paradigms
- exploit turn-key experiences


TWICE Talks about Protecting their Dorm, Politely Asks Fans to Respect their Privacy
by HelloAnonTWICE's Momo celebrated her birthday with their fans via V App last night, November 9. In the middle of her live broadcast, Nayeon and Tzuyu surprised her with a cake and spent time to talk to ONCEs as well.
The girls have talked about various things including their YouTube documentary which will be released early next year, the dinner they had as a group to celebrate Momo's birthday, their first impressions of each other and Momo also showed a few videos of their pre-debut dance practices.
Among the topics that the three TWICE members discussed, what caught the viewers' attention was when they opened up about why they refrained from doing VLive broadcasts in their dorm and even tries to avoid talking about their home as much as possible.
Nayeon shared that they get surprised when fans, including foreign ONCEs, wait outside their dorm building when they mention in passing during live broadcasts that they're on their way home. Tzuyu said that there were moments when they wanted to go live and broadcast comfortably at home like they used to but now they're holding back.
The girls apologized to their neighbors who might have been bothered by the matter and politely pleaded to fans to help them protect their dorm and to respect their privacy.
Some fans speculate that it could be the girls' way of addressing the issue about Nayeon's stalker who claims to have developed special feelings for her and would seriously want to see her.
The overzealous fan posted a vlog on how he stalked Nayeon and tried to know her whereabouts. The most recent update is that he still hasn't stopped and is planning to go back to Korea soon to continue his search for Nayeon.
Korean media outlets got wind of the news, even a French web portal had it featured. Fans continue to send JYP Entertainment information about the German fan and may have already been relayed to TWICE and their managers.


Crusted Tofu
→ Posted July 18, 2021 by Candice
This hemp crusted tofu cobb salad has been a go-to meal of mine for a while and wanted to share it with you! I created these tasty little tofu nuggets as part of the post I did with Manitoba Harvest last year, sharing creative ways to incorporate hemp hearts into your meals. The tofu fingers or nuggets are even great on their own right out of the fridge cold! Serve these with a dip of your choice like my popular ranch dip, preferably.
But for a whole meal, I found them really satisfying on this tofu cobb salad!
Feel free to customize the salad components however you please. You could also add nuts and seeds on top, or some black beans or chickpeas for more protein!
 They make the perfect pairing with a fresh cobb style salad and a creamy ranch.
COURSE → Salad
CUISINE → American
KEYWORD → crispy tofu, ranch, salads
PREP TIME → 45 minutes
COOK TIME → 30 minutes
TOTAL TIME → 1 hour 30 minutes
SERVINGS → 4 servings
I made this last night and it was phenomenal. I used regular breadcrumbs instead of gluten free and it turned out great. When I make it again, I think I will use just 1/4 cup hemp seeds and 1/4 cup breadcrumbs. I ended up throwing out a lot of
the breading. I also added black beans to my salad and I have some quick pickled red cabbage for leftovers today. Fantastic recipe!
If you try this recipe out, tag me on Instagram @veggiekins so I can see your delicious re-creations and feature them! As always, I love when you share your reviews in the comments below, and
if you make any fun substitutions, let me know how it worked out below too.
A little bit about me
Welcome! I’m Candice, author of Dinner: A Love Story and Dinner: The Playbook More


We're sorry but myvuetest doesn't work properly without JavaScript enabled. Please enable it to continue.


Gettin' around DC with rideshare!
In this post, we'll be looking at comparing Capital Bike Share rides and uber rides.


Version not found
The version {{.ContentVersion}}
was not found.
Page not found
The page {{.ContentPagePath}}
was not found.
{{define "title"}}
{{with .Content}}{{.Doc.Title}}{{else}}Error{{end}}
{{end}}
{{define "head"}}
{{if (or (not .Content) .ContentVersion)}}{{end}}
{{with .Content}}{{end}}
{{end}}
{{define "content"}}
{{with .Content}}
{{end}}
The version The page Version not found
{{.ContentVersion}}
was not found.Page not found
{{.ContentPagePath}}
was not found.Unexpected error
{{end}}
{{end}}


--- title: Workflow keywords: fastai sidebar: home_sidebar summary: "Define static or dynamic workflow for automatically updating, training and deploying your ML model!" description: "Define static or dynamic workflow for automatically updating, training and deploying your ML model!" nb_path: "03_workflow.ipynb" ---
input: Workflow definition parameters
output: python or snakemake script for running the workflow
description:
While you are developing your ML application, you might prefer running the notebooks manually again and again. However, once you have deployed your model into production it becomes unpractical and compromizes scalability, modularity and the principle of ease of reproducibility. This happens regardless of what 'production' means to you - it might well be that you are just running the notebooks and viewing the results directly from them. Whatever you are doing, having a single command to run the whole workflow makes things so much easier.
Workflow automation is also the part of the work where you'll probably notice a lot of bugs and nonrobustness in your notebooks. Probably a lot more than you anticipated, but try not to get frustrated! Debugging is big and important part of the work.
In this notebook we explain alternatives for automating workflows, either as a static or dynamic. By following these examples (and further documentation on papermill and Snakemake) you can parameterize your notebooks, run them automatically in a workflow, and even parameterize and automate the workflow definition. With this template, you can easily define very complex and versatile workflows, that are well documented in a notebook.
We selected these tools for the template because they have stable community support, they are relatively easy to use and they fit our needs. There are also other tools for workflow management and orchestration that may better suite your needs. Feel free to use them. For more information, see for example this comparison of workflow tools for Python.
import numpy as np
import pandas as pd
import papermill as pm
make direct derivations from the paramerters:
Papermill allows parameterizing and running notebooks from Python runtime with papermill.execute_notebook(input, output, parameters)
.
The input
parameter is the notebook to be run. The output
parameter is the filepath where copy of the executed notebook is saved with the results.
This can be the same as the input
, but you probably want to keep it separate - otherwise your version control may get messy.
In this example executed notebooks are saved under results/notebooks
. The parameters
cell allows you to change settings of the notebooks.
You may have noticed, that in the beginning of each notebook there is a cell with a comment # This cell is tagged parameters
.
The cell has been added Parameters
tag. The template notebooks already contain the tag,
but you can check papermill documentation on how to do it on different notebook editors.
In this cell, variables are assigned. What papermill does is, that any parameters given to the execute_notebook
function are listed
in a new cell right below the one tagged with parameters. The listed parameters will rewrite the default assignments.
This is why you should not do anything else but simple assignments in the parameters cell.
Let's show an example. Let's run the notebook 'model' with and without changing the 'seed'-parameter.
Copies of the notebooks executed with different settings are stored in results/notebooks
.
The copies are saved with underscore prefix _notebook.ipynb
so that they are ignored by nbdev.
# run model notebook with default parameters
_ = pm.execute_notebook(
"02_loss.ipynb",
"results/notebooks/_02_loss_default_params.ipynb",
)
# run model notebook with 'seed' -parameter changed from 0 to 1
_ = pm.execute_notebook(
"02_loss.ipynb", "results/notebooks/_02_loss_seed_1.ipynb", parameters={"seed": 1}
)
You can now open the notebooks and compare the results.
Now we could just define and run the complete workflow from this notebook: just define which notebooks to run, in which order and with which parameters. Then just run this notebook and the workflow is executed. We could even go further and parameterize this notebook to get parameterizable workflow execution. Then, we could use papermill in another application to run this notebook to execute the rest of the workflow. However, this approach has two main restrictions. The workflow execution script would not be included in this documentation, and it does not allow dynamic workflows because launching Snakemake from inside a Python runtime will cause all sorts of problems.
%%writefile static_workflow.py
# execute workflow of the example notebooks
# to run the script, call python static_workflow.py workflow_setup.yaml
# this file has been added to .gitignore
# NOTE: use curly brackets only to format in global variables!
# hint: you can include additional parameters with sys.argv
# import relevant libraries
import papermill as pm
import os
import sys
import yaml
# update modules before running just to be sure
os.system('nbdev_build_lib')
# run data notebook
_ = pm.execute_notebook('00_data.ipynb', # input
'results/notebooks/_00_data.ipynb', # output
parameters = dict(seed = 0) # params (optional)
)
# run model notebook
_ = pm.execute_notebook('01_model.ipynb',
'results/notebooks/_01_model.ipynb')
# run loss notebook
_ = pm.execute_notebook('02_loss.ipynb',
'results/_02_loss.ipynb')
# optional (uncomment): make backup of the index and workflow notebooks:
# os.system('cp {workflow} {save_notebooks_to}{workflow}')
What if some of your input files change, or you would like to run your workflow with a slighly different setup? Just as we parameterized the components of the workflow, we might want to parameterize the workflow definition. You can either read parameters directly form sys.argv, python argparser or, like in this example, from a configuration file.
Let's begin by defining the configuration file. We use the yaml format, because it is easy to write and read by both humans and machines.
The file is defined in this notebook and written directly into the workflow_setup.yml
file. The config file is added to .gitignore
- it is already defined in this notebook, we do not need double versioning. See here how to use yaml with Python.
%%writefile workflow_setup.yml
---
notebooks: # workflow notebook setup
index: # name of notebook
notebook: index.ipynb # notebook file
data:
notebook: 00_data.ipynb
params: # notebook parameters
seed: 0
model:
notebook: 01_model.ipynb
params:
seed: 0
loss:
notebook: 02_loss.ipynb
params:
seed: 0
utils: # general workflow settings
save_notebooks_to: results/notebooks/
notebook_save_prefix: _
Let's take a look how the setup looks loaded as a python dictionary:
import yaml
with open("workflow_setup.yml", "r") as f:
setup_dict = yaml.load(f, Loader=yaml.Loader)
setup_dict
Now run the cell below to create the execution script. The code is not run in this notebook, but written in the file static_workflow.py
:
%%writefile static_workflow.py
# execute workflow of the example notebooks
# to run the script, call python static_workflow.py workflow_setup.yaml
# this file has been added to .gitignore
# NOTE: use curly brackets only to format in global variables!
# hint: you can include additional parameters with sys.argv
# import relevant libraries
import papermill as pm
import os
import sys
import yaml
## parse arguments from workflow_setup.yaml
configfilename = sys.argv[1]
with open(configfilename, 'r') as f:
config = yaml.load(f, Loader = yaml.Loader)
# variables
notebooks = config['notebooks']
data = notebooks['data']
model = notebooks['model']
loss = notebooks['loss']
utils = config['utils']
# update modules before running just to be sure
os.system('nbdev_build_lib')
# run data notebook
_ = pm.execute_notebook(data['notebook'], # input
utils['save_notebooks_to'] \
+ utils['notebook_save_prefix'] \
+ data['notebook'], # output
parameters = data['params'] # params
)
# run model notebook
_ = pm.execute_notebook(model['notebook'],
utils['save_notebooks_to'] \
+ utils['notebook_save_prefix'] \
+ model['notebook'],
parameters = model['params'])
# run loss notebook
_ = pm.execute_notebook(loss['notebook'],
utils['save_notebooks_to'] \
+ utils['notebook_save_prefix'] \
+ loss['notebook'],
parameters = loss['params'])
# optional (uncomment): make backup of the index and workflow notebooks:
# os.system('cp {workflow} {save_notebooks_to}{workflow}')
If you open the file static_workflow.py
, you notice that the contents of curly brackets were replaced with the parameters of this notebook.
Now, you can run the workflow:
# run this in your terminal to also run the nbdev_build_lib
!python static_workflow.py workflow_setup.yml
You can again make a visible copy of the hidden notebooks folder just like above (remember to delete it afterwards) and view the notebooks. You can change some of the notebook parameters and rerun the workflow to see how it effects the results.
You see that static workflow definition is quite simple. In the script above, we did not define any inputs, outputs or the relation of the different steps. It's good to keep things that way, unless there is a reason not to. It might be that we have multiple, changing data sources, complex workflow structure, need for parallelization or other issues making it either difficult to hard-code the steps required in your workflow. Then, you might need a dynamic workflow.
Snakemake is a tool that will automatically determine which steps to run based on inputs and outputs. It's like gnu make, but for Python: easy to read and write, but powerful. Unfortunaltely it is impossible to cover all the properties of the tool but see their documentation and internet discussion for ideas. Here we only cover a tiny portion of the possibilities of snakemake, but it can do very complex things.
Snakemake executes the workflow as a rule based directed acyclic graph (DAG). Each workflow step is determined by a rule, which consists of inputs, outputs and execution of code. The inputs and outputs are files (data, config, source code, notebooks, images, tables etc.). The code executed can either be shell commands or Python, written directly into the Snakefile.
Let's consider a workflow where we have two parallel rules 1a and 1b, and one consequtive rule 2. In addition we have rule all, that determines the whole workflow. The rules 1a and 1b only depend on their input. The rule 2 depends on outputs of both rules 1a and 1b. The rule 2 also has an additional input independent of other rules. We can visualize the workflow as follows:
Now, if we turned it into a Snakefile script, it would look something like this:
rule all: # used to determine the whole workflow
input:
output_2
rule 1a: # parallel to rule 1b
input:
input_1a
output:
output_1a
run: # run python commands
# Python script to run rule 1a
rule 1b: # parallel to rule 1a
input:
input_1b
output:
output_1b
shell: # you also run shell commands
# shell script to run rule 1b
rule 2: # consequent to steps 1a and 1b
input:
output_1a, # depends on rule 1a
output_1b, # depends on rule 1b
input_2 # independent input
output:
output_2
run:
# Python script to run rule2
Snakemake can be either used to run a single rule, or the complete workflow based on rule all. Based on the inputs and outputs, snakemake will determine which other rules will then need to be executed.
In our example, the notebooks consist the nodes of the DAG graph. Based on the changes in input and output files since the last execution, Snakemake determines which steps need to be run. If no changes are observed, snakemake does not do anything.
For example if we change the input of rule 1b, rules 1b and 2 are executed. If we make a change to the input of rule 2, only the rule 2 will be executed.
If we want to rerun all steps without changin anything, you can just touch the inputs of the independent rules touch input_1a input_1b
.
The following script will be written into a Snakefile, that you can run to execute the workflow.
%%writefile Snakefile
# import relevant libraries
import papermill as pm
import os
# determine global variables, wildcards etc.
# all: final output of the workflow
rule all:
input:
'results/LogisticRegressionClassifier.pkl' # trained model
# data
rule data:
input:
'00_data.ipynb' # every notebook is it's own input
# if we had input files they should be listed here, separated with comma ,
output: # Snakemake checks that after running these files are created / updated
'data/preprocessed_data/dataset_clean_switzerland_cleveland.csv', # clean dataset
'data/preprocessed_data/dataset_toy_switzerland_cleveland.csv', # toy dataset
'ml_project_template/data.py', # plot functions
'results/notebooks/_00_data.ipynb' # copy of the executed notebook
run:
# run notebook with papermill
_ = pm.execute_notebook('00_data.ipynb', # input
'results/notebooks/_00_data.ipynb', # output
parameters = {'seed':0}) # params (optional)
os.system('nbdev_build_lib --fname 00_data.ipynb') # build data.py
rule model:
input:
'01_model.ipynb',
'data/preprocessed_data/dataset_toy_switzerland_cleveland.csv',
output:
'ml_project_template/model.py', # model class
'results/notebooks/_01_model.ipynb'
run:
_ = pm.execute_notebook('01_model.ipynb', # we could also use '{input[0]}'
'results/notebooks/_01_model.ipynb') # we could also use '{output[1]}'
os.system('nbdev_build_lib --fname 01_model.ipynb')
rule loss:
input:
'02_loss.ipynb',
'data/preprocessed_data/dataset_clean_switzerland_cleveland.csv',
'ml_project_template/data.py',
'ml_project_template/model.py'
output:
'results/LogisticRegressionClassifier.pkl', # trained model
'results/notebooks/_02_loss.ipynb'
run:
_ = pm.execute_notebook('02_loss.ipynb',
'results/notebooks/_02_loss.ipynb')
os.system('nbdev_build_lib --fname 02_loss.ipynb')
One thing to notice is that Snakemake should be used from terminal directly, not from a Python script or notebook.
To run Snakemake, call:
snakemake -n # dry-run snakemake to check what would be done
snakemake --jobs 1 # run workflow
The --jobs parameter (you can also use -j) is the maximum number of CPU cores to use with the pipeline (local/cluster/cloud cores). Usually 1 is enough with simple pipelines, since our primary workflow step is a notebook, and most Python operations are difficult to parallelize.
Again, we might want to parameterize the notebook for scalability.
For simple parameterization, use rule parameters:
rule model:
input:
output:
parameters: seed = 0
run:
_ = pm.execute_notebook(...,
...,
parameters = {seed: parameters.seed})
For complex parameterization, including the parameterization of inputs and outputs, consider using a config file. Snakemake can automatically load json or yaml file to python dictionary:
## in config.yml:
rules:
data:
...
model:
input:
- 01_model.ipynb
- data/preprocessed_data/dataset_toy_switzerland_cleveland.csv
parameters:
seed: 0
...
...
## in Snakefile:
# automatically load json or yaml file to python dictionary 'config'
configfile: config.yml
rule model:
input:
config['rules']['model']['input']
output:
...
run:
run:
_ = pm.execute_notebook(...,
...,
parameters = {seed: config['rules']['model']['parameters']['seed']})
For more information, see Snakemake documentation.
If you just want to create conventional Python application, you can use this notebook to create main.py so that you can just run your module as python application. Then, you should change the name of this notebook and the default_exp location to main. This requires that you define and export all functions and classes to modules so that they can be used elsewhere. This is a bit messy, and deminishes many of the benefits of notebook development because instead of just running the notebooks you already created, you have to redefine all the steps required all over again. However, sometimes this might be what you want to do, so we wanted to mention it here.
Pseudo example of how to define main.py in a notebook:
%%script False
## remove this line and the line above if you want to run and export the code (note that it needs editing to work)
### export main
# remove the two extra # in the line above
import numpy as np
import sys
import data, model, loss
def get_input():
"""
get input from user
"""
pass
def main(filename):
"""
run main loop
"""
# load data
X, y = data.load(filename)
# initialize model, fit, optimize
m = model.LogisticRegressionClassifier(X, y).fit().optimize()
# main loop
input_data = get_input()
while(input_data):
if input_data[0] == 'predict':
# predict on input
print(m.predict(input_data[1]))
else:
# do other things
pass
if __name__ == "__main__":
"""
run with: python ml_project_template filename
"""
np.random.seed(0)
filename = sys.argv[1]
main(filename)
%%script False
## remove this line and the line above if you want to run the code (note that it needs editing to work)
## test the main loop in this notebook and interact with the application
main()


|
Video Codec in Python
Video codec project, implemented in Python
|
Public Member Functions | |
| def | __init__ (self, predictor) |
| def | write_code (self, code) |
| def | setMatrix (self, new_matrix) |
| def | encode (self) |
Public Attributes | |
| original_matrix | |
| predictor | |
| encoded_matrix | |
| golomb | |
| bitstream | |
| written_bits | |
| codes | |
This class implements a lossless intra-frame encoder, using 7PEG linear predictors.
| def encoders.IntraFrameEncoder.__init__ | ( | self, | |
| predictor | |||
| ) |
Default constructor. @param matrix: initial matrix @param predictor: linear predictor
| def encoders.IntraFrameEncoder.encode | ( | self | ) |
This method encodes the original matrix in a new one, based on the current predictor. It also uses golomb codification for the entropy encoding.
| def encoders.IntraFrameEncoder.setMatrix | ( | self, | |
| new_matrix | |||
| ) |
This method sets current matrix of the encoder to 'new_matrix'. @param new_matrix: new matrix of type Y,U or V.
| def encoders.IntraFrameEncoder.write_code | ( | self, | |
| code | |||
| ) |
This method writes a list of bits on file, using the Bitstream class. @param code: list with bits to encode.


@()(implicit header: RequestHeader) @head("注册") { }
Welcome to join JSUCCW! Here we will meet a group of like-minded students, grow together, learn professional knowledge, I hope everyone here can meet better myself. Finally, I wish you all success!
注册新账户
已经拥有账户了吗？ 登录


Friends Operations
Get All Friends
Add a Friend
Find a Friend by ID
Find a Friend by Name
Update a Friend by ID
Delete a Friend by ID


|
Fusion3D
Version 6.04
|
Issues commands in the OSUS Standard format to task sensors to take imagery. More...
#include <osus_command_class.h>
Public Member Functions | |
| osus_command_class () | |
| Constructor. More... | |
| ~osus_command_class () | |
| Destructor. More... | |
| int | set_name (string name_in) |
| Set sensor name required by all commands. More... | |
| int | set_addr (string addr_in) |
| Set ID for command that requires one. More... | |
| int | set_port (int port_in) |
| Set ID for command that requires one. More... | |
| int | set_loc (double lat_in, double lon_in, float elev_in) |
| Set location for command that requires one. More... | |
| int | set_id (string id_in) |
| Set ID for command that requires one. More... | |
| int | command_osus (int type) |
| Issue command to OSUS to capture an image. More... | |
| Public Member Functions inherited from base_jfd_class | |
| base_jfd_class () | |
| Constructor. More... | |
| virtual | ~base_jfd_class () |
| Destructor. More... | |
| int | set_diag_flag (int flag) |
| Set level of diagnostics. More... | |
| int | register_coord_system (gps_calc_class *gps_calc_in) |
| Register the common gps_calc_class for defining the current coordinate systems and transformations between them. More... | |
| const char * | get_type () |
| Get the name of the class. More... | |
| int | warning (int oiv_window_flag, const char *message) |
| Open dialog window with warning. More... | |
| int | warning_s (string cmessage, string smessage) |
| Open dialog window with 2-part warning message. More... | |
| int | exit_safe (int oiv_window_flag, const char *message) |
| Open dialog window with fatal error message. More... | |
| int | exit_safe_s (string message, string smessage) |
| Open dialog window with fatal error message. More... | |
| virtual int | clear_all () |
| virtual int | read_file (string sfilename) |
| Read file: all functions including open, read header and data and close – Virtual. More... | |
| virtual int | read_file_open (string sfilename) |
| Read file: only the open part of the entire read-file – Virtual. More... | |
| virtual int | read_file_header () |
| Read file: only the read-header part of the entire read-file – Virtual. More... | |
| virtual int | read_file_data () |
| Read file: only the read-data part of the entire read-file – Virtual. More... | |
| virtual int | read_file_close () |
| Read file: only the close part of the entire read-file – Virtual. More... | |
| virtual int | write_file (string sfilename) |
| Write file: entire process of open, write header and data and close – Virtual. More... | |
| virtual int | write_parms (FILE *tiff_fd) |
| Write parameters to the currently opened ASCII file – for saving all relevent parameters to an output Parameter file. More... | |
Additional Inherited Members | |
| Protected Attributes inherited from base_jfd_class | |
| int | diag_flag |
| Diagnostic level – 0=none, 1=little, 2=moderate, 3=heavy. More... | |
| int | opsys_flag |
| Operating system – 0=unix, 1=windows, 2=linux. More... | |
| char * | class_type |
| Unique name for each child class. More... | |
| int | localCoordFlag |
| Coord systems – -1=unknown local coord system, 0=local same as global, Positive=EPSG where known local coord different from global. More... | |
| gps_calc_class * | gps_calc |
| Coord systems – Worker class to define global coordinate systems and transformations. More... | |
Issues commands in the OSUS Standard format to task sensors to take imagery.
A new thread is initialized, the command issued, a verification that the command was received by OSUS (not necessarily executed) and the thread is destroyed.
| osus_command_class::osus_command_class | ( | ) |
Constructor.
| osus_command_class::~osus_command_class | ( | ) |
Destructor.
| int osus_command_class::command_osus | ( | int | type | ) |
Issue command to OSUS to capture an image.
@parm type 1 for CapturImageCommand only, 2 to include pointing command.
| int osus_command_class::set_addr | ( | string | addr_in | ) |
Set ID for command that requires one.
| int osus_command_class::set_id | ( | string | id_in | ) |
Set ID for command that requires one.
| int osus_command_class::set_loc | ( | double | lat_in, |
| double | lon_in, | ||
| float | elev_in | ||
| ) |
Set location for command that requires one.
| int osus_command_class::set_name | ( | string | name_in | ) |
Set sensor name required by all commands.
| int osus_command_class::set_port | ( | int | port_in | ) |
Set ID for command that requires one.


The strategy requires the continuous futures contract, so we import the custom data from Quandl. We manually create a universe of tradable commodity futures from all available commodity futures traded on CME and ICE. They are all liquid and active continuous contracts #1. The data from Quandl are non-adjusted price based on spot-month continuous contract calculations. The data resolution is daily.
from QuantConnect.Python import PythonQuandl class ImprovedCommodityMomentumTrading(QCAlgorithm): def Initialize(self): for ticker in tickers: data = self.AddData(QuandlFutures, ticker, Resolution.Daily) data.SetLeverage(3) # Leverage was set to 3 for each of the futures contract class QuandlFutures(PythonQuandl): def __init__(self): self.ValueColumnName = "Settle"
def Initialize(self): # Last trading date tracker to achieve rebalancing the portfolio every month self.nextRebalance = self.Time # Set portfolio target level of volatility, set to 12% self.portfolio_target_sigma = 0.12
def GetTradingSignal(self, history): ''' TREND Trading Signal - Uses the t-statistics of historical daily log-returns to reflect the strength of price movement trend - TREND Signal Conditions: t-stat > 1 => TREND Signal = 1 t-stat < 1 => TREND Signal = -1 -1 < t-stat < 1 => TREND Signal = t-stat ''' settle = history.settle.unstack(level = 0) # daily futures log-returns based on close-to-close log_returns = np.log(settle/settle.shift(1)).dropna() # Calculate the t-statistics as # (mean-0)/(stdev/sqrt(n)), where n is sample size mean = np.mean(log_returns) std = np.std(log_returns) n = len(log_returns) t_stat = mean/(std/np.sqrt(n)) # cap holding at 1 and -1 return np.clip(t_stat, a_max=1, a_min=-1)
def GetYZVolatility(self, history, available_symbols): ''' Yang and Zhang 'Drift-Independent Volatility Estimation' Formula: sigma_YZ^2 = sigma_OJ^2 + self.k * sigma_SD^2 + (1-self.k)*sigma_RS^2 (Equation 20 in [1]) where, sigma_OJ - (Overnight Jump Volitility estimator) sigma_SD - (Standard Volitility estimator) sigma_RS - (Rogers and Satchell Range Volatility estimator)''' YZ_volatility = [] time_index = history.loc[available_symbols[0]].index today = time_index[-1] #Calculate YZ volatility for each security and append to list for ticker in available_symbols: past_month_ohlc = history.loc[ticker].loc[today-timedelta(self.OneMonth):today] open, high, low, close = past_month_ohlc.open, past_month_ohlc.high, past_month_ohlc.low, past_month_ohlc.settle estimation_period = past_month_ohlc.shape[0] # Calculate constant parameter k for Yang and Zhang volatility estimator # using the formula found in Yang and Zhang (2000) k = 0.34 / (1.34 + (estimation_period + 1) / (estimation_period - 1)) # sigma_OJ (overnight jump => stdev of close-to-open log returns) open_to_close_log_returns = np.log(open/close.shift(1)) open_to_close_log_returns = open_to_close_log_returns[np.isfinite(open_to_close_log_returns)] sigma_OJ = np.std(open_to_close_log_returns) # sigma_SD (standard deviation of close-to-close log returns) close_to_close_log_returns = np.log(close/close.shift(1)) close_to_close_log_returns = close_to_close_log_returns[np.isfinite(close_to_close_log_returns)] sigma_SD = np.std(close_to_close_log_returns) # sigma_RS (Rogers and Satchell (1991)) h = np.log(high/open) l = np.log(low/open) c = np.log(close/open) sigma_RS_daily = (h * (h - c) + l * (l - c))**0.5 sigma_RS_daily = sigma_RS_daily[np.isfinite(sigma_RS_daily)] sigma_RS = np.mean(sigma_RS_daily) # daily Yang and Zhang volatility sigma_YZ = np.sqrt(sigma_OJ**2 + k * sigma_SD**2 + (1 - k) * sigma_RS**2) # append annualized volatility to the list YZ_volatility.append(sigma_YZ*np.sqrt(252)) return YZ_volatility
def GetCorrelationFactor(self, history, trade_signals, available_symbols): ''' Calculate the Correlation Factor, which is a function of the average pairwise correlation of all portfolio contituents - the calculation is based on past three month pairwise correlation - Notations: rho_bar - average pairwise correlation of all portfolio constituents CF_rho_bar - the correlation factor as a function of rho_bar''' # Get the past three month simple daily returns for all securities settle = history.settle.unstack(level = 0) past_three_month_returns = settle.pct_change().loc[settle.index[-1]-timedelta(self.ThreeMonths):] # Get number of assets N_assets = len(available_symbols) # Get the pairwise signed correlation matrix for all assets correlation_matrix = past_three_month_returns.corr() # Calculate rho_bar summation = 0 for i in range(N_assets-1): for temp in range(N_assets - 1 - i): j = i + temp + 1 x_i = trade_signals[i] x_j = trade_signals[j] rho_i_j = correlation_matrix.iloc[i,j] summation += x_i * x_j * rho_i_j # Equation 14 in [1] rho_bar = (2 * summation) / (N_assets * (N_assets - 1)) # Calculate the correlation factor (CF_rho_bar) # Equation 18 in [1] return np.sqrt(N_assets / (1 + (N_assets - 1) * rho_bar))
For efficiency purposes, a History() request is called once on each rebalance date to get all the data from the past year for all securities. We retrieve our trade signal, Yang and Zhang volatility, and correlation factor by passing the history data frame to each respective function.
def OnData(self, data): ''' Monthly rebalance at the beginning of each month. Portfolio weights for each constituents are calculated based on Baltas and Kosowski weights. ''' # skip if less than 30 days passed since the last trading date if self.Time < self.nextRebalance: return '''Monthly Rebalance Execution''' # dataframe that contains the historical data for all securities history = self.History(self.Securities.Keys, self.OneYear, Resolution.Daily) history.replace(0, np.nan, inplace = True) # Get the security symbols are are in the history dataframe available_symbols = list(set(history.index.get_level_values(level = 0))) # Liquidate symbols that are not in the history dataframe anymore for security in self.Securities.Keys: if security.Value not in available_symbols: self.Liquidate(security, 'Not found in history request') # Get the trade signals and YZ volatility for all securities trade_signals = self.GetTradingSignal(history) volatility = self.GetYZVolatility(history, available_symbols) # Get the correlation factor CF_rho_bar = self.GetCorrelationFactor(history, trade_signals, available_symbols) #Rebalance the portfolio according to Baltas and Kosowski suggested weights N_assets = len(available_symbols) for symbol, signal, vol in zip(available_symbols, trade_signals, volatility): # Baltas and Kosowski weights (Equation 19 in [1]) weight = (signal*self.portfolio_target_sigma*CF_rho_bar)/(N_assets*vol) self.SetHoldings(symbol, weight) # Set next rebalance time self.nextRebalance = Expiry.EndOfMonth(self.Time)


LATEST: Fuel Shoots Up Again As ZERA Announces New Prices For The Week
by Timothy NdoroFuel Shoots Up Again
The Zimbabwe Energy Regulatory Authority (ZERA) has announced yet another increase in the price of fuel effective tomorrow, Monday, 25 November 2019.
Diesel has gone up by 16 cents per litre to cost ZWL$17.90 per litre while Blended Petrol has gone up by 37 cents per litre to cost ZWL$17.44 per litre.
This week’s margin of increase is slightly bigger than last week’s increase which was of 21 cents and 30 cents per litre of diesel and petrol respectively.
Related Content,
-
JUST IN: Fuel Shoots Up Again As ZERA Announces New Prices
-
‘There is no $18 Fuel yet’, ZERA speaks out on FAKE Fuel PRICES doing rounds
-
Tariff Hike Looms as ZETDC applies to ZERA for Price Review
-
LATEST: Motorists rejoice as Zimbabwe fuel prices go down
In other news, President Emmerson Mnangagwa’s spokesperson George Charamba has clarified on the welcome that was received by Vice President Constantino Chiwenga who returned home in the early hours of Saturday morning. Chiwenga spent more than 4 months away from the office after suffering from an undisclosed ailment, although some reports have said that he was poisoned. However, the Vice President seems to have recovered well after he went for treatment in China where specialists from Zimbabwe, South Africa, India and China worked on his health.
Following the return of the Vice President, social media has been awash with speculation and conspiracy theories. The speculation and the theories were generated after the Vice President was welcomed by a delegation of officials from the local Chinese Embassy. The lack of high-level government officials at the airport also roused interest in some who speculated that this was a clear indication that Chiwenga was not in good books with his principal, President Emmerson Mnangagwa.
However, Charamba dismissed the speculation saying that it showed a poor grasp of state protocols, Continue Reading,
To View and Apply for the latest Jobs and Vacancies in Zimbabwe, Please Visit our Sister website iHarare Jobs


Avid Explorer | Compassionate Minimalist | Ardent Writer
My WorkJavaScript
HTML
CSS
Python
SQL
Sass
jQuery
React
Bootstrap
Handlebars
Django
Node
Express
Mongoose
Git | GitHub
RESTful API
MongoDB
Postgresql
cURL
AJAX
Creative Problem Solving
Workflow Management
Project Collaboration
Source Control
Growth Mindset
Meticulous Worksmanship
Interpersonal Intelligence
Motivational Prowess
Self-Efficacy
Hello there! Naiema Gardner here, software developer based in the New York metropolitan area. I am a passionate problem solver with a creative flair who thrives in the face of challenge; and what I offer is a set of fresh eyes, cultivated skills and boundless enthusiasm to explore and grow in the world of software engineering.
My educational background in Psychology and professional roles in the fields of Human Services and Customer Care have allowed me to specialize in methodical planning and project implementation, as well as effective communication and collaboration techniques. In essence, these experiences along with my keen eye and inquisitive nature make me an apt developer. I most look forward to bringing my compassionate temperament, collective growth mindset and mindful creativity to the scope of engineering.
When taking a break from coding, I love to indulge in the tranquility and beauty of the natural world while hiking mountains or swimming in seas. I am a protector of human and animal rights, a photography and design enthusiast, and I always enjoy a good puzzle. A true logophile who writes daily and aspires to publish self-help rhetoric as well as works of poetry and short stories someday. My vision is a life of service where I can contribute to the upliftment of others through innovative technology and socioemotional support.
"Individually, we are one drop. Together, we are an ocean."
- Ryunosuke Satoro, Modernist Short Story Author
Send an email for direct inquiries, connect with me on LinkedIn, follow my work on GitHub, and scroll below to print or download my resume.
"Somewhere, something incredible is waiting to be known." - Carl Edward Sagan, Astronomer


Radiotherapy Class Reference
[Example scripts (models)]
Example: Radiotherapy More...
Detailed Description
Example: Radiotherapy
Implementation of the model for cancer radiation treatment planning from the paper
Davaatseren Baatar, Natashia Boland, Sebastian Brand, Peter J. Stuckey. Minimum Cardinality Matrix Decomposition into Consecutive-Ones Matrices: CP and IP Approaches. CPAIOR 2007
Definition at line 98 of file radiotherapy.cpp.
Constructor & Destructor Documentation
| Radiotherapy::Radiotherapy | ( | const SizeOptions & | opt | ) | [inline] |
The actual problem.
Definition at line 117 of file radiotherapy.cpp.
| Radiotherapy::Radiotherapy | ( | Radiotherapy & | s | ) | [inline] |
Constructor for cloning s.
Definition at line 176 of file radiotherapy.cpp.
Member Function Documentation
| void Radiotherapy::incr_sum | ( | IntVar & | x, | |
| IntVarArgs & | y, | |||
| int | mn | |||
| ) | [inline] |
Post incremental sum constraint.
Definition at line 164 of file radiotherapy.cpp.
| virtual Space* Radiotherapy::copy | ( | void | ) | [inline, virtual] |
Perform copying during cloning.
Definition at line 187 of file radiotherapy.cpp.
| virtual IntVar Radiotherapy::cost | ( | void | ) | const [inline, virtual] |
Cost to be minimized.
Definition at line 193 of file radiotherapy.cpp.
| virtual void Radiotherapy::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Definition at line 197 of file radiotherapy.cpp.
Friends And Related Function Documentation
const int intensity0[] [related] |
{ 7, 2, 14, 8, 9, 13, 4, 1, 2, 9, 5, 12, 2, 11, 9, 10, 2, 4, 9, 7, 10, 2, 8, 11, 1 }
Radiotherapy specifications.
Definition at line 370 of file radiotherapy.cpp.
RadiotherapyData rd0(5, 5, intensity0) [related] |
Radiotherapy specifications.
const int intensity1[] [related] |
{ 6, 10, 6, 8, 10, 0, 4, 10, 0, 6, 2, 8, 0, 2, 0 , 1, 8, 3, 1, 0, 8, 0, 3, 6, 10, 9, 8, 9, 6, 9 , 8, 5, 6, 7, 7, 0, 6, 8, 2, 7, 5, 2, 0, 9, 2 , 9, 2, 10, 5, 7, 1, 3, 7, 5, 1, 8, 2, 3, 10, 4 , 8, 7, 4, 1, 6, 3, 0, 1, 2, 6, 4, 4, 0, 5, 0 , 9, 0, 7, 4, 9, 7, 4, 1, 4, 1, 1, 9, 2, 9, 9 , 3, 6, 10, 0, 6, 6, 10, 10, 7, 0, 10, 2, 10, 2, 4 , 8, 9, 5, 2, 6, 1, 9, 0, 4, 2, 4, 1, 5, 1, 4 , 6, 10, 0, 0, 7, 0, 0, 5, 8, 5, 10, 3, 2, 2, 10 , 4, 3, 0, 6, 10, 7, 2, 7, 2, 9, 2, 8, 9, 7, 9 , 10, 2, 0, 5, 5, 1, 3, 7, 1, 6, 5, 4, 2, 8, 1 , 3, 6, 4, 3, 7, 10, 6, 7, 7, 6, 5, 9, 10, 8, 3 , 9, 9, 5, 2, 4, 2, 3, 3, 1, 2, 9, 2, 5, 6, 3 , 7, 5, 2, 6, 4, 8, 1, 0, 2, 4, 7, 9, 3, 3, 0 , 5, 3, 8, 7, 10, 6, 7, 7, 6, 10, 4, 4, 5, 8, 0 }
Radiotherapy specifications.
Definition at line 380 of file radiotherapy.cpp.
RadiotherapyData rd1(15, 15, intensity1) [related] |
Radiotherapy specifications.
const int case1_beam1_matrix[] [related] |
{ 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 5, 0, 3, 0, 2, 3, 1, 0, 0, 0, 0, 0, 0, 18, 0, 0, 4, 6, 0, 2, 0, 0, 3, 11, 8, 15, 1, 11, 0, 0, 0, 10, 0, 0, 0, 0, 9, 11, 14, 6, 2, 7, 0, 0, 0, 7, 0, 0, 8, 2, 7, 10, 11, 7, 2, 0, 7, 0, 0, 0, 1, 0, 0, 4, 1, 6, 7, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 1, 0, 4, 6, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 5, 6, 8, 8, 5, 0, 2, 0, 0, 0, 7, 0, 0, 5, 2, 8, 10, 11, 5, 3, 7, 0, 2, 4, 11, 0, 0, 0, 0, 1, 12, 13, 9, 7, 11, 1, 2, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 4, 20, 0, 0, 8, 5, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 0, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 1 }
Radiotherapy specifications.
Definition at line 418 of file radiotherapy.cpp.
RadiotherapyData case1_beam1(15, 14, case1_beam1_matrix) [related] |
Radiotherapy specifications.
const int case1_beam2_matrix[] [related] |
{ 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 4, 0, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 1, 0, 0, 3, 0, 0, 0, 5, 5, 3, 0, 0, 3, 2, 8, 6, 0, 0, 3, 0, 0, 7, 11, 10, 11, 5, 8, 4, 11, 13, 20, 0, 0, 3, 0, 10, 10, 9, 7, 7, 7, 2, 9, 0, 0, 0, 9, 0, 2, 0, 4, 7, 7, 5, 6, 2, 0, 4, 0, 0, 0, 3, 0, 2, 0, 10, 2, 7, 1, 2, 0, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 5, 6, 3, 1, 0, 6, 8, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2 }
Radiotherapy specifications.
Definition at line 437 of file radiotherapy.cpp.
RadiotherapyData case1_beam2(11, 15, case1_beam2_matrix) [related] |
Radiotherapy specifications.
const int case1_beam3_matrix[] [related] |
{ 2, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 1, 2, 2, 1, 3, 0, 0, 0, 0, 0, 0, 0, 6, 4, 1, 12, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 11, 6, 1, 9, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 11, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 1, 1, 0, 3, 0, 2, 6, 7, 6, 6, 4, 0, 0, 0, 0, 0, 2, 0, 0, 10, 12, 11, 10, 13, 13, 12, 5, 0, 0, 0, 0, 2, 0, 0, 11, 12, 10, 10, 14, 15, 15, 5, 2, 7, 12, 0, 2, 0, 9, 5, 9, 7, 6, 12, 16, 13, 8, 5, 7, 7, 0, 2, 2, 0, 0, 0, 0, 0, 4, 20, 12, 8, 1, 6, 8, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 7, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 1 }
Radiotherapy specifications.
Definition at line 452 of file radiotherapy.cpp.
RadiotherapyData case1_beam3(15, 15, case1_beam3_matrix) [related] |
Radiotherapy specifications.
const int case1_beam4_matrix[] [related] |
{ 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 13, 0, 4, 0, 2, 0, 6, 5, 5, 8, 9, 11, 20, 8, 9, 18, 10, 7, 0, 2, 0, 3, 10, 9, 12, 11, 15, 15, 11, 11, 16, 15, 3, 0, 3, 0, 5, 7, 12, 14, 11, 15, 15, 13, 10, 15, 10, 5, 0, 3, 0, 5, 1, 9, 11, 9, 13, 9, 12, 6, 3, 0, 0, 0, 2, 0, 0, 0, 0, 4, 2, 4, 0, 7, 0, 0, 0, 0, 0, 2, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 1, 7, 4, 0, 0, 0, 10, 10, 4, 0, 1, 1, 2, 2, 0, 0, 0, 0, 0, 4, 0, 14, 14, 9, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 12, 16, 5, 1, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 1, 10, 12, 6, 3, 0, 2, 1, 3, 0, 0, 0, 0, 0, 0, 2, 12, 15, 3, 0, 1, 2 }
Radiotherapy specifications.
Definition at line 471 of file radiotherapy.cpp.
RadiotherapyData case1_beam4(15, 15, case1_beam4_matrix) [related] |
Radiotherapy specifications.
const int case1_beam5_matrix[] [related] |
{ 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 6, 4, 3, 1, 0, 0, 7, 0, 0, 0, 0, 3, 2, 0, 13, 6, 1, 1, 1, 5, 0, 2, 0, 0, 0, 0, 1, 2, 0, 2, 12, 5, 4, 2, 2, 0, 1, 20, 11, 11, 5, 0, 2, 0, 9, 12, 7, 3, 2, 7, 3, 5, 14, 12, 13, 11, 0, 2, 0, 5, 11, 13, 6, 6, 5, 5, 5, 15, 11, 13, 12, 0, 2, 0, 0, 0, 1, 4, 5, 0, 0, 0, 7, 9, 9, 8, 0, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 4, 5, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 9, 0, 3 }
Radiotherapy specifications.
Definition at line 490 of file radiotherapy.cpp.
RadiotherapyData case1_beam5(11, 15, case1_beam5_matrix) [related] |
Radiotherapy specifications.
const int case2_beam1_matrix[] [related] |
{ 1, 1, 1, 4, 1, 0, 1, 5, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 2, 7, 2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 12, 5, 8, 5, 3, 0, 2, 1, 3, 0, 0, 0, 0, 0, 4, 20, 10, 1, 0, 8, 7, 8, 6, 7, 2, 1, 1, 3, 1, 0, 3, 1, 13, 18, 14, 10, 5, 0, 3, 7, 7, 7, 6, 7, 2, 0, 2, 0, 0, 0, 3, 1, 9, 8, 8, 6, 2, 3, 4, 5, 11, 10, 9, 10, 3, 0, 2, 0, 0, 0, 1, 1, 7, 8, 5, 4, 1, 1, 0, 4, 3, 1, 0, 0, 0, 2, 2, 0, 0, 1, 0, 0, 4, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 4, 2, 0, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 0, 5, 6, 3, 1, 2, 5, 3, 1, 3, 0, 1, 0, 4, 5, 5, 9, 0, 1, 1, 0, 2, 8, 3, 2, 3, 6, 5, 3, 4, 6, 4, 5, 10, 11, 8, 10, 4, 0, 0, 0, 0, 8, 5, 4, 5, 8, 5, 7, 6, 5, 3, 5, 8, 7, 7, 10, 2, 0, 3, 0, 9, 11, 5, 5, 6, 11, 7, 6, 6, 6, 4, 6, 8, 7, 7, 9, 2, 0, 2, 0, 11, 11, 5, 6, 7, 9, 9, 6, 8, 5, 4, 6, 10, 6, 7, 7, 2, 0, 2, 0, 6, 11, 4, 3, 1, 0, 0, 0, 0, 4, 7, 6, 2, 0, 0, 3, 0, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 2 }
Radiotherapy specifications.
Definition at line 505 of file radiotherapy.cpp.
RadiotherapyData case2_beam1(18, 20, case2_beam1_matrix) [related] |
Radiotherapy specifications.
const int case2_beam2_matrix[] [related] |
{ 2, 3, 2, 1, 5, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 3, 3, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 3, 2, 3, 3, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 8, 5, 1, 2, 3, 1, 0, 0, 0, 0, 1, 0, 0, 5, 6, 5, 5, 1, 2, 6, 2, 1, 2, 2, 2, 0, 0, 0, 0, 8, 0, 4, 2, 5, 2, 7, 5, 1, 4, 2, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 3, 4, 7, 4, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 6, 6, 7, 5, 7, 8, 7, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 7, 10, 7, 2, 3, 5, 12, 6, 0, 4, 0, 0, 0, 0, 6, 5, 6, 4, 8, 10, 12, 9, 7, 1, 6, 6, 6, 0, 0, 0, 0, 18, 18, 3, 3, 4, 6, 9, 12, 12, 7, 5, 0, 0, 0, 0, 2, 0, 0, 0, 20, 11, 0, 1, 4, 5, 10, 10, 8, 6, 1, 6, 3, 4, 1, 3, 0, 0, 0, 16, 11, 0, 3, 2, 7, 11, 10, 13, 7, 2, 2, 0, 0, 0, 2, 3, 0, 0, 14, 10, 1, 5, 2, 8, 15, 9, 9, 13, 5, 0, 0, 0, 0, 3, 2, 0, 0, 16, 9, 5, 5, 4, 7, 18, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 15, 10, 7, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 18, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2 }
Radiotherapy specifications.
Definition at line 527 of file radiotherapy.cpp.
RadiotherapyData case2_beam2(17, 19, case2_beam2_matrix) [related] |
Radiotherapy specifications.
const int case2_beam3_matrix[] [related] |
{ 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 4, 3, 2, 6, 2, 2, 1, 0, 0, 0, 0, 0, 0, 4, 2, 10, 11, 12, 7, 7, 4, 0, 4, 1, 2, 0, 0, 0, 0, 0, 0, 4, 6, 9, 10, 12, 6, 5, 4, 4, 3, 2, 2, 0, 0, 0, 0, 14, 0, 7, 2, 9, 8, 8, 3, 6, 4, 4, 2, 2, 3, 0, 0, 0, 10, 11, 0, 0, 1, 7, 4, 2, 2, 0, 0, 0, 2, 2, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 4, 1, 1, 0, 2, 2, 0, 0, 2, 0, 3, 0, 1, 2, 0, 0, 0, 0, 5, 5, 7, 7, 8, 9, 5, 8, 1, 1, 0, 0, 0, 3, 0, 0, 8, 0, 10, 10, 12, 15, 16, 10, 7, 6, 0, 3, 0, 0, 0, 3, 0, 0, 20, 4, 12, 12, 11, 19, 17, 17, 11, 9, 12, 12, 11, 13, 3, 1, 0, 0, 0, 11, 8, 10, 11, 15, 18, 12, 5, 3, 6, 8, 11, 12, 9, 0, 1, 0, 0, 6, 10, 1, 3, 17, 17, 13, 5, 1, 4, 16, 8, 15, 3, 1, 2, 0, 0, 8, 0, 0, 0, 0, 0, 11, 6, 0, 6, 0, 0, 0, 0, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2 }
Radiotherapy specifications.
Definition at line 548 of file radiotherapy.cpp.
RadiotherapyData case2_beam3(18, 18, case2_beam3_matrix) [related] |
Radiotherapy specifications.
const int case2_beam4_matrix[] [related] |
{ 3, 0, 5, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 2, 2, 0, 0, 5, 2, 2, 0, 7, 3, 3, 0, 0, 0, 0, 0, 0, 3, 1, 2, 0, 0, 0, 4, 3, 0, 8, 11, 9, 4, 0, 2, 0, 0, 0, 0, 4, 1, 0, 0, 9, 5, 5, 2, 12, 13, 10, 7, 3, 1, 4, 0, 0, 0, 0, 3, 0, 16, 9, 4, 10, 7, 15, 16, 8, 5, 6, 4, 7, 10, 0, 11, 0, 2, 0, 0, 12, 6, 12, 12, 18, 18, 14, 9, 7, 7, 8, 12, 13, 12, 10, 0, 0, 0, 0, 8, 13, 15, 18, 20, 12, 13, 12, 12, 12, 13, 11, 10, 8, 0, 0, 0, 0, 3, 5, 14, 17, 16, 11, 8, 4, 10, 12, 11, 14, 9, 1, 3, 0, 0, 0, 0, 0, 3, 14, 8, 5, 4, 5, 9, 4, 0, 0, 0, 0, 3, 4, 3, 0, 0, 1, 0, 8, 3, 3, 0, 0, 0, 0, 0, 2, 0, 0, 3, 1, 7, 0, 0, 1, 2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 0, 5, 1, 4, 1, 4, 0, 0, 2, 2, 5, 4, 0, 0, 0, 0, 0, 0, 0, 8, 10, 7, 0, 6, 1, 4, 1, 2, 4, 4, 0, 0, 0, 0, 0, 0, 4, 5, 5, 6, 1, 6, 6, 2, 2, 2, 4, 3, 2, 0, 0, 0, 0, 4, 3, 12, 2, 1, 7, 3, 4, 2, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 7, 3, 12, 5, 5, 1, 2, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 2, 2, 3, 3, 5, 0, 3, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 3 }
Radiotherapy specifications.
Definition at line 570 of file radiotherapy.cpp.
RadiotherapyData case2_beam4(18, 18, case2_beam4_matrix) [related] |
Radiotherapy specifications.
const int case2_beam5_matrix[] [related] |
{ 0, 0, 0, 15, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 2, 10, 16, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 0, 0, 6, 9, 15, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 1, 3, 2, 4, 9, 12, 15, 3, 4, 0, 3, 0, 2, 17, 13, 0, 0, 0, 2, 3, 0, 5, 12, 14, 17, 5, 2, 0, 0, 8, 17, 16, 13, 4, 0, 0, 0, 3, 0, 6, 13, 16, 17, 5, 2, 2, 4, 5, 12, 10, 10, 13, 6, 0, 0, 3, 0, 0, 20, 17, 18, 8, 4, 5, 6, 10, 14, 13, 11, 2, 1, 4, 0, 3, 0, 0, 0, 14, 18, 11, 8, 9, 9, 10, 13, 12, 8, 8, 5, 6, 5, 0, 0, 0, 0, 2, 11, 10, 6, 3, 1, 6, 10, 11, 5, 8, 9, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 3, 10, 4, 5, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 6, 6, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 1, 0, 3, 3, 4, 3, 4, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0, 4, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 0, 0, 0, 0, 8, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 2, 1, 3, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 2, 1, 4, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2 }
Radiotherapy specifications.
Definition at line 592 of file radiotherapy.cpp.
RadiotherapyData case2_beam5(17, 18, case2_beam5_matrix) [related] |
Radiotherapy specifications.
const int case3_beam1_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 13, 8, 8, 1, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 11, 9, 5, 5, 4, 5, 0, 2, 0, 1, 0, 0, 0, 0, 0, 8, 13, 9, 6, 4, 4, 4, 8, 0, 2, 0, 0, 2, 17, 10, 13, 14, 10, 8, 7, 6, 4, 4, 5, 8, 0, 2, 0, 0, 12, 20, 9, 14, 15, 7, 2, 5, 5, 5, 3, 4, 9, 0, 1, 1, 0, 17, 13, 10, 15, 16, 5, 1, 5, 7, 5, 6, 4, 8, 0, 2, 1, 1, 0, 15, 9, 15, 20, 6, 1, 4, 7, 7, 6, 5, 9, 7, 1, 1, 0, 0, 2, 7, 16, 9, 5, 0, 3, 7, 5, 5, 4, 7, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4, 2, 6, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 3, 3, 3, 6, 5, 4, 0, 0, 0, 0, 5, 7, 5, 8, 0, 2, 7, 5, 4, 5, 7, 4, 5, 0, 0, 4, 9, 8, 16, 19, 5, 1, 3, 7, 6, 5, 6, 9, 6, 1, 1, 0, 13, 12, 8, 14, 14, 4, 2, 0, 8, 4, 5, 5, 8, 2, 0, 2, 0, 20, 11, 7, 14, 15, 3, 0, 0, 6, 3, 3, 5, 9, 0, 1, 1, 0, 6, 17, 4, 14, 14, 6, 1, 1, 5, 2, 3, 5, 7, 0, 1, 0, 0, 0, 0, 11, 6, 13, 7, 2, 2, 5, 2, 4, 3, 6, 0, 2, 0, 1, 0, 0, 0, 6, 0, 8, 2, 3, 5, 3, 7, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 4, 4, 7, 10, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 8, 5, 0, 10, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 }
Radiotherapy specifications.
Definition at line 613 of file radiotherapy.cpp.
RadiotherapyData case3_beam1(22, 17, case3_beam1_matrix) [related] |
Radiotherapy specifications.
const int case3_beam2_matrix[] [related] |
{ 0, 0, 1, 1, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 1, 4, 5, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 2, 0, 0, 0, 3, 2, 2, 1, 1, 0, 0, 1, 4, 7, 11, 9, 0, 0, 0, 2, 0, 0, 0, 3, 2, 2, 0, 2, 4, 1, 4, 7, 11, 10, 20, 1, 0, 0, 3, 0, 2, 0, 2, 2, 2, 1, 7, 8, 5, 9, 13, 16, 13, 14, 12, 0, 0, 2, 0, 1, 0, 3, 2, 4, 5, 15, 16, 12, 11, 15, 17, 15, 14, 9, 0, 3, 2, 0, 11, 0, 6, 3, 0, 5, 17, 16, 10, 10, 13, 17, 13, 14, 7, 1, 3, 2, 0, 5, 0, 8, 1, 0, 2, 16, 16, 9, 8, 10, 14, 12, 13, 12, 0, 3, 0, 0, 0, 2, 8, 1, 0, 7, 15, 17, 7, 8, 10, 12, 9, 12, 5, 1, 0, 0, 0, 0, 0, 5, 0, 2, 7, 15, 13, 5, 4, 9, 7, 4, 0, 0, 2, 0, 0, 0, 0, 0, 4, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 639 of file radiotherapy.cpp.
RadiotherapyData case3_beam2(15, 19, case3_beam2_matrix) [related] |
Radiotherapy specifications.
const int case3_beam3_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 15, 8, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 10, 7, 10, 7, 18, 0, 0, 0, 0, 0, 3, 5, 5, 3, 0, 7, 8, 12, 9, 12, 11, 20, 0, 0, 0, 0, 0, 0, 0, 4, 5, 2, 6, 5, 12, 9, 12, 12, 14, 3, 0, 1, 0, 0, 0, 0, 7, 2, 4, 7, 9, 11, 9, 10, 10, 7, 5, 0, 0, 0, 0, 0, 1, 7, 1, 2, 7, 8, 10, 4, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 2, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 3, 2, 4, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 7, 10, 8, 0, 0, 0, 4, 4, 0, 0, 0, 9, 6, 7, 7, 10, 6, 13, 8, 10, 0, 0, 6, 12, 12, 0, 0, 0, 15, 9, 11, 15, 16, 15, 17, 4, 17, 0, 0, 5, 14, 12, 5, 0, 9, 18, 15, 18, 19, 18, 16, 17, 6, 14, 0, 0, 14, 7, 13, 3, 2, 16, 17, 13, 17, 17, 16, 17, 12, 8, 12, 0, 0, 4, 14, 8, 5, 1, 10, 12, 7, 19, 17, 18, 15, 13, 0, 0, 3, 0, 0, 6, 10, 0, 0, 0, 4, 5, 16, 17, 16, 13, 15, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 5, 17, 15, 16, 12, 15, 2, 2, 0, 1, 0, 0, 0, 0, 0, 2, 2, 0, 7, 15, 9, 11, 13, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 15, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0 }
Radiotherapy specifications.
Definition at line 658 of file radiotherapy.cpp.
RadiotherapyData case3_beam3(20, 17, case3_beam3_matrix) [related] |
Radiotherapy specifications.
const int case3_beam4_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 12, 0, 3, 0, 2, 0, 0, 0, 0, 0, 2, 0, 10, 9, 20, 0, 0, 15, 0, 3, 0, 0, 0, 0, 14, 0, 0, 0, 3, 7, 11, 16, 16, 6, 16, 2, 2, 0, 0, 0, 10, 9, 5, 0, 0, 16, 7, 10, 17, 16, 13, 11, 12, 0, 0, 0, 9, 10, 10, 5, 2, 11, 9, 9, 12, 16, 18, 12, 13, 3, 0, 3, 0, 5, 11, 10, 6, 4, 10, 15, 10, 13, 17, 18, 16, 5, 11, 0, 2, 0, 1, 13, 11, 7, 2, 19, 12, 14, 12, 16, 18, 16, 12, 7, 11, 0, 0, 0, 14, 6, 7, 0, 0, 11, 13, 13, 17, 16, 16, 11, 7, 11, 0, 0, 0, 5, 0, 0, 0, 0, 7, 4, 8, 11, 12, 12, 10, 7, 9, 0, 2, 0, 0, 0, 0, 0, 0, 1, 2, 2, 5, 5, 7, 7, 8, 1, 1, 3, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 6, 5, 11, 0, 2, 0, 6, 3, 2, 2, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 6, 2, 9, 12, 6, 5, 5, 5, 0, 0, 0, 1, 0, 0, 0, 4, 2, 4, 0, 7, 10, 8, 10, 10, 5, 0, 0, 1, 0, 1, 0, 0, 3, 0, 0, 0, 0, 6, 5, 11, 9, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 13, 13, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 682 of file radiotherapy.cpp.
RadiotherapyData case3_beam4(19, 17, case3_beam4_matrix) [related] |
Radiotherapy specifications.
const int case3_beam5_matrix[] [related] |
{ 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 1, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 0, 0, 0, 0, 4, 5, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0, 0, 13, 2, 0, 5, 9, 9, 9, 1, 7, 0, 3, 0, 1, 0, 1, 2, 5, 0, 0, 3, 5, 0, 8, 10, 9, 12, 10, 17, 4, 2, 0, 3, 0, 0, 0, 5, 1, 0, 8, 9, 2, 10, 13, 12, 14, 12, 14, 10, 1, 3, 3, 0, 0, 0, 3, 2, 2, 11, 11, 8, 14, 15, 16, 17, 15, 15, 5, 2, 3, 3, 0, 2, 2, 2, 1, 3, 9, 8, 7, 7, 15, 13, 19, 18, 13, 15, 1, 0, 3, 0, 0, 2, 0, 2, 2, 6, 1, 3, 1, 7, 9, 12, 11, 19, 0, 0, 0, 3, 0, 0, 4, 0, 2, 3, 2, 1, 1, 0, 3, 4, 7, 20, 0, 0, 0, 0, 3, 0, 16, 0, 3, 0, 3, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 16, 3, 4, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 705 of file radiotherapy.cpp.
RadiotherapyData case3_beam5(15, 19, case3_beam5_matrix) [related] |
Radiotherapy specifications.
const int case4_beam1_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 5, 8, 10, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 2, 9, 2, 0, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 10, 17, 12, 0, 7, 5, 0, 0, 1, 6, 7, 4, 4, 3, 1, 2, 0, 0, 0, 20, 0, 0, 0, 0, 0, 2, 1, 3, 1, 1, 1, 6, 7, 6, 4, 0, 1, 2, 1, 0, 8, 6, 0, 0, 0, 0, 0, 0, 2, 3, 2, 2, 1, 6, 7, 7, 7, 0, 0, 2, 0, 11, 5, 2, 4, 6, 0, 0, 3, 4, 2, 6, 1, 2, 1, 8, 5, 8, 8, 2, 0, 1, 0, 1, 1, 0, 0, 2, 4, 7, 2, 0, 1, 3, 1, 5, 0, 11, 4, 7, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 6, 1, 10, 3, 7, 8, 3, 0, 1, 0, 0, 0, 0, 0, 3, 5, 8, 0, 1, 1, 2, 1, 7, 1, 11, 3, 6, 8, 4, 0, 1, 0, 7, 4, 2, 6, 6, 0, 6, 3, 2, 4, 7, 6, 10, 2, 11, 3, 6, 7, 4, 0, 0, 8, 16, 13, 0, 0, 0, 0, 0, 0, 2, 3, 6, 6, 7, 3, 10, 3, 5, 7, 4, 0, 2, 0, 0, 0, 16, 0, 0, 0, 0, 0, 3, 2, 4, 7, 9, 4, 9, 3, 5, 6, 4, 0, 0, 0, 0, 0, 0, 0, 0, 12, 6, 8, 5, 4, 5, 8, 6, 3, 8, 3, 5, 6, 3, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 10, 0, 3, 9, 8, 4, 2, 7, 3, 4, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 4, 2, 7, 2, 4, 5, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 4, 1, 8, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 12, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 724 of file radiotherapy.cpp.
RadiotherapyData case4_beam1(19, 22, case4_beam1_matrix) [related] |
Radiotherapy specifications.
const int case4_beam2_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 3, 2, 9, 17, 10, 11, 6, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 7, 6, 0, 0, 0, 0, 1, 2, 7, 14, 16, 14, 16, 7, 5, 5, 0, 4, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 5, 10, 16, 20, 12, 17, 8, 13, 13, 0, 4, 0, 3, 7, 2, 0, 5, 5, 0, 6, 2, 0, 0, 3, 12, 16, 17, 17, 10, 19, 9, 11, 13, 0, 4, 3, 0, 19, 9, 11, 10, 3, 2, 0, 7, 7, 13, 20, 14, 17, 15, 18, 7, 18, 11, 11, 15, 0, 4, 0, 3, 4, 9, 10, 9, 0, 2, 0, 2, 0, 13, 13, 13, 14, 14, 17, 4, 17, 11, 11, 16, 0, 4, 0, 1, 0, 0, 0, 6, 0, 0, 1, 1, 0, 5, 13, 9, 11, 9, 12, 5, 14, 11, 10, 18, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 10, 9, 8, 7, 12, 2, 13, 10, 11, 17, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 8, 2, 0, 4, 13, 8, 12, 19, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 3, 0, 0, 0, 0, 5, 8, 15, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 3, 0, 0 }
Radiotherapy specifications.
Definition at line 747 of file radiotherapy.cpp.
RadiotherapyData case4_beam2(13, 24, case4_beam2_matrix) [related] |
Radiotherapy specifications.
const int case4_beam3_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 5, 4, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 4, 4, 6, 3, 1, 0, 0, 5, 5, 0, 0, 1, 0, 1, 0, 0, 0, 11, 0, 9, 8, 5, 6, 3, 5, 6, 2, 0, 0, 1, 3, 4, 7, 0, 0, 0, 2, 2, 0, 0, 7, 11, 0, 6, 8, 5, 6, 2, 3, 0, 0, 0, 2, 1, 5, 3, 3, 0, 0, 1, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 1, 3, 2, 2, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 7, 2, 0, 3, 1, 2, 0, 0, 1, 0, 6, 2, 4, 7, 3, 0, 0, 0, 3, 4, 6, 8, 6, 6, 4, 0, 2, 1, 3, 0, 2, 0, 7, 6, 7, 7, 13, 14, 9, 10, 6, 6, 8, 8, 9, 8, 6, 5, 0, 2, 0, 2, 0, 2, 0, 7, 8, 8, 8, 12, 12, 14, 10, 8, 7, 8, 7, 7, 7, 5, 6, 0, 1, 0, 2, 0, 2, 0, 0, 0, 1, 7, 20, 13, 8, 17, 11, 6, 6, 5, 6, 9, 7, 7, 0, 1, 0, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 6, 5, 6, 7, 8, 8, 0, 1, 1, 4, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 8, 0, 3, 2, 4, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 764 of file radiotherapy.cpp.
RadiotherapyData case4_beam3(18, 23, case4_beam3_matrix) [related] |
Radiotherapy specifications.
const int case4_beam4_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 7, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 6, 0, 5, 0, 3, 1, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 7, 8, 10, 0, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 8, 9, 8, 1, 2, 1, 4, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 7, 6, 4, 9, 9, 7, 0, 2, 2, 3, 0, 0, 0, 0, 0, 0, 3, 17, 8, 9, 15, 14, 6, 10, 5, 5, 7, 5, 5, 1, 2, 3, 3, 0, 2, 0, 0, 2, 7, 12, 20, 19, 16, 12, 12, 12, 9, 8, 8, 5, 2, 5, 0, 2, 3, 4, 0, 3, 0, 12, 10, 13, 9, 15, 15, 11, 11, 14, 8, 10, 10, 10, 5, 4, 3, 0, 2, 4, 4, 0, 0, 0, 2, 13, 4, 6, 12, 10, 6, 4, 7, 5, 6, 8, 8, 5, 4, 2, 0, 3, 3, 4, 0, 0, 1, 0, 4, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 3, 1, 0, 3, 3, 2, 0, 0, 2, 1, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 0, 4, 4, 0, 0, 0, 2, 3, 0, 0, 13, 0, 2, 9, 0, 8, 7, 8, 2, 0, 0, 0, 4, 2, 6, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 7, 1, 3, 7, 9, 7, 4, 0, 0, 1, 7, 5, 5, 0, 1, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 9, 7, 8, 7, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 9, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 7, 0, 0, 0, 0, 0, 0, 0 }
Radiotherapy specifications.
Definition at line 786 of file radiotherapy.cpp.
RadiotherapyData case4_beam4(17, 23, case4_beam4_matrix) [related] |
Radiotherapy specifications.
const int case4_beam5_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 3, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 8, 6, 0, 0, 0, 6, 2, 10, 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 7, 9, 5, 6, 0, 12, 10, 7, 15, 0, 3, 0, 4, 0, 0, 0, 12, 0, 0, 0, 0, 9, 7, 10, 4, 4, 0, 8, 0, 15, 12, 10, 11, 0, 3, 0, 2, 0, 5, 12, 8, 0, 0, 9, 6, 14, 14, 8, 10, 8, 5, 5, 3, 18, 13, 12, 15, 0, 4, 0, 0, 19, 19, 15, 19, 1, 0, 17, 10, 14, 15, 13, 12, 9, 5, 8, 5, 20, 13, 13, 13, 0, 4, 1, 3, 3, 14, 0, 10, 0, 15, 8, 5, 9, 2, 5, 10, 11, 5, 9, 7, 20, 15, 11, 11, 0, 4, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 8, 14, 9, 18, 11, 10, 11, 0, 4, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 1, 0, 3, 4, 11, 12, 12, 13, 8, 11, 0, 4, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 4, 0, 2, 0, 2, 10, 9, 13, 6, 0, 0, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 6, 4, 0, 0, 0, 0, 4, 0, 0 }
Radiotherapy specifications.
Definition at line 807 of file radiotherapy.cpp.
RadiotherapyData case4_beam5(12, 24, case4_beam5_matrix) [related] |
Radiotherapy specifications.
const int case5_beam1_matrix[] [related] |
{ 1, 2, 1, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 4, 0, 11, 0, 0, 0, 1, 1, 2, 0, 0, 0, 0, 0, 0, 1, 9, 8, 1, 8, 4, 5, 0, 1, 2, 0, 0, 5, 0, 4, 4, 1, 7, 4, 5, 5, 5, 4, 0, 0, 1, 0, 8, 2, 2, 1, 1, 0, 0, 0, 0, 2, 5, 1, 1, 0, 0, 2, 2, 4, 4, 4, 2, 0, 0, 0, 0, 0, 6, 3, 1, 0, 1, 3, 2, 3, 5, 4, 1, 2, 2, 4, 2, 2, 6, 4, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 4, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0, 0, 0, 0, 1, 0, 0, 1, 3, 3, 0, 2, 2, 1, 3, 6, 0, 0, 0, 0, 1, 0, 3, 2, 4, 7, 5, 2, 4, 4, 8, 0, 0, 2, 10, 3, 1, 0, 3, 3, 7, 9, 7, 4, 3, 0, 0, 0, 0, 0, 6, 4, 0, 2, 0, 1, 7, 0, 0, 0, 4, 0, 0, 0, 5, 0, 8, 3, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 6, 0, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2 }
Radiotherapy specifications.
Definition at line 823 of file radiotherapy.cpp.
RadiotherapyData case5_beam1(15, 16, case5_beam1_matrix) [related] |
Radiotherapy specifications.
const int case5_beam2_matrix[] [related] |
{ 2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 1, 2, 2, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 3, 4, 0, 0, 0, 0, 5, 5, 5, 0, 0, 5, 0, 1, 0, 1, 2, 2, 4, 0, 0, 0, 0, 0, 2, 2, 3, 0, 3, 0, 1, 5, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 8, 4, 0, 2, 2, 3, 8, 0, 3, 1, 1, 0, 0, 0, 3, 1, 2, 13, 14, 13, 4, 10, 2, 16, 0, 3, 2, 0, 0, 0, 0, 0, 0, 9, 19, 16, 6, 8, 18, 2, 9, 0, 3, 0, 0, 8, 8, 1, 6, 7, 6, 20, 8, 0, 0, 0, 0, 1, 2, 4, 2, 2, 17, 2, 0, 0, 0, 3, 13, 0, 1, 0, 1, 4, 0, 2, 2, 6, 0, 8, 0, 0, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 5, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2 }
Radiotherapy specifications.
Definition at line 842 of file radiotherapy.cpp.
RadiotherapyData case5_beam2(13, 17, case5_beam2_matrix) [related] |
Radiotherapy specifications.
const int case5_beam3_matrix[] [related] |
{ 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 4, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 10, 11, 5, 10, 3, 4, 1, 1, 2, 1, 2, 0, 0, 0, 3, 0, 0, 11, 5, 4, 0, 2, 0, 2, 1, 0, 9, 0, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 3, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0, 0, 4, 8, 6, 2, 7, 6, 9, 0, 0, 0, 0, 0, 2, 0, 0, 0, 12, 13, 11, 9, 12, 10, 7, 9, 5, 3, 10, 4, 0, 0, 0, 10, 14, 13, 10, 12, 15, 9, 11, 12, 8, 7, 8, 9, 0, 2, 0, 7, 13, 12, 12, 11, 14, 10, 10, 10, 1, 6, 7, 8, 0, 0, 1, 0, 9, 19, 11, 18, 14, 8, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 8, 20, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 2, 1, 2 }
Radiotherapy specifications.
Definition at line 859 of file radiotherapy.cpp.
RadiotherapyData case5_beam3(14, 16, case5_beam3_matrix) [related] |
Radiotherapy specifications.
const int case5_beam4_matrix[] [related] |
{ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 11, 5, 3, 3, 12, 10, 20, 1, 0, 4, 6, 2, 6, 0, 1, 0, 9, 7, 7, 10, 11, 8, 8, 18, 12, 8, 6, 4, 8, 0, 0, 0, 9, 10, 9, 10, 12, 7, 9, 7, 6, 9, 5, 5, 6, 0, 0, 0, 0, 6, 11, 7, 8, 7, 4, 10, 6, 9, 1, 0, 5, 1, 3, 1, 0, 0, 5, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 2, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 2, 0, 0, 2, 0, 2, 0, 0, 3, 0, 1, 3, 0, 0, 1, 1, 2, 0, 0, 0, 0, 0, 0, 11, 1, 6, 6, 4, 0, 3, 0, 1, 2, 0, 0, 0, 0, 0, 2, 9, 6, 3, 8, 6, 0, 6, 1, 1, 1, 1, 0, 0, 0, 0, 0, 6, 2, 0, 4, 1, 1, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 3, 0, 0, 6, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 10, 1, 1, 0, 1 }
Radiotherapy specifications.
Definition at line 877 of file radiotherapy.cpp.
RadiotherapyData case5_beam4(14, 16, case5_beam4_matrix) [related] |
Radiotherapy specifications.
const int case5_beam5_matrix[] [related] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 7, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 9, 12, 3, 0, 1, 0, 0, 10, 0, 0, 0, 0, 0, 0, 1, 3, 0, 10, 11, 11, 1, 9, 3, 5, 0, 6, 3, 14, 12, 0, 0, 3, 2, 0, 5, 7, 12, 5, 9, 10, 4, 0, 0, 5, 20, 2, 5, 0, 0, 1, 4, 0, 2, 4, 7, 3, 5, 9, 0, 0, 15, 15, 17, 4, 1, 0, 2, 4, 0, 0, 0, 0, 0, 0, 6, 0, 5, 12, 9, 14, 6, 8, 0, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 6, 3, 0, 2, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 2, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }
Radiotherapy specifications.
Definition at line 895 of file radiotherapy.cpp.
RadiotherapyData case5_beam5(12, 17, case5_beam5_matrix) [related] |
Radiotherapy specifications.
RadiotherapyData rds[] [related] |
{rd0, rd1, case1_beam1, case1_beam2, case1_beam3, case1_beam4, case1_beam5, case2_beam1, case2_beam2, case2_beam3, case2_beam4, case2_beam5, case3_beam1, case3_beam2, case3_beam3, case3_beam4, case3_beam5, case4_beam1, case4_beam2, case4_beam3, case4_beam4, case4_beam5, case5_beam1, case5_beam2, case5_beam3, case5_beam4, case5_beam5 }
Radiotherapy instances.
Definition at line 913 of file radiotherapy.cpp.
The documentation for this class was generated from the following file:
- examples/radiotherapy.cpp


The Erlking
Who rides there so late through the night dark and drear?
The father it is, with his infant so dear;
He holdeth the boy tightly clasp'd in his arm,
He holdeth him safely, he keepeth him warm.
"My son, wherefore seek'st thou thy face thus to hide?"
"Look, father, the Erl-King is close by our side!
Dost see not the Erl-King, with crown and with train?"
"My son, 'tis the mist rising over the plain."
"Oh, come, thou dear infant! oh come thou with me!
For many a game I will play there with thee;
On my strand, lovely flowers their blossoms unfold,
My mother shall grace thee with garments of gold."
"My father, my father, and dost thou not hear
The words that the Erl-King now breathes in mine ear?"
"Be calm, dearest child, 'tis thy fancy deceives;
'Tis the sad wind that sighs through the withering leaves."
"Wilt go, then, dear infant, wilt go with me there?
My daughters shall tend thee with sisterly care;
My daughters by night their glad festival keep,
They'll dance thee, and rock thee, and sing thee to sleep."
"My father, my father, and dost thou not see,
How the Erl-King his daughters has brought here for me?"
"My darling, my darling, I see it aright,
'Tis the aged grey willows deceiving thy sight."
"I love thee, I'm charm'd by thy beauty, dear boy!
And if thou'rt unwilling, then force I'll employ."
"My father, my father, he seizes me fast,
For sorely the Erl-King has hurt me at last."
The father now gallops, with terror half wild,
He grasps in his arms the poor shuddering child;
He reaches his courtyard with toil and with dread, –
The child in his arms finds he motionless, dead.


This fine harbour is a popular port of call for yachts crusing the east coast of North America. It sits towards the southern tip of Nova Scotia, about 150NM SW of Halifax.
There is a marina run by the yacht club at the head of the harbour. Anchoring out of the channels is free and the marina showers can be used for a small fee.


login/Sign In
Exit
Service
Retailer
Fei Fish
Home
Link
Dropdown
Action
Another action
Something else here
Submit
hong long the meat can be frozen......
the skill in cook, which is very practical
how to remove the swallow feather. Follow me to learn
eating healthy by avoiding these four action during cooking
how to make the rice more delicious......
Microwave steamed rice-- simple and nice......
Home Page