2nd King Edward's Horse

The 2nd King Edward's Horse (The King's Overseas Dominions Regiment) was a cavalry regiment of the British Army, formed in 1914, which saw service in the First World War. It was formed of British colonial citizens who were in Britain at the start of the war.[1]

2nd King Edward's Horse
Badge of 2nd King Edward's Horse
Active1914–1917
Country United Kingdom
Branch British Army
TypeCavalry
RoleYeomanry
SizeRegiment

History

John Norton-Griffiths, who raised the 2nd King Edward's Horse

The regiment was raised in 1914 by John (later Sir John) Norton-Griffiths, at his own expense.[2] The original regiment was subsequently known as 1st King Edward's Horse. The regiment served in France with XIV Corps and saw action during Winter operations in 1914–1915, the First Battle of Ypres in autumn 1914, the Second Battle of Ypres in spring 1915 and in the Battle of the Somme in autumn 1916 during the First World War.[3] It was disbanded in August 1917 with many of its members being transferred to the Tank Corps.[4]

Men enlisting for the 2KEH, on parade.

A memorial to those members of the regiment who died in the war was erected on the wall in the Royal Colonial Institute at Charing Cross in 1925 but did not survive the demolition of that building in 1934.[3]

gollark: Well, obviously you'll have some items available to build stuff from.
gollark: - Checks if the available-items list already contains the item needed. If so, just return that.- If not, checks for recipes to do what is wanted- If one exists, iterate over them (not sure what to *do* with them)- If none exists, we can't do anything, so just return no tasks, no costs and no outputs.
gollark: ```rusttype Items = HashMap<ItemType, u32>;fn quantity(items: &Items, desired: &ItemType) -> u32 { if let Some(available_quantity) = items.get(desired) { *available_quantity } else { 0 }}fn contains(items: &Items, desired: &Item) -> bool { quantity(items, &to_item_type(desired)) >= desired.quantity}fn satisfies(available: &Items, desired: &Items) -> bool { for (typ, desired_quantity) in desired.iter() { if quantity(available, typ) < *desired_quantity { return false } } true}fn to_map(is: &Vec<Item>) -> Items { let out = HashMap::new(); for i in is.iter() { out.entry(to_item_type_clone(i)) .and_modify(|e| { *e += 1 }) .or_insert(0); } out}fn one_item(i: Item) -> Items { let out = HashMap::new(); out.insert(to_item_type(&i), i.quantity); out}#[derive(Debug, Deserialize, PartialEq, Eq, Serialize, Clone)]pub struct CraftingResult { pub tasks: Vec<Recipe>, pub costs: Items, pub outputs: Items}fn solve(desired: Item, available: Items, recipes: &MultiMap<ItemType, Recipe>) -> CraftingResult { if contains(&available, &desired) { // If our available items list already contains the desired item, yay, we can just do nothing return CraftingResult { tasks: vec![], costs: one_item(desired), outputs: one_item(desired) } } if let Some(recipes) = recipes.get_vec(&to_item_type(&desired)) { for recipe in recipes.iter() { let result = solve() // ??? } } else { CraftingResult { tasks: vec![], costs: HashMap::new(), outputs: HashMap::new() } }}```My code, or at least part of it.
gollark: That is NOT THE HARD PART.
gollark: (I'm still confused though)

See also

References

  1. Rickard, J. "2nd King Edward's Horse on Parade". Retrieved 2018-09-18.
  2. Hansard, 20 Nov 1918, Commons Sitting, 2nd King Edward's Horse
  3. "Memorial to the 2nd King Edward's Horse". Imperial War Museum. Retrieved 17 September 2018.
  4. "The King Edward's Horse". The Long, Long Trail. Retrieved 17 September 2018.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.