blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
723e0953624059ce10643a55f5bf9a0d874e8f47
8452fe7fa8e37725db1535297b7778a2226702ff
/octopusAPI.hpp
13581f57b39db39c7f1270adc27c340c6afbbc04
[]
no_license
TheTelematic/octopus
b09fc9332a808ace86bd7650559053f7ca6b2c3e
6672d7692b2a2a2fd4aabbe69eb7663406b79115
refs/heads/master
2021-01-11T04:29:56.780391
2017-07-17T06:49:39
2017-07-17T06:49:39
71,150,309
0
0
null
null
null
null
UTF-8
C++
false
false
1,471
hpp
octopusAPI.hpp
/* This is the API of my service, for future developers */ #ifndef __OCTOPUSAPI__HPP__ #define __OCTOPUSAPI__HPP__ #include "libs/udp.hpp" #include "libs/types.hpp" #include "libs/myapi.hpp" #include "libs/octopus.hpp" namespace octopus{ class octopusAPI { private: Octopus *master_server; public: octopusAPI (void (*publication_handler)(size_t value_hash, topic_message_t message)){ master_server = new Octopus(publication_handler); master_server->configDiscovery(); master_server->configAnnouncement(); master_server->configSuscription(); master_server->configPublishment(); master_server->configShowTableDiscoveredServers(); master_server->configShowTopics(); master_server->configTCPconnection(); } void create_topic(topic_t topic){ master_server->create_topic(topic); } void subscribe_to_topic(topic_t topic){ master_server->suscribe2topic(topic); } void publish(topic_t topic, topic_message_t message){ master_server->publish(topic, message); } void unsubscribe(topic_t topic){ master_server->unsuscribe(topic); } void remove_topic(topic_t topic){ master_server->remove_topic(topic); } void stop(){ master_server->stop(); } }; } #endif
aa6ad8fbc0425b9e3e03469a7e4c0ec9138d1f6e
fe5a893303ef2050184afc85898f5a48da5b0e94
/SpaceStationRescueSouls/SpaceStationRescueSouls/src/main.cpp
31dea7088da8da896561109f464a95403aa9a601
[ "MIT" ]
permissive
blockspacer/Space-Station-Rescue-Souls
20941e674a3692308810e9a6e32fdee8bec1b5f6
48621dd8ddf9c6282669b1547ebca0af56ef7fa9
refs/heads/master
2021-04-19T14:51:24.687507
2019-01-18T10:57:44
2019-01-18T10:57:44
null
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
7,957
cpp
main.cpp
#include "stdafx.h" #include "Game.h" /// /// @namespace app /// @author Rafael Plugge /// @author Sebastian Kruzel /// @brief Contains global classes and major application startup. /// /// <summary> /// Conatins our global classes that will have the overhaul responsibility for /// running the application and starting it up. /// </summary> /// /// /// @namespace app::time /// @author Rafael Plugge /// @brief Type definitions for representations of time and their conversions. /// /// <summary> /// Includes type definitions for representations of time used through app /// as well as specific type conversions between all the different times. /// </summary> /// /// /// @namespace app::inp /// @author Rafael Plugge /// @brief Contains any classes used to wrap any interfaces that the app supports. /// /// <summary> /// Currently contains the input wrapper classes for Keyboard and Mouse input devices, /// they are templated to provide flexibility and compatibility with several different rendering libraries /// that process window events differently. /// </summary> /// /// /// @namespace app::gra /// @author Rafael Plugge /// @brief Contains any classes used to wrap our external graphics library. /// /// <summary> /// /// </summary> /// /// /// @namespace app::math /// @author Rafael Plugge /// @brief Contains mathematical helper functions and classes. /// /// <summary> /// Contains mathematical constants, helper functions and classes to assist and be responsible /// for app's largely mathematical processes. /// </summary> /// /// /// @namespace app::comp /// @author Rafael Plugge /// @author Sebastian Kruzel /// @brief Contains POD structs for our entity's data. /// /// <summary> /// These POD structs (Plain-Old-Data) structs are used to store any information regarding what we want the entity, /// to be, which the apps systems use to filter whether a entity has the necessary requirements to be processed by the system. /// </summary> /// /// /// @namespace app::sys /// @author Rafael Plugge /// @author Sebastian Kruzel /// @brief Contains all systems that act on our entities. /// /// <summary> /// Each system is self-contained to run in isolation of each other which explicitly act on /// a set of entities that contain specific components each defined within the system. /// </summary> /// /// /// @namespace app::vis /// @author Rafael Plugge /// @brief Contains all visitor classes used to access variants. /// /// <summary> /// The standard library provides access to typesafe union usage via the template class std::variant /// that stores any passed in type in a union like struct, access to the variant is done via a separate function object class, /// which is this app we define it as a visitor class which are all contained within this namespace, these visitor classes /// contain overloaded operator() member functions to provide type safe access to the std::variant. /// </summary> /// /// /// @mainpage Space Station Rescue Souls /// /// @section sum_sec Summary /// /// This is a single player shoot 'em up. The aim of the game is to rescue all the workers in the space station by navigating around the space station, locating the workers and rescuing them. /// /// @subsection controls_sub_sec Controls /// /// The player's ship is controlled using the left, right and up arrows. Left and right arrows cause the ship to turn anticlockwise and clockwise respectively. The up arrow applies thrust to the ship in the direction it is pointing. The space bar fires a bullet. /// /// @section assignment_sec Assignment /// /// You must produce the game "Space Station Rescue". /// /// @subsection assignment_sec_gameworld_sub_sec The Game World /// /// The game is set in a large 2D space station. It is comprised of space docks/hangars where different game objects and workers may be located. These docks are connected by wide navigable corridors which may also split off in multiple directions. The game space therefore resembles a maze and you must navigate the space in search of the workers. Think about how you will design the game world and how you will plan paths through it. Way point navigation would be suitable for path planning. /// The screen should scroll so that the player's ship is always in the centre of the screen (some leeway is allowed at the edges of the world). The game space total area of play should be 9 times that of a single screen. Full world radar should be provided for the player so they can see where to go (i.e. mini map of the entire game world somewhere on screen). /// /// @subsection assignment_sec_workers_sub_sec Workers /// /// These are small NPCs (people) which should be placed as you wish around the game world and who should slowly wander. There should be lots of them, spread out, in order to make the game interesting. When the player ship touches a worker they are considered rescued and are removed from the game. /// /// @subsection aliennests_sub_sec Alien Nests /// /// These are alien manufacturing objects which produce predators (up to a maximum). They should be randomly positioned in the game space. Don't make too many of them (2 or 3 perhaps?). They can survive four its from the player. When the player's ship is within range they will fire interceptor guided missiles at the player. Interceptor missiles have the same maximum speed as the player and will explode if they do not reach the player within 5 seconds. A nest can only have 1 interceptor missile "live" at a time. Think about how the missile will follow the player, especially if the player flees down corridors and around corners. /// /// @subsection predatorships_sub_sec Predator Ships /// /// These seek out the player (perform a path find) and intelligently engage them. They have the same firepower and speed as the player ship. When in proximity of other Predators, they move together in a coordinated fashion. When they approach the player they implement an attack plan. There should be a limit to the number of Predator ships alive at any one time. /// /// @subsection sweeperbots_sub_sec Sweeper Bots /// /// These wander the station looking for workers. If they are in line of sight of a worker they will plot an intercept course and abduct the worker. If they are within sight of the ship they plot an escape route and flee. A Single shot from the player will kill a Sweeper Bot and transfer any abducted workers to the player. /// /// @subsection powerups_sub_sec Power-ups /// /// To be decided by individual game designers, e.g. shield. /// /// @subsection collision_detection_sub_sec Collision Detection /// /// Nothing is allowed to pass through the walls of the station, therefore you will need to implement a collision detection system for all entities. /// /// @subsection projectdetails_sub_sec Project Details /// /// Game to be produced in C++ with SFML and documented using Doxygen. /// /// @section credits_sec Credits /// /// @subsection author_sub_sec Authors /// /// - Rafael Plugge /// - Sebastian Kruzel /// /// @subsection lecturer_sub_sec Lecturer /// /// - Dr Oisín Cawley /// int main(int argc, char** argv) { srand(time(NULL)); using clock = std::chrono::high_resolution_clock; constexpr app::time::nanoseconds updateStep = app::time::toNanos(std::chrono::duration<double, std::milli>(1 / 60.0 * 1000.0)); clock::time_point deltaTimePoint = clock::now(); app::time::nanoseconds elapsedTime = updateStep; app::time::nanoseconds deltaRenderStep = app::time::nanoseconds::zero(); auto game = app::Game(); while (game.isRunning()) { game.pollEvents(); deltaRenderStep = (elapsedTime += app::time::toNanos(clock::now() - deltaTimePoint)); deltaTimePoint = clock::now(); while (elapsedTime > updateStep) { game.update(app::time::toSeconds(updateStep)); elapsedTime -= updateStep; } game.render(app::time::toSeconds(deltaRenderStep)); } return EXIT_SUCCESS; }
e0e29fc8f4148cf1e13ea1130076c4a61e302279
aaa97c8a228b80064f38fcca808e17bfa47ca187
/Game of Thrones Game/city.h
865693698558aec07a843bb28b3d4600727e0067
[]
no_license
SpencerFurgerson/Coding-Projects
322991ef22f3501f4d0555963e5d6632a386cb8c
2d7704371c4bba3cafc64526782767a48ad9bb2c
refs/heads/master
2023-08-27T06:40:36.382286
2021-10-29T19:38:56
2021-10-29T19:38:56
234,152,534
0
0
null
null
null
null
UTF-8
C++
false
false
974
h
city.h
#include <iostream> #include <math.h> #include <iomanip> #include <string> #include <fstream> using namespace std; //header for all city objcts class City { public: City(); // default constructor City(int cityRow, int cityCol, string cityLet, string cityName, int cityMoney, int cityArmy, int cityPoints, string cityOwner); // parameterized constructor int setRow(int cityRow); int setCol(int cityCol); string setLetter(string cityLet); string setName(string cityName); int setMoney(int cityMoney); int setArmy(int cityArmy); int setPoints(int cityPoints); void setOwner(string cityOwner); int getRow(); int getCol(); string getLetter(); string getName(); int getMoney(); int getArmy(); int getPoints(); string getOwner(); private: int row; int column; string letter; string name; int money; int army; int points; string owner; };
aa5869a222d8045dd5c7373216e570165892087e
c510e37d09cf784eef18b153856562a0e954d77a
/src/parser.cc
cb01e5c64ba4cc8fc13bcb724b25ecdfcac94a15
[ "MIT" ]
permissive
dnperfors/calculator
353fbb5e4816a6090d156535954cd4b61c08245a
72c8c330c67b957447e01b6b0d66251c84ad4b88
refs/heads/master
2021-01-01T05:53:43.825713
2015-10-31T12:32:22
2015-10-31T13:02:53
33,088,025
0
0
null
null
null
null
UTF-8
C++
false
false
5,010
cc
parser.cc
/* * Copyright (C) 2015 David Perfors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ #include "expressions.h" #include "lexer.h" #include "parser.h" namespace calculator { Parser::Parser(const std::string& input) : lexer_(input) { register_prefix(token::LeftParantheses, &Parser::groupParselet); register_prefix(token::Number, &Parser::numberParselet); register_prefix(token::Identifier, &Parser::identifierParselet); int precedence = 0; register_infix(token::Assign, &Parser::assignmentParselet, ++precedence); register_infix(token::Add, &Parser::binaryOperatorParselet, ++precedence); register_infix(token::Subtract, &Parser::binaryOperatorParselet, precedence); register_infix(token::Multiply, &Parser::binaryOperatorParselet, ++precedence); register_infix(token::Divide, &Parser::binaryOperatorParselet, precedence); register_infix(token::Modulo, &Parser::binaryOperatorParselet, precedence); } Expression_ptr Parser::parseExpression(int precedence) { auto token = *lexer_; ++lexer_; auto prefix = prefixParselets_[token.type]; if(!prefix) { throw ParserException("Unsupported token..."); } auto left = prefix(token); while(precedence < get_precedence((*lexer_).type)) { token = *lexer_; ++lexer_; auto infix = infixParselets_[token.type]; left = infix(left, token); } return left; } int Parser::get_precedence(token::Type type) { auto precedence = infixPrecedence_.find(type); if(precedence != infixPrecedence_.end()) { return precedence->second; } return 0; } template<class F> void Parser::register_prefix(token::Type type, F&& function) { prefixParselets_[type] = std::bind(function, this, std::placeholders::_1); } template<class F> void Parser::register_infix(token::Type type, F&& function, int precedence) { infixParselets_[type] = std::bind(function, this, std::placeholders::_1, std::placeholders::_2); infixPrecedence_[type] = precedence; } Expression_ptr Parser::numberParselet(token token) { std::string value(token.begin, token.end); double number = std::atof(value.c_str()); return std::make_shared<NumberExpression>(number); } Expression_ptr Parser::identifierParselet(token token) { std::string value(token.begin, token.end); return std::make_shared<IdentifierExpression>(value); } Expression_ptr Parser::assignmentParselet(Expression_ptr& left, token) { auto right = parseExpression(); return std::make_shared<AssignmentExpression>(left, right); } BinaryOperatorExpression::Type convertType(token::Type type) { switch(type) { case token::Add: return BinaryOperatorExpression::Add; case token::Subtract: return BinaryOperatorExpression::Subtract; case token::Multiply: return BinaryOperatorExpression::Multiply; case token::Divide: return BinaryOperatorExpression::Divide; case token::Modulo: return BinaryOperatorExpression::Modulo; default: throw ParserException("Unsupported binary operator type."); } } Expression_ptr Parser::binaryOperatorParselet(Expression_ptr& left, token token) { BinaryOperatorExpression::Type type = convertType(token.type); auto right = parseExpression(get_precedence(token.type)); return std::make_shared<BinaryOperatorExpression>(type, left, right); } Expression_ptr Parser::groupParselet(token) { auto expression = parseExpression(); if((*lexer_).type == token::RightParantheses) { ++lexer_; } return expression; } }
86d312e76c80f3db4712429687ed1765aedcfe6a
1a05ec20e7adb12a3009fc689cc510250d4fa225
/BattleMoveFactory.cpp
9e093e5ef46e5582c8338129177c353551c1f96f
[]
no_license
programmeremmanuel586/Data-Structures-program-3
6725d4ee5a6f2fa0d2b92724f3d75166370f3ee3
4e9ec14ae8fa1067eb5940fb48241968cd5984eb
refs/heads/master
2023-02-07T05:04:12.561336
2020-12-26T19:32:35
2020-12-26T19:32:35
324,621,809
0
0
null
null
null
null
UTF-8
C++
false
false
830
cpp
BattleMoveFactory.cpp
// // BattleMoveFactory.cpp // program_3 // // Created by Emmanuel Amoh on 11/16/20. // #include <iostream> #include "enum.hpp" #include "Actor.h" #include "BattleMove.h" #include "BattleMoveFactory.h" BattleMove* BattleMoveFactory::BuildMove(MoveType moveType, Actor* attacker, Actor* target) { BattleMove* battleMove = nullptr; switch (moveType) { case MoveType::Curse: battleMove = new CurseAttack(attacker, target); break; case MoveType::Sword: battleMove = new SwordAttack(attacker, target); break; case MoveType::Spell: battleMove = new SpellAttack(attacker, target); break; case MoveType::Melee: battleMove = new MeleeAttack(attacker, target); break; } return battleMove; }
4a383dd31c9e6a24917042d3049e2fd917d0e758
4dd2545fe8807acffd678aebfaccb9d9e3ce60cf
/src/Token.h
4634bba774a3c075010186470ee58718e4635ecb
[]
no_license
nsinitsyn/MathExpressionRecognizer
af4b5cc44929aa1c5ef34d1ea5d91d9dea72967e
37556fd3a3fc381d1963a58ca9132b0acefd6f56
refs/heads/master
2021-05-03T11:54:06.273026
2018-02-06T18:59:47
2018-02-06T18:59:47
120,490,150
0
0
null
null
null
null
UTF-8
C++
false
false
1,380
h
Token.h
#pragma once #include <iostream> using namespace std; class Token { int n; // имя токена char* v; // значение атрибута bool attr; // установлен ли атрибут char** mN; // Отображение числового имени токена на строчное имя int cTokens; // Число токенов void InitMN(); // Инициализация mN. Вызывается во всех конструкторах public: enum { NUM = 256, TR = 257, CONST = 258, SQRT = 259, LOG = 260, LC = 261 }; // Возможные имена токенов, не считая промежуток от 0 до 255 для одиночных символов Token(); Token(int); Token(int, char*); Token(const Token&); ~Token(); Token& operator=(const Token&); int GetName(); // Получить имя токена (число) char* GetType(); // Получить значение атрибута bool GetAttributeState(); // Получить факт наличия атрибута char* GetCharName(); // Получить символьное представление имени токена (терминал) friend ostream& operator<<(ostream&, const Token&); // Вывод токена в виде <имя токена, значение атрибута> (имя токена в символьном виде) };
f0a1de83448d8888140edf7d0ddd4f06e2007840
53b88d0e2ab61aa00d42e83866b88daa42113df5
/linux/ipc/ipc.cpp
ee92ca34fa9ae05140cd59ef5e2c53fad65550d4
[]
no_license
Shajan/CS
93c24dd011cfff4a97fc2c003207a6373266fb7d
8b32426d66167f3cba3815164447ae324e9107af
refs/heads/master
2023-07-18T20:48:30.259772
2023-07-10T16:20:39
2023-07-10T16:21:35
3,363,252
0
2
null
null
null
null
UTF-8
C++
false
false
4,347
cpp
ipc.cpp
#include <stdlib.h> // exit #include <string.h> // memcpy #include <unistd.h> // fork #include "common.h" #include "message.h" #define MUTEX_NAME "/sdasan/ipc-mutex" #define MEM_NAME "/sdasan/ipc-mem" #define SIZE 1024 class CMutex { private: mutex m_mutex; const char* m_name; bool m_create; bool m_locked; //just a hint public: CMutex(const char* name, bool locked, bool create) { m_name = name; m_locked = locked; m_create = create; if (create) m_mutex = create_mutex(m_name, m_locked); else m_mutex = open_mutex(name); } void lock() { lock_mutex(m_mutex); m_locked = true; } bool try_lock() { return m_locked = trylock_mutex(m_mutex); } bool lock(int timeout_seconds) { return m_locked = lock_withtimeout_mutex(m_mutex, timeout_seconds); } void unlock() { if (!m_locked) sys_warn("CMutex:unlock potentialy unlocking mutex while it's not locked %s", m_name); unlock_mutex(m_mutex); m_locked = false; } virtual ~CMutex() { if (m_locked) sys_warn("~CMutex: potentialy %s mutex while it's locked %s", (m_create ? "destroying" : "closing"), m_name); if (m_create) destroy_mutex(m_name, m_mutex); else close_mutex(m_mutex); } }; class CServerMutex : public CMutex { public: CServerMutex(const char* name): CMutex(name, false, true) {} }; class CClientMutex : public CMutex { public: CClientMutex(const char* name): CMutex(name, false, false) {} }; class CLock { private: CMutex& m_mutex; bool m_locked; public: CLock(CMutex& m) : m_mutex(m) { m_mutex.lock(); m_locked = true; } CLock(CMutex& m, int timeoutSeconds) : m_mutex(m) { m_locked = m_mutex.lock(timeoutSeconds); } void lock() { m_mutex.lock(); m_locked = true; } bool lock(int timeoutSeconds) { return m_locked = m_mutex.lock(timeoutSeconds); } void unlock() { m_mutex.unlock(); m_locked = false; } ~CLock() { if (m_locked) m_mutex.unlock(); } }; class CSharedMemory { private: map m_map; int m_size; public: CSharedMemory(const char* name, int size, bool create) { m_size = size; m_map = get_map(name, m_size, create); } void* ptr() { return get_ptr(m_map); } ~CSharedMemory() { unmap(m_map, m_size); } }; #define ADD 1 #define MUL 2 class ISerialize { void write(void* p); void read(void* p); }; class CRequest : public ISerialize { friend class CResponse; private: int m_a, m_b; public: CRequest(void* p) { read(p); } CRequest(int a, int b) : m_a(a), m_b(b) {} void write(void* p) { memcpy(p, (void*)&m_a, sizeof(m_a)); memcpy((char*)p + sizeof(m_a), (void*)&m_b, sizeof(m_b)); } void read(void* p) { memcpy((void*)&m_a, p, sizeof(m_a)); memcpy((void*)&m_b, (char*)p + sizeof(m_a), sizeof(m_b)); } void log(const char* tag) { ::log("%s a:%d, b:%d", tag, m_a, m_b); } }; class CResponse : public ISerialize { private: int m_result; public: CResponse(CRequest& req) { m_result = req.m_a + req.m_b; } CResponse(void* p) { read(p); } void write(void* p) { memcpy(p, (void*)&m_result, sizeof(m_result)); } void read(void* p) { memcpy((void*)&m_result, p, sizeof(m_result)); } void log(const char* tag) { ::log("%s result:%d", tag, m_result); } }; void server(CMutex& mutex, CSharedMemory& memory) { mutex.lock(); CRequest request(memory.ptr()); request.log("Server"); CResponse response(request); response.log("Server"); response.write(memory.ptr()); mutex.unlock(); } void client(CMutex& mutex, CSharedMemory& memory) { CRequest request(1, 2); request.log("Client"); request.write(memory.ptr()); mutex.unlock(); mutex.lock(); CResponse response(memory.ptr()); response.log("Client"); } void ipc() { CServerMutex serverMutex(MUTEX_NAME); CSharedMemory serverMemory(MEM_NAME, CMessage::allocation_size(SIZE), true); CLock lock(serverMutex); pid_t childpid; if ((childpid = fork()) == -1) { sys_error_exit("fork"); } if (childpid == 0) { /* Child process */ CClientMutex clientMutex(MUTEX_NAME); CSharedMemory clientMemory(MEM_NAME, CMessage::allocation_size(SIZE), false); server(clientMutex, clientMemory); exit(0); } else { /* Parent process */ client(serverMutex, serverMemory); sleep(2); } }
b0d5d74952a8a39b18dadba06c5e56a1d58e946b
e8282e3ae8aafa07b7f7261c639f206c4e97e0fc
/03 - Online Judges/codeforces/B.sale.cpp
647ce756a4e2f2c5f1085aa26d44dfdbbd56807e
[]
no_license
irfansofyana/cp-codes
7cad844da49b901ccf678b75c31ed41e2fa9d645
9fa723129088f0e4832ecb7e012fe586b6d59e41
refs/heads/master
2023-04-04T00:48:36.334817
2021-04-12T03:07:06
2021-04-12T03:07:06
218,084,148
0
0
null
null
null
null
UTF-8
C++
false
false
264
cpp
B.sale.cpp
#include <bits/stdc++.h> using namespace std; int n,m,i,j; int A[10010]; int jumlah; int main(){ cin>>n>>m; jumlah=0; for (i=0;i<n;i++) cin>>A[i]; sort(A,A+n); for (i=0;i<m;i++){ if (A[i]<=0) jumlah+=A[i]; } cout<<abs(jumlah)<<endl; }
acd43e408892bcdaa9cc6581895087e672583731
e4038eaf894bfc55dab67142cb7d850b51df2b32
/project-01/kattis-basicprogramming2/main.cpp
308720e3b115383d55473448b576f69f5620d867
[]
no_license
tokbaev-a/auca-ds-2020
cf1530191771a877c97c90ad82c06b519c18f820
e4cfd3a52bd0d99da6777571cf4b964dfef32455
refs/heads/master
2023-08-10T10:03:46.164170
2021-02-07T14:25:00
2021-02-07T14:25:29
292,755,324
0
0
null
null
null
null
UTF-8
C++
false
false
1,712
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; int main() { int n, t; cin >> n >> t; vector<int> digits; for (int i = 0; i < n; i++) { int a; cin >> a; digits.push_back(a); } sort(digits.begin(), digits.end()); if (t == 1) { string tmp = "No"; for (int i = 0; i < (int)digits.size(); i++) { if (binary_search(digits.begin(), digits.end(), 7777 - digits[i])) { tmp = "Yes"; break; } } cout << tmp << endl; } else if (t == 2) { auto it = unique(digits.begin(), digits.end()); if (it == digits.end()) { cout << "Unique" << endl; } else { cout << "Contains duplicate" << endl; } } else if (t == 3) { int tmp = -1; for (int i = 0; i < (int)digits.size() / 2; i++) { if (digits[i] == digits[i + (n / 2)]) { tmp = digits[i]; break; } } cout << tmp << endl; } else if (t == 4) { if (n % 2 != 0) { cout << digits[n / 2] << endl; } else { cout << digits[n / 2 - 1] << " " << digits[n / 2] << endl; } } else if (t == 5) { auto it1 = lower_bound(digits.begin(), digits.end(), 100); auto it2 = upper_bound(digits.begin(), digits.end(), 999); while (it1 - digits.begin() < it2 - digits.begin()) { cout << digits[it1 - digits.begin()] << " "; it1++; } cout << endl; } }
dd8e71ad90b99686f610ac260ba68b52e8574490
eb79ade840c835cf8c1e1ad1a9e5839579bf9247
/Level1.cc
3e3787b0c8f4f1b77520a0eed18f35db4472e476
[]
no_license
kpatel5797/Quadris
63d94b182f4f89a6b81d06fc69b73b821cc8f7ea
14bfd302fa004c385eb7a05f6b15cfbe1e1d2b70
refs/heads/master
2021-07-02T22:14:39.780937
2017-09-24T20:59:33
2017-09-24T20:59:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
928
cc
Level1.cc
#include "Level.h" #include "Level0.h" #include "Level1.h" #include "Level2.h" #include "block.h" #include "oBlock.h" #include "sblock.h" #include "zblock.h" #include "iblock.h" #include "lblock.h" #include "jblock.h" #include "tblock.h" #include <iostream> #include <cstdlib> #include <fstream> using namespace std; Level1::Level1() { } Level1::~Level1() {} Level* Level1::levelUp() { return new Level2; } Level* Level1::levelDown() { return new Level0{"sequence"}; } Block* Level1::getNext() { int mod = rand()%12; // set the random var if(mod == 0) { return new SBlock; } else if(mod == 1) { return new ZBlock; } else if(mod == 2 || mod == 3) { return new OBlock; } else if(mod == 4 || mod == 5) { return new IBlock; } else if(mod == 6 || mod == 7) { return new LBlock; } else if(mod == 8 || mod == 9) { return new JBlock; } else { // if(mod == 10 || mod == 11) return new TBlock; } }
c16abce7bb012511121cb06c91870889f9e53a78
f556de35cb88a1433b5e5d898c8a5185e387b8dd
/game.cpp
942e56bfa22e5db3672de2ae2ffee7e5cb8e2987
[]
no_license
asfandahmed/C-plus-plus-Programs
954d8f5dda19bf500d283853c3735a5b07056f92
bc55a88d7e1f8ca6900d41f25c5c5faf4c695562
refs/heads/master
2020-05-26T09:35:29.801797
2015-04-26T22:59:52
2015-04-26T22:59:52
34,633,697
0
0
null
null
null
null
UTF-8
C++
false
false
2,051
cpp
game.cpp
#include <iostream> #include <conio.h> using namespace std; const int ROWS = 10; const int COLS = 5; const int HEIGHT = 25; int main() { int count, j, k; char* ptr[ROWS]; char* temp; static char pict[ROWS][COLS] = { {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, '\x1E', 0, 0}, {0, '\x1E', '\xDB', '\x1E', 0} }; static char gnd[] = {'\xCD','\xCD','\xCD','\xCD','\xCD',0}; for(count=0; count<ROWS; count++) { *(ptr+count) = *(pict+count); } for(count=0; count<ROWS-1; count++) { for(j=0; j<HEIGHT-ROWS; j++) { cout << endl; } for(j=0; j<ROWS; j++) { cout<<"\t\t\t"; for(k=0; k<COLS; k++) { cout << *(*(ptr+j)+k); } cout << endl; } cout << "\t\t\t" << gnd; temp = *ptr; for(j=0; j<ROWS-1; j++) *(ptr+j) = *(ptr+j+1); *(ptr+ROWS-1) = temp; getch(); } getch(); return 0; }
f9e11e2b5c04435e3a9a435f79c5d28882cac8c1
950b9dcea55cd43a4f3853cb0897c53e2758146f
/F2FSetup/F4PatchPage.cpp
a0277098beaa7376b3bb4ca2e00e7041be08f89b
[ "MIT" ]
permissive
opiopan/f2filter
231404ff395da91a6ebd6c5a083b77e66c4e56f0
616c90d95a9ccdea9aa598b992388a4197f2bc98
refs/heads/master
2020-05-04T16:01:50.858541
2019-04-03T12:45:12
2019-04-03T12:45:12
179,264,792
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,456
cpp
F4PatchPage.cpp
// F4PatchPage.cpp : インプリメンテーション ファイル // #include "stdafx.h" #include "F2FSetup.h" #include "F4PatchPage.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CF4PatchPage プロパティ ページ IMPLEMENT_DYNCREATE(CF4PatchPage, CDinamicDlgPage) CF4PatchPage::CF4PatchPage() : CDinamicDlgPage(CF4PatchPage::IDD) { //{{AFX_DATA_INIT(CF4PatchPage) m_Gain = 0; m_LogPath = _T(""); m_OpenType = -1; m_bLogging = FALSE; //}}AFX_DATA_INIT } CF4PatchPage::~CF4PatchPage() { } void CF4PatchPage::DoDataExchange(CDataExchange* pDX) { CDinamicDlgPage::DoDataExchange(pDX); //{{AFX_DATA_MAP(CF4PatchPage) DDX_Slider(pDX, IDC_GAIN, m_Gain); DDX_Text(pDX, IDC_LOG_PATH, m_LogPath); DDX_Radio(pDX, IDC_APPEND, m_OpenType); DDX_Check(pDX, IDC_LOGGING, m_bLogging); //}}AFX_DATA_MAP CString tmp; tmp.Format("%d%%", m_Gain * 100 / FORCE_MAX_GAIN); GetDlgItem(IDC_GAIN_DISPLAY)->SetWindowText(tmp); this->GetDlgItem(IDC_LOG_PATH)->EnableWindow(m_bLogging); this->GetDlgItem(IDC_APPEND)->EnableWindow(m_bLogging); this->GetDlgItem(IDC_NEW)->EnableWindow(m_bLogging); } BEGIN_MESSAGE_MAP(CF4PatchPage, CDinamicDlgPage) //{{AFX_MSG_MAP(CF4PatchPage) ON_WM_HSCROLL() ON_BN_CLICKED(IDC_DEFAULT_GAIN, OnDefaultGain) ON_BN_CLICKED(IDC_LOGGING, OnLogging) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CF4PatchPage メッセージ ハンドラ BOOL CF4PatchPage::OnInitDialog() { CDinamicDlgPage::OnInitDialog(); HWND hCtl; this->GetDlgItem(IDC_GAIN, &hCtl); CSliderCtrl ctl; ctl.Attach(hCtl); ctl.SetRange(0, FORCE_MAX_GAIN); ctl.SetPos(m_Gain); ctl.Detach(); return TRUE; // コントロールにフォーカスを設定しないとき、戻り値は TRUE となります } void CF4PatchPage::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { UpdateData(); CDinamicDlgPage::OnHScroll(nSBCode, nPos, pScrollBar); } void CF4PatchPage::OnDefaultGain() { m_Gain = FORCE_DEFAULT_GAIN; UpdateData(FALSE); HWND hCtl; this->GetDlgItem(IDC_GAIN, &hCtl); CSliderCtrl ctl; ctl.Attach(hCtl); ctl.SetPos(m_Gain); ctl.Detach(); } void CF4PatchPage::OnLogging() { UpdateData(); }
a7e9c2cbc9c7f29ee82547c7385c4496688a80de
d320d6fed418f4339a953f3963e7bd4b6b4b3cd0
/libapi/basalt/api/math/vector3.h
63e9169214cb8f7121566435b1e40c35b5041399
[]
no_license
juli27/basaltcpp
6ef93bb3c322f328262bb18c572968eb0ff8fc2b
1c6bb55f80e8c1fa4aa3b52a7111e78741424955
refs/heads/master
2023-08-31T04:30:57.379453
2023-08-30T18:57:54
2023-08-30T18:57:54
189,708,858
0
0
null
null
null
null
UTF-8
C++
false
false
2,919
h
vector3.h
#pragma once #include <basalt/api/math/vector.h> #include <basalt/api/math/types.h> #include <basalt/api/base/types.h> #include <array> namespace basalt { class Vector3f32 : public detail::Vector<Vector3f32, f32, 3> { public: [[nodiscard]] static constexpr auto right() noexcept -> Vector3f32 { return Vector3f32 {1.0f, 0.0f, 0.0f}; } [[nodiscard]] static constexpr auto left() noexcept -> Vector3f32 { return Vector3f32 {-1.0f, 0.0f, 0.0f}; } [[nodiscard]] static constexpr auto up() noexcept -> Vector3f32 { return Vector3f32 {0.0f, 1.0f, 0.0f}; } [[nodiscard]] static constexpr auto down() noexcept -> Vector3f32 { return Vector3f32 {0.0f, -1.0f, 0.0f}; } [[nodiscard]] static constexpr auto forward() noexcept -> Vector3f32 { return Vector3f32 {0.0f, 0.0f, 1.0f}; } [[nodiscard]] static constexpr auto back() noexcept -> Vector3f32 { return Vector3f32 {0.0f, 0.0f, -1.0f}; } using Vector::normalize; [[nodiscard]] static auto normalize(f32 x, f32 y, f32 z) noexcept -> Vector3f32; // sets every component to 0 constexpr Vector3f32() noexcept = default; // sets every component to v constexpr explicit Vector3f32(const f32 v) noexcept : Vector {v, v, v} { } constexpr Vector3f32(const f32 x, const f32 y, const f32 z) noexcept : Vector {x, y, z} { } [[nodiscard]] constexpr auto x() const noexcept -> f32 { return std::get<0>(components); } [[nodiscard]] constexpr auto x() noexcept -> f32& { return std::get<0>(components); } [[nodiscard]] constexpr auto y() const noexcept -> f32 { return std::get<1>(components); } [[nodiscard]] constexpr auto y() noexcept -> f32& { return std::get<1>(components); } [[nodiscard]] constexpr auto z() const noexcept -> f32 { return std::get<2>(components); } [[nodiscard]] constexpr auto z() noexcept -> f32& { return std::get<2>(components); } [[nodiscard]] constexpr auto cross(const Vector3f32& r) const noexcept -> Vector3f32 { return Vector3f32 { y() * r.z() - z() * r.y(), z() * r.x() - x() * r.z(), x() * r.y() - y() * r.x(), }; } [[nodiscard]] static constexpr auto cross(const Vector3f32& l, const Vector3f32& r) noexcept -> Vector3f32 { return l.cross(r); } [[nodiscard]] static auto angle(const Vector3f32&, const Vector3f32&) -> Angle; }; extern template auto detail::Vector<Vector3f32, f32, 3>::length() const noexcept -> f32; extern template auto detail::Vector<Vector3f32, f32, 3>::normalize() const noexcept -> Vector3f32; extern template auto detail::Vector<Vector3f32, f32, 3>::normalize(Vector3f32) noexcept -> Vector3f32; extern template auto detail::Vector<Vector3f32, f32, 3>::distance(const Vector3f32&, const Vector3f32&) noexcept -> f32; } // namespace basalt
1c01f3b39276ed8866d58bc66de5c113dab8cc92
b6f34c048ba64b3825ca033342a6c847ef7578b2
/VCSProject/VCSProject/Merge.h
0ad6125e48b6bdc31fec64d728599aa529bf2a70
[]
no_license
dbortiz/VCSProject
739b707f601a5ab4573941de34273b2891a49b63
700d607393ba13a862ab54d71e7af6ff79dee5ad
refs/heads/master
2020-04-08T10:12:20.659550
2018-12-17T10:09:39
2018-12-17T10:09:39
159,122,130
0
0
null
null
null
null
UTF-8
C++
false
false
4,886
h
Merge.h
/*This header file does not work. */ #pragma once #include <iostream> #include <experimental/filesystem> #include <fstream> #include "CreateRepository.h" namespace fs = std::experimental::filesystem; void findManifest(fs::path& currentPath, fs::path& manifestPath) { for (auto it : fs::recursive_directory_iterator(currentPath)) { if (it.path().filename() == "manifest.txt") { currentPath = it.path().parent_path(); manifestPath = it.path(); } } } void contentsInManifest(std::vector<std::string>& files, fs::path manifestPath) { std::ifstream contentsOfManifest; std::string artifact; contentsOfManifest.open(manifestPath); while (contentsOfManifest >> artifact) { files.push_back(artifact); } contentsOfManifest.close(); } void merge(std::string mainline, std::string firstRepo, std::string secondRepo) { // Paths named from project instructions fs::path G = mainline; fs::path T = firstRepo; fs::path R = secondRepo; // Paths for manifest file fs::path manifestPathG; fs::path manifestPathT; fs::path manifestPathR; findManifest(G, manifestPathG); findManifest(T, manifestPathT); findManifest(R, manifestPathR); // Vectors to hold artifacts std::vector<std::string> GFiles; std::vector<std::string> TFiles; std::vector<std::string> RFiles; contentsInManifest(GFiles, manifestPathG); contentsInManifest(TFiles, manifestPathT); contentsInManifest(RFiles, manifestPathR); for (auto itG = fs::recursive_directory_iterator(G); itG != fs::recursive_directory_iterator(); ++itG) { fs::path pathG = itG->path(); std::string tempArtifactG; if (fs::is_regular_file(pathG)) { tempArtifactG = artifactID(pathG); } for (auto itT = fs::recursive_directory_iterator(T); itT != fs::recursive_directory_iterator(); ++itT) { fs::path pathT = itT->path(); std::string targetPath = pathT.string(); targetPath = targetPath.substr(targetPath.find_first_of("\\")); for (std::vector<std::string>::iterator vectorItT = TFiles.begin(); vectorItT != TFiles.end(); ++vectorItT) { if (tempArtifactG == *vectorItT) { std::cout << "tempArtifactG: " << tempArtifactG << "\n"; std::cout << "*vectorItT: " << *vectorItT << "\n"; std::cout << "pathg: " << pathG << "\n"; std::cout << "patht: " << pathT << "\n"; } else { std::string newGName = pathG.parent_path().string() + "\\" + pathG.filename().stem().string() + "_MG" + pathG.extension().string(); if (pathG == newGName) { std::string newTName = pathG.parent_path().string() + "\\" + pathG.filename().stem().string() + "_MT" + pathG.extension().string(); if (pathG == newTName) { std::cout << "path G and path T good " << std::endl; } else { std::ofstream addTFile; addTFile.open(newTName); addTFile.close(); fs::copy_file(pathT, newTName, fs::copy_options::overwrite_existing); } } else { std::string newTName = pathG.parent_path().string() + "\\" + pathG.filename().stem().string() + "_MT" + pathG.extension().string(); fs::rename(pathG, newGName); if (pathG == newTName) { std::cout << "path T good in else" << std::endl; } else { std::ofstream addTFile; addTFile.open(newTName); addTFile.close(); fs::copy_file(pathT, newTName, fs::copy_options::overwrite_existing); } } } } } /*for (auto itR = fs::recursive_directory_iterator(R); itR != fs::recursive_directory_iterator(); ++itR) { fs::path pathR = itR->path(); std::string targetPath = pathR.string(); targetPath = targetPath.substr(targetPath.find_first_of("\\")); for (std::vector<std::string>::iterator vectorItT = TFiles.begin(); vectorItT != TFiles.end(); ++vectorItT) { if (tempArtifactG == *vectorItT) { std::cout << "tempArtifactG: " << tempArtifactG << "\n"; std::cout << "*vectorItT: " << *vectorItT << "\n"; std::cout << "pathg: " << pathG << "\n"; std::cout << "pathr: " << pathR << "\n"; } else { std::string newGName = pathG.parent_path().string() + "\\" + pathG.filename().string() + "_MG" + pathG.extension().string(); if (pathG == newGName) { std::string newTName = pathG.parent_path().string() + "\\" + pathG.filename().string() + "_MR" + pathG.extension().string(); std::ofstream addTFile; addTFile.open(newTName); addTFile.close(); fs::copy_file(pathR, newTName, fs::copy_options::overwrite_existing); } else { std::string newTName = pathG.parent_path().string() + "\\" + pathG.filename().string() + "_MR" + pathG.extension().string(); fs::rename(pathG, newGName); std::ofstream addTFile; addTFile.open(newTName); addTFile.close(); fs::copy_file(pathR, newTName, fs::copy_options::overwrite_existing); } } } }*/ } }
adf7c1be1c955dcb3d6faa51b937706d95e488ec
76bdc69d847acbe350ebf13a7b6cde7dacbb690c
/src/arduino/programChanger/NumEdit.h
b4fc6500337347d2113bea95a1bd2e530b897c87
[]
no_license
mink99/programchanger
0c5f122cda73589215880795a94768175765c580
99ffb6a14bc8abf3f7e081b7b0c1d23da9ef005a
refs/heads/master
2016-09-13T11:24:44.373913
2016-05-03T02:06:59
2016-05-03T02:06:59
56,006,758
0
0
null
null
null
null
UTF-8
C++
false
false
416
h
NumEdit.h
#include "BasicEdit.h" class NumEdit : public BasicEdit { public: NumEdit() {}; int edit(Field & fld, Value &val); int edit(byte _col, byte _row, byte _len, int _min, int _max, int _value, char *formatBuf); private: bool parse(char *input, Value & v, Field &f, byte nPos); int range(int n, Value & v, Field &f, byte nPos = 0); void update(Field & f, Value & v, byte cur = 0); };
1dbfb11ab50aee4efeed9c34d7b4cfb604b7a665
ed014909d18ad96b12a0101178245d7007ac6e50
/WINDOWS/disconnector_GPU/testbed/DigitalDemo(DigitRelease)yolo_cpp_dll.cpp
358a1de59d162c37abeb75c5788c9034c6afcf11
[ "Apache-2.0" ]
permissive
xiakexiaoyi/WHAYER-CODE-RECORD
fc75b6e74738a417b8a31d2bd0fd432bfbe3580b
0e7a34b0116237a80e73a516aadc1284645acf51
refs/heads/master
2020-05-20T12:19:51.948962
2019-05-06T07:51:55
2019-05-06T07:51:55
null
0
0
null
null
null
null
GB18030
C++
false
false
13,268
cpp
DigitalDemo(DigitRelease)yolo_cpp_dll.cpp
#include <opencv2/opencv.hpp> /***********************/ //#include "HY_Network.h" #ifdef __cplusplus //指明函数的编译方式,以得到没有任何修饰的函数名 extern "C" { #endif #include "detector.h" #ifdef __cplusplus } #endif /***********************/ using namespace std; using namespace cv; typedef struct { int left; int top; int right; int bottom; } MARECT, *PMARECT; typedef struct{ int flag; int next; Point CPoint; float *DigitForm; } sortable_DigitForm; int mouseX = -1, mouseY = -1, mouseFlag = 0; int flagEndL = 0, flagEndR = 0; void onMouse(int Event, int x, int y, int flags, void* param); int DigitalTrain(char *single_picname, MARECT *DRArea, int *lAreaNum); //int DigitalRecog(char *single_picname, MARECT *DRArea, int lAreaNum, YoloNet_detect yolo, float thresh); /***********************/ int DigitalRecog(char *single_picname, MARECT *DRArea, int lAreaNum, void *hMRHandle, float thresh); typedef struct { network net; float lThresh; }DRParam; int HYDSR_Init(void *hMemMgr, void **pMRHandle) { int res = 0; DRParam *pSRHandle = NULL; pSRHandle = (DRParam *)malloc(1 * sizeof(DRParam)); if (pSRHandle == NULL) { res = -1; goto EXT; } EXT: *pMRHandle = pSRHandle; return res; } int HYDSR_SetParam(void *hMRHandle, char *cfgfile, char *weightfile, float Thresh, int w, int h) { int res = 0; DRParam *pSRParam = (DRParam*)hMRHandle; pSRParam->lThresh = Thresh; pSRParam->net = COM_parse_network_cfg(cfgfile); //cfg中的width和height尺寸 if (pSRParam->net.errorcode != 0) { res = pSRParam->net.errorcode; return res; } if (weightfile) { COM_load_weights(&(pSRParam->net), weightfile); if (pSRParam->net.errorcode != 0) { res = pSRParam->net.errorcode; return res; } } COM_set_batch_network(&(pSRParam->net), 1); return res; } int HYDSR_Uninit(void *hMRHandle) { DRParam *pSRParam = (DRParam*)hMRHandle; COM_free_network(pSRParam->net); if (pSRParam) free(pSRParam); pSRParam = NULL; return 0; } /***********************/ int main() { /***********************/ //YoloNet_detect yolo; void *hTLHandle = NULL; /***********************/ char single_picname[256]; char *cfgfile = "../model/digit/number.cfg"; float thresh = 0.24; char *weightfile = "../model/digit/number.weights"; /***********************/ //yolo.initNetData(cfgfile, weightfile); if (0 != HYDSR_Init(NULL, &hTLHandle)) { printf("HYDSR_Init error.\n"); return -1; } int w = 0; int h = 0; if (0 != HYDSR_SetParam(hTLHandle, cfgfile, weightfile, thresh, w, h)) { printf("HYDSR_SetParam error.\n"); HYDSR_Uninit(hTLHandle); return -1; } /***********************/ while (1) { MARECT DRArea[100] = { 0 }; int Areanum = 0; printf("请输入测试单张照片路径:(例如输入:E:\\nest_photos\\1.jpg)(注:路径中不能包含空格)(回车确定)\n"); scanf("%s", &single_picname); if (atoi(single_picname) == 1)break; DigitalTrain(single_picname, DRArea, &Areanum); /***********************/ //DigitalRecog(single_picname, DRArea, Areanum, yolo, thresh); DigitalRecog(single_picname, DRArea, Areanum, hTLHandle, thresh); /***********************/ } /***********************/ //yolo.ReleaseNetwork(); HYDSR_Uninit(hTLHandle); /***********************/ } int DigitalTrain(char *single_picname, MARECT *DRArea, int *lAreaNum) { CvSize ImgSize; CvPoint startPt = { 0 }; CvPoint endPt = { 0 }; int mouseParam[3]; int flagL = 0,i=0; IplImage *src = cvLoadImage(single_picname); if (!src) { printf("Error when loading image.\n"), exit(1); } ImgSize.height = src->height; ImgSize.width = src->width; IplImage *tmpImage = cvCreateImage(ImgSize, src->depth, src->nChannels); cvResize(src, tmpImage, CV_INTER_LINEAR); cvSaveImage("D:\\testImage.bmp", tmpImage); cvNamedWindow("TrainImage2", 1); cvSetMouseCallback("TrainImage2", onMouse, (void*)mouseParam); printf("请圈定匹配目标对象:\n"); while (1) { //左键进行标记 if (mouseParam[2] == CV_EVENT_LBUTTONDOWN) { startPt.x = mouseParam[0]; startPt.y = mouseParam[1]; endPt.x = mouseParam[0]; endPt.y = mouseParam[1]; cvReleaseImage(&tmpImage); tmpImage = cvLoadImage("D:\\testImage.bmp", CV_LOAD_IMAGE_COLOR); cvRectangle(tmpImage, startPt, endPt, CV_RGB(0, 0, 255), 1); flagL = 1; cvShowImage("TrainImage2", tmpImage); DRArea[i].left = startPt.x; DRArea[i].top = startPt.y; } if (mouseParam[2] == CV_EVENT_MOUSEMOVE && flagL == 1) { endPt.x = mouseParam[0]; endPt.y = mouseParam[1]; cvReleaseImage(&tmpImage); tmpImage = cvLoadImage("D:\\testImage.bmp", CV_LOAD_IMAGE_COLOR); cvRectangle(tmpImage, startPt, endPt, CV_RGB(0, 0, 255), 1); cvShowImage("TrainImage2", tmpImage); DRArea[i].right = endPt.x; DRArea[i].bottom = endPt.y; } if (1 == flagEndL) //左键标记一个进行重置 { i++; (*lAreaNum)++; flagEndL = 0; flagL = 0; printf("已画%d个框\n",i); } if (13 == cvWaitKey(10)) //enter 退出 { break; } cvShowImage("TrainImage2", tmpImage); } printf("交互完成\n"); //cvWaitKey(0); cvDestroyWindow("TrainImage2"); cvReleaseImage(&src); cvReleaseImage(&tmpImage); } int comp(const void *pa, const void *pb) { sortable_DigitForm a = *(sortable_DigitForm *)pa; sortable_DigitForm b = *(sortable_DigitForm *)pb; float diff = a.CPoint.x - b.CPoint.x; if (diff < 0) return -1; else if (diff > 0) return 1; return 0; } int boxcomp(const void *pa, const void *pb) { float* a = *(float* *)pa; float* b = *(float* *)pb; float diff = a[4] - b[4]; if (diff < 0) return 1; else if (diff > 0) return -1; return 0; } void GetOverLappingRate(MARECT rt1, MARECT rt2, long *minRate, long *maxRate) { long lSizeRt1, lSizeRt2; long lMaxYDist = MAX(rt2.bottom, rt1.bottom) - MIN(rt2.top, rt1.top); long lMaxXDist = MAX(rt2.right, rt1.right) - MIN(rt2.left, rt1.left); if (!minRate && !maxRate) return; lSizeRt1 = (rt1.bottom - rt1.top)*(rt1.right - rt1.left); lSizeRt2 = (rt2.bottom - rt2.top)*(rt2.right - rt2.left); if (lSizeRt1 <= 0 || lSizeRt2 <= 0) { if (minRate) *minRate = 0; if (maxRate) *maxRate = 100; } ///如果两个矩形有交集,则距离为0 if (lMaxXDist <= (rt2.right - rt2.left + rt1.right - rt1.left) && lMaxYDist <= (rt2.bottom - rt2.top + rt1.bottom - rt1.top)) { long lSizeOverlap = (MIN(rt2.right, rt1.right) - MAX(rt2.left, rt1.left)) *(MIN(rt2.bottom, rt1.bottom) - MAX(rt2.top, rt1.top)); if (minRate) *minRate = MIN(lSizeOverlap * 100 / lSizeRt1, lSizeOverlap * 100 / lSizeRt2); if (maxRate) *maxRate = MAX(lSizeOverlap * 100 / lSizeRt1, lSizeOverlap * 100 / lSizeRt2); } else { if (minRate) *minRate = 0; if (maxRate) *maxRate = 0; } return; } int DigitalRecog(char *single_picname, MARECT *DRArea, int lAreaNum, void *hMRHandle, float thresh) { IplImage *src = cvLoadImage(single_picname); if (!src) { printf("Error when loading image.\n"), exit(1); } IplImage *dst = cvLoadImage(single_picname); if (!dst) { printf("Error when loading image.\n"), exit(1); } for (int i = 0; i < lAreaNum; i++) { MARECT rtArea; rtArea.left = MIN(DRArea[i].left, DRArea[i].right); rtArea.right = MAX(DRArea[i].left, DRArea[i].right); rtArea.top = MIN(DRArea[i].top, DRArea[i].bottom); rtArea.bottom = MAX(DRArea[i].top, DRArea[i].bottom); if (rtArea.bottom >= src->height)rtArea.bottom = src->height - 1; if (rtArea.right >= src->width)rtArea.right = src->width - 1; if (rtArea.left < 0)rtArea.left = 0; if (rtArea.top < 0)rtArea.top = 0; IplImage *RectImg = cvCreateImage(cvSize(rtArea.right - rtArea.left, rtArea.bottom - rtArea.top), src->depth, src->nChannels); cvSetImageROI(src, cvRect(rtArea.left, rtArea.top, rtArea.right - rtArea.left, rtArea.bottom - rtArea.top)); cvCopy(src, RectImg); cvResetImageROI(src); if (!RectImg ) { printf("Error when cut image.\n"); i = i + 1; cvReleaseImage(&RectImg); continue; } int bnum = 0; int boxnum = 100;//候选框数最大值 float **bboxout; bboxout = (float **)calloc(boxnum, sizeof(float *)); for (int i = 0; i < boxnum; i++) bboxout[i] = (float*)calloc(6, sizeof(float)); /*********************检测数字*************************/ /***********************/ //yolo.object_detection((unsigned char *)RectImg->imageData, RectImg->height, RectImg->width, RectImg->nChannels, (int)RectImg->widthStep, thresh, &bnum, bboxout);//检测 DRParam *pSRParam = (DRParam*)hMRHandle; int width = RectImg->width; int height = RectImg->height; int channels = RectImg->nChannels; int widstep = RectImg->widthStep; unsigned char* imagdata = (unsigned char *)RectImg->imageData; image out = COM_make_image(width, height, channels); int p, j, k, count = 0; if (out.data == NULL) { return -1; } for (k = 0; k < channels; ++k) { for (p = 0; p <height; ++p) { for (j = 0; j < width; ++j) { out.data[count++] = imagdata[p*widstep + j*channels + k] / 255.; } } } COM_YoloDetector(pSRParam->net, out, thresh, &bnum, bboxout); COM_free_image(out); /***********************/ qsort(bboxout, bnum, sizeof(float*), boxcomp); bnum = (bnum>6) ? 6 : bnum; if (bnum < 2){ printf("error:digit num=%d\n", bnum); for (int i = 0; i < boxnum; ++i) { if (bboxout[i]) { free(bboxout[i]); bboxout[i] = NULL; } } if (bboxout) { free(bboxout); bboxout = NULL; } cvReleaseImage(&RectImg); continue; } sortable_DigitForm *s = (sortable_DigitForm*)calloc(bnum, sizeof(sortable_DigitForm)); MARECT rtArea1, rtArea2; for (int i = 0; i < bnum; ++i){ //排除异常高度,重叠区域 float a; long lMaxRate; int step = src->widthStep / sizeof(unsigned char); int channels = 3; int x, y; int whitepixelnum = 0, redpixelnum = 0, pixelnum = 0; if (s[i].flag < 0)continue; s[i].DigitForm = bboxout[i]; s[i].CPoint.x = (s[i].DigitForm[0] + s[i].DigitForm[1]) / 2; s[i].CPoint.y = (s[i].DigitForm[2] + s[i].DigitForm[3]) / 2; rtArea1.left = s[i].DigitForm[0]; rtArea1.right = s[i].DigitForm[1]; rtArea1.top = s[i].DigitForm[2]; rtArea1.bottom = s[i].DigitForm[3]; for (int j = 0; j<bnum; j++){ if (i == j)continue; if (s[j].flag < 0)continue; s[j].DigitForm = bboxout[j]; rtArea2.left = s[j].DigitForm[0]; rtArea2.right = s[j].DigitForm[1]; rtArea2.top = s[j].DigitForm[2]; rtArea2.bottom = s[j].DigitForm[3]; lMaxRate = 0; GetOverLappingRate(rtArea1, rtArea2, NULL, &lMaxRate); //if(lMaxRate > 0)printf("lMaxRate=%d\n",lMaxRate); if (lMaxRate > 25) { if (bboxout[j][4] < bboxout[i][4]) s[j].flag = -2; else s[i].flag = -2; } } } qsort(s, bnum, sizeof(sortable_DigitForm), comp); MARECT resultArea = { 0 }; int value=0; int flag = 0; for (int i = 0; i < bnum; i++) { if (s[i].flag<0)continue; if (flag == 0) { resultArea.left = s[i].DigitForm[0]; resultArea.right = s[i].DigitForm[1]; resultArea.top = s[i].DigitForm[2]; resultArea.bottom = s[i].DigitForm[3]; value = s[i].DigitForm[5]; flag = 1; } else { resultArea.left = MIN(resultArea.left,s[i].DigitForm[0]); resultArea.right = MAX(resultArea.right,s[i].DigitForm[1]); resultArea.top = MIN(resultArea.top,s[i].DigitForm[2]); resultArea.bottom = MAX(resultArea.bottom,s[i].DigitForm[3]); value = value*10+s[i].DigitForm[5]; } } /***************************************************/ CvPoint ptStart, ptStop, ptText;//画框,输出结果图 char text[100] = { 0 }; CvFont font; ptStart.x = resultArea.left + rtArea.left; ptStart.y = resultArea.top + rtArea.top; ptStop.x = resultArea.right + rtArea.left; ptStop.y = resultArea.bottom + rtArea.top; ptText.x = ptStart.x; ptText.y = ptStop.y; if (ptText.y < src->height - 25) ptText.y += 25; cvRectangle(dst, ptStart, ptStop, cvScalar(0, 0, 255), 2); sprintf(text, "val=%d", value); printf("val=%d\n", value); cvInitFont(&font, CV_FONT_HERSHEY_SIMPLEX, 0.8f, 1.0f); cvPutText(dst, text, ptText, &font, cvScalar(0, 255, 0)); for (int i = 0; i < boxnum; ++i) { if (bboxout[i]) { free(bboxout[i]); bboxout[i] = NULL; } } if (bboxout) { free(bboxout); bboxout = NULL; } if (s) { free(s); s = NULL; } cvReleaseImage(&RectImg); } char *result_img = "..\\result\\result.jpg"; cvSaveImage(result_img, dst); cvReleaseImage(&src); cvReleaseImage(&dst); } void onMouse(int Event, int x, int y, int flags, void* param) { if (Event == CV_EVENT_LBUTTONDOWN) { int *Data = (int*)param; Data[0] = x; Data[1] = y; Data[2] = 1; } if (Event == CV_EVENT_RBUTTONDOWN) { int *Data = (int*)param; Data[0] = x; Data[1] = y; Data[2] = CV_EVENT_RBUTTONDOWN; } if (Event == CV_EVENT_MOUSEMOVE) { int *Data = (int*)param; Data[0] = x; Data[1] = y; Data[2] = CV_EVENT_MOUSEMOVE; } if (Event == CV_EVENT_LBUTTONUP) { int *Data = (int*)param; Data[0] = x; Data[1] = y; Data[2] = CV_EVENT_LBUTTONUP; flagEndL = 1; } if (Event == CV_EVENT_RBUTTONUP) { int *Data = (int*)param; Data[0] = x; Data[1] = y; Data[2] = CV_EVENT_RBUTTONUP; flagEndR = 1; } }
b03f7959a379345346a5a78d98f10a6e14c865f0
dca4eaebf0e4de55b251813abe13687f9d656ac5
/simulate/src/FrictionInfo/frictioninfo.cpp
2ef34d4e2d731587cef933b816cf4d56ae16f46a
[ "MIT" ]
permissive
dulte/FrictionProject
6ebe18e8a237a8b90525114e8c7a299a47a66ac9
fa30c59286266df263b75a95e0238cb595046375
refs/heads/master
2021-01-13T15:56:31.655693
2018-01-12T13:18:31
2018-01-12T13:18:31
76,807,605
0
0
null
2018-01-05T15:34:15
2016-12-18T21:25:21
C++
UTF-8
C++
false
false
712
cpp
frictioninfo.cpp
#include "frictioninfo.h" FrictionInfo::FrictionInfo(std::shared_ptr<Parameters> spParameters) { m_ns = spParameters->get<int>("ns"); m_nx = spParameters->get<int>("nx"); m_meantime = spParameters->get<double>("tRmean"); m_stdtime = spParameters->get<double>("tRstd"); m_mus = spParameters->get<double>("mus"); double Fn = spParameters->get<double>("fn"); double k = spParameters->get<double>("k"); // fs blir vel helt feil? m_nx burde være antall bottom nodes m_fs = Fn/m_nx/m_ns*m_mus; // f_thres m_k = m_fs/1e-6; m_fk = m_fs*m_mus; m_fnAvg = Fn/m_ns/m_nx; m_kNormal = k/m_ns; }
54a2bc4dfa8614adeb3fac13e6ebfe3afb43b216
b20e98cb1b7b7ab04480efe65cc1ddeb938db52c
/20181227二叉树中查找后继节点/BinaryTreeFindNextNode/main.cpp
e5cbbd0cd1aa6e766e13f315937dbbb166f499d8
[]
no_license
thunderzong/Algorithm
57476a523a0e938a098142df728cee6372da3572
c49322a61e8842216d082bbfa64c5319941bc23e
refs/heads/master
2020-04-13T13:43:24.999503
2018-12-27T10:43:57
2018-12-27T10:43:57
163,240,231
0
0
null
null
null
null
UTF-8
C++
false
false
2,189
cpp
main.cpp
#include <iostream> using namespace std; class Node { public: int value; Node *left; Node *right; Node *parent; Node (int data) { this->value=data; } }; Node *getLeftMost(Node *node); Node *getSuccessorNode(Node *node) { if(node==NULL) { return node; } if(node->right!=NULL) { return getLeftMost(node->right); }else { Node *parent=node->parent; while(parent!=NULL && parent->left !=node) { node = parent; parent=node->parent; } return parent; } } Node *getLeftMost(Node *node) { if(node==NULL) { return node; } while(node->left!=NULL) { node=node->left; } return node; } int main() { Node *head=new Node(6); head->parent=NULL; head->left=new Node(3); head->parent=head; head->left->left=new Node(1); head->left->left->parent=head->left; head->left->left->right=new Node(2); head->left->left->left=NULL; head->left->left->right->parent=head->left->left; head->left->left->right->left=NULL; head->left->left->right->right=NULL; head->left->right=new Node(4); head->left->right->parent = head->left; head->left->right->left=NULL; head->left->right->right = new Node(5); head->left->right->right->parent = head->left->right; head->left->right->right->left=NULL; head->left->right->right->right=NULL; head->right = new Node(9); head->right->parent = head; head->right->left = new Node(8); head->right->left->parent = head->right; head->right->left->left = new Node(7); head->right->left->left->parent = head->right->left; head->right->left->left->left=NULL; head->right->left->left->right=NULL; head->right->right = new Node(10); head->right->right->parent = head->right; head->right->right->left=NULL; head->right->right->right=NULL; Node *test=head->left->left; //cout<<test->value<<endl; //Node *result=getSuccessorNode(test); cout<<test->value<<" next: "<<getSuccessorNode(test)->value<<endl; cout << "Hello world!" << endl; return 0; }
1bbd11b8722f0f41cc31d1b6a3499df0067975ed
32fb20460873512cf1c465e2dd55308bcb43093d
/vectors.h
8e18bb11070ba872b10df70e1404647c5e0b511c
[]
no_license
jbsec/Repl.it-Snippets
05319796eb28f9c800588fcfceb805e4a647636f
1b4e108de0f268642fa1f1df7bd91d775b9965d9
refs/heads/master
2022-01-24T07:59:34.466367
2019-07-18T16:29:30
2019-07-18T16:29:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
559
h
vectors.h
#include <iostream> using namespace std; int main() { std::cout << "Hello World!\n"; } // this is a vector double read_and_sum(int s) // read s integers from cin and return their sum; s is assumed to be positive { Vector v; vector_init(v,s); // allocate s elements for v for (int i=0; i!=s; ++i) cin>>v.elem[i]; // read into elements double sum = 0; for (int i=0; i!=s; ++i) sum+=v.elem[i]; return sum; } void f(Vector v, Vector& rv, Vector* pv) { int i1 = v.sz; int i2 = rv.sz; int i4 = pv->s; }
9660cdca69ab811e07e6bbb15469328adef2edc1
0ec2741757aba9a75156cf824d7fb4af423420cc
/Lab_Digital.ino
d4db5ec0d794ed715e7c5e05f047601ce7b4b47e
[]
no_license
luiguijoelmiranda/laboratorio-ed
63cb2d823367b88dee30f0aa537e21d221276982
5528efa77d5e2639084e7c6f518adef7f88239b7
refs/heads/master
2022-08-08T14:19:53.053477
2020-05-16T03:18:30
2020-05-16T03:18:30
264,347,679
0
0
null
null
null
null
UTF-8
C++
false
false
8,869
ino
Lab_Digital.ino
ndo #include <Keypad.h> #include <LiquidCrystal.h> const int rs = 27, en = 26, d4 = 25, d5 = 24, d6 = 23, d7 = 22; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); //////////////////////////////////////////////////////////// //declaracion de variables /////////////////////////////////////////////////////////// unsigned long Tiempo=0; extern volatile unsigned long timer0_millis; long periodo1=2000; int i = 0; int j = 5; char pulsacion = 0; char tiempo[5] = "0000"; int tiempo2; int tiempo3; int f ; int q ; int h ; int l ; char tecla; byte indice = 0; // vector de tiempo const byte Filas = 4; const byte Cols = 3; char Teclas[ Filas ][ Cols ] = { {'1', '2', '3'}, {'4', '5', '6'}, {'7', '8', '9'}, {'*', '0', '#'} }; byte Pins_Filas[Filas] = {28, 29, 30, 31}; byte Pins_Cols[Cols] = {32, 33, 34}; Keypad Teclado1 = Keypad(makeKeymap(Teclas), Pins_Filas, Pins_Cols, Filas, Cols); // para guardar el caracter en el momento en que se este eligiendo el tiempo Keypad Teclado2 = Keypad(makeKeymap(Teclas), Pins_Filas, Pins_Cols, Filas, Cols); // para guarda el caracter en cualquier momento diferente en el que se elige el tiempo byte led = 35; byte motor = 36; void valor0() // relacionamos cada caracter comn un numeropara para tener el valor de la decena de los minutos { if (tiempo[0] == '0') { h= 0; } if (tiempo[0] == '1') { h= 1; } if (tiempo[0] == '2') { h = 2; } if (tiempo[0] == '3') { h = 3; } if (tiempo[0] == '4') { h = 4; } if (tiempo[0] == '5') { h = 5; } if (tiempo[0] == '6') { h = 6; } if (tiempo[0] == '7') { h = 7; } if (tiempo[0] == '8') { h = 8; } if (tiempo[0] == '9') { h = 9; } } void valor1()// relacionamos cada caracter comn un numeropara para tener el valor menos significativo de los munutos { if (tiempo[1] == '0') { q = 0; } if (tiempo[1] == '1') { q = 1; } if (tiempo[1] == '2') { q = 2; } if (tiempo[1] == '3') { q = 3; } if (tiempo[1] == '4') { q = 4; } if (tiempo[1] == '5') { q = 5; } if (tiempo[1] == '6') { q = 6; } if (tiempo[1] == '7') { q = 7; } if (tiempo[1] == '8') { q = 8; } if (tiempo[1] == '9') { q = 9; } } void valor2()// relacionamos cada caracter comn un numeropara para tener el valor de la decena de los segundos { { if (tiempo[2] == '0') { f = 0; } if (tiempo[2] == '1') { f = 1; } if (tiempo[2] == '2') { f = 2; } if (tiempo[2] == '3') { f = 3; } if (tiempo[2] == '4') { f = 4; } if (tiempo[2] == '5') { f = 5; } if (tiempo[2] == '6') { f = 6; } if (tiempo[2] == '7') { f = 7; } if (tiempo[2] == '8') { f = 8; } if (tiempo[2] == '9') { f = 9; } } void valor3()// relacionamos cada caracter comn un numeropara para tener el valor menos significativo de los segundos { if (tiempo[3] == '0') { l = 0; } if (tiempo[3] == '1') { l = 1; } if (tiempo[3] == '2') { l = 2; } if (tiempo[3] == '3') { l = 3; } if (tiempo[3] == '4') { l = 4; } if (tiempo[3] == '5') { l = 5; } if (tiempo[3] == '6') { l = 6; } if (tiempo[3] == '7') { l = 7; } if (tiempo[3] == '8') { l = 8; } if (tiempo[3] == '9') { l = 9; } } void setup() { lcd.begin(16, 2); pinMode(35, OUTPUT); pinMode(36, OUTPUT); } void Motor()// esta funcion hace que el motor funcione con el tiempo deseado por el usuario { lcd.clear(); lcd.setCursor(0, 0); lcd.print("espere" ); lcd.setCursor(0, 1); lcd.print("un momento"); Tiempo = millis(); while (Tiempo<= tiempo2+tiempo3 && pulsacion != '#') { pulsacion = Teclado2.getKey(); if (pulsacion == '#') { i = 1; } digitalWrite(36, HIGH); // digitalWrite(35, LOW); } } void setMillis(unsigned long Tiempo){ uint8_t oldSREG = SREG; // abrimos por defecto los parametro del timer0 para alterar las funciones de millis cli(); // alteramos los parametros Tiempo=0; timer0_millis = Tiempo; //Reiniciar la funcion millis() para reiniciar el loop. SREG = oldSREG; // guardamos el cambio del timer } void loop() { valor0(); //llamamos a las funciones para gusradar el valor de los caracteres valor1(); valor2(); valor3(); switch (i) { case 0: digitalWrite(35, LOW); digitalWrite(36, LOW); lcd.clear(); // saludo de bienvenida lcd.setCursor(3, 0); lcd.print("Bienvenido"); delay(1000); lcd.clear(); lcd.setCursor(0, 0); lcd.print("ingres el tiempo"); lcd.setCursor(2, 1); lcd.print("de coccion"); delay(1000); lcd.clear(); i = 1; lcd.setCursor(5, 1); lcd.print("00:00"); indice = 0; break; case 1: tecla = Teclado1.getKey(); // guardamos el valor igual a un tiempo lcd.setCursor(5, 0); lcd.print("tiempo"); if (tecla) // si se pulsa cualquier tecla entra en este if { if (tecla != '*' && tecla != '#') // si la tecla es diferente a * o # para la siguiente if { if (tiempo[1] != '6' && tiempo[1] != '7' && tiempo[1] != '8' && tiempo[1] != '9') // si el tercer vaolr del timpo no es mayor a 6 se gusradar { tiempo[indice] = tecla; // se guarda el caracter en la matris de tiempo y se muestra en la pantalla indice++; lcd.setCursor(j, 1); lcd.print(tecla); j++; if (j == 7) // nos saltamos ":" para diferenciar los minutos de los segundo { j++; } } else { lcd.clear(); // si el 3 valor del tiempo es mallor a 6 dara error lcd.setCursor(0, 0); lcd.print("tiempo no valido"); delay(2000); lcd.clear(); j = 5; tiempo[1] = '0'; i = 0; indice = 0; } } else { lcd.clear(); // si en algun momento se oprime # o * manda error lcd.setCursor(0, 0); lcd.print("no es un carcter"); lcd.setCursor(5, 1); lcd.print("valido"); delay(2000); lcd.clear(); indice = 0; i = 0; } } tiempo3 = (h*10+q)*60000; // convertimos minutos a milisegundos tiempo2 = (f*10+l)*1000; // convertimos segundo a milisegundos if (indice == 4 ) // cuando se llege al cuarto dijitos de tiempo entra en if para saber si quiere iniciar la coccion o no { lcd.clear(); indice = 0; while (pulsacion != '*' && pulsacion != '#') { lcd.setCursor(0, 0); lcd.print("Start=> *"); lcd.setCursor(0, 1); lcd.print("Cancel=> #"); pulsacion = Teclado2.getKey(); j = 5; if (pulsacion == '*') { i = 2; setMillis(Tiempo);// aplicamos el timer0 } if (pulsacion == '#') { i = 3; } } } break; case 2: delay(50); Motor(); // aplicamos la libreria del motor lcd.clear(); lcd.setCursor(0, 0); lcd.print("coccion terminda"); Tiempo = millis(); if (Tiempo<= tiempo2+tiempo3+periodo1) // encendemos un led para denotar que termino la coccion { digitalWrite(36, LOW); digitalWrite(35, HIGH); } pulsacion = 0; i = 0; break; case 3: digitalWrite(36, LOW); //si se oprime "#" bota error digitalWrite(35, LOW); lcd.clear(); lcd.setCursor(4, 0); lcd.print("Tiempo"); lcd.setCursor(3, 1); lcd.print("cancelado"); delay(2000); pulsacion = 0; indice = 0; i = 0 ; tiempo[1] == '0'; } }
3f719ebc8e7851746d6c149ae7a02fbbc2e385f5
865bee9c6d2d0a6dc7a97f6d0ffc76aa7b95a328
/0515/std_allocator.cpp
e9413cbc53dd72e25259c1a478d96fb447bd7335
[]
no_license
sylph01/cea21
1628d7f12ffb75d9831e3b8037f94fbb2686cde6
ddcce7e35bf2daab2a246749e39019ec55b4c0fe
refs/heads/master
2023-05-01T16:06:07.838329
2021-05-20T12:02:44
2021-05-20T12:02:44
354,940,598
0
0
null
null
null
null
UTF-8
C++
false
false
257
cpp
std_allocator.cpp
#include "../all.h" int main(){ std::allocator<std::string> a; std::string *p = a.allocate(1); std::string * s = new(p) std::string("hello"); std::cout << *s << std::endl; // s->~basic_string(); std::destroy_at(s); a.deallocate(p, 1); }
ba39c0efdf43425e1fcc778d451f9abb032c4060
0b2d6856f81aaa8d3a5b08554ec95d4d35be5504
/ReliableUDP/Headers/OutputMemoryBitStream.h
dd35bbf29da4cc4cf98b077a63776075573a1eb4
[ "MIT" ]
permissive
elderkeltir/hurricanengine
5dbc368118e0891faf84b8e9608977775a6623bd
dc0329c55dc4b3a15f13cffdcf155c0a02618bb0
refs/heads/master
2023-05-11T05:23:32.458240
2021-03-25T14:57:13
2021-03-25T14:57:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,136
h
OutputMemoryBitStream.h
#pragma once #include "MemoryStream.h" #ifdef NETWORKLIBRARY_EXPORTS #define NETWORKLIBRARY_API __declspec(dllexport) #else #define NETWORKLIBRARY_API __declspec(dllimport) #endif class OutputMemoryBitStream : public MemoryStream { public: NETWORKLIBRARY_API OutputMemoryBitStream(); NETWORKLIBRARY_API uint32_t GetBitLength() const { return mHead; } NETWORKLIBRARY_API uint32_t GetByteLength() const { return (mHead + 7) >> 3; } NETWORKLIBRARY_API void WriteBits(uint8_t inData, size_t inBitCount); NETWORKLIBRARY_API void WriteBits(const void* inData, size_t inBitCount); template<typename T> void Write(T inData, size_t inBitCount = sizeof(T) * 8) { static_assert(std::is_arithmetic<T>::value || std::is_enum<T>::value, "Generic Write only supports primitive data types"); WriteBits(&inData, inBitCount); } template<typename bool> void Write(bool inData, size_t inBitCount = 1) { WriteBits(&inData, inBitCount); } OutputMemoryBitStream(OutputMemoryBitStream&) = delete; OutputMemoryBitStream& operator=(OutputMemoryBitStream) = delete; private: void ReallocBuffer(uint32_t inNewBitCapacity); };
e5a1c158b6bb75d1ae8587960c9b7684b5da56ef
dad6a8033f8412790cbf9c2cb1a27064689875a7
/DM2GDED/EditVWordValPg.h
2038c680d19035bcaedb6a6c0098b4825b27749f
[]
no_license
gbsphenx/skproject
d95b28221187ada06b12dfa7550c5540bdf262dc
48fb31883df76ecff0b6ebe533c89f779b66b12c
refs/heads/master
2023-09-04T10:57:47.634857
2023-09-01T17:15:56
2023-09-01T17:15:56
32,668,925
13
3
null
2022-12-07T17:22:37
2015-03-22T09:08:24
C++
SHIFT_JIS
C++
false
false
3,565
h
EditVWordValPg.h
#if !defined(AFX_EDITVWVPG_H__2E7A460E_08BB_4454_9F08_F13FEEC9C35E__INCLUDED_) #define AFX_EDITVWVPG_H__2E7A460E_08BB_4454_9F08_F13FEEC9C35E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // EditVWVPg.h : ヘッダー ファイル // #include "EditVPg.h" #include "EditVxxx.h" ///////////////////////////////////////////////////////////////////////////// // CEditVWordValPg ダイアログ class CEditVWordValPg : public CEditVPg { // DECL_WVCT_PRE() // int m_wvct; // int m_nVal; // int m_sel; // virtual CEditVxxx &GetVxxx() = NULL; // CWordValCmd &GetCur(); public: // CEditVWordValPg(CEditVLower &vctx, int sel, CWnd* pParent = NULL): CEditVPg(vctx, pParent), m_sel(sel) { } // virtual void Construction(); // virtual UINT GetVal() { return (WORD)m_nVal; } // virtual LPCTSTR GetTemplateName() { return MAKEINTRESOURCE(IDD); } // ダイアログ データ //{{AFX_DATA(CEditVWordValPg) enum { IDD = IDD_EDITV_WV }; int m_iSel; CString m_strVal; //}}AFX_DATA // オーバーライド // ClassWizard は仮想関数のオーバーライドを生成します。 //{{AFX_VIRTUAL(CEditVWordValPg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV サポート //}}AFX_VIRTUAL // インプリメンテーション protected: // 生成されたメッセージ マップ関数 //{{AFX_MSG(CEditVWordValPg) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnRadioD10(); virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; class CEditVWordValSignedPg : public CEditVWordValPg, public CWordValCmd_Signed, public CEditVxxx { public: // DECL_WVCT_SPEC(wvctSigned) // CEditVWordValSignedPg(CEditVLower &vctx, CWnd* pParent = NULL): CEditVWordValPg(vctx, 0, pParent) { } // virtual CEditVPg &GetEditValPg() { return *this; } // virtual CWordValCmd &GetOp() { return *this; } // virtual CEditVxxx &GetVxxx() { return *this; } }; class CEditVWordValUnsignedPg : public CEditVWordValPg, public CWordValCmd_Unsigned, public CEditVxxx { public: // DECL_WVCT_SPEC(wvctUnsigned) // CEditVWordValUnsignedPg(CEditVLower &vctx, CWnd* pParent = NULL): CEditVWordValPg(vctx, 1, pParent) { } // virtual CEditVPg &GetEditValPg() { return *this; } // virtual CWordValCmd &GetOp() { return *this; } // virtual CEditVxxx &GetVxxx() { return *this; } }; class CEditVWordValHexPg : public CEditVWordValPg, public CWordValCmd_Hex, public CEditVxxx { public: // DECL_WVCT_SPEC(wvctHex) // CEditVWordValHexPg(CEditVLower &vctx, CWnd* pParent = NULL): CEditVWordValPg(vctx, 2, pParent) { } // virtual CEditVPg &GetEditValPg() { return *this; } // virtual CWordValCmd &GetOp() { return *this; } // virtual CEditVxxx &GetVxxx() { return *this; } }; class CEditVWordValBinaryPg : public CEditVWordValPg, public CWordValCmd_Flags, public CEditVxxx { public: // DECL_WVCT_SPEC(wvctBinary) // CEditVWordValBinaryPg(CEditVLower &vctx, CWnd* pParent = NULL): CEditVWordValPg(vctx, 3, pParent) { } // virtual CEditVPg &GetEditValPg() { return *this; } // virtual CWordValCmd &GetOp() { return *this; } // virtual CEditVxxx &GetVxxx() { return *this; } }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。 #endif // !defined(AFX_EDITVWVPG_H__2E7A460E_08BB_4454_9F08_F13FEEC9C35E__INCLUDED_)
26819f3e44b19a41801b93fe77f85537c2e8065f
8d554b68dc2f5ff7bb23054d956c2dced3b18361
/Iterator.h
173bf41a70f07671c3df7135331139eb755a1045
[]
no_license
tom-bea/GettingBackIntoCpp
508615fc942e7df31120a3aa12e0b611c0f54598
218ec43fe2dfd5c45fe2feb790ec8e238619f908
refs/heads/master
2020-03-29T10:35:15.594402
2018-10-15T06:39:21
2018-10-15T06:39:21
149,812,969
0
0
null
null
null
null
UTF-8
C++
false
false
575
h
Iterator.h
#pragma once template <class NodePtrType, class StoredType> class Iterator { private: NodePtrType* m_value; public: Iterator(NodePtrType* start) : m_value(start) {} StoredType operator*() const { return ***m_value; } bool operator==(const Iterator& other) const { return m_value == other.m_value; } bool operator!=(const Iterator& other) const { return !(*this == other); } NodePtrType* operator++(int) { NodePtrType* ret = m_value; ++*this; return ret; } Iterator& operator++() { ++m_value; return *this; } };
f3ef96a640eaf40ee739f12551cb38b3748539bb
e5b18a6fe48327ac208dc2a5ef9204247b6a863c
/void_numerics.cpp
62fa71e07e347ecb8f52419f7f73edafddb8213a
[]
no_license
Blosberg/meanfield_void_numerics
245abbf2861f570bce15529569fd4f8ce8585bd6
7dff16c5a458626289430a46358c3615c5e8e7d6
refs/heads/master
2020-05-17T00:52:53.111861
2019-05-05T18:39:33
2019-05-05T18:39:33
183,410,979
1
0
null
null
null
null
UTF-8
C++
false
false
10,648
cpp
void_numerics.cpp
//--------------------------------------------------------------------------------------------- // ---last updated on Sun Apr 27 21:18:49 CEST 2014 by bren at location , bren-Desktop // changes from Sun Apr 27 21:18:49 CEST 2014 : implemented criteria to terminate the run when a maximum in the density is encountered -called "should_peakterminate" // changes from Fri Apr 25 17:08:48 CEST 2014 : optimized the process by iteratively cutting off large voids that have gone negative. cutoff is in func_SLNG" // changes from Sun Apr 13 23:34:52 CEST 2014 : modified the script for explicitly-sized particles (i.e. suitable for dimers, trimers, etc., no longer just coarse-grained full-sized Nucl's.) //--------------------------------------------------------------------------------------------- //---------- IN THIS FILE WE MERELY CALL THE RESPECTIVE func_HNG/SLNG functions //---------- and they make the distinction of which way to implement the boltzmann weights. #include <fstream> #include <sstream> #include <iostream> #include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> //--- #include <gsl/gsl_odeiv.h> ---using odeiv2 now. #include <gsl/gsl_odeiv2.h> #include <gsl/gsl_sf_trig.h> #include <gsl/gsl_math.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_sf_exp.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_sf_log.h> //------------------------------------------ #include "void_numerics.h" // #include "void.h" // #include <bren_lib.h> //------------------------------------------ using namespace std; // int charlength=400; //--the number of characters in the string for our path. //************************************************************************************ int jac (double t, const double c[], double *dfdy, double dfdt[], void *params) { //-----our solver (rkf45) does not require the Jacobian //----from the gsl reference manual: /* int (* jacobian) (double t, const double y[], double * dfdy, double, dfdt[], void * params); This function should store the vector of derivative elements ∂fi(t, y, params)/∂t in the array dfdt and the Jacobian matrix Jij in the array dfdy, regarded as a row-ordered matrix J(i,j) = dfdy[i * dimension + j] where dimension is the dimension of the system. The function should return GSL_SUCCESS if the calculation was completed successfully. Any other return value indicates an error. Some of the simpler solver algorithms do not make use of the Jacobian matrix, so it is not always strictly necessary to provide it (the jacobian element of the struct can be replaced by a null pointer for those algorithms). However, it is useful to provide the Jacobian to allow the solver algorithms to be interchanged—the best algorithms make use of the Jacobian. */ } //*************************************************************** int time_go(ODEdat *P, ofstream * foutmain) { int charlength=400; //--the number of characters in the string for our path. int NV = P->L+1; //---NV is the number of voids to be considered (including 0) char cpath[charlength]; int i,dummy; double rho_t=0.0; double rhodot_anal=0.0, rhodot_num=0.0; //----------set up /initialize the array -------------- double V[NV]; for(i=0;i<NV;i++) V[i]=P->V_IC[i]; //---the constructor sets up the initial V array, and then V_IC is not used. //--- without an import setting, this is just all zeros except for at double t = P->t; //--- likewise 't' value may be imported from an unfinished run. //--- Either way it's set in the P constructor. //---------------------------------------------------------------------------- //-------------- document the potential in the log file. ------------------------ *P->log << "\n-------------------------------------------"; bool shouldprint=false; //--------------SET UP THE NECESSARY dE evolution parameters-------------- const gsl_odeiv2_step_type * T = gsl_odeiv2_step_rkf45; double h = P->t0; // t0 is not changed from the input file in the constructor // regardless of IC condition. This is just how large we step initially. gsl_odeiv2_step * s = gsl_odeiv2_step_alloc (T, NV); gsl_odeiv2_control * con = gsl_odeiv2_control_y_new ( P->odeiv_cont_eps_abs, P->odeiv_cont_eps_rel); gsl_odeiv2_evolve * e = gsl_odeiv2_evolve_alloc (NV); gsl_odeiv2_system sys_HNG = {func_HNG, NULL, NV, P}; //---rkf45 does not use the jacobian, hence the "NULL". gsl_odeiv2_system sys_SLNG = {func_SLNG, NULL, NV, P}; int status=0; //***************** NOW TIME STEP ********************** (*P->log) << "\n just before beginning time evolution, t1 is =" << P->t1 << endl; long int step=0; double empty_space; const double Np10_rho =30; //---this is the resolution cut-off for plotting FOR THE DENSITY CURVE //--- IT HAS A DIFFERENT MEANING FROM THE Np10 that we use for the void dists. const double deltaspacing = gsl_sf_log(10)/Np10_rho; //steps with lower resolution than this don't get plotted rho_t = (*P).get_rho_anal(V); P->step = 0; double t_lastplot = t+h/10.0; //---this should ensure that the first point gets plotted while (t < P->t1) { P->t = t; if(P->HNG) { status = gsl_odeiv2_evolve_apply (e, con, s, &sys_HNG, &t, P->t1, &h, V); } else if( P->SNG || P->LNG ) { status = gsl_odeiv2_evolve_apply (e, con, s, &sys_SLNG, &t, P->t1, &h, V); } else { cout << "\n NG type undefined.\n"; } if (status != GSL_SUCCESS) { cout << "\n process interrupted at t=" << t << ", status failed in Re inc." << endl; break; } //------ get analytic and numeric rho, rhodot for comparison------------- rho_t = (*P).get_rho_anal(V); empty_space = (*P).get_empty_space(V); //---------- THESE STEPS OPTIMIZED OUT ------------------------- // P->step ++; // dummy = (*P).get_mean_stddev(V); --- not bothering with this observable anymore. // rhodot_num = (rho_t-rho_old)/(t-t_old); //-------------------------------------------------------------- P->t = t; if (rho_t > P->maxrho) { P->maxrho = rho_t; // remember that the *ACTUAL* density still has to be divided by L } //--------take snapshots in time------------------------------ shouldprint = (*P).printtime(); if( (*P).shouldplotvoiddist && shouldprint ) { (*P).printout_voiddist(V); P->plotnum+=1; } //--------- check which V's have gone negative and eliminate them for efficiency ----------- if ( P->should_check_neg ) { while( V[P->phys_bound] < 0.0 ) { P->has_been_neg[P->phys_bound] = true; V[P->phys_bound] = 0.0; //--- hard set it to zero and don't worry about it any more. the f's will all be zero too. P->phys_bound--; //--------only relevant for HNG case ----------- if(P->HNG) { if( P->phys_bound > (P->L-P->a) && P->phys_bound < (P->L) ) { P->phys_bound = (P->L-P->a); for(i=(P->L-P->a+1); i<(P->L); i++) { P->has_been_neg[i] = true; } } if( P->phys_bound > (P->L)-2*(P->a) && P->phys_bound < ((P->L)-(P->a)) ) { P->phys_bound = (P->L)-(2*(P->a)); for(i=( (P->L)-2*(P->a)+1); i<(P->L)-(P->a); i++) { P->has_been_neg[i] = true; } } } //----------------- DOWN TO HERE ----------- /*------- if(P->phys_bound < 2*P->a) { cout << "\n ERROR: phys_bound = " << P->phys_bound << " is getting suspiciously small at t=" << P->t << endl; exit(1); } -------*/ } } //------------------------- DONE ELIMINATING GARBAGE NEGATIVE V'S. NOW PLOT rho v time ---------------------- if( P->shouldplotrhos && ( gsl_sf_log(t/t_lastplot) > deltaspacing ) ) { // output to the t vs. rho file. t_lastplot = t; //---update the current "last point plotted" rho_t = (*P).get_rho_anal(V); //------------------------------------------------------------------------------------- //removed: dummy = (*P).get_mean_stddev(V); //----- << "\t" << P->mean << " \t " << P->std_dev << "\t" << rhodot_num << endl; //----- we're not using the mean or std. dev.'s anymore, so don't bother with them. //---------------------OUTPUT TO FILE ----THIS IS WHERE WE PLOT THE FILLING ----------- *foutmain << t << "\t" << ((*P).rho)/(P->L ) << " \t " << P->phys_bound << " \t " << h << " \t " << P->coverage << endl; } /*------------------------------------------ REMOVED PEAK-TERMINATE FUNCTIONALITY ------------------------------------------------------------- if( P->should_peakterminate && t > P->t_export) //---dont even think about exiting until after t_export. { if( ( (P->rho) <= (rho_old) ) && ( (rho_old) <= (rho_old2) ) ) {//----two successive steps down or nowhere in density after t_export ==> stopping. *foutmain << t_old2 << "\t" << (rho_old2)/(P->L ) << " \t " << P->phys_bound << " \t " << h << " \t " << P->coverage << endl; *foutmain << t_old << "\t" << (rho_old )/(P->L ) << " \t " << P->phys_bound << " \t " << h << " \t " << P->coverage << endl; *foutmain << t << "\t" << (rho_t)/(P->L ) << " \t " << P->phys_bound << " \t " << h << " \t " << P->coverage << endl; if(P->should_export_IC) { P->export_IC(V); } (*P->log) << "\n break condition encountered. slope is negative."; (*P->log) << " Exporting current V-distribution, and terminating run at t= " << P->t << endl; P->rho = -777.7*P->L; //---to make sure we don't accidentally take this value to be an equilibrated termination point. break; } } ------------------------------------------------------------------------------------------------------------------------------------------------*/ }//================================================================----------------------------- //finished while loop (i.e. t has reached t1) rho_t = (*P).get_rho_anal(V); if( ! P->should_peakterminate || t >= P->t1 ) { *foutmain << t << "\t" << ((*P).rho)/(P->L ) << "\t" << P->phys_bound << " \t " << h << " \t " << P->coverage << endl; //--- add one final line to the voiddat file. } if(P->should_export_IC) { P->export_IC(V); } //--we don't bother with this anymore, for efficiency. (*P->log) << "\n at the end of the simulation, " << step << " steps were taken." << endl; // cout << "\n at the end of the simulation, " << step << " steps were taken." << endl; gsl_odeiv2_evolve_free (e); gsl_odeiv2_control_free (con); gsl_odeiv2_step_free (s); return 1; } //****************************************************************************
e3f8ca1ed89115c6f0bcf7fd0c9eb369be1e52f8
dd656493066344e70123776c2cc31dd13f31c1d8
/MITK/Modules/QmitkExt/QmitkAboutDialog/QmitkAboutDialog.h
c09a6d26ee812aba46208b459026d268d3acd9aa
[]
no_license
david-guerrero/MITK
e9832b830cbcdd94030d2969aaed45da841ffc8c
e5fbc9993f7a7032fc936f29bc59ca296b4945ce
refs/heads/master
2020-04-24T19:08:37.405353
2011-11-13T22:25:21
2011-11-13T22:25:21
2,372,730
0
1
null
null
null
null
UTF-8
C++
false
false
976
h
QmitkAboutDialog.h
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-07-14 19:11:20 +0200 (Tue, 14 Jul 2009) $ Version: $Revision: 18127 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or http://www.mitk.org/copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #include <QDialog> #include "QmitkExtExports.h" #include <QWidget> #include <mitkCommon.h> class QmitkExt_EXPORT QmitkAboutDialog : public QDialog { Q_OBJECT public: QmitkAboutDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); virtual ~QmitkAboutDialog(); };
3ca4dc00f2711635450697dee445de3e0cfb7733
e23de521dac17dd9ffa4fd4926f797da35625b16
/vision/obj_pose/src/seg_plane_cam2obj.hpp
df61b0b761ffd59fd1043a29ef164ba233ffe256
[]
no_license
tkuiclab/ARC
a3938c3f6ad943b0b733ff4be54c05cc3a32607a
3c8924f2728fef9f6b09c84036a8219c08b24c67
refs/heads/master
2021-03-19T18:11:48.278339
2017-05-29T07:05:48
2017-05-29T07:05:48
79,823,986
0
0
null
null
null
null
UTF-8
C++
false
false
18,277
hpp
seg_plane_cam2obj.hpp
#include "pcl_utility.hpp" #include <iostream> #include <pcl/ModelCoefficients.h> #include <pcl/point_types.h> #include <pcl/sample_consensus/method_types.h> #include <pcl/sample_consensus/model_types.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/filters/voxel_grid.h> #include <pcl/filters/extract_indices.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/segmentation/extract_clusters.h> #include <pcl/common/distances.h> #include <pcl/filters/passthrough.h> #include <pcl/segmentation/region_growing.h> #include <pcl/common/common.h> void write_pcd_2_rospack(PCT::Ptr cloud, std::string f_name){ std::string path = ros::package::getPath("obj_pose"); path.append("/pcd_file/"); path.append(f_name); pcl::PCDWriter writer; writer.write<PT> (path, *cloud, false); std::cout << "Save PCD -> " << path << std::endl; } void get_largest_cluster( PCT::Ptr i_cloud ,PCT::Ptr o_cloud ){ pcl::search::KdTree<PT>::Ptr tree (new pcl::search::KdTree<PT>); tree->setInputCloud (i_cloud); std::vector<pcl::PointIndices> cluster_indices; pcl::EuclideanClusterExtraction<PT> ec; ec.setClusterTolerance (0.02); // 2cm ec.setMinClusterSize (100); ec.setMaxClusterSize (25000); ec.setSearchMethod (tree); ec.setInputCloud (i_cloud); ec.extract (cluster_indices); //int j = 0; // for (std::vector<pcl::PointIndices>::const_iterator it = cluster_indices.begin (); it != cluster_indices.end (); ++it) // { //get only first cluster std::vector<pcl::PointIndices>::const_iterator it = cluster_indices.begin (); PCT::Ptr cloud_cluster (new PCT); for (std::vector<int>::const_iterator pit = it->indices.begin (); pit != it->indices.end (); ++pit) cloud_cluster->points.push_back (i_cloud->points[*pit]); //* cloud_cluster->width = cloud_cluster->points.size (); cloud_cluster->height = 1; cloud_cluster->is_dense = true; std::cout << "PointCloud representing the Cluster: " << cloud_cluster->points.size () << " data points." << std::endl; //std::stringstream ss; //ss << "cloud_cluster_" << j << ".pcd"; //writer.write<PT> (ss.str (), *cloud_cluster, false); //* #ifdef SaveCloud write_pcd_2_rospack(cloud_cluster,"_largest_cluster.pcd"); #endif //j++; //} *o_cloud = *cloud_cluster; } void get_seg_plane( PCT::Ptr i_cloud, int want_seg_ind ,PCT::Ptr o_cloud ){ //void get_seg_plane( PCT::Ptr i_cloud, PCT::Ptr o_cloud ){ //PCT::Ptr cloud_blob (new PCT); PCT::Ptr cloud_filtered (new PCT), cloud_p (new PCT), cloud_f (new PCT); std::cerr << "PointCloud before filtering: " << i_cloud->width * i_cloud->height << " data points." << std::endl; // Create the filtering object: downsample the dataset using a leaf size of 1cm //pcl::VoxelGrid<pcl::PCLPointCloud2> sor; pcl::VoxelGrid<PT> sor; sor.setInputCloud (i_cloud); sor.setLeafSize (0.01f, 0.01f, 0.01f); sor.filter (*cloud_filtered); std::cerr << "PointCloud after filtering: " << cloud_filtered->width * cloud_filtered->height << " data points." << std::endl; // Write the downsampled version to disk // pcl::PCDWriter writer; // writer.write<PT> (f_name + "_downsample.pcd", *cloud_filtered, false); pcl::ModelCoefficients::Ptr coefficients (new pcl::ModelCoefficients ()); pcl::PointIndices::Ptr inliers (new pcl::PointIndices ()); // Create the segmentation object pcl::SACSegmentation<PT> seg; // Optional seg.setOptimizeCoefficients (true); // Mandatory seg.setModelType (pcl::SACMODEL_PLANE); seg.setMethodType (pcl::SAC_RANSAC); seg.setMaxIterations (5000); //seg.setDistanceThreshold (0.01); seg.setDistanceThreshold (0.01); // Create the filtering object pcl::ExtractIndices<PT> extract; double min_z = 9999.0; int i = 0, nr_points = (int) cloud_filtered->points.size (); // While 30% of the original cloud is still there //while (cloud_filtered->points.size () > 0.3 * nr_points) while (cloud_filtered->points.size () > 0.1 * nr_points){ // Segment the largest planar component from the remaining cloud seg.setInputCloud (cloud_filtered); seg.segment (*inliers, *coefficients); if (inliers->indices.size () == 0) { std::cerr << "Could not estimate a planar model for the given dataset." << std::endl; break; } // Extract the inliers extract.setInputCloud (cloud_filtered); extract.setIndices (inliers); extract.setNegative (false); extract.filter (*cloud_p); std::cerr << "PointCloud representing the planar component: " << cloud_p->width * cloud_p->height << " data points." << std::endl; PT center = getCenter(cloud_p); if(want_seg_ind == i){ *o_cloud = *cloud_p; ROS_INFO("Use _seg_%d_plane",i); //return; } // if(center.z < min_z){ // *o_cloud = *cloud_p; // ROS_INFO("Use _seg_%d_plane z=%lf",i,center.z); // min_z = center.z; // } //return ; #ifdef SaveCloud std::string path = ros::package::getPath("obj_pose"); path.append("/pcd_file/"); pcl::PCDWriter writer; std::stringstream ss; ss << path << "_seg_" << i << ".pcd"; writer.write<PT> (ss.str (), *cloud_p, false); std::cout << "Save PCD -> " << ss.str() << std::endl; //ROS_INFO("Save PCD -> %s ", ss.str().c_str()); #endif // Create the filtering object extract.setNegative (true); extract.filter (*cloud_f); cloud_filtered.swap (cloud_f); i++; } if(want_seg_ind > i){ std::cerr << "ERROR!! want_seg_ind > " << i << std::endl; } } void get_seg_plane_near( PCT::Ptr i_cloud ,PCT::Ptr o_cloud ){ //void get_seg_plane( PCT::Ptr i_cloud, PCT::Ptr o_cloud ){ //PCT::Ptr cloud_blob (new PCT); PCT::Ptr cloud_filtered (new PCT), cloud_p (new PCT), cloud_f (new PCT); PCT::Ptr cloud_seg_largest (new PCT); std::cerr << "PointCloud before filtering: " << i_cloud->width * i_cloud->height << " data points." << std::endl; // Create the filtering object: downsample the dataset using a leaf size of 1cm //pcl::VoxelGrid<pcl::PCLPointCloud2> sor; pcl::VoxelGrid<PT> sor; sor.setInputCloud (i_cloud); sor.setLeafSize (0.01f, 0.01f, 0.01f); sor.filter (*cloud_filtered); std::cerr << "PointCloud after filtering: " << cloud_filtered->width * cloud_filtered->height << " data points." << std::endl; // Write the downsampled version to disk // pcl::PCDWriter writer; // writer.write<PT> (f_name + "_downsample.pcd", *cloud_filtered, false); pcl::ModelCoefficients::Ptr coefficients (new pcl::ModelCoefficients ()); pcl::PointIndices::Ptr inliers (new pcl::PointIndices ()); // Create the segmentation object pcl::SACSegmentation<PT> seg; // Optional seg.setOptimizeCoefficients (true); // Mandatory seg.setModelType (pcl::SACMODEL_PLANE); seg.setMethodType (pcl::SAC_RANSAC); seg.setMaxIterations (5000); //seg.setDistanceThreshold (0.01); seg.setDistanceThreshold (0.01); // Create the filtering object pcl::ExtractIndices<PT> extract; float min_dis = 9999.0; int i = 0, nr_points = (int) cloud_filtered->points.size (); // While 30% of the original cloud is still there //while (cloud_filtered->points.size () > 0.3 * nr_points) std::cout << "cloud_filtered->points.size () = " << cloud_filtered->points.size () << std::endl; while (cloud_filtered->points.size () > 0.1 * nr_points){ // Segment the largest planar component from the remaining cloud seg.setInputCloud (cloud_filtered); seg.segment (*inliers, *coefficients); if (inliers->indices.size () == 0) { std::cerr << "Could not estimate a planar model for the given dataset." << std::endl; break; } // Extract the inliers extract.setInputCloud (cloud_filtered); extract.setIndices (inliers); extract.setNegative (false); extract.filter (*cloud_p); std::cerr << "PointCloud representing the planar component: " << cloud_p->width * cloud_p->height << " data points." << std::endl; get_largest_cluster(cloud_p, cloud_seg_largest); PT center = getCenter(cloud_seg_largest); float dis = pcl::euclideanDistance(PT(0,0,0), center); if(dis < min_dis){ *o_cloud = *cloud_seg_largest; ROS_INFO("Use _seg_%d_plane dis=%lf",i, dis); min_dis = dis; } #ifdef SaveCloud std::string path = ros::package::getPath("obj_pose"); path.append("/pcd_file/"); pcl::PCDWriter writer; std::stringstream ss; ss << path << "_seg_" << i << ".pcd"; //writer.write<PT> (ss.str (), *cloud_p, false); writer.write<PT> (ss.str (), *cloud_seg_largest, false); std::cout << "Save PCD -> " << ss.str() << std::endl; //ROS_INFO("Save PCD -> %s ", ss.str().c_str()); #endif // Create the filtering object extract.setNegative (true); extract.filter (*cloud_f); cloud_filtered.swap (cloud_f); std::cout << "cloud_filtered->points.size () = " << cloud_filtered->points.size () << std::endl; i++; } } //get camera center to object center transform //assume camera void cam_2_obj_center(PCT::Ptr i_cloud, double &x, double &y, double &z, double &roll, double &pitch, double &yaw){ PCT::Ptr cloud_near_center (new PCT); //get center of colud PT center = getCenter(i_cloud); std::cout << "Center Point = " << center << std::endl; //get near center points //ouput to cloud_near_center //get_near_points(i_cloud, center, 30, cloud_near_center); //get_near_points(i_cloud, center, i_cloud->size() * 0.5f, cloud_near_center); //get bounding box // PT min_p, max_p; // pcl::getMinMax3D(*i_cloud,min_p, max_p); // ---------------------------------------------------------------- // -----Calculate surface normals with a search radius of 0.05----- // ---------------------------------------------------------------- pcl::NormalEstimation<PT, pcl::Normal> ne; //ne.setInputCloud (cloud_near_center); ne.setInputCloud (i_cloud); //option //pcl::search::KdTree<PT>::Ptr tree (new pcl::search::KdTree<PT> ()); //ne.setSearchMethod (tree); pcl::PointCloud<pcl::Normal>::Ptr cloud_normal (new pcl::PointCloud<pcl::Normal>); ne.setRadiusSearch (0.3); ne.compute (*cloud_normal); //getNormal_Near_Point(cloud_normal, center); std::cout << "cloud_normal width*height = " << cloud_normal->width * cloud_normal->height << std::endl; std::cout << "cloud_normal size = " << cloud_normal->size() << std::endl; Vector3f obj_normal = get_normal_mean(cloud_normal); //----------------------------------------// // Get Angle of Cam Normal to Object Normal // //----------------------------------------// Vector3f cam_normal(0.0,0.0,1.0); Matrix3f R; std::cout << " obj_normal -> " << obj_normal << std::endl; if(obj_normal [2] < 0){ obj_normal = obj_normal * (-1); std::cout << " Update obj_normal -> " << obj_normal << std::endl; } // ----Calculate Rotate from cam_normal to obj_normal-------// R = Quaternionf().setFromTwoVectors(cam_normal,obj_normal); //Vector3f euler = R.eulerAngles(2, 1, 0); //yaw = euler[0]; pitch = euler[1]; roll = euler[2]; Vector3f euler = R.eulerAngles(0, 1, 2); yaw = euler[2]; pitch = euler[1]; roll = euler[0]; Eigen::Affine3f tf_neg = Eigen::Affine3f::Identity(); tf_neg.rotate (Eigen::AngleAxisf ( -yaw, Eigen::Vector3f::UnitZ())); tf_neg.rotate (Eigen::AngleAxisf ( -pitch, Eigen::Vector3f::UnitY())); tf_neg.rotate (Eigen::AngleAxisf ( -roll, Eigen::Vector3f::UnitX())); Vector3f center_vec(center.x, center.y, center.z); Vector3f after_rotate_center_with_neg; after_rotate_center_with_neg = tf_neg * center_vec; x = after_rotate_center_with_neg[0]; y = after_rotate_center_with_neg[1]; z = after_rotate_center_with_neg[2]; std::cout << " (roll, pitch, yaw) = " << "(" << roll << "," << pitch << "," << yaw << ") = " << "(" << pcl::rad2deg(roll) << "," << pcl::rad2deg(pitch) << "," << pcl::rad2deg(yaw) << ")" << std::endl; //--test negtive the obj_normal-------------------------------------------------// /* Matrix3f R2; obj_normal = obj_normal * (-1); //KNote: a rotation between the two "arbitrary" vectors // I think only 0 ~ 180 R2 = Quaternionf().setFromTwoVectors(cam_normal,obj_normal); euler = R2.eulerAngles(0, 1, 2); yaw = euler[2]; pitch = euler[1]; roll = euler[0]; std::cout << " test again (roll, pitch, yaw) = " << "(" << roll << "," << pitch << "," << yaw << ") = " << "(" << pcl::rad2deg(roll) << "," << pcl::rad2deg(pitch) << "," << pcl::rad2deg(yaw) << ")" << std::endl; */ //end ---test negtive the obj_normal------------------------------------// std::cout << " center (x, y, z) = " << "(" << center.x << "," << center.y << "," << center.z << ")" << std::endl; std::cout << " (x, y, z) = " << "(" << x << "," << y << "," << z << ")" << std::endl; #ifdef ShowCloud // -------------------------------------------- // -----Open 3D viewer and add point cloud----- // -------------------------------------------- return ; Vector3f new_vec; new_vec = R * cam_normal; vis_normal(viewer, cloud_near_center, cloud_normal); vis_one_point(viewer, center); //vis_cloud(viewer, cloud_near_center); // viewer->addCube(min_p.x, min_p.y, min_p.z, // max_p.x, max_p.y, max_p.z); //viewer->addLine (PT(0, 0, 0), //PT(new_vec[0],new_vec[1],new_vec[2]) ); PT p_new; p_new.x = center.x + new_vec[0]; p_new.y = center.y + new_vec[1]; p_new.z = center.z + new_vec[2]; PT obj_new; obj_new.x = center.x + obj_normal[0]; obj_new.y = center.y + obj_normal[1]; obj_new.z = center.z + obj_normal[2]; //-----------------TEST-------------------// std::cout << " ==============Test==============" << std::endl; Eigen::Affine3f tf = Eigen::Affine3f::Identity(); tf.rotate (Eigen::AngleAxisf ( yaw, Eigen::Vector3f::UnitZ())); tf.rotate (Eigen::AngleAxisf ( pitch, Eigen::Vector3f::UnitY())); tf.rotate (Eigen::AngleAxisf ( roll, Eigen::Vector3f::UnitX())); std::cout << " obj_normal = " << obj_normal << std::endl; std::cout << " new_vec = " << new_vec << std::endl; Vector3f back_vec; back_vec = tf * new_vec; std::cout << "back_vec = " << std::endl << back_vec << std::endl; back_vec = tf_neg * new_vec; std::cout << "back_vec_with_negtf = " << std::endl << back_vec << std::endl; std::cout << " R = " << std::endl << tf.matrix() << std::endl; //R same as tf std::cout << " tf = " << std::endl << tf.matrix() << std::endl; std::cout << " tf_neg = " << std::endl << tf_neg.matrix() << std::endl; //!!!Sumary = Rotate * ori_point + center; viewer->addLine (center, p_new ,255.0, 0, 0); viewer->addLine (center, obj_new , 0, 255.0, 0); std::cout << " center = " << center_vec << std::endl; std::cout << " after_rotate_center_with_neg= " << after_rotate_center_with_neg << std::endl; #endif } void region_growing(PCT::Ptr i_cloud, int want_seg_ind ,PCT::Ptr o_cloud){ PCT::Ptr cloud (new PCT); PCT::Ptr cloud_vg (new PCT); std::cout << "i_cloud size = " << i_cloud->size() << std::endl; pcl::VoxelGrid<PT> vg; vg.setInputCloud (i_cloud); vg.setLeafSize (0.01f, 0.01f, 0.01f); vg.filter (*cloud_vg); std::cout << "after vg size = " << cloud_vg->size() << std::endl; #ifdef SaveCloud write_pcd_2_rospack(cloud_vg,"_vg.pcd"); #endif *cloud = *cloud_vg; //*cloud = *i_cloud; pcl::search::Search<PT>::Ptr tree = boost::shared_ptr<pcl::search::Search<PT> > (new pcl::search::KdTree<PT>); pcl::PointCloud <pcl::Normal>::Ptr normals (new pcl::PointCloud <pcl::Normal>); pcl::NormalEstimation<PT, pcl::Normal> normal_estimator; normal_estimator.setSearchMethod (tree); normal_estimator.setInputCloud (cloud); normal_estimator.setKSearch (50); normal_estimator.compute (*normals); pcl::IndicesPtr indices (new std::vector <int>); pcl::PassThrough<PT> pass; pass.setInputCloud (cloud); pass.setFilterFieldName ("z"); pass.setFilterLimits (0.0, 1.0); pass.filter (*indices); pcl::RegionGrowing<PT, pcl::Normal> reg; // reg.setMinClusterSize (50); // reg.setMaxClusterSize (1000000); reg.setMinClusterSize (cloud->points.size () * 0.1); reg.setMaxClusterSize (cloud->points.size ()); reg.setSearchMethod (tree); reg.setNumberOfNeighbours (30); reg.setInputCloud (cloud); //reg.setIndices (indices); reg.setInputNormals (normals); reg.setSmoothnessThreshold (3.0 / 180.0 * M_PI); reg.setCurvatureThreshold (1.0); std::vector <pcl::PointIndices> clusters; reg.extract (clusters); std::cout << "Number of clusters is equal to " << clusters.size () << std::endl; std::cout << "First cluster has " << clusters[0].indices.size () << " points." << endl; std::cout << "These are the indices of the points of the initial" << std::endl << "cloud that belong to the first cluster:" << std::endl; //PCT::Ptr cloud_extract(new PCT); //PCT::Ptr cloud_f(new PCT); int i = 0; for (std::vector<pcl::PointIndices>::const_iterator it = clusters.begin (); it != clusters.end (); ++it) { PCT::Ptr cloud_cluster (new PCT); for (std::vector<int>::const_iterator pit = it->indices.begin (); pit != it->indices.end (); ++pit) cloud_cluster->points.push_back (cloud->points[*pit]); //* cloud_cluster->width = cloud_cluster->points.size (); cloud_cluster->height = 1; cloud_cluster->is_dense = true; std::cout << "PointCloud representing the Cluster: " << cloud_cluster->points.size () << " data points." << std::endl; #ifdef SaveCloud std::stringstream ss; ss << "_" << i << "_rg_cluster.pcd"; write_pcd_2_rospack(cloud_cluster,ss.str()); #endif if(i == want_seg_ind){ *o_cloud = *cloud_cluster; std::cout << "Use _cluster_" << i << "_plane"; } i++; // PT p = getCenter(cloud_cluster); // float dis = pcl::euclideanDistance(PT(0,0,0), p); //std::cout << p << ", distance = " << dis << std::endl; } std::cout << "region_growing FINISH" << std::endl; }
ec727bf32cd254b64f3859edc27d8cc998dd6a8c
51819345c6569587e28393a5df12afa34fd7595f
/ui_qhairprocessing.h
7f02823713df5d09c3e80d30443ba6e38cd2bbea
[]
no_license
000ddd00dd0d/Hair-Tracing
0f82aed18595728266b875e266d44a856db7a3ad
9b342780f748083b788725b231a6dde4a0a16a2a
refs/heads/master
2021-01-13T10:15:17.182301
2017-02-08T08:48:49
2017-02-08T08:48:49
69,742,699
5
2
null
null
null
null
UTF-8
C++
false
false
23,117
h
ui_qhairprocessing.h
/******************************************************************************** ** Form generated from reading UI file 'qhairprocessing.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_QHAIRPROCESSING_H #define UI_QHAIRPROCESSING_H #include <QtCore/QVariant> #include <QtWidgets/QAction> #include <QtWidgets/QApplication> #include <QtWidgets/QButtonGroup> #include <QtWidgets/QGridLayout> #include <QtWidgets/QHBoxLayout> #include <QtWidgets/QHeaderView> #include <QtWidgets/QLabel> #include <QtWidgets/QMainWindow> #include <QtWidgets/QMenuBar> #include <QtWidgets/QPushButton> #include <QtWidgets/QSpacerItem> #include <QtWidgets/QStatusBar> #include <QtWidgets/QTabWidget> #include <QtWidgets/QToolBar> #include <QtWidgets/QWidget> QT_BEGIN_NAMESPACE class Ui_QHairProcessingClass { public: QAction *actionLoad_File; QWidget *centralWidget; QHBoxLayout *horizontalLayout_2; QGridLayout *gridLayout; QPushButton *backButton; QPushButton *resetButton; QPushButton *mattingButton; QPushButton *foreButton; QSpacerItem *verticalSpacer; QPushButton *gaborButton; QPushButton *tracingButton; QTabWidget *tabWidget; QWidget *tabOrigin; QHBoxLayout *horizontalLayout_5; QSpacerItem *horizontalSpacer_7; QLabel *labelOrigin; QSpacerItem *horizontalSpacer_8; QWidget *tabTrimap; QHBoxLayout *horizontalLayout; QSpacerItem *horizontalSpacer; QLabel *labelTrimap; QSpacerItem *horizontalSpacer_2; QWidget *tabRough; QHBoxLayout *horizontalLayout_3; QSpacerItem *horizontalSpacer_3; QLabel *labelRough; QSpacerItem *horizontalSpacer_4; QWidget *tabWatershed; QHBoxLayout *horizontalLayout_4; QSpacerItem *horizontalSpacer_5; QLabel *labelWatershed; QSpacerItem *horizontalSpacer_6; QTabWidget *tabWidget_2; QWidget *tabHair; QHBoxLayout *horizontalLayout_6; QSpacerItem *horizontalSpacer_9; QLabel *labelHair; QSpacerItem *horizontalSpacer_10; QWidget *tabAlpha; QHBoxLayout *horizontalLayout_7; QSpacerItem *horizontalSpacer_11; QLabel *labelAlpha; QSpacerItem *horizontalSpacer_12; QTabWidget *tabWidget_3; QWidget *tabInput1; QHBoxLayout *horizontalLayout_8; QSpacerItem *horizontalSpacer_13; QLabel *labelInput1; QSpacerItem *horizontalSpacer_14; QWidget *tabGabor1; QHBoxLayout *horizontalLayout_9; QSpacerItem *horizontalSpacer_15; QLabel *labelGabor1; QSpacerItem *horizontalSpacer_16; QWidget *tabInput2; QHBoxLayout *horizontalLayout_10; QSpacerItem *horizontalSpacer_17; QLabel *labelInput2; QSpacerItem *horizontalSpacer_18; QWidget *tabGabor2; QHBoxLayout *horizontalLayout_11; QSpacerItem *horizontalSpacer_20; QLabel *labelGabor2; QSpacerItem *horizontalSpacer_19; QWidget *tabTracing; QHBoxLayout *horizontalLayout_12; QSpacerItem *horizontalSpacer_22; QLabel *labelTracing; QSpacerItem *horizontalSpacer_21; QWidget *tabResult; QHBoxLayout *horizontalLayout_13; QSpacerItem *horizontalSpacer_24; QLabel *labelResult; QSpacerItem *horizontalSpacer_23; QMenuBar *menuBar; QToolBar *mainToolBar; QStatusBar *statusBar; void setupUi(QMainWindow *QHairProcessingClass) { if (QHairProcessingClass->objectName().isEmpty()) QHairProcessingClass->setObjectName(QStringLiteral("QHairProcessingClass")); QHairProcessingClass->resize(839, 414); actionLoad_File = new QAction(QHairProcessingClass); actionLoad_File->setObjectName(QStringLiteral("actionLoad_File")); centralWidget = new QWidget(QHairProcessingClass); centralWidget->setObjectName(QStringLiteral("centralWidget")); horizontalLayout_2 = new QHBoxLayout(centralWidget); horizontalLayout_2->setSpacing(6); horizontalLayout_2->setContentsMargins(11, 11, 11, 11); horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2")); gridLayout = new QGridLayout(); gridLayout->setSpacing(6); gridLayout->setObjectName(QStringLiteral("gridLayout")); backButton = new QPushButton(centralWidget); backButton->setObjectName(QStringLiteral("backButton")); gridLayout->addWidget(backButton, 1, 0, 1, 1); resetButton = new QPushButton(centralWidget); resetButton->setObjectName(QStringLiteral("resetButton")); gridLayout->addWidget(resetButton, 2, 0, 1, 1); mattingButton = new QPushButton(centralWidget); mattingButton->setObjectName(QStringLiteral("mattingButton")); gridLayout->addWidget(mattingButton, 3, 0, 1, 1); foreButton = new QPushButton(centralWidget); foreButton->setObjectName(QStringLiteral("foreButton")); gridLayout->addWidget(foreButton, 0, 0, 1, 1); verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); gridLayout->addItem(verticalSpacer, 6, 0, 1, 1); gaborButton = new QPushButton(centralWidget); gaborButton->setObjectName(QStringLiteral("gaborButton")); gridLayout->addWidget(gaborButton, 4, 0, 1, 1); tracingButton = new QPushButton(centralWidget); tracingButton->setObjectName(QStringLiteral("tracingButton")); gridLayout->addWidget(tracingButton, 5, 0, 1, 1); horizontalLayout_2->addLayout(gridLayout); tabWidget = new QTabWidget(centralWidget); tabWidget->setObjectName(QStringLiteral("tabWidget")); tabWidget->setDocumentMode(false); tabWidget->setMovable(true); tabWidget->setTabBarAutoHide(false); tabOrigin = new QWidget(); tabOrigin->setObjectName(QStringLiteral("tabOrigin")); horizontalLayout_5 = new QHBoxLayout(tabOrigin); horizontalLayout_5->setSpacing(6); horizontalLayout_5->setContentsMargins(11, 11, 11, 11); horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5")); horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_5->addItem(horizontalSpacer_7); labelOrigin = new QLabel(tabOrigin); labelOrigin->setObjectName(QStringLiteral("labelOrigin")); horizontalLayout_5->addWidget(labelOrigin); horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_5->addItem(horizontalSpacer_8); tabWidget->addTab(tabOrigin, QString()); tabTrimap = new QWidget(); tabTrimap->setObjectName(QStringLiteral("tabTrimap")); horizontalLayout = new QHBoxLayout(tabTrimap); horizontalLayout->setSpacing(6); horizontalLayout->setContentsMargins(11, 11, 11, 11); horizontalLayout->setObjectName(QStringLiteral("horizontalLayout")); horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout->addItem(horizontalSpacer); labelTrimap = new QLabel(tabTrimap); labelTrimap->setObjectName(QStringLiteral("labelTrimap")); horizontalLayout->addWidget(labelTrimap); horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout->addItem(horizontalSpacer_2); tabWidget->addTab(tabTrimap, QString()); tabRough = new QWidget(); tabRough->setObjectName(QStringLiteral("tabRough")); horizontalLayout_3 = new QHBoxLayout(tabRough); horizontalLayout_3->setSpacing(6); horizontalLayout_3->setContentsMargins(11, 11, 11, 11); horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3")); horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_3->addItem(horizontalSpacer_3); labelRough = new QLabel(tabRough); labelRough->setObjectName(QStringLiteral("labelRough")); horizontalLayout_3->addWidget(labelRough); horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_3->addItem(horizontalSpacer_4); tabWidget->addTab(tabRough, QString()); tabWatershed = new QWidget(); tabWatershed->setObjectName(QStringLiteral("tabWatershed")); horizontalLayout_4 = new QHBoxLayout(tabWatershed); horizontalLayout_4->setSpacing(6); horizontalLayout_4->setContentsMargins(11, 11, 11, 11); horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4")); horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_4->addItem(horizontalSpacer_5); labelWatershed = new QLabel(tabWatershed); labelWatershed->setObjectName(QStringLiteral("labelWatershed")); horizontalLayout_4->addWidget(labelWatershed); horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_4->addItem(horizontalSpacer_6); tabWidget->addTab(tabWatershed, QString()); horizontalLayout_2->addWidget(tabWidget); tabWidget_2 = new QTabWidget(centralWidget); tabWidget_2->setObjectName(QStringLiteral("tabWidget_2")); tabWidget_2->setDocumentMode(false); tabWidget_2->setMovable(true); tabHair = new QWidget(); tabHair->setObjectName(QStringLiteral("tabHair")); horizontalLayout_6 = new QHBoxLayout(tabHair); horizontalLayout_6->setSpacing(6); horizontalLayout_6->setContentsMargins(11, 11, 11, 11); horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6")); horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_6->addItem(horizontalSpacer_9); labelHair = new QLabel(tabHair); labelHair->setObjectName(QStringLiteral("labelHair")); horizontalLayout_6->addWidget(labelHair); horizontalSpacer_10 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_6->addItem(horizontalSpacer_10); tabWidget_2->addTab(tabHair, QString()); tabAlpha = new QWidget(); tabAlpha->setObjectName(QStringLiteral("tabAlpha")); horizontalLayout_7 = new QHBoxLayout(tabAlpha); horizontalLayout_7->setSpacing(6); horizontalLayout_7->setContentsMargins(11, 11, 11, 11); horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7")); horizontalSpacer_11 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_7->addItem(horizontalSpacer_11); labelAlpha = new QLabel(tabAlpha); labelAlpha->setObjectName(QStringLiteral("labelAlpha")); horizontalLayout_7->addWidget(labelAlpha); horizontalSpacer_12 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_7->addItem(horizontalSpacer_12); tabWidget_2->addTab(tabAlpha, QString()); horizontalLayout_2->addWidget(tabWidget_2); tabWidget_3 = new QTabWidget(centralWidget); tabWidget_3->setObjectName(QStringLiteral("tabWidget_3")); tabWidget_3->setTabsClosable(false); tabWidget_3->setMovable(true); tabWidget_3->setTabBarAutoHide(false); tabInput1 = new QWidget(); tabInput1->setObjectName(QStringLiteral("tabInput1")); horizontalLayout_8 = new QHBoxLayout(tabInput1); horizontalLayout_8->setSpacing(6); horizontalLayout_8->setContentsMargins(11, 11, 11, 11); horizontalLayout_8->setObjectName(QStringLiteral("horizontalLayout_8")); horizontalSpacer_13 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_8->addItem(horizontalSpacer_13); labelInput1 = new QLabel(tabInput1); labelInput1->setObjectName(QStringLiteral("labelInput1")); horizontalLayout_8->addWidget(labelInput1); horizontalSpacer_14 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_8->addItem(horizontalSpacer_14); tabWidget_3->addTab(tabInput1, QString()); tabGabor1 = new QWidget(); tabGabor1->setObjectName(QStringLiteral("tabGabor1")); horizontalLayout_9 = new QHBoxLayout(tabGabor1); horizontalLayout_9->setSpacing(6); horizontalLayout_9->setContentsMargins(11, 11, 11, 11); horizontalLayout_9->setObjectName(QStringLiteral("horizontalLayout_9")); horizontalSpacer_15 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_9->addItem(horizontalSpacer_15); labelGabor1 = new QLabel(tabGabor1); labelGabor1->setObjectName(QStringLiteral("labelGabor1")); horizontalLayout_9->addWidget(labelGabor1); horizontalSpacer_16 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_9->addItem(horizontalSpacer_16); tabWidget_3->addTab(tabGabor1, QString()); tabInput2 = new QWidget(); tabInput2->setObjectName(QStringLiteral("tabInput2")); horizontalLayout_10 = new QHBoxLayout(tabInput2); horizontalLayout_10->setSpacing(6); horizontalLayout_10->setContentsMargins(11, 11, 11, 11); horizontalLayout_10->setObjectName(QStringLiteral("horizontalLayout_10")); horizontalSpacer_17 = new QSpacerItem(67, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_10->addItem(horizontalSpacer_17); labelInput2 = new QLabel(tabInput2); labelInput2->setObjectName(QStringLiteral("labelInput2")); horizontalLayout_10->addWidget(labelInput2); horizontalSpacer_18 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_10->addItem(horizontalSpacer_18); tabWidget_3->addTab(tabInput2, QString()); tabGabor2 = new QWidget(); tabGabor2->setObjectName(QStringLiteral("tabGabor2")); horizontalLayout_11 = new QHBoxLayout(tabGabor2); horizontalLayout_11->setSpacing(6); horizontalLayout_11->setContentsMargins(11, 11, 11, 11); horizontalLayout_11->setObjectName(QStringLiteral("horizontalLayout_11")); horizontalSpacer_20 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_11->addItem(horizontalSpacer_20); labelGabor2 = new QLabel(tabGabor2); labelGabor2->setObjectName(QStringLiteral("labelGabor2")); horizontalLayout_11->addWidget(labelGabor2); horizontalSpacer_19 = new QSpacerItem(67, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_11->addItem(horizontalSpacer_19); tabWidget_3->addTab(tabGabor2, QString()); tabTracing = new QWidget(); tabTracing->setObjectName(QStringLiteral("tabTracing")); horizontalLayout_12 = new QHBoxLayout(tabTracing); horizontalLayout_12->setSpacing(6); horizontalLayout_12->setContentsMargins(11, 11, 11, 11); horizontalLayout_12->setObjectName(QStringLiteral("horizontalLayout_12")); horizontalSpacer_22 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_12->addItem(horizontalSpacer_22); labelTracing = new QLabel(tabTracing); labelTracing->setObjectName(QStringLiteral("labelTracing")); horizontalLayout_12->addWidget(labelTracing); horizontalSpacer_21 = new QSpacerItem(63, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_12->addItem(horizontalSpacer_21); tabWidget_3->addTab(tabTracing, QString()); tabResult = new QWidget(); tabResult->setObjectName(QStringLiteral("tabResult")); horizontalLayout_13 = new QHBoxLayout(tabResult); horizontalLayout_13->setSpacing(6); horizontalLayout_13->setContentsMargins(11, 11, 11, 11); horizontalLayout_13->setObjectName(QStringLiteral("horizontalLayout_13")); horizontalSpacer_24 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_13->addItem(horizontalSpacer_24); labelResult = new QLabel(tabResult); labelResult->setObjectName(QStringLiteral("labelResult")); horizontalLayout_13->addWidget(labelResult); horizontalSpacer_23 = new QSpacerItem(67, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_13->addItem(horizontalSpacer_23); tabWidget_3->addTab(tabResult, QString()); horizontalLayout_2->addWidget(tabWidget_3); QHairProcessingClass->setCentralWidget(centralWidget); tabWidget_3->raise(); tabWidget->raise(); tabWidget_2->raise(); menuBar = new QMenuBar(QHairProcessingClass); menuBar->setObjectName(QStringLiteral("menuBar")); menuBar->setGeometry(QRect(0, 0, 839, 26)); QHairProcessingClass->setMenuBar(menuBar); mainToolBar = new QToolBar(QHairProcessingClass); mainToolBar->setObjectName(QStringLiteral("mainToolBar")); QHairProcessingClass->addToolBar(Qt::TopToolBarArea, mainToolBar); statusBar = new QStatusBar(QHairProcessingClass); statusBar->setObjectName(QStringLiteral("statusBar")); QHairProcessingClass->setStatusBar(statusBar); QWidget::setTabOrder(foreButton, backButton); QWidget::setTabOrder(backButton, resetButton); QWidget::setTabOrder(resetButton, mattingButton); QWidget::setTabOrder(mattingButton, gaborButton); QWidget::setTabOrder(gaborButton, tracingButton); QWidget::setTabOrder(tracingButton, tabWidget); QWidget::setTabOrder(tabWidget, tabWidget_2); QWidget::setTabOrder(tabWidget_2, tabWidget_3); retranslateUi(QHairProcessingClass); QObject::connect(backButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(setBackground())); QObject::connect(foreButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(setForeground())); QObject::connect(resetButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(reset())); QObject::connect(mattingButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(matting())); QObject::connect(gaborButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(gaborFilter())); QObject::connect(tracingButton, SIGNAL(clicked()), QHairProcessingClass, SLOT(tracingProcess())); tabWidget->setCurrentIndex(0); tabWidget_2->setCurrentIndex(0); tabWidget_3->setCurrentIndex(0); QMetaObject::connectSlotsByName(QHairProcessingClass); } // setupUi void retranslateUi(QMainWindow *QHairProcessingClass) { QHairProcessingClass->setWindowTitle(QApplication::translate("QHairProcessingClass", "QHairProcessing", 0)); actionLoad_File->setText(QApplication::translate("QHairProcessingClass", "Load New File", 0)); backButton->setText(QApplication::translate("QHairProcessingClass", "Background", 0)); backButton->setShortcut(QApplication::translate("QHairProcessingClass", "B", 0)); resetButton->setText(QApplication::translate("QHairProcessingClass", "Reset", 0)); resetButton->setShortcut(QApplication::translate("QHairProcessingClass", "R", 0)); mattingButton->setText(QApplication::translate("QHairProcessingClass", "Matting", 0)); mattingButton->setShortcut(QApplication::translate("QHairProcessingClass", "M", 0)); foreButton->setText(QApplication::translate("QHairProcessingClass", "Foreground", 0)); foreButton->setShortcut(QApplication::translate("QHairProcessingClass", "F", 0)); gaborButton->setText(QApplication::translate("QHairProcessingClass", "Gabor Filter", 0)); tracingButton->setText(QApplication::translate("QHairProcessingClass", "Tracing", 0)); labelOrigin->setText(QApplication::translate("QHairProcessingClass", "Origin", 0)); tabWidget->setTabText(tabWidget->indexOf(tabOrigin), QApplication::translate("QHairProcessingClass", "Origin", 0)); labelTrimap->setText(QApplication::translate("QHairProcessingClass", "Trimap", 0)); tabWidget->setTabText(tabWidget->indexOf(tabTrimap), QApplication::translate("QHairProcessingClass", "Trimap", 0)); labelRough->setText(QApplication::translate("QHairProcessingClass", "Rough", 0)); tabWidget->setTabText(tabWidget->indexOf(tabRough), QApplication::translate("QHairProcessingClass", "Rough", 0)); labelWatershed->setText(QApplication::translate("QHairProcessingClass", "Watershed", 0)); tabWidget->setTabText(tabWidget->indexOf(tabWatershed), QApplication::translate("QHairProcessingClass", "Watershed", 0)); labelHair->setText(QApplication::translate("QHairProcessingClass", "Hair", 0)); tabWidget_2->setTabText(tabWidget_2->indexOf(tabHair), QApplication::translate("QHairProcessingClass", "Hair", 0)); labelAlpha->setText(QApplication::translate("QHairProcessingClass", "Alpha", 0)); tabWidget_2->setTabText(tabWidget_2->indexOf(tabAlpha), QApplication::translate("QHairProcessingClass", "Alpha", 0)); labelInput1->setText(QApplication::translate("QHairProcessingClass", "Input1", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabInput1), QApplication::translate("QHairProcessingClass", "Input1", 0)); labelGabor1->setText(QApplication::translate("QHairProcessingClass", "Gabor1", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabGabor1), QApplication::translate("QHairProcessingClass", "Gabor1", 0)); labelInput2->setText(QApplication::translate("QHairProcessingClass", "Input2", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabInput2), QApplication::translate("QHairProcessingClass", "Input2", 0)); labelGabor2->setText(QApplication::translate("QHairProcessingClass", "Gabor2", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabGabor2), QApplication::translate("QHairProcessingClass", "Gabor2", 0)); labelTracing->setText(QApplication::translate("QHairProcessingClass", "Tracing", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabTracing), QApplication::translate("QHairProcessingClass", "Tracing", 0)); labelResult->setText(QApplication::translate("QHairProcessingClass", "Result", 0)); tabWidget_3->setTabText(tabWidget_3->indexOf(tabResult), QApplication::translate("QHairProcessingClass", "Result", 0)); } // retranslateUi }; namespace Ui { class QHairProcessingClass: public Ui_QHairProcessingClass {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_QHAIRPROCESSING_H
b7e39d96257122c6dbc44c3aba150ec6d46d408a
bd41a6bb250ea6b2b62bd49db3644e2a1e43bf77
/include/RCE-Error.hpp
657140cf6ea8cba364251c3a269c15c06f4371e8
[]
no_license
Aalexdev/Ray-caster-engine
ea36d9bd4750f6fef2668f8241f57a28b7dc9a40
da1a50e663cbae524986ec38973a164e877987f5
refs/heads/master
2023-06-28T16:41:37.435392
2021-08-04T19:15:52
2021-08-04T19:15:52
390,816,778
1
0
null
null
null
null
UTF-8
C++
false
false
3,119
hpp
RCE-Error.hpp
#ifndef __RCE_ERROR__HPP__ #define __RCE_ERROR__HPP__ #include "RCE-begin_code.hpp" #include <iostream> namespace RCE{ namespace error{ enum Type{ ERR_invalid_error, // libs init ERR_SDL2_image_init, ERR_SDL2_ttf_init, ERR_SDL2_mixer_init, ERR_SDL2_gpu_init, ERR_SDL2_window_init, ERR_SDL2_CreateWindow }; /** * @brief convert an error type into a string error * * @param type the error type * @return std::string */ extern DECLSPEC RCECALL std::string typeToErr(Type type); } class Error{ public: Error(); Error(std::string function, std::string error, std::string reason, error::Type type); ~Error(); /** * @brief return the function where the error happened * @return the name of the faulty function */ const std::string function(void) const; /** * @brief return the function where the error happened * @return the name of the faulty function * @sa function */ const std::string func(void) const; /** * @brief get the error details * @return return precisions about the error */ const std::string error(void) const; /** * @brief get the error details * @return return precisions about the error * @sa error */ const std::string err(void) const; /** * @brief get the reason of the error * @return return the reason of return */ const std::string reason(void) const; /** * @brief get the reason of the error * @return return the reason of return * @sa reason */ const std::string what(void) const; /** * @brief get the reason of the error * @return return the reason of return * @sa reason */ const std::string why(void) const; /** * @brief get the type of error * @return return the type of the error */ const error::Type type(void) const; /** * @brief print the error into the input stream * */ void print(std::ostream &stream) const; private: std::string _function; std::string _error; std::string _reason; error::Type _type; }; } #endif
b65d968b081b3184215c8303b406a29db4eedc67
c26217ed80420f1245ef0f2224434520ffc9ed8d
/w3/VREME-0Evidencija/main.cpp
a53184fc9a1328677447bb645a33783dd21a9368
[]
no_license
acorovic/operativni_sistemi
e52453d5cfe3d76c601fe441a91afd67751d5f00
60f2706571c73b8f54942b3e7442a7535bfe9925
refs/heads/master
2021-01-18T21:23:05.880283
2016-05-23T10:05:23
2016-05-23T10:05:23
53,074,865
1
0
null
null
null
null
UTF-8
C++
false
false
1,708
cpp
main.cpp
/* Napraviti konkurentni program koji pronalazi element najblizi 0 iz zadatog niza brojeva. Posao podeliti u 3 toka izvrsavanja. Niz treba da sadrzi 900000 elemenata. Elementi su pseudoslucajni brojevi dobijeni pozivom funkcije rand(). Za svaki tok izvrsavanja, evidentirati trenutke kada je izvrsavanje pocelo i kada je zavrsilo. Na kraju programa, ispisati koliko je trajalo izvrsavanje svakog toka izvrsavanja. */ #include <iostream> #include <thread> #include <vector> #include <cmath> using namespace std; using namespace chrono; struct vreme{ system_clock::time_point pocetak; system_clock::time_point kraj;}; void f(double *start, int brIteracija, double &najblizi, vreme &vremeIzvrsavanja) { najblizi = *start; vremeIzvrsavanja.pocetak = system_clock::now(); for(int i = 1; i < brIteracija; i++) if(abs(najblizi) > abs(start[i])) najblizi = start[i]; vremeIzvrsavanja.kraj = system_clock::now(); } const int brNiti = 3; const int brClanova = 90000; int main() { vector<vreme> vremenaIzvrsavanja(brNiti); thread niti[brNiti]; double niz[brClanova]; for(int i = 0; i < brClanova; i++) niz[i] = rand(); double najblizi[brNiti]; for(int i = 0; i < brNiti; i++) niti[i] = thread(f, niz + i*brClanova/brNiti, brClanova/brNiti, ref(najblizi[i]), ref(vremenaIzvrsavanja[i])); for(int i = 0; i < brNiti; i++) niti[i].join(); for(int i = 0; i < brNiti; i++) { duration<double,milli> temp = vremenaIzvrsavanja[i].kraj - vremenaIzvrsavanja[i].pocetak; cout << "nit " << i+1 << " se izvrsavala " << temp.count() << " "<< najblizi[i] << endl; } return 0; }
50f1a9219d84e7fd88bce5be9ab8c53f2f8b15d8
a0408d7447ad61283dc34f12cd980db4d280729c
/src/sim/SettingsMouseAlgos.cpp
4cc3ad23b85a3fe2ce3a34b64cc9853adf99eb1c
[ "MIT" ]
permissive
gbalke/mms
f4d3b51f6f978077b28972e797910defe1e26f1f
f8e7209b7ee1242711c038437947f1b8602f5eec
refs/heads/master
2020-03-10T05:07:47.010284
2018-03-25T18:20:13
2018-03-25T18:20:13
129,210,013
0
1
null
null
null
null
UTF-8
C++
false
false
3,642
cpp
SettingsMouseAlgos.cpp
#include "SettingsMouseAlgos.h" #include "Assert.h" #include "ConfigDialog.h" #include "ConfigDialogField.h" #include "Settings.h" namespace mms { const QString SettingsMouseAlgos::GROUP = "mouseAlgos"; const QString SettingsMouseAlgos::KEY_NAME = "name"; const QString SettingsMouseAlgos::KEY_DIR_PATH = "dirPath"; const QString SettingsMouseAlgos::KEY_BUILD_COMMAND = "buildCommand"; const QString SettingsMouseAlgos::KEY_RUN_COMMAND = "runCommand"; const QString SettingsMouseAlgos::KEY_MOUSE_FILE_PATH_COMBO_BOX_VALUE = "mouseFilePathComboBoxValue"; const QString SettingsMouseAlgos::KEY_MOUSE_FILE_PATH_LINE_EDIT_VALUE = "mouseFilePathLineEditValue"; const QString SettingsMouseAlgos::KEY_MOUSE_FILE_PATH_COMBO_BOX_SELECTED = "mouseFilePathComboBoxSelected"; QStringList SettingsMouseAlgos::names() { return Settings::get()->values(GROUP, KEY_NAME); } QString SettingsMouseAlgos::getDirPath(const QString& name) { return getValue(name, KEY_DIR_PATH); } QString SettingsMouseAlgos::getBuildCommand(const QString& name) { return getValue(name, KEY_BUILD_COMMAND); } QString SettingsMouseAlgos::getRunCommand(const QString& name) { return getValue(name, KEY_RUN_COMMAND); } QString SettingsMouseAlgos::getMouseFilePathComboBoxValue(const QString& name) { return getValue(name, KEY_MOUSE_FILE_PATH_COMBO_BOX_VALUE); } QString SettingsMouseAlgos::getMouseFilePathLineEditValue(const QString& name) { return getValue(name, KEY_MOUSE_FILE_PATH_LINE_EDIT_VALUE); } bool SettingsMouseAlgos::getMouseFilePathComboBoxSelected(const QString& name) { return getValue(name, KEY_MOUSE_FILE_PATH_COMBO_BOX_SELECTED) == "true"; } void SettingsMouseAlgos::add( const QString& name, const QString& dirPath, const QString& buildCommand, const QString& runCommand, const QString& mouseFilePathComboBoxValue, const QString& mouseFilePathLineEditValue, bool mouseFilePathComboBoxSelected ) { Settings::get()->add(GROUP, { {KEY_NAME, name}, {KEY_DIR_PATH, dirPath}, {KEY_BUILD_COMMAND, buildCommand}, {KEY_RUN_COMMAND, runCommand}, {KEY_MOUSE_FILE_PATH_COMBO_BOX_VALUE, mouseFilePathComboBoxValue}, {KEY_MOUSE_FILE_PATH_LINE_EDIT_VALUE, mouseFilePathLineEditValue}, { KEY_MOUSE_FILE_PATH_COMBO_BOX_SELECTED, mouseFilePathComboBoxSelected ? "true" : "false" }, }); } void SettingsMouseAlgos::update( const QString& name, const QString& newName, const QString& newDirPath, const QString& newBuildCommand, const QString& newRunCommand, const QString& newMouseFilePathComboBoxValue, const QString& newMouseFilePathLineEditValue, bool newMouseFilePathComboBoxSelected ) { Settings::get()->update(GROUP, KEY_NAME, name, { {KEY_NAME, newName}, {KEY_DIR_PATH, newDirPath}, {KEY_BUILD_COMMAND, newBuildCommand}, {KEY_RUN_COMMAND, newRunCommand}, {KEY_MOUSE_FILE_PATH_COMBO_BOX_VALUE, newMouseFilePathComboBoxValue}, {KEY_MOUSE_FILE_PATH_LINE_EDIT_VALUE, newMouseFilePathLineEditValue}, { KEY_MOUSE_FILE_PATH_COMBO_BOX_SELECTED, newMouseFilePathComboBoxSelected ? "true" : "false" }, }); } void SettingsMouseAlgos::remove(const QString& name) { Settings::get()->remove( GROUP, KEY_NAME, name ); } QString SettingsMouseAlgos::getValue(const QString& name, const QString& key) { const auto& vector = Settings::get()->find(GROUP, KEY_NAME, name); return (vector.size() == 0 ? "" : vector.at(0).value(key)); } } //namespace mms
2b04d7475de396517ae279314b7aa2eb108bc070
1abda5c7adc4dcbee7c7111749785d819985cdf8
/Protocols/asciidecorator.h
10e3eda9423ea4a3a8c6447caeb82474301c8d63
[]
no_license
519984307/PLC_Config
70b2bc74366894f5a0535a3a382bb5570deb19bc
c9bb5065d49e92d49a9e20bcfaf2d7d88baf926a
refs/heads/master
2023-03-16T05:51:32.255079
2018-07-24T08:11:38
2018-07-24T08:11:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
564
h
asciidecorator.h
#ifndef ASCIIDECORATOR_H #define ASCIIDECORATOR_H // реализация декоратора команды - преобразование в ASCII #include "commanddecorator.h" class AsciiDecorator : public CommandDecorator { public: explicit AsciiDecorator(CommandInterface* cmd); bool form(Request &req); bool waitAnAnswer(Request &req, QIODevice &io); bool checkAnAnswer(Request &req); ~AsciiDecorator(); private: static bool convertToAscii(Request &req); static bool convertToBin(Request &req); }; #endif // ASCIIDECORATOR_H
ff1baab2800a4768ed0d3762cfba8a6496d96b50
fb0cc37a92ad1fbcbb4fb5750a75bcb200416ce7
/src/LeadingParameter.h
ae5b44a87ecf25af83c4cbf2f2c5ef1828e8701f
[]
no_license
cgrandin/oocam
1c740d07d685483ca808c75a159066c44d6a03c7
e801a8ca9b394dd98f759dc9ec0698960eb83640
refs/heads/master
2020-06-09T05:37:05.772862
2015-05-28T19:44:27
2015-05-28T19:44:27
19,587,328
0
0
null
null
null
null
UTF-8
C++
false
false
557
h
LeadingParameter.h
#include <admodel.h> #include "Prior.h" #ifndef _LEADINGPARAMETER_H #define _LEADINGPARAMETER_H class LeadingParameter{ private: adstring m_name; data_number m_ival; data_number m_lb; data_number m_ub; data_int m_phz; Prior *m_prior; public: LeadingParameter(); ~LeadingParameter(); void allocate(adstring name); /* dvariable get_ival(); void set_ival(dvariable ival); dvariable get_lb(); void set_lb(dvariable lb); dvariable get_ub(); void set_ub(dvariable ub); int get_phz(); void set_phz(int phz); */ }; #endif
073fdd6e6379fc3451b4e68da064c3251abdd3e5
6327f33bf75f96077ce505a0f8fb8d52bc4c1994
/school/test/confirmdialogmock.cpp
5865db0ef31269b81e70b1da490522f608ebb65a
[]
no_license
galgreg/SchoolStatistics
5f93ef238ab6123f733cf9925aa49df9ef227b65
aad3d9ddd3788471eeca7bf71844473f90d3ec50
refs/heads/master
2020-06-24T16:29:44.398719
2019-11-10T12:28:41
2019-11-10T12:28:41
199,015,298
0
0
null
null
null
null
UTF-8
C++
false
false
981
cpp
confirmdialogmock.cpp
#include "confirmdialogmock.h" ConfirmDialogMock::ConfirmDialogMock( const QString &defaultAction, const QString &defaultStudentName) noexcept : mActionString(defaultAction), mStudentName(defaultStudentName) { } void ConfirmDialogMock::showDialog() noexcept { } void ConfirmDialogMock::hideDialog() noexcept { } void ConfirmDialogMock::customizeDialogMessage( StudentDataAction actionToDo, const QString &studentName) noexcept { if (actionToDo == ADD_STUDENT) { mActionString = "add"; } else if (actionToDo == EDIT_STUDENT) { mActionString = "edit"; } else if (actionToDo == DELETE_STUDENT) { mActionString = "delete"; } else { mActionString = ""; } mStudentName = studentName; } QString ConfirmDialogMock::getCurrentActionString() noexcept { return mActionString; } QString ConfirmDialogMock::getCurrentStudentName() noexcept { return mStudentName; }
2354d48204736eca653c276008b43ffe0f7767a6
f6c0da54b6c8d869655198d5699140f84e4ce517
/Firmware-Arduino/src/barometer.h
875eb6ef46a34ce84ff6509d39ca2272c9f5fd54
[]
no_license
introlab/OpenIMU-MiniLogger
3b86dcb9e5e108c5c55e43d158a44d2788eda1a7
436f5e6caf2dea375c815e73e659914844934e61
refs/heads/master
2022-09-03T10:39:57.621431
2022-08-23T18:31:46
2022-08-23T18:31:46
126,327,562
34
15
null
2022-08-23T18:31:47
2018-03-22T11:50:32
C++
UTF-8
C++
false
false
322
h
barometer.h
#ifndef _BAROMETER_H_ #define _BAROMETER_H_ #include "defines.h" #include "MPL115A2.h" class Barometer { public: static Barometer* instance(); void getPT(float &p, float&t); private: static Barometer* _instance; Barometer(); MPL115A2 _mpl115A2; TaskHandle_t _baroTaskHandle; }; #endif
542b63b9f545b8fbdd435a32900e0d5bc97c5fc0
b7346d0bb304e993107a666562b18827cc5e58c3
/Team Flight/SimultaneusTransportationSIRModel/main.cpp
f18ec5e4b8cff4a69da9ad6c5816b3e223c20cd7
[]
no_license
lavneetpuri/Hackathon2020
0a60ca53ab33fb2a59d90206cd3f3b845921767e
fd1d73b7e7442a68a0bb03afceafc93a05a64c1b
refs/heads/master
2021-01-06T19:03:04.305152
2020-03-10T00:55:32
2020-03-10T00:55:32
241,451,810
0
0
null
2020-02-25T22:30:01
2020-02-18T19:43:27
HTML
UTF-8
C++
false
false
1,046
cpp
main.cpp
// // Created by george on 2020-02-18. // #include "csv_read.hpp" #include "model.hpp" #include <iostream> int main(int argc, char* argv[]) { constexpr auto k_data_confirmed_cases = "../data/novel-corona-virus-2019-dataset/time_series_2019_ncov_confirmed.csv"; constexpr auto k_data_deaths_cases = "../data/novel-corona-virus-2019-dataset/time_series_2019_ncov_deaths.csv"; constexpr auto k_data_recovered_cases = "../data/novel-corona-virus-2019-dataset/time_series_2019_ncov_recovered.csv"; auto confirmed_cases = extract_data_from_csv(k_data_confirmed_cases); auto deaths = extract_data_from_csv(k_data_deaths_cases); auto recovered = extract_data_from_csv(k_data_recovered_cases); auto show_imported_data = [](auto& filepath) { const auto read_csv = extract_data_from_csv(filepath); for(const auto& timepoint_counts: read_csv) { for(const auto& count: timepoint_counts) std::cout<<count<<", "; std::cout<<std::endl; } }; }
be16d670aef08752b5c9e3517232d5676b2e943b
9d3de53085816e0c9377a2bfa26c880b81936fb4
/conv.cpp
747b39bc74b7a208fef1fe5d1091cb428e58dd68
[]
no_license
nkirov/tif2fits
687eeafd9a12cf3feb33b5978b849fe6157b7ae2
79497926ae6be1feae3253b3819df2d7b1655ff3
refs/heads/master
2021-01-24T16:11:02.678650
2016-03-28T15:19:49
2016-03-28T15:19:49
8,161,620
0
0
null
null
null
null
UTF-8
C++
false
false
21,018
cpp
conv.cpp
#include <QFileInfo> #include "conv.h" Conv::Conv(QString f, QString f2, const Menu *menu) { qDebug() << "start Conv"; typef = "biiiibiibssssssssdssdssdssdsissssssdsssddssssisdddsiddiiddssssss"; //1234567890123456789012345678901234567890123456789012345678901234567890 fname = f; f2name = f2; // non "" for 2 plates cut = menu->wedge(); nameCo = menu->copyright(); flopp = menu->flop(); flipp = menu->flip(); t.start(); // time if (!readTif()) { qDebug() << "ERROR 1"; return; } if (menu->twoplates()) { if (!readHdr000(f2name)) { qDebug() << "ERROR f2name 2"; return; } if (!changeHdr()) { qDebug() << "ERROR 3"; return; } hdr2list = hdrlist; } if (!readHdr000(fname)) { qDebug() << "ERROR 2"; return; } if (!changeHdr()) { qDebug() << "ERROR 3"; return; } /* *********************************************************** */ if (menu->twoplates()) { // true for 2 plates in 1 tif + wedge if (!cutcutWriteFits()) { qDebug() << "ERROR cutcut 3"; return; } } else if (cut > 0) // for images with wedge!!! { if (menu->bigimage()) { // OK for POT015 !! (big images) ROZ200 ???? if (!cutWriteFits00()) { qDebug() << "ERROR 4"; return; } } else { if (menu->quadratic() == 0) { // OK for POT080 !! if (!cutWriteFits()) { qDebug() << "ERROR 5"; return; } } else { // for BUC016 !! if (!cutWriteFitsNonQuadratic(menu->quadratic())) { qDebug() << "ERROR 55555"; return; } } } } else // for images without wedge!!! { // Bamberg // flop(); // for Bamberg - HAR025B050263 if (menu->flop()) flop(); if (menu->flip()) flip(); // rotate(); // for Bamberg - BAM010C001397 if (menu->rotate()) { rotate(); if (!changeHdr()) { qDebug() << "ERROR 3333"; return; } } if (!writeHdr(fname)) { qDebug() << "ERROR 6"; return; } convertHdr(); swap(); if (!writeFits()) { qDebug() << "ERROR 7"; return; } } qint64 tms = t.elapsed(); // time qDebug() << "Time: " << tms; QTime t1(0,0,0); t1 = t1.addMSecs(tms); qDebug() << t1.toString(Qt::TextDate); qDebug() << "stop Conv"; } Conv::~Conv() { delete [] image; delete [] hdr; } /*************************************************/ int Conv::wedge_width() { qDebug() << "begin Conv::wedge_width()"; qDebug() << hdrlist[51].mid(9,19) << hdrlist[51].mid(9,19).toInt(); // dpi/254000*15000 int wedge_width = 15; // 20 mm if (cut == 1) wedge_width = 15; //15; else wedge_width = 20; int w = hdrlist[51].mid(9,19).toInt()*wedge_width/25.4; qDebug() << "end Conv::wedge_width()" << w; return w; } void Conv::swap() { qDebug() << "begin::swap()"; uint* num = new uint; char* ch = reinterpret_cast<char *>(num); char ch0; for(qint64 k = 0; k < imageSize; k++) { *num = image[k] - 32768; ch0 = ch[0]; ch[0] = ch[1]; ch[1] = ch0; image[k] = *num; } delete num; qDebug() << "end::swap()"; } void Conv::swap000(uint* im, int imSize) { qDebug() << "begin::swap()"; uint* num = new uint; char* ch = reinterpret_cast<char *>(num); char ch0; for(qint64 k = 0; k < imSize; k++) { *num = im[k] - 32768; ch0 = ch[0]; ch[0] = ch[1]; ch[1] = ch0; im[k] = *num; } delete num; qDebug() << "end::swap()"; } /*************************************************/ bool Conv::readTif() { qDebug() << "begin Conv::readTif"; QFile f(fname + ".tif"); if (!f.open(QFile::ReadOnly)) { qDebug() << "ERROR 1003"; return false; } char *ch; qint64* num4 = new qint64(0); ch = reinterpret_cast<char *>(num4); for (int i = 0; i < 2; i++) { f.getChar(&ch[0]); f.getChar(&ch[1]); f.getChar(&ch[2]); f.getChar(&ch[3]); qDebug() << "*num4=" << *num4; } image = new uint[*num4/2]; ch = reinterpret_cast<char *>(image); qDebug() << "f.pos" << f.pos() << "reading..."; f.read(ch, *num4 - 8); // OK qDebug() << "f.pos" << f.pos(); uint* num = new uint; ch = reinterpret_cast<char *>(num); for (int i = 0; i < 6; i++) { f.getChar(&ch[0]); f.getChar(&ch[1]); qDebug() << *num; } naxis1 = *num; for (int i = 0; i < 6; i++) { f.getChar(&ch[0]); f.getChar(&ch[1]); qDebug() << i << "->" << *num; } naxis2 = *num; imageSize = naxis1*naxis2; QFileInfo fi(f); qDebug() << fi.created() << fi.lastModified(); scan_date = fi.lastModified(); f.close(); delete num4; delete num; qDebug() << naxis1 << naxis2 << naxis1*naxis2*2; qDebug() << "end Conv::readTif"; return true; } /*************************************************/ // OK bool Conv::readHdr000(QString hdrname) { qDebug() << "begin Conv::readHdr000"; QFile f(hdrname + ".hdr"); qDebug() << hdrname + ".hdr"; if (!f.open(QFile::ReadOnly)) { qDebug() << "ERROR file -- missing!"; return false; } hdrlist.clear(); QTextStream text(&f); while (!text.atEnd()) { QString line = text.readLine(); while (line.length() < 80) line.append(" "); // qDebug() << line.length() << line; hdrlist << line; } f.close(); // remove DIR and END hdrlist.removeLast(); hdrlist.removeLast(); qDebug() << "end Conv::readHdr000 hdrlist.size()=" << hdrlist.size(); return true; } /****************************************************************/ void Conv::changeField(QString &field, int i) { if (typef[i] == 'b'|| typef[i] == 'i') while (field.length() < 19) field = " " + field; else if (typef[i] == 's') { if (field == "00:00:00") field = " "; while (field.length() < 16) field = field + " "; field = " '" + field + "'"; } else if (typef[i] == 'd') { field = field.replace(",", "."); double d = field.toDouble(); field = QString::number(d, 'E', 12); field = " " + field; } } void Conv::format(int i) { QString s = hdrlist[i]; int pos1 = s.indexOf('='); int pos2 = s.indexOf('/'); QString field = s.mid(pos1 + 1, pos2 - pos1 - 1); //qDebug() << s << field; field = field.remove("'"); while (!field.isEmpty() && field[0] == ' ') field = field.remove(0,1); while (!field.isEmpty() && field[field.length() - 1] == ' ') field = field.remove(field.length() - 1,1); changeField(field, i); //qDebug() << field; field = field + " "; s = s.replace(pos1 + 1, pos2 - pos1 - 1, field); while (s.length() > 80) s = s.remove(s.length() - 1, 1); while (s.length() < 80) s = s + " "; //qDebug() << s; hdrlist[i] = s; } // number x in line number n (n=3,4) void Conv::changeSize(int x, int n) { qDebug() << "begin Conv::changeSize " << x; QString s = hdrlist[n]; int pos1 = s.indexOf('='); int pos2 = s.indexOf('/'); QString field = QString::number(x) + " "; while (field.length() < 20) field = " " + field; s = s.replace(pos1 + 1, pos2 - pos1 - 1, field); hdrlist[n] = s; qDebug() << "end Conv::changeSize"; } bool Conv::changeHdr() { qDebug() << "begin Conv::changeHdr" << naxis1 << naxis2; // change sizes changeSize(naxis1, 3); changeSize(naxis2, 4); // replace 10.DATE (-1) qDebug() << hdrlist[9]; hdrlist[9].replace(10, 20, "'" + QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss")); qDebug() << hdrlist[9]; // replace 59.DATE-SCN (0), (14.FIELD -> 67) qDebug() << hdrlist[58]; hdrlist[58].replace(10, 20, "'" + scan_date.toString("yyyy-MM-dd hh:mm:ss")); qDebug() << hdrlist[58]; for (int i=0; i<hdrlist.size(); i++) format(i); if (!copyright()) return false; return true; } bool Conv::copyright() { // include 66. (copyright) QFile fc(nameCo); if (!fc.open(QFile::ReadOnly)) { qDebug() << "ERROR 504"; return false; } QTextStream com(&fc); while (!com.atEnd()) { QString line = com.readLine(); while (!line.isEmpty() && line[0] == ' ') line = line.remove(0,1); line = " " + line; while (line.length() < 80) line.append(" "); hdrlist << line; } fc.close(); QString line = "END"; if (hdrlist[hdrlist.size() - 1].left(3) != line) { while (line.length() < 80) line.append(" "); hdrlist << line; } qDebug() << "end Conv::copyright hdrlist.size()=" << hdrlist.size(); return true; } void Conv::convertHdr() { qDebug() << "begin Conv::convertHdr"; // concert to one string and char* QString allhdr = hdrlist.join(""); hdrSize = allhdr.length(); hdr = new char[hdrSize]; for (int i=0; i < hdrSize; i++) hdr[i] = allhdr[i].toAscii(); qDebug() << "end Conv::convertHdr hdrSize=" << hdrSize; } /*************************************************/ // директно записване на image bool Conv::writeFits() { qDebug() << "begin Conv::writeFits"; QFile f(fname + ".fits"); if (!f.open(QIODevice::WriteOnly)) { qDebug() << "ERROR"; return false; } qDebug() << "f.pos = " << f.pos(); f.write(hdr, hdrSize); char space = ' '; int rest = (2880 - f.pos()%2880); for (int i = 0; i < rest; i++) f.putChar(space); char* ch = reinterpret_cast<char *>(image); qDebug() << "f.pos = " << f.pos(); f.write(ch, imageSize*2); qDebug() << "f.pos =" << f.pos(); char ch0 = static_cast<char>(0); rest = (2880 - f.pos()%2880); for (int i = 0; i < rest; i++) f.putChar(ch0); qDebug() << "f.pos = " << f.pos(); qDebug() << "end Conv::writeFits"; return true; } // директно записване на im - параметър на функцията bool Conv::writeFits000(QString name, uint* im, int imSize) { qDebug() << "begin Conv::writeFits000"; QFile f(name + ".fits"); qDebug() << name; if (!f.open(QIODevice::WriteOnly)) { qDebug() << "ERROR"; return false; } qDebug() << "f.pos = " << f.pos(); f.write(hdr, hdrSize); char space = ' '; int rest = (2880 - f.pos()%2880); for (int i = 0; i < rest; i++) f.putChar(space); char* ch = reinterpret_cast<char *>(im); qDebug() << "f.pos = " << f.pos(); f.write(ch, imSize*2); qDebug() << "f.pos =" << f.pos(); char ch0 = static_cast<char>(0); rest = (2880 - f.pos()%2880); for (int i = 0; i < rest; i++) f.putChar(ch0); qDebug() << "f.pos = " << f.pos(); qDebug() << "end Conv::writeFits000"; return true; } /*************************************************/ // рязане на клин и записване на двата файла (image0, image1) // за квадратни плаки bool Conv::cutWriteFits() { qDebug() << "begin Conv::cutWriteFits()"; long X = naxis1, Y = naxis2; qDebug() << "X=" << X << " Y=" << Y << " X*Y=" << X*Y; qDebug() << sizeof(int) << sizeof(long); uint *image0 = new uint[X*X]; qDebug() << "image0=" << image0; if (image0 == NULL) { qDebug() << "ERROR image0 == NULL"; } uint *image1; if (Y > X) { image1 = new uint[X*(Y-X)]; qDebug() << "image1=" << image1; if (image1 == NULL) { qDebug() << "ERROR image1 == NULL"; } /***** OK! int k = 0; for (; k < X*X; k++) image0[k] = image[k]; for (int k1 = 0; k < X*Y; k++, k1++) image1[k1] = image[k]; ******/ // OK if (fname[fname.length() - 1] != 'r') { for (int i=0; i < X; i++) { //qDebug() << i; for (int j=0; j < X; j++) image0[i*X + j] = image[(X-i-1)*X + X-j-1]; } } else { for (int i=0; i < X; i++) for (int j=0; j < X; j++) image0[i*X + j] = image[(X-j-1)*X + i]; } //qDebug() << "!!!!!!!!!!!!! 1"; int Z = Y - X; for (int i = X, k = 0; i < Y && k < Z; i++, k++) for (int j=0; j < X; j++) { image1[(Z-k-1)*X + X-j-1] = image[i*X + j]; } } else return false; //qDebug() << "!!!!!!!!!!!!! 2"; changeSize(X, 3); changeSize(X, 4); convertHdr(); //qDebug() << "!!!!!!!!!!!!! 3"; if (!writeHdr(fname)) { qDebug() << "ERROR 101"; } swap000(image0, X*X); if (!writeFits000(fname, image0, X*X)) { qDebug() << "ERROR 102"; } qDebug() << hdrlist[3]; changeSize(X, 3); qDebug() << hdrlist[3]; changeSize(Y-X, 4); convertHdr(); /* if (!writeHdr(fname + "w")) { qDebug() << "ERROR 103"; } */ swap000(image1, X*(Y-X)); if (!writeFits000(fname + "w", image1, X*(Y-X))) { qDebug() << "ERROR 104"; } delete [] image0; delete [] image1; qDebug() << "end Conv::cutWriteFits()"; return true; } /*************************************************/ // рязане на клин и записване на двата файла (image0, image1) // за правоъгълни (не квадратни) - от коя страна е клина: // 1 -> x>y, down; 2 -> x<y, down; 3 -> x>y, right; 4 -> x<y, right // работи!!! bool Conv::cutWriteFitsNonQuadratic(int variant) { qDebug() << "begin Conv::cutWriteFitsNonQuadratic()" << variant; int X, Y, x2, y2; // naxis1 = X, naxis2 = Y - from <name>.tif file!!!!! X = naxis1; Y = naxis2; qDebug() << "variant = " << variant << " X=" << X << " Y=" << Y << " X*Y=" << X*Y; int wedge = wedge_width(); if (variant == 1 || variant == 2) { x2 = X; y2 = Y - wedge; } else { x2 = X - wedge; y2 = Y; } qDebug() << "variant = " << variant << "x2=" << x2 << "y2=" << y2 << "x2*y2=" << x2*y2; uint *image0 = new uint[x2*y2]; qDebug() << "image0=" << image0; if (image0 == NULL) { qDebug() << "ERROR image0 == NULL"; } int i, j, k; for (i = 0; i < y2; i++) for (j = 0; j < x2; j++) if (flopp) image0[(y2-i-1)*x2 + x2-j-1] = image[i*X + j]; // image0[i*x2 + j] = image[(y2-i-1)*x2 + x2-j-1]; else image0[(y2-i-1)*x2 + j] = image[i*X + j]; // image0[i*x2 + j] = image[(y2-i-1)*X + j]; qDebug() << i << j << i*x2 + j << x2*y2 << i*X + j << X*Y; qDebug() << "!!!!!!!!!!!!! 2"; changeSize(x2, 3); changeSize(y2, 4); convertHdr(); qDebug() << "!!!!!!!!!!!!! 3"; if (!writeHdr(fname)) { qDebug() << "ERROR 101"; } swap000(image0, x2*y2); if (!writeFits000(fname, image0, x2*y2)) { qDebug() << "ERROR 102"; } delete [] image0; qDebug() << "..............."; int sizeimage1 = (variant == 1 || variant == 2) ? wedge*X : wedge*Y; uint *image1; image1 = new uint[sizeimage1]; qDebug() << "image1=" << image1; if (image1 == NULL) { qDebug() << "ERROR image1 == NULL"; } if (variant == 1 || variant == 2) // wedge down for (i = y2, k = 0; i < Y; i++, k++) for (j = 0; j < X; j++) image1[k*x2 + j] = image[i*X + j]; else // wedge right for (i = 0; i < Y; i++) for (j = x2, k = 0; j < X; j++, k++) image1[i*wedge + k] = image[i*X + j]; qDebug() << i << k << j << k*x2 + j << sizeimage1 << i*X + j << X*Y; if (variant == 1 || variant == 2) { changeSize(X, 3); changeSize(wedge, 4); } else { changeSize(wedge, 3); changeSize(Y, 4); } convertHdr(); swap000(image1, sizeimage1); if (!writeFits000(fname + "w", image1, sizeimage1)) { qDebug() << "ERROR 104"; } delete [] image1; qDebug() << "end Conv::cutWriteFitsNonQuadratic()"; return true; } /*************************************************/ // рязане на клин, рязане на две и записване на трите файла (image01, image02, image1) bool Conv::cutcutWriteFits() { qDebug() << "begin Conv::cutcutWriteFits()"; int x = naxis1, y = naxis2; qDebug() << "x=" << y << " y=" << y; qDebug() << hdrlist[51].mid(9,19) << hdrlist[51].mid(9,19).toInt(); // dpi/254000*15000 int wedge = wedge_width(); // = hdrlist[51].mid(9,19).toInt()*150/254; qDebug() << "wedge = " << wedge; int x2 = x/2; int y2 = y - wedge; uint *image01 = new uint[x2*y2]; uint *image02 = new uint[x2*y2]; qDebug() << "image02=" << image02; if (image02 == NULL) { qDebug() << "ERROR image02 == NULL"; } uint *image1 = new uint[x*wedge]; qDebug() << "image1=" << image1; if (image1 == NULL) { qDebug() << "ERROR image1 == NULL"; } for (int i=0; i < y2; i++) for (int j=0; j < x2; j++) image01[i*x2 + j] = image[i*x + j]; for (int i=0; i < y2; i++) for (int j=x2; j < x; j++) image02[i*x2 + j - x2] = image[i*x + j]; for (int i = y2, k = 0; i < y && k < wedge; i++, k++) for (int j=0; j < x; j++) { image1[(wedge-k-1)*x + x-j-1] = image[i*x + j]; } //qDebug() << "!!!!!!!!!!!!! 2"; do tuk !!!!!!!!!!!!!!!!!!!!!!!! changeSize(x2, 3); changeSize(y2, 4); convertHdr(); //qDebug() << "!!!!!!!!!!!!! 3"; if (!writeHdr(fname)) { qDebug() << "ERROR 101"; } swap000(image02, x2*y2); if (!writeFits000(fname, image02, x2*y2)) { qDebug() << "ERROR 102"; } QStringList hdr1list = hdrlist; hdrlist = hdr2list; changeSize(x2, 3); changeSize(y2, 4); convertHdr(); //qDebug() << "!!!!!!!!!!!!! 3"; if (!writeHdr(f2name)) { qDebug() << "ERROR cutcut 101"; } swap000(image01, x2*y2); if (!writeFits000(f2name, image01, x2*y2)) { qDebug() << "ERRO cutcut 102"; } qDebug() << hdrlist[3]; changeSize(x, 3); qDebug() << hdrlist[3]; changeSize(wedge, 4); convertHdr(); swap000(image1, x*wedge); if (!writeFits000(f2name + "w", image1, x*wedge)) { qDebug() << "ERROR 104"; } hdrlist = hdr1list; changeSize(x, 3); qDebug() << hdrlist[3]; changeSize(wedge, 4); convertHdr(); // swap000(image1, x*wedge); if (!writeFits000(fname + "w", image1, x*wedge)) { qDebug() << "ERROR cutcut 104"; } delete [] image01; delete [] image02; delete [] image1; qDebug() << "end Conv::cutcutWriteFits()"; return true; } /************** for big files!! *****************/ // рязане на клин и записване на два файла - на плаката директно, на клина от image1 // за квадратни плаки bool Conv::cutWriteFits00() { qDebug() << "begin Conv::cutWriteFits00()"; int X = naxis1, Y = naxis2; qDebug() << "X=" << X << " Y=" << Y << "X*X=" << X*X; if (Y < X) return false; changeSize(X, 3); changeSize(X, 4); convertHdr(); if (!writeHdr(fname)) { qDebug() << "ERROR 101"; } QFile f(fname + ".fits"); if (!f.open(QIODevice::WriteOnly)) { qDebug() << "ERROR"; return false; } qDebug() << "f.pos = " << f.pos(); f.write(hdr, hdrSize); char space = ' '; int rest = (2880 - f.pos()%2880); for (int i = 0; i < rest; i++) f.putChar(space); uint* num = new uint; char* ch = reinterpret_cast<char *>(num); char ch0; qDebug() << "Writing..."; for (int i=0; i < X; i++) { if (i%2880 == 0) qDebug() << i; for (int j=0; j < X; j++) { // image0[i*X + j] = image[(X-i-1)*X + X-j-1]; *num = image[(X-i-1)*X + X-j-1] - 32768; ch0 = ch[0]; ch[0] = ch[1]; ch[1] = ch0; f.write(ch, 2); } } f.close(); //qDebug() << "!!!!!!!!!!!!! 1"; int Z = Y - X; uint *image1 = new uint[X*Z]; qDebug() << "image1=" << image1; if (image1 == NULL) { qDebug() << "ERROR image1 == NULL"; } for (int i = X, k = 0; i < Y && k < Z; i++, k++) for (int j=0; j < X; j++) // image1[(Z-k-1)*X + X-j-1] = image[i*X + j]; //for POT080 image1[(Z-k-1)*X + j] = image[i*X + j]; // for POT015 //qDebug() << "!!!!!!!!!!!!! 2"; changeSize(X, 3); changeSize(Z, 4); convertHdr(); swap000(image1, X*(Y-X)); if (!writeFits000(fname + "w", image1, X*Z)) { qDebug() << "ERROR 104"; } delete [] image1; delete num; qDebug() << "end Conv::cutWriteFits00()"; return true; } /******************* не е изпробвана! ******************************/ bool Conv::readFits() { QFile f(fname + "_im.fits"); if (!f.open(QFile::ReadOnly)) { qDebug() << "ERROR"; return false; } hdrSize = 2880; char * hdr = new char[hdrSize]; f.read(hdr, hdrSize); imageSize = f.size() - hdrSize; image = new uint[imageSize/2]; char * ch = reinterpret_cast<char *>(image); f.read(ch, imageSize*2); f.close(); return true; } /*************************************************/ bool Conv::writeHdr(QString name) { qDebug() << "begin Conv::writeHdr " << name; QFile f(name + ".hdrf"); if (!f.open(QFile::WriteOnly)) { qDebug() << "ERROR"; return false; } QTextStream text(&f); for (int i=0; i < hdrlist.size(); i++) text << hdrlist[i] << endl; f.close(); qDebug() << "end Conv::writeHdr"; return true; } /**************************************************************/ // for X = Y void Conv::rotate() { qDebug() << "begin Conv::rotate()"; int X = naxis1, Y = naxis2; qDebug() << "X=" << X << " Y=" << Y; uint *image0 = new uint[X*Y]; qDebug() << "image0=" << image0; if (image0 == NULL) { qDebug() << "ERROR image0 == NULL"; } for (int i = 0; i < Y; i++) for (int j = 0; j < X; j++) image0[j*Y + i] = image[i*X + j]; delete [] image; image = image0; naxis1 = Y; naxis2 = X; qDebug() << "end Conv::rotate()"; } // for X != Y void Conv::flop() { qDebug() << "begin Conv::flop()"; int X = naxis1, Y = naxis2; qDebug() << "X=" << X << " Y=" << Y; uint *image0 = new uint[X*Y]; qDebug() << "image0=" << image0; if (image0 == NULL) { qDebug() << "ERROR image0 == NULL"; } for (int i=0; i < Y; i++) { //qDebug() << i; for (int j=0; j < X; j++) // image0[i*X + j] = image[(Y-i-1)*X + X-j-1]; image0[i*X + j] = image[i*X + X-j-1]; } delete [] image; image = image0; qDebug() << "end Conv::flop()"; } // for X != Y void Conv::flip() { qDebug() << "begin Conv::flip()"; int X = naxis1, Y = naxis2; qDebug() << "X=" << X << " Y=" << Y; uint *image0 = new uint[X*Y]; qDebug() << "image0=" << image0; if (image0 == NULL) { qDebug() << "ERROR image0 == NULL"; } for (int i=0; i < Y; i++) { //qDebug() << i; for (int j=0; j < X; j++) image0[i*X + j] = image[(Y - i - 1)*X + j]; } delete [] image; image = image0; qDebug() << "end Conv::flip()"; }
649bc66e3a5c9f28e329730fe0b2846c43ecb9c5
04115e2839a8e5baa30e98699c3a3db58a30a3fc
/CPP/home_work/BlackJack/deck.cpp
7a6fd5481e3d07b0e8844072d916f987cddd95cb
[]
no_license
THEDECAL/Projects
767ea2767c425e53fc6301f8a1f2188f0d1385c8
1692c9f27a47afc112a79003c07896a7d00f5c73
refs/heads/master
2023-02-21T09:31:21.281608
2023-02-07T15:01:43
2023-02-07T15:01:43
162,668,800
2
0
null
null
null
null
UTF-8
C++
false
false
905
cpp
deck.cpp
#include "deck.h" deck::deck(){ _deck[CNT_CARDS]; cntCards=0; } void deck::init_deck(){ cntCards=CNT_CARDS; const int totalSuits=4; const int totalJockers=2; const int size=(CNT_CARDS-totalJockers)/totalSuits; for(int k=0,i=0; i<totalSuits; i++,k+=size){ for(int j=0; j<size;j++){ _deck[j+k].set(j+card2,heart+i); } } _deck[CNT_CARDS-2].set(jocker,white); _deck[CNT_CARDS-1].set(jocker,black); shuffle(); } void deck::shuffle(){ for(int i=0; i<CNT_CARDS;i++){ card temp(_deck[i]); int randomNum=rand()%CNT_CARDS; _deck[i]=_deck[randomNum]; _deck[randomNum]=temp; } } int deck::get_cntCards(){ return cntCards; } void deck::get(){ for(int i=0; i<CNT_CARDS; i++){ std::cout<<i+1<<". "; _deck[i].get(); } } card deck::operator[](const int& index){ return _deck[index]; } void deck::operator--(){ if(cntCards>0) cntCards--; }
11f3cb9b33f7eba8295bcaf375c0e1a82681e863
5a87eaac41c3341c52fb01f347eb991b9aaffe95
/apue/chapter10/10.10.2.cpp
ce072be010d30a324dc7bfdd736408b343a372c8
[]
no_license
TTLIUJJ/MyLearning
031cd457379a403a526478048604ccf00308b0fb
1682796cb9f8da59e6c87e6e015aa4e12bbeab2a
refs/heads/master
2021-01-17T17:48:21.252858
2017-03-25T15:10:48
2017-03-25T15:10:48
70,613,108
0
0
null
null
null
null
UTF-8
C++
false
false
639
cpp
10.10.2.cpp
#include <iostream> #include <setjmp.h> #include "apue.h" using namespace std; static jmp_buf env_alrm; static void sig_alrm(int); int main() { int n; char line[MAXLINE]; if(signal(SIGALRM, sig_alrm) == SIG_ERR){ cerr << "Main: signal() error" << endl; return -1; } if(setjmp(env_alrm) != 0){ cerr << "Longjmp return && Read Timeout" << endl; return -1; } alarm(10); if((n = read(STDIN_FILENO, line, MAXLINE)) < 0){ cerr << "Read() Error" << endl; return -1; } alarm(0); write(STDOUT_FILENO, line, n); return 0; } static void sig_alrm(int signo) { cout << "In sig_alrm()" << endl; longjmp(env_alrm, 1); }
a543924a7a848d988e5ead32a74db58a2ac0fe38
9d364070c646239b2efad7abbab58f4ad602ef7b
/platform/external/chromium_org/media/cdm/ppapi/cdm_wrapper.h
21589c365c29679d4d8f80732edcfc18328d4869
[ "BSD-3-Clause" ]
permissive
denix123/a32_ul
4ffe304b13c1266b6c7409d790979eb8e3b0379c
b2fd25640704f37d5248da9cc147ed267d4771c2
refs/heads/master
2021-01-17T20:21:17.196296
2016-08-16T04:30:53
2016-08-16T04:30:53
65,786,970
0
2
null
2020-03-06T22:00:52
2016-08-16T04:15:54
null
UTF-8
C++
false
false
18,546
h
cdm_wrapper.h
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_CDM_PPAPI_CDM_WRAPPER_H_ #define MEDIA_CDM_PPAPI_CDM_WRAPPER_H_ #include <map> #include <queue> #include <string> #include "base/basictypes.h" #include "media/cdm/ppapi/api/content_decryption_module.h" #include "media/cdm/ppapi/cdm_helpers.h" #include "media/cdm/ppapi/supported_cdm_versions.h" #include "ppapi/cpp/logging.h" namespace media { class CdmWrapper { public: static CdmWrapper* Create(const char* key_system, uint32_t key_system_size, GetCdmHostFunc get_cdm_host_func, void* user_data); virtual ~CdmWrapper() {}; virtual bool SetServerCertificate(uint32_t promise_id, const uint8_t* server_certificate_data, uint32_t server_certificate_data_size) = 0; virtual void CreateSession(uint32_t promise_id, const char* init_data_type, uint32_t init_data_type_size, const uint8_t* init_data, uint32_t init_data_size, cdm::SessionType session_type) = 0; virtual void LoadSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual void UpdateSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size, const uint8_t* response, uint32_t response_size) = 0; virtual bool CloseSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual void RemoveSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual bool GetUsableKeyIds(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual void TimerExpired(void* context) = 0; virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, cdm::DecryptedBlock* decrypted_buffer) = 0; virtual cdm::Status InitializeAudioDecoder( const cdm::AudioDecoderConfig& audio_decoder_config) = 0; virtual cdm::Status InitializeVideoDecoder( const cdm::VideoDecoderConfig& video_decoder_config) = 0; virtual void DeinitializeDecoder(cdm::StreamType decoder_type) = 0; virtual void ResetDecoder(cdm::StreamType decoder_type) = 0; virtual cdm::Status DecryptAndDecodeFrame( const cdm::InputBuffer& encrypted_buffer, cdm::VideoFrame* video_frame) = 0; virtual cdm::Status DecryptAndDecodeSamples( const cdm::InputBuffer& encrypted_buffer, cdm::AudioFrames* audio_frames) = 0; virtual void OnPlatformChallengeResponse( const cdm::PlatformChallengeResponse& response) = 0; virtual void OnQueryOutputProtectionStatus( uint32_t link_mask, uint32_t output_protection_mask) = 0; virtual uint32_t LookupPromiseId(uint32_t session_id) = 0; virtual void AssignWebSessionId(uint32_t session_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual std::string LookupWebSessionId(uint32_t session_id) = 0; virtual void DropWebSessionId(std::string web_session_id) = 0; virtual bool SessionUsableKeysEventNeeded(uint32_t promise_id, std::string* web_session_id) = 0; virtual void SetSessionUsableKeysEventNeeded( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) = 0; virtual void ConvertInputBuffer(const cdm::InputBuffer& v2, cdm::InputBuffer_1* v1) = 0; virtual std::string ConvertInitDataTypeToContentType( const std::string& init_data_type) const = 0; protected: CdmWrapper() {} private: DISALLOW_COPY_AND_ASSIGN(CdmWrapper); }; template <class CdmInterface> class CdmWrapperImpl : public CdmWrapper { public: static CdmWrapper* Create(const char* key_system, uint32_t key_system_size, GetCdmHostFunc get_cdm_host_func, void* user_data) { void* cdm_instance = ::CreateCdmInstance( CdmInterface::kVersion, key_system, key_system_size, get_cdm_host_func, user_data); if (!cdm_instance) return NULL; return new CdmWrapperImpl<CdmInterface>( static_cast<CdmInterface*>(cdm_instance)); } virtual ~CdmWrapperImpl() { cdm_->Destroy(); } bool HasHeader(const uint8* data, int data_length, const std::string& header) { return static_cast<size_t>(data_length) > header.length() && std::equal(data, data + header.length(), header.begin()); } virtual bool SetServerCertificate( uint32_t promise_id, const uint8_t* server_certificate_data, uint32_t server_certificate_data_size) OVERRIDE { cdm_->SetServerCertificate( promise_id, server_certificate_data, server_certificate_data_size); return true; } virtual void CreateSession(uint32_t promise_id, const char* init_data_type, uint32_t init_data_type_size, const uint8_t* init_data, uint32_t init_data_size, cdm::SessionType session_type) OVERRIDE { PP_DCHECK(session_type == cdm::kTemporary); const char kPersistentSessionHeader[] = "PERSISTENT|"; if (HasHeader(init_data, init_data_size, kPersistentSessionHeader)) { cdm_->CreateSession(promise_id, init_data_type, init_data_type_size, init_data + strlen(kPersistentSessionHeader), init_data_size - strlen(kPersistentSessionHeader), cdm::kPersistent); return; } cdm_->CreateSession(promise_id, init_data_type, init_data_type_size, init_data, init_data_size, session_type); } virtual void LoadSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) OVERRIDE { cdm_->LoadSession(promise_id, web_session_id, web_session_id_size); } virtual void UpdateSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size, const uint8_t* response, uint32_t response_size) OVERRIDE { cdm_->UpdateSession(promise_id, web_session_id, web_session_id_size, response, response_size); } virtual bool CloseSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) OVERRIDE { cdm_->CloseSession(promise_id, web_session_id, web_session_id_size); return true; } virtual void RemoveSession(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) OVERRIDE { cdm_->RemoveSession(promise_id, web_session_id, web_session_id_size); } virtual bool GetUsableKeyIds(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) OVERRIDE { cdm_->GetUsableKeyIds(promise_id, web_session_id, web_session_id_size); return true; } virtual void TimerExpired(void* context) OVERRIDE { cdm_->TimerExpired(context); } virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, cdm::DecryptedBlock* decrypted_buffer) OVERRIDE { return cdm_->Decrypt(encrypted_buffer, decrypted_buffer); } virtual cdm::Status InitializeAudioDecoder( const cdm::AudioDecoderConfig& audio_decoder_config) OVERRIDE { return cdm_->InitializeAudioDecoder(audio_decoder_config); } virtual cdm::Status InitializeVideoDecoder( const cdm::VideoDecoderConfig& video_decoder_config) OVERRIDE { return cdm_->InitializeVideoDecoder(video_decoder_config); } virtual void DeinitializeDecoder(cdm::StreamType decoder_type) OVERRIDE { cdm_->DeinitializeDecoder(decoder_type); } virtual void ResetDecoder(cdm::StreamType decoder_type) OVERRIDE { cdm_->ResetDecoder(decoder_type); } virtual cdm::Status DecryptAndDecodeFrame( const cdm::InputBuffer& encrypted_buffer, cdm::VideoFrame* video_frame) OVERRIDE { return cdm_->DecryptAndDecodeFrame(encrypted_buffer, video_frame); } virtual cdm::Status DecryptAndDecodeSamples( const cdm::InputBuffer& encrypted_buffer, cdm::AudioFrames* audio_frames) OVERRIDE { return cdm_->DecryptAndDecodeSamples(encrypted_buffer, audio_frames); } virtual void OnPlatformChallengeResponse( const cdm::PlatformChallengeResponse& response) OVERRIDE { cdm_->OnPlatformChallengeResponse(response); } virtual void OnQueryOutputProtectionStatus( uint32_t link_mask, uint32_t output_protection_mask) OVERRIDE { cdm_->OnQueryOutputProtectionStatus(link_mask, output_protection_mask); } uint32_t CreateSessionId() { return next_session_id_++; } void RegisterPromise(uint32_t session_id, uint32_t promise_id) { PP_DCHECK(promise_to_session_id_map_.find(session_id) == promise_to_session_id_map_.end()); promise_to_session_id_map_.insert(std::make_pair(session_id, promise_id)); } virtual uint32_t LookupPromiseId(uint32_t session_id) { std::map<uint32_t, uint32_t>::iterator it = promise_to_session_id_map_.find(session_id); if (it == promise_to_session_id_map_.end()) return 0; uint32_t promise_id = it->second; promise_to_session_id_map_.erase(it); return promise_id; } virtual void AssignWebSessionId(uint32_t session_id, const char* web_session_id, uint32_t web_session_id_size) { web_session_to_session_id_map_.insert(std::make_pair( std::string(web_session_id, web_session_id_size), session_id)); } uint32_t LookupSessionId(std::string web_session_id) { return web_session_to_session_id_map_.find(web_session_id)->second; } virtual std::string LookupWebSessionId(uint32_t session_id) { std::map<std::string, uint32_t>::iterator it; for (it = web_session_to_session_id_map_.begin(); it != web_session_to_session_id_map_.end(); ++it) { if (it->second == session_id) return it->first; } PP_NOTREACHED(); return std::string(); } virtual void DropWebSessionId(std::string web_session_id) { web_session_to_session_id_map_.erase(web_session_id); } virtual bool SessionUsableKeysEventNeeded(uint32_t promise_id, std::string* web_session_id) { std::map<uint32_t, std::string>::iterator it = promises_needing_usable_keys_event_.find(promise_id); if (it == promises_needing_usable_keys_event_.end()) return false; web_session_id->swap(it->second); promises_needing_usable_keys_event_.erase(it); return true; } virtual void SetSessionUsableKeysEventNeeded(uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) { promises_needing_usable_keys_event_.insert(std::make_pair( promise_id, std::string(web_session_id, web_session_id_size))); } virtual void ConvertInputBuffer(const cdm::InputBuffer& v2, cdm::InputBuffer_1* v1) { v1->data = v2.data; v1->data_size = v2.data_size; v1->data_offset = 0; v1->key_id = v2.key_id; v1->key_id_size = v2.key_id_size; v1->iv = v2.iv; v1->iv_size = v2.iv_size; v1->subsamples = v2.subsamples; v1->num_subsamples = v2.num_subsamples; v1->timestamp = v2.timestamp; } virtual std::string ConvertInitDataTypeToContentType( const std::string& init_data_type) const { if (init_data_type == "cenc") return "video/mp4"; if (init_data_type == "webm") return "video/webm"; return init_data_type; } private: CdmWrapperImpl(CdmInterface* cdm) : cdm_(cdm), next_session_id_(100) { PP_DCHECK(cdm_); } CdmInterface* cdm_; std::map<uint32_t, uint32_t> promise_to_session_id_map_; uint32_t next_session_id_; std::map<std::string, uint32_t> web_session_to_session_id_map_; std::map<uint32_t, std::string> promises_needing_usable_keys_event_; DISALLOW_COPY_AND_ASSIGN(CdmWrapperImpl); }; template <> bool CdmWrapperImpl<cdm::ContentDecryptionModule_4>::SetServerCertificate( uint32_t promise_id, const uint8_t* server_certificate_data, uint32_t server_certificate_data_size) { return false; } template <> void CdmWrapperImpl<cdm::ContentDecryptionModule_4>::CreateSession( uint32_t promise_id, const char* init_data_type, uint32_t init_data_type_size, const uint8_t* init_data, uint32_t init_data_size, cdm::SessionType session_type) { uint32_t session_id = CreateSessionId(); RegisterPromise(session_id, promise_id); std::string converted_init_data_type = ConvertInitDataTypeToContentType( std::string(init_data_type, init_data_type_size)); cdm_->CreateSession(session_id, converted_init_data_type.data(), converted_init_data_type.length(), init_data, init_data_size); } template <> void CdmWrapperImpl<cdm::ContentDecryptionModule_4>::LoadSession( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) { uint32_t session_id = CreateSessionId(); RegisterPromise(session_id, promise_id); SetSessionUsableKeysEventNeeded( promise_id, web_session_id, web_session_id_size); cdm_->LoadSession(session_id, web_session_id, web_session_id_size); } template <> void CdmWrapperImpl<cdm::ContentDecryptionModule_4>::UpdateSession( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size, const uint8_t* response, uint32_t response_size) { std::string web_session_str(web_session_id, web_session_id_size); uint32_t session_id = LookupSessionId(web_session_str); RegisterPromise(session_id, promise_id); SetSessionUsableKeysEventNeeded( promise_id, web_session_id, web_session_id_size); cdm_->UpdateSession(session_id, response, response_size); } template <> bool CdmWrapperImpl<cdm::ContentDecryptionModule_4>::CloseSession( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) { return false; } template <> void CdmWrapperImpl<cdm::ContentDecryptionModule_4>::RemoveSession( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) { std::string web_session_str(web_session_id, web_session_id_size); uint32_t session_id = LookupSessionId(web_session_str); RegisterPromise(session_id, promise_id); cdm_->ReleaseSession(session_id); } template <> bool CdmWrapperImpl<cdm::ContentDecryptionModule_4>::GetUsableKeyIds( uint32_t promise_id, const char* web_session_id, uint32_t web_session_id_size) { return false; } template <> cdm::Status CdmWrapperImpl<cdm::ContentDecryptionModule_4>::Decrypt( const cdm::InputBuffer& encrypted_buffer, cdm::DecryptedBlock* decrypted_buffer) { cdm::InputBuffer_1 buffer; ConvertInputBuffer(encrypted_buffer, &buffer); return cdm_->Decrypt(buffer, decrypted_buffer); } template <> cdm::Status CdmWrapperImpl<cdm::ContentDecryptionModule_4>::DecryptAndDecodeFrame( const cdm::InputBuffer& encrypted_buffer, cdm::VideoFrame* video_frame) { cdm::InputBuffer_1 buffer; ConvertInputBuffer(encrypted_buffer, &buffer); return cdm_->DecryptAndDecodeFrame(buffer, video_frame); } template <> cdm::Status CdmWrapperImpl<cdm::ContentDecryptionModule_4>::DecryptAndDecodeSamples( const cdm::InputBuffer& encrypted_buffer, cdm::AudioFrames* audio_frames) { cdm::InputBuffer_1 buffer; ConvertInputBuffer(encrypted_buffer, &buffer); return cdm_->DecryptAndDecodeSamples(buffer, audio_frames); } CdmWrapper* CdmWrapper::Create(const char* key_system, uint32_t key_system_size, GetCdmHostFunc get_cdm_host_func, void* user_data) { COMPILE_ASSERT(cdm::ContentDecryptionModule::kVersion == cdm::ContentDecryptionModule_6::kVersion, update_code_below); PP_DCHECK( !IsSupportedCdmInterfaceVersion(cdm::ContentDecryptionModule::kVersion + 1) && IsSupportedCdmInterfaceVersion(cdm::ContentDecryptionModule::kVersion) && IsSupportedCdmInterfaceVersion( cdm::ContentDecryptionModule_4::kVersion) && !IsSupportedCdmInterfaceVersion(cdm::ContentDecryptionModule_4::kVersion - 1)); CdmWrapper* cdm_wrapper = CdmWrapperImpl<cdm::ContentDecryptionModule>::Create( key_system, key_system_size, get_cdm_host_func, user_data); if (cdm_wrapper) return cdm_wrapper; cdm_wrapper = CdmWrapperImpl<cdm::ContentDecryptionModule_4>::Create( key_system, key_system_size, get_cdm_host_func, user_data); return cdm_wrapper; } COMPILE_ASSERT(cdm::ContentDecryptionModule::kVersion == cdm::ContentDecryptionModule_6::kVersion, ensure_cdm_wrapper_templates_have_old_version_support); } #endif
bf0d9cc85810d0915c774d2eb189c6a3215867ff
9919f528b0c2ea5650ad418d9b12b0480a8798fc
/linear/ADSR_Linear.h
9779938a8f85bcf17f31b80ef5f5b592810cbd6c
[]
no_license
JeffGregorio/Envelope-Generators
80281d28bd127af5a88f23bda23ade24ca142ec5
96bef36954b02ac19ce2a28855e4fff1ea8d7cea
refs/heads/master
2020-03-20T15:27:33.101056
2018-07-06T22:22:28
2018-07-06T22:22:28
137,513,850
2
0
null
null
null
null
UTF-8
C++
false
false
5,185
h
ADSR_Linear.h
// ADSR_Linear.h // Linear envelope generator // // Copyright (C) 2018 Jeff Gregorio // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef ADSR_Linear_h #define ADSR_Linear_h #include <math.h> class ADSR_Linear { // Envelope states enum { kADSRStateIdle = 0, kADSRStateAttack, kADSRStateDecay, kADSRStateSustain, kADSRStateRelease }; public: // Constructor/Destructor ADSR_Linear(int atk_len, int dec_len, float sus_level, int rel_len); ~ADSR_Linear(void); // State parameter setters void set_attack_length(int length); void set_decay_length(int length); void set_sustain_level(float level); void set_release_length(int length); // Global parameter setters void set_period(float period); // Set all lengths to period/3 // Directly settable parameters bool sustain; // sustain ? Decay -> Sustain : Decay -> Release bool retrigger; // retrigger ? Release -> Attack : Release -> Idle // Main i/o void gate(bool is_high); float render(); float get_output() { return x; } protected: // Current parameters and values int state; // State (A/D/S/R/I) int phase; // Sample index in current state int length; // State length float slope; // Slope float x; // Output level // State parameters and values int atk_len, dec_len, rel_len; // Lengths float x_sus; // Sustain level // Math float compute_slope(float x0, float x1, int length); // State logic void begin_idle(); void begin_attack(); void begin_decay(); void begin_sustain(); void begin_release(); void next_state(); }; inline float ADSR_Linear::compute_slope(float x0, float x1, int length) { return (x1 - x0) / (float)length; } inline void ADSR_Linear::begin_idle() { state = kADSRStateIdle; x = 0; } inline void ADSR_Linear::begin_attack() { state = kADSRStateAttack; slope = compute_slope(x, 1.0f, atk_len); length = atk_len; phase = 0; } inline void ADSR_Linear::begin_decay() { state = kADSRStateDecay; slope = compute_slope(x, x_sus, dec_len); length = dec_len; phase = 0; } inline void ADSR_Linear::begin_sustain() { state = kADSRStateSustain; x = x_sus; } inline void ADSR_Linear::begin_release() { state = kADSRStateRelease; slope = compute_slope(x, 0.0f, rel_len); length = rel_len; phase = 0; } inline void ADSR_Linear::next_state() { switch (state) { case kADSRStateAttack: begin_decay(); break; case kADSRStateDecay: if (sustain) begin_sustain(); else begin_release(); break; case kADSRStateRelease: if (retrigger) begin_attack(); else begin_idle(); break; default: break; } } inline void ADSR_Linear::set_attack_length(int length) { atk_len = length; if (state == kADSRStateAttack) { length -= phase; length = length > 1 ? length : 1; slope = compute_slope(x, 1.0f, length); this->length = atk_len; } } inline void ADSR_Linear::set_decay_length(int length) { dec_len = length; if (state == kADSRStateDecay) { length -= phase; length = length > 1 ? length : 1; slope = compute_slope(x, x_sus, length); this->length = dec_len; } } inline void ADSR_Linear::set_sustain_level(float level) { x_sus = level; if (state == kADSRStateDecay) { int length = dec_len - phase; length = length > 1 ? length : 1; slope = compute_slope(x, x_sus, length); } } inline void ADSR_Linear::set_release_length(int length) { rel_len = length; if (state == kADSRStateRelease) { length -= phase; length = length > 1 ? length : 1; slope = compute_slope(x, 0.0f, length); this->length = rel_len; } } inline void ADSR_Linear::set_period(float period) { period /= 3.0f; set_attack_length(floorf(period)); set_decay_length(roundf(period)); set_release_length(ceilf(period)); } inline void ADSR_Linear::gate(bool is_high) { if (is_high) begin_attack(); else begin_release(); } inline float ADSR_Linear::render() { if (state == kADSRStateIdle || state == kADSRStateSustain) return x; x += slope; if (++phase >= length) next_state(); return x; } #endif
1e3cd6d4c1727c4335bd37cf73fa3ce11cde6bbc
bebc95de2ba0b18ab89807973ec445ba32e01d50
/innative-test/test_errors.cpp
38428e4aa98180fe406731a033944bf66badc6f2
[ "Apache-2.0", "LLVM-exception" ]
permissive
innative-sdk/innative
c7cab04587382b019f699a45b48fbd85fa323ad5
1fb381d7dfabc581c42114aa66cf81ae63a06eb9
refs/heads/master
2023-08-30T03:33:20.190480
2022-12-27T21:03:49
2022-12-27T21:03:49
122,264,181
412
16
Apache-2.0
2020-10-27T08:54:11
2018-02-20T22:24:52
C++
UTF-8
C++
false
false
966
cpp
test_errors.cpp
// Copyright (c)2021 Fundament Software // For conditions of distribution and use, see copyright notice in innative.h #include "test.h" void TestHarness::test_errors() { for(int i = ERR_PARSE_UNEXPECTED_EOF; i <= ERR_INSUFFICIENT_BUFFER; ++i) TEST((*_exports.GetErrorString)(i) != nullptr); for(int i = ERR_FATAL_INVALID_WASM_SECTION_ORDER; i <= ERR_FATAL_NO_START_FUNCTION; ++i) TEST((*_exports.GetErrorString)(i) != nullptr); for(int i = ERR_VALIDATION_ERROR; i <= ERR_ILLEGAL_C_IMPORT; ++i) TEST((*_exports.GetErrorString)(i) != nullptr); for(int i = ERR_WAT_INTERNAL_ERROR; i <= ERR_WAT_PARAM_AFTER_RESULT; ++i) TEST((*_exports.GetErrorString)(i) != nullptr); TEST((*_exports.GetErrorString)(ERR_SUCCESS) != nullptr); TEST((*_exports.GetErrorString)(ERR_RUNTIME_INIT_ERROR) != nullptr); TEST((*_exports.GetErrorString)(ERR_RUNTIME_TRAP) != nullptr); TEST((*_exports.GetErrorString)(ERR_RUNTIME_ASSERT_FAILURE) != nullptr); }
8befb637f8fde78f0f106872f77b63d88625fd37
d13e8cf45b94dca462ead1f088dc538ca3b907f3
/Remote_Operated/RC_Control/include/BlackUART.cpp
1ec8e6191d60a80da28f49663567afeaf8f1461f
[]
no_license
williamg42/AGV-IV
2f22e87ad259dca0495b1e79b3a12cf24d092741
9f080e8219bb949ab3e74672389bbe76ade22cf4
refs/heads/master
2021-01-17T13:07:33.433371
2017-03-25T18:51:07
2017-03-25T18:51:07
30,118,558
3
0
null
null
null
null
UTF-8
C++
false
false
22,134
cpp
BlackUART.cpp
/* #################################################################################### # BlackLib Library controls Beaglebone Black's inputs and outputs. # # Copyright (C) 2013-2014 by Yigit YUCE # #################################################################################### # # # This file is part of BlackLib library. # # # # BlackLib library is free software: you can redistribute it and/or modify # # it under the terms of the GNU Lesser General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # BlackLib library is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU Lesser General Public License for more details. # # # # You should have received a copy of the GNU Lesser General Public License # # along with this program. If not, see <http://www.gnu.org/licenses/>. # # # # For any comment or suggestion please contact the creator of BlackLib Library # # at ygtyce@gmail.com # # # #################################################################################### */ #include <unistd.h> #include "BlackUART.h" namespace BlackLib { BlackUART::BlackUART(uartName uart, baudRate uartBaud, parity uartParity, stopBits uartStopBits, characterSize uartCharSize) { this->dtUartFilename = "BB-UART" + tostr(static_cast<int>(uart)); this->uartPortPath = "/dev/ttyO" + tostr(static_cast<int>(uart)); this->readBufferSize = 1024; this->uartFD = -1; this->isOpenFlag = false; this->isCurrentEqDefault = false; this->uartErrors = new errorUART(this->getErrorsFromCore()); this->constructorProperties = BlackUartProperties(uartBaud, uartBaud, uartParity, uartStopBits, uartCharSize); // this->loadDeviceTree(); } BlackUART::BlackUART(uartName uart, BlackUartProperties uartProperties) { this->dtUartFilename = "BB-UART" + tostr(static_cast<int>(uart)); this->uartPortPath = "/dev/ttyO" + tostr(static_cast<int>(uart)); this->readBufferSize = 1024; this->uartFD = -1; this->isOpenFlag = false; this->isCurrentEqDefault = false; this->uartErrors = new errorUART(this->getErrorsFromCore()); this->constructorProperties = uartProperties; //this->loadDeviceTree(); } BlackUART::BlackUART(uartName uart) { this->dtUartFilename = "BB-UART" + tostr(static_cast<int>(uart)); this->uartPortPath = "/dev/ttyO" + tostr(static_cast<int>(uart)); this->readBufferSize = 1024; this->uartFD = -1; this->isOpenFlag = false; this->isCurrentEqDefault = true; this->uartErrors = new errorUART(this->getErrorsFromCore()); //this->loadDeviceTree(); } BlackUART::~BlackUART() { this->close(); delete this->uartErrors; } bool BlackUART::loadDeviceTree() { std::string file = this->getSlotsFilePath(); std::ofstream slotsFile; slotsFile.open(file.c_str(), std::ios::out); if (slotsFile.fail()) { this->uartErrors->dtError = true; slotsFile.close(); return false; } else { this->uartErrors->dtError = false; slotsFile << this->dtUartFilename; slotsFile.close(); return true; } } int BlackUART::Byteavailable() { int bytes_available; ioctl((this->uartFD), FIONREAD, &bytes_available); return bytes_available; } bool BlackUART::open(uint openMode) { int flags = 0; if ((openMode & ReadOnly) == ReadOnly) { flags |= O_RDONLY; } if ((openMode & WriteOnly) == WriteOnly) { flags |= O_WRONLY; } if ((openMode & ReadWrite) == ReadWrite) { flags |= O_RDWR; } if ((openMode & Append) == Append) { flags |= O_APPEND; } if ((openMode & Truncate) == Truncate) { flags |= O_TRUNC; } if ((openMode & NonBlock) == NonBlock) { flags |= O_NONBLOCK; } this->uartFD = ::open(this->uartPortPath.c_str(), flags | O_NOCTTY); if (this->uartFD < 0) { this->uartErrors->openError = true; this->isOpenFlag = false; return false; } this->uartErrors->openError = false; this->isOpenFlag = true; this->defaultUartProperties = this->getProperties(); if (this->isCurrentEqDefault) { this->currentUartProperties = this->defaultUartProperties; return true; } else { if (this->setProperties(this->constructorProperties, ApplyNow)) { this->currentUartProperties = this->constructorProperties; } else { this->currentUartProperties = this->defaultUartProperties; } } return true; } bool BlackUART::close() { if (::close(this->uartFD) < 0) { this->uartErrors->closeError = true; return false; } else { this->uartErrors->closeError = false; this->isOpenFlag = false; return true; } } bool BlackUART::flush(direction whichDirection) { int isFlushed = -1; if (whichDirection == input) { this->uartErrors->directionError = false; isFlushed = tcflush(this->uartFD, TCIFLUSH); } else if (whichDirection == output) { this->uartErrors->directionError = false; isFlushed = tcflush(this->uartFD, TCOFLUSH); } else if (whichDirection == bothDirection) { this->uartErrors->directionError = false; isFlushed = tcflush(this->uartFD, TCIOFLUSH); } else { this->uartErrors->directionError = true; } if (isFlushed == 0) { this->uartErrors->flushError = false; return true; } else { this->uartErrors->flushError = true; return false; } } bool BlackUART::read(char *readBuffer, size_t size) { char tempReadBuffer[size]; memset(&tempReadBuffer, 0, size); if (::read(this->uartFD, tempReadBuffer, sizeof(tempReadBuffer)) > 0) { memcpy(readBuffer, tempReadBuffer, sizeof(tempReadBuffer)); this->uartErrors->readError = false; return true; } else { this->uartErrors->readError = true; return false; } } std::string BlackUART::read() { std::string tempReadBuffer; tempReadBuffer.resize(this->readBufferSize); int readSize = ::read(this->uartFD, &tempReadBuffer[0], tempReadBuffer.size()); if (readSize > 0) { this->uartErrors->readError = false; tempReadBuffer.resize(readSize); return tempReadBuffer; } else { this->uartErrors->readError = true; return UART_READ_FAILED; } } bool BlackUART::write(char *writeBuffer, size_t size) { if (::write(this->uartFD, writeBuffer, size) > 0) { this->uartErrors->writeError = false; return true; } else { this->uartErrors->writeError = true; return false; } } bool BlackUART::write(std::string writeBuffer) { if (::write(this->uartFD, writeBuffer.c_str(), writeBuffer.size()) > 0) { this->uartErrors->writeError = false; return true; } else { this->uartErrors->writeError = true; return false; } } bool BlackUART::transfer(char *writeBuffer, char *readBuffer, size_t size, uint32_t wait_us) { if (::write(this->uartFD, writeBuffer, size) > 0) { this->uartErrors->writeError = false; } else { this->uartErrors->writeError = true; return false; } usleep(wait_us); char tempReadBuffer[size]; memset(&tempReadBuffer, 0, size); if (::read(this->uartFD, tempReadBuffer, sizeof(tempReadBuffer)) > 0) { memcpy(readBuffer, tempReadBuffer, sizeof(tempReadBuffer)); this->uartErrors->readError = false; return true; } else { this->uartErrors->readError = true; return false; } } std::string BlackUART::transfer(std::string writeBuffer, uint32_t wait_us) { if (::write(this->uartFD, writeBuffer.c_str(), writeBuffer.size()) > 0) { this->uartErrors->writeError = false; } else { this->uartErrors->writeError = true; return UART_WRITE_FAILED; } usleep(wait_us); std::string tempReadBuffer; tempReadBuffer.resize(this->readBufferSize); int readSize = ::read(this->uartFD, &tempReadBuffer[0], tempReadBuffer.size()); if (readSize > 0) { this->uartErrors->readError = false; tempReadBuffer.resize(readSize); return tempReadBuffer; } else { this->uartErrors->readError = true; return UART_READ_FAILED; } } uint32_t BlackUART::getReadBufferSize() { return this->readBufferSize; } void BlackUART::setReadBufferSize(uint32_t newBufferSize) { this->readBufferSize = newBufferSize; } std::string BlackUART::getPortName() { return this->uartPortPath; } baudRate BlackUART::getBaudRate(direction whichDirection) { if (!(this->isOpenFlag)) { this->uartErrors->baudRateError = true; this->uartErrors->openError = true; return Baud0; } termios tempProperties; if (tcgetattr(this->uartFD, &tempProperties) != 0) { this->uartErrors->baudRateError = true; return Baud0; } else { this->uartErrors->baudRateError = false; } if (whichDirection == input) { this->currentUartProperties.uartBaudIn = static_cast<baudRate>(cfgetispeed(&tempProperties)); return this->currentUartProperties.uartBaudIn; } if (whichDirection == output) { this->currentUartProperties.uartBaudOut = static_cast<baudRate>(cfgetospeed(&tempProperties)); return this->currentUartProperties.uartBaudOut; } else { return Baud0; } } bool BlackUART::setBaudRate(baudRate newBaud, direction whichDirection, uartApplyMode applyMode) { if (!(this->isOpenFlag)) { this->uartErrors->baudRateError = true; this->uartErrors->openError = true; return false; } termios tempProperties; tcgetattr(this->uartFD, &tempProperties); if (whichDirection == input) { cfsetispeed(&tempProperties, newBaud); } else if (whichDirection == output) { cfsetospeed(&tempProperties, newBaud); } else if (whichDirection == bothDirection) { cfsetispeed(&tempProperties, newBaud); cfsetospeed(&tempProperties, newBaud); } else { this->uartErrors->directionError = true; this->uartErrors->baudRateError = true; return false; } this->uartErrors->directionError = false; if (tcsetattr(this->uartFD, applyMode, &tempProperties) == 0) { if (whichDirection == input) { this->currentUartProperties.uartBaudIn = newBaud; } else if (whichDirection == output) { this->currentUartProperties.uartBaudOut = newBaud; } else if (whichDirection == bothDirection) { this->currentUartProperties.uartBaudIn = newBaud; this->currentUartProperties.uartBaudOut = newBaud; } this->uartErrors->baudRateError = false; return true; } else { this->uartErrors->baudRateError = true; return false; } } parity BlackUART::getParity() { if (!(this->isOpenFlag)) { this->uartErrors->parityError = true; this->uartErrors->openError = true; return ParityDefault; } termios tempProperties; if (tcgetattr(this->uartFD, &tempProperties) != 0) { this->uartErrors->parityError = true; return ParityDefault; } else { this->uartErrors->parityError = false; } tcflag_t controlFlag = tempProperties.c_cflag; if ((controlFlag & PARENB) == PARENB) { if ((controlFlag & PARODD) == PARODD) { this->currentUartProperties.uartParity = ParityOdd; return ParityOdd; } else { this->currentUartProperties.uartParity = ParityEven; return ParityEven; } } else { this->currentUartProperties.uartParity = ParityNo; return ParityNo; } } bool BlackUART::setParity(parity newParity, uartApplyMode applyMode) { if (!(this->isOpenFlag)) { this->uartErrors->parityError = true; this->uartErrors->openError = true; return false; } termios tempProperties; tcgetattr(this->uartFD, &tempProperties); if ((newParity == ParityOdd) or (newParity == ParityEven)) { tempProperties.c_cflag |= PARENB; if (newParity == ParityOdd) { tempProperties.c_cflag |= PARODD; } else { tempProperties.c_cflag &= ~(PARODD); } } else { tempProperties.c_cflag &= ~(PARENB); } if (tcsetattr(this->uartFD, applyMode, &tempProperties) == 0) { this->uartErrors->parityError = false; this->currentUartProperties.uartParity = (newParity == ParityDefault) ? ParityNo : newParity; ; return true; } else { this->uartErrors->parityError = true; return false; } } stopBits BlackUART::getStopBits() { if (!(this->isOpenFlag)) { this->uartErrors->stopBitsError = true; this->uartErrors->openError = true; return StopDefault; } termios tempProperties; if (tcgetattr(this->uartFD, &tempProperties) != 0) { this->uartErrors->stopBitsError = true; return StopDefault; } else { this->uartErrors->stopBitsError = false; } if ((tempProperties.c_cflag & CSTOPB) == CSTOPB) { this->currentUartProperties.uartStopBits = StopTwo; return StopTwo; } else { this->currentUartProperties.uartStopBits = StopOne; return StopOne; } } bool BlackUART::setStopBits(stopBits newStopBits, uartApplyMode applyMode) { if (!(this->isOpenFlag)) { this->uartErrors->stopBitsError = true; this->uartErrors->openError = true; return false; } termios tempProperties; tcgetattr(this->uartFD, &tempProperties); if (newStopBits == StopTwo) { tempProperties.c_cflag |= CSTOPB; } else { tempProperties.c_cflag &= ~(CSTOPB); } if (tcsetattr(this->uartFD, applyMode, &tempProperties) == 0) { this->uartErrors->stopBitsError = false; this->currentUartProperties.uartStopBits = (newStopBits == StopDefault) ? StopOne : newStopBits; return true; } else { this->uartErrors->stopBitsError = true; return false; } } characterSize BlackUART::getCharacterSize() { if (!(this->isOpenFlag)) { this->uartErrors->charSizeError = true; this->uartErrors->openError = true; return CharDefault; } termios tempProperties; if (tcgetattr(this->uartFD, &tempProperties) != 0) { this->uartErrors->charSizeError = true; return CharDefault; } else { this->uartErrors->charSizeError = false; } tcflag_t controlFlag = tempProperties.c_cflag; if ((controlFlag & CS8) == CS8) { this->currentUartProperties.uartCharSize = Char8; return Char8; } if ((controlFlag & CS6) == CS6) { this->currentUartProperties.uartCharSize = Char6; return Char6; } if ((controlFlag & CS7) == CS7) { this->currentUartProperties.uartCharSize = Char7; return Char7; } else { this->currentUartProperties.uartCharSize = Char5; return Char5; } } bool BlackUART::setCharacterSize(characterSize newCharacterSize, uartApplyMode applyMode) { if (!(this->isOpenFlag)) { this->uartErrors->charSizeError = true; this->uartErrors->openError = true; return false; } termios tempProperties; tcgetattr(this->uartFD, &tempProperties); switch (newCharacterSize) { case Char5: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS5; break; } case Char6: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS6; break; } case Char7: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS7; break; } case Char8: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS8; break; } case CharDefault: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS8; break; } default: break; } if (tcsetattr(this->uartFD, applyMode, &tempProperties) == 0) { this->currentUartProperties.uartCharSize = (newCharacterSize == CharDefault) ? Char8 : newCharacterSize; this->uartErrors->charSizeError = false; return true; } else { this->uartErrors->charSizeError = true; return false; } } BlackUartProperties BlackUART::getProperties() { if (!(this->isOpenFlag)) { this->uartErrors->baudRateError = true; this->uartErrors->charSizeError = true; this->uartErrors->parityError = true; this->uartErrors->stopBitsError = true; this->uartErrors->openError = true; return BlackUartProperties(); } termios tempProperties; if (tcgetattr(this->uartFD, &tempProperties) != 0) { this->uartErrors->baudRateError = true; this->uartErrors->charSizeError = true; this->uartErrors->parityError = true; this->uartErrors->stopBitsError = true; } else { this->uartErrors->baudRateError = false; this->uartErrors->charSizeError = false; this->uartErrors->parityError = false; this->uartErrors->stopBitsError = false; } tcflag_t controlFlag = tempProperties.c_cflag; baudRate currentBaudIn = static_cast<baudRate>(cfgetispeed(&tempProperties)); baudRate currentBaudOut = static_cast<baudRate>(cfgetospeed(&tempProperties)); stopBits currentStopBits = ((controlFlag & CSTOPB) == CSTOPB) ? StopTwo : StopOne; parity currentParity = ((controlFlag & PARENB) == PARENB) ? (((controlFlag & PARODD) == PARODD) ? ParityOdd : ParityEven) : ParityNo; characterSize currentCharSize; if ((controlFlag & CS8) == CS8) { currentCharSize = Char8; } else if ((controlFlag & CS6) == CS6) { currentCharSize = Char6; } else if ((controlFlag & CS7) == CS7) { currentCharSize = Char7; } else { currentCharSize = Char5; } this->currentUartProperties = BlackUartProperties(currentBaudIn, currentBaudOut, currentParity, currentStopBits, currentCharSize); return this->currentUartProperties; } bool BlackUART::setProperties(BlackUartProperties &props, uartApplyMode applyMode) { if (!(this->isOpenFlag)) { this->uartErrors->baudRateError = true; this->uartErrors->charSizeError = true; this->uartErrors->parityError = true; this->uartErrors->stopBitsError = true; this->uartErrors->openError = true; return false; } termios tempProperties; tcgetattr(this->uartFD, &tempProperties); cfsetispeed(&tempProperties, props.uartBaudIn); cfsetospeed(&tempProperties, props.uartBaudOut); if ((props.uartParity == ParityOdd) or (props.uartParity == ParityEven)) { tempProperties.c_cflag |= PARENB; if (props.uartParity == ParityOdd) { tempProperties.c_cflag |= PARODD; } else { tempProperties.c_cflag &= ~(PARODD); } } else { tempProperties.c_cflag &= ~(PARENB); } if (props.uartStopBits == StopTwo) { tempProperties.c_cflag |= CSTOPB; } else { tempProperties.c_cflag &= ~(CSTOPB); } switch (props.uartCharSize) { case Char5: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS5; break; } case Char6: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS6; break; } case Char7: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS7; break; } case Char8: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS8; break; } case CharDefault: { tempProperties.c_cflag &= ~(CSIZE); tempProperties.c_cflag |= CS8; break; } default: break; } tempProperties.c_cflag |= CLOCAL; tempProperties.c_cflag |= CREAD; tempProperties.c_iflag |= ICRNL; tempProperties.c_oflag = 0; tempProperties.c_lflag = 0; tempProperties.c_cc[VTIME] = 0; tempProperties.c_cc[VMIN] = 1; if (tcsetattr(this->uartFD, applyMode, &tempProperties) == 0) { this->uartErrors->baudRateError = false; this->uartErrors->charSizeError = false; this->uartErrors->parityError = false; this->uartErrors->stopBitsError = false; this->currentUartProperties.uartBaudIn = props.uartBaudIn; this->currentUartProperties.uartBaudOut = props.uartBaudOut; this->currentUartProperties.uartCharSize = (props.uartCharSize == CharDefault) ? Char8 : props.uartCharSize; this->currentUartProperties.uartParity = (props.uartParity == ParityDefault) ? ParityNo : props.uartParity; this->currentUartProperties.uartStopBits = (props.uartStopBits == StopDefault) ? StopOne : props.uartStopBits; return true; } else { this->uartErrors->baudRateError = true; this->uartErrors->charSizeError = true; this->uartErrors->parityError = true; this->uartErrors->stopBitsError = true; return false; } } bool BlackUART::isOpen() { return this->isOpenFlag; } bool BlackUART::isClose() { return !(this->isOpenFlag); } bool BlackUART::fail() { return (this->uartErrors->dtError or this->uartErrors->readError or this->uartErrors->writeError or this->uartErrors->flushError or this->uartErrors->openError or this->uartErrors->closeError or this->uartErrors->directionError or this->uartErrors->baudRateError or this->uartErrors->charSizeError or this->uartErrors->stopBitsError or this->uartErrors->parityError); } bool BlackUART::fail(BlackUART::flags f) { if (f == dtErr) { return this->uartErrors->dtError; } if (f == readErr) { return this->uartErrors->readError; } if (f == writeErr) { return this->uartErrors->writeError; } if (f == flushErr) { return this->uartErrors->flushError; } if (f == closeErr) { return this->uartErrors->closeError; } if (f == openErr) { return this->uartErrors->openError; } if (f == directionErr) { return this->uartErrors->directionError; } if (f == parityErr) { return this->uartErrors->parityError; } if (f == baudRateErr) { return this->uartErrors->baudRateError; } if (f == charSizeErr) { return this->uartErrors->charSizeError; } if (f == stopBitsErr) { return this->uartErrors->stopBitsError; } return true; } BlackUART& BlackUART::operator<<(std::string &writeFromThis) { if (::write(this->uartFD, writeFromThis.c_str(), writeFromThis.size()) > 0) { this->uartErrors->writeError = false; } else { this->uartErrors->writeError = true; } return *this; } BlackUART& BlackUART::operator>>(std::string &readToThis) { std::string tempReadBuffer; tempReadBuffer.resize(this->readBufferSize); int readSize = ::read(this->uartFD, &tempReadBuffer[0], tempReadBuffer.size()); if (readSize > 0) { this->uartErrors->readError = false; tempReadBuffer.resize(readSize); readToThis = tempReadBuffer; } else { this->uartErrors->readError = true; readToThis = UART_READ_FAILED; } return *this; } } /* namespace BlackLib */
84b1dbe9d291284636e27a956d95f4a17c9f57bf
a129e0634744a348b657ce83eec025bcbdddecee
/third_party/vcglib/vcg/space/intersection2.h
30b0353d853104fc4573c38626d6bf2c281f898c
[ "BSD-3-Clause" ]
permissive
vrsys/lamure
dce3edc41041d5b9f8cf978931e8958ec09db3c4
48fd3b8da09089a429a883a5251501075bf8aaee
refs/heads/master
2021-06-20T03:27:48.701265
2021-02-08T13:29:02
2021-02-08T13:29:02
46,350,191
7
17
BSD-3-Clause
2019-10-09T08:02:39
2015-11-17T13:52:53
C++
UTF-8
C++
false
false
12,078
h
intersection2.h
/**************************************************************************** * VCGLib o o * * Visual and Computer Graphics Library o o * * _ O _ * * Copyright(C) 2004 \/)\/ * * Visual Computing Lab /\/| * * ISTI - Italian National Research Council | * * \ * * All rights reserved. * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * for more details. * * * ****************************************************************************/ /**************************************************************************** History $Log: not supported by cvs2svn $ Revision 1.6 2007/05/08 12:11:58 pietroni added circle-line intersection ****************************************************************************/ #ifndef __VCGLIB_INTERSECTION_2 #define __VCGLIB_INTERSECTION_2 #include <vcg/space/line2.h> #include <vcg/space/ray2.h> #include <vcg/space/segment2.h> #include <vcg/space/point2.h> #include <vcg/space/triangle2.h> #include <vcg/space/box2.h> #include <vector> namespace vcg { /** \addtogroup space */ /*@{*/ /** Function computing the intersection between couple of geometric primitives in 2 dimension */ /// return true if the algle is convex (right rotation) template<class SCALAR_TYPE> inline bool Convex(const Point2<SCALAR_TYPE> & p0,const Point2<SCALAR_TYPE> & p1,const Point2<SCALAR_TYPE> & p2) { const SCALAR_TYPE EPS= SCALAR_TYPE(1e-8); return (((p0-p1)^(p2-p1))<=EPS); } ///return if exist the intersection point ///between 2 lines in a 2d plane template<class SCALAR_TYPE> inline bool LineLineIntersection(const vcg::Line2<SCALAR_TYPE> & l0, const vcg::Line2<SCALAR_TYPE> & l1, Point2<SCALAR_TYPE> &p) { const SCALAR_TYPE Eps= SCALAR_TYPE(1e-8); ///first line SCALAR_TYPE x1=l0.Origin().X(); SCALAR_TYPE y1=l0.Origin().Y(); SCALAR_TYPE x2=x1+l0.Direction().X(); SCALAR_TYPE y2=y1+l0.Direction().Y(); ///second line SCALAR_TYPE x3=l1.Origin().X(); SCALAR_TYPE y3=l1.Origin().Y(); SCALAR_TYPE x4=x3+l1.Direction().X(); SCALAR_TYPE y4=y3+l1.Direction().Y(); ///then find intersection ///denominator SCALAR_TYPE den=((x1-x2)*(y3-y4))-((y1-y2)*(x3-x4)); if (fabs(den)<Eps) return false; SCALAR_TYPE d0=(x1*y2)-(y1*x2); SCALAR_TYPE d1=(x3*y4)-(y3*x4); SCALAR_TYPE numx=(d0*(x3-x4))-(d1*(x1-x2)); SCALAR_TYPE numy=(d0*(y3-y4))-(d1*(y1-y2)); p.X()=numx/den; p.Y()=numy/den; return true; } ///return if exist the intersection point ///between 2 lines in a 2d plane template<class SCALAR_TYPE> inline bool RayLineIntersection(const vcg::Line2<SCALAR_TYPE> & l, const vcg::Ray2<SCALAR_TYPE> & r, Point2<SCALAR_TYPE> &p) { ///construct line from ray vcg::Line2<SCALAR_TYPE> l_test; l_test.Set(r.Origin(),r.Direction()); if (!LineLineIntersection(l,l_test,p)) return false; Point2<SCALAR_TYPE> dir=p-r.Origin(); dir.Normalize(); return (dir*r.Direction()>0); } /// interseciton between point and triangle template<class SCALAR_TYPE> inline bool RaySegmentIntersection(const vcg::Ray2<SCALAR_TYPE> & r, const vcg::Segment2<SCALAR_TYPE> &seg, Point2<SCALAR_TYPE> &p_inters) { ///first compute intersection between lines vcg::Line2<SCALAR_TYPE> line2; line2.SetOrigin(seg.P0()); vcg::Point2<SCALAR_TYPE> dir=seg.P1()-seg.P0(); dir.Normalize(); line2.SetDirection(dir); if(!RayLineIntersection<SCALAR_TYPE>(line2,r,p_inters)) return false; ///then test if intersection point is nearest ///to both extremes then length of the segment SCALAR_TYPE d0=(seg.P1()-p_inters).Norm(); SCALAR_TYPE d1=(seg.P0()-p_inters).Norm(); SCALAR_TYPE length=(seg.P0()-seg.P1()).Norm(); return ((d0<length)&&(d1<length)); } /// interseciton between point and triangle template<class SCALAR_TYPE> inline bool RayBoxIntersection(const vcg::Ray2<SCALAR_TYPE> & r, const vcg::Box2<SCALAR_TYPE> &bbox, Point2<SCALAR_TYPE> &p_inters) { ///first create the 4 segments vcg::Segment2<SCALAR_TYPE> S[4]; for (int i=0;i<4;i++) S[i]=vcg::Segment2<SCALAR_TYPE>(bbox.P(i),bbox.P((i+1)%4)); SCALAR_TYPE mind=std::numeric_limits<SCALAR_TYPE>::max(); bool found=false; for (int i=0;i<4;i++) { Point2<SCALAR_TYPE> p_inters_test; if (!RaySegmentIntersection(r,S[i],p_inters_test))continue; SCALAR_TYPE Norm=(p_inters_test-r.Origin()).Norm(); if (Norm<mind) { mind=Norm; p_inters=p_inters_test; found=true; } } return found; } /// interseciton between point and triangle template<class SCALAR_TYPE> inline bool LineSegmentIntersection(const vcg::Line2<SCALAR_TYPE> & line, const vcg::Segment2<SCALAR_TYPE> &seg, Point2<SCALAR_TYPE> &p_inters) { ///first compute intersection between lines vcg::Line2<SCALAR_TYPE> line2; line2.SetOrigin(seg.P0()); vcg::Point2<SCALAR_TYPE> dir=seg.P1()-seg.P0(); dir.Normalize(); line2.SetDirection(dir); if(!LineLineIntersection(line,line2,p_inters)) return false; ///then test if intersection point is nearest ///to both extremes then length of the segment SCALAR_TYPE d0=(seg.P1()-p_inters).Norm(); SCALAR_TYPE d1=(seg.P0()-p_inters).Norm(); SCALAR_TYPE length=(seg.P0()-seg.P1()).Norm(); return ((d0<length)&&(d1<length)); } /// interseciton between two segments template<class SCALAR_TYPE> inline bool SegmentSegmentIntersection(const vcg::Segment2<SCALAR_TYPE> &seg0, const vcg::Segment2<SCALAR_TYPE> &seg1, Point2<SCALAR_TYPE> &p_inters) { const SCALAR_TYPE Eps= SCALAR_TYPE(1e-8); SCALAR_TYPE lambda0,lambda1; const Point2<SCALAR_TYPE> & p0 = seg0.P0(); const Point2<SCALAR_TYPE> & p1 = seg0.P1(); const Point2<SCALAR_TYPE> & p2 = seg1.P0(); const Point2<SCALAR_TYPE> & p3 = seg1.P1(); SCALAR_TYPE a = (p1-p0)[0]; SCALAR_TYPE b = (p2-p3)[0]; SCALAR_TYPE c = (p1-p0)[1]; SCALAR_TYPE d = (p2-p3)[1]; SCALAR_TYPE e = (p2-p0)[0]; SCALAR_TYPE f = (p2-p0)[1]; SCALAR_TYPE det = a*d-b*c; lambda0 = (d*e-b*f)/det; lambda1 = (-c*e+a*f)/det; if (fabs(det)<Eps) return false;// they are parallell if (!(lambda0 >= 0.0 && lambda0 <= 1.0 && lambda1 >= 0.0 && lambda1 <= 1.0)) return false; p_inters = p0*(1-lambda0)+p1*lambda0; return true; } /// interseciton between point and triangle template<class SCALAR_TYPE> inline bool IsInsideTrianglePoint( const Triangle2<SCALAR_TYPE> & t,const Point2<SCALAR_TYPE> & p) { Point2<SCALAR_TYPE> p0=t.P0(0); Point2<SCALAR_TYPE> p1=t.P0(1); Point2<SCALAR_TYPE> p2=t.P0(2); ///first test with bounding box vcg::Box2<SCALAR_TYPE> b2d; b2d.Add(p0); b2d.Add(p1); b2d.Add(p2); if (!b2d.IsIn(p)) return false; ///then text convex if (!Convex(p0,p1,p2)) std::swap<Point2<SCALAR_TYPE> >(p1,p2); return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0))); //return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0))); } template<class ScalarType> bool TriangleTriangleIntersect2D(const vcg::Triangle2<ScalarType> &tr0, const vcg::Triangle2<ScalarType> &tr1) { ///test BBox Intersection vcg::Box2<ScalarType> bbtr0; bbtr0.Add(tr0.P(0)); bbtr0.Add(tr0.P(1)); bbtr0.Add(tr0.P(2)); vcg::Box2<ScalarType> bbtr1; bbtr1.Add(tr1.P(0)); bbtr1.Add(tr1.P(1)); bbtr1.Add(tr1.P(2)); if (!bbtr0.Collide(bbtr1)) return false; ///test vertex in face for (int i=0;i<3;i++) { bool inside0=vcg::IsInsideTrianglePoint(tr0,tr1.P(i)); bool inside1=vcg::IsInsideTrianglePoint(tr1,tr0.P(i)); if (inside0 || inside1) return true; } ///test segment ///to segment intersection for (int i=0;i<3;i++) { for (int j=0;j<3;j++) { if (i>j) continue; vcg::Segment2<ScalarType> seg0=vcg::Segment2<ScalarType>(tr0.P(i),tr0.P((i+1)%3)); vcg::Segment2<ScalarType> seg1=vcg::Segment2<ScalarType>(tr1.P(j),tr1.P((j+1)%3)); vcg::Point2<ScalarType> p_inters; bool intersect=SegmentSegmentIntersection(seg0,seg1,p_inters); if (intersect) return true; } } return false; } template <class ScalarType> bool PointInsidePolygon(vcg::Point2<ScalarType> p, const std::vector<vcg::Segment2<ScalarType> > &polygon) { int n=polygon.size(); vcg::Box2<ScalarType> BB; for (int i=0;i<n;i++) { BB.Add(polygon[i].P0()); BB.Add(polygon[i].P1()); } if (!BB.IsIn(p))return false; ScalarType size=BB.Diag(); ///take 4 directions int inside_test=0; for (int dir=0;dir<4;dir++) { int intersection=0; vcg::Ray2<ScalarType> r; vcg::Point2<ScalarType> direct=vcg::Point2<ScalarType>(0,0); switch (dir) { case 0 : direct.X()=1;break; case 1 : direct.Y()=1;break; case 2 : direct.X()=-1; break; default :direct.Y()=-1; } r.SetOrigin(p); r.SetDirection(direct); for (int i=0;i<n;i++) { Point2<ScalarType> p_inters; if (vcg::RaySegmentIntersection(r,polygon[i],p_inters))intersection++; } if ((intersection%2)==1) inside_test++; } return(inside_test>2); } //intersection between a circle and a line template<class ScalarType> inline bool CircleLineIntersection(const vcg::Line2<ScalarType> & line, const vcg::Point2<ScalarType> &center, const ScalarType &radius, vcg::Point2<ScalarType> &p0, vcg::Point2<ScalarType> &p1) { ///translate with origin on the center ScalarType x1,x2,y1,y2; x1=line.Origin().X()-center.X(); y1=line.Origin().Y()-center.Y(); x2=x1+line.Direction().X(); y2=y1+line.Direction().Y(); ScalarType dx,dy,dr,D,delta,sign; dx=x2-x1; dy=y2-y1; dr=sqrt(dx*dx+dy*dy); D=x1*y2-x2*y1; delta=radius*radius*dr*dr-D*D; if (dy>=0) sign=1; else sign=-1; if (delta<0.000001) return false;///no intersection else { p0.X()=(D*dy+sign*dx*sqrt(delta))/dr*dr; p0.Y()=(-D*dx+fabs(dy)*sqrt(delta))/dr*dr; p1.X()=(D*dy-sign*dx*sqrt(delta))/dr*dr; p1.Y()=(-D*dx-fabs(dy)*sqrt(delta))/dr*dr; p0+=center; p1+=center; return true; } } // Ray-Segment Functor class RaySegmentIntersectionFunctor { public: template <class SEGMENTTYPE, class SCALARTYPE> inline bool operator () (const SEGMENTTYPE & S, const Ray2<SCALARTYPE> & ray, SCALARTYPE & t) { typedef SCALARTYPE ScalarType; typedef vcg::Point2<ScalarType> CoordType; CoordType inters_test; bool bret = RaySegmentIntersection(ray,S, inters_test); if (bret) t=(inters_test-ray.Origin()).Norm(); return (bret); } }; /*@}*/ } // end namespace #endif
4e26e1a55dd3f5635c15a7bc4ad0b68cb4a4eb78
5aa80aab7a75d76b0aa838bf8f74a276a12c876e
/src/db/db_graph_vertex.h
dc02f1da7b7af5a6795472b0cf866377a87bedbe
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
tungstenfabric/tf-controller
83b6d58afadb5697b540b5345711a5b2af90d201
f825fde287f4eb2089aba2225ca73eeab3888040
refs/heads/master
2023-08-28T02:56:27.329584
2023-08-20T12:15:38
2023-08-20T12:31:34
231,070,970
55
29
Apache-2.0
2023-07-23T01:38:17
2019-12-31T10:24:38
C++
UTF-8
C++
false
false
3,346
h
db_graph_vertex.h
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef ctrlplane_db_graph_entry_h #define ctrlplane_db_graph_entry_h #include "db/db_entry.h" #include "db/db_graph_base.h" class DBGraph; class DBGraphEdge; class DBGraphVertex; namespace boost { template <> struct is_POD<DBGraphEdge> : public false_type {}; template <> struct is_POD<DBGraphVertex> : public false_type {}; } class DBGraphVertex : public DBEntry { public: typedef DBGraphBase::vertex_descriptor Vertex; typedef DBGraphBase::edge_descriptor Edge; DBGraphVertex() : vertex_id_(NULL), visited_at_(0) { } class adjacency_iterator : public boost::iterator_facade< adjacency_iterator, DBGraphVertex, boost::forward_traversal_tag > { public: adjacency_iterator(); adjacency_iterator(DBGraph *graph, Vertex vertex); private: friend class boost::iterator_core_access; void increment() { ++iter_; } bool equal(const adjacency_iterator &rhs) const { if (graph_ == NULL) { return (rhs.graph_ == NULL); } if (rhs.graph_ == NULL) { return iter_ == end_; } return iter_ == rhs.iter_; } DBGraphVertex &dereference() const; DBGraph *graph_; DBGraphBase::adjacency_iterator iter_; DBGraphBase::adjacency_iterator end_; }; class edge_iterator : public boost::iterator_facade< edge_iterator, DBGraphEdge, boost::forward_traversal_tag > { public: edge_iterator(); edge_iterator(DBGraph *graph, DBGraphVertex *vertex); DBGraphVertex *target() const; private: friend class boost::iterator_core_access; void increment() { ++iter_; } bool equal(const edge_iterator &rhs) const { if (graph_ == NULL) { return (rhs.graph_ == NULL); } if (rhs.graph_ == NULL) { return iter_ == end_; } return iter_ == rhs.iter_; } DBGraphEdge &dereference() const; DBGraph *graph_; DBGraphVertex *vertex_; DBGraphBase::out_edge_iterator iter_; DBGraphBase::out_edge_iterator end_; }; adjacency_iterator begin(DBGraph *graph) { return adjacency_iterator(graph, vertex_id_); } adjacency_iterator end(DBGraph *graph) { return adjacency_iterator(); } edge_iterator edge_list_begin(DBGraph *graph) { return edge_iterator(graph, this); } edge_iterator edge_list_end(DBGraph *graph) { return edge_iterator(); } bool HasAdjacencies(DBGraph *graph) const; void set_vertex(const Vertex &vertex_id) { vertex_id_ = vertex_id; } void VertexInvalidate() { vertex_id_ = NULL; } bool IsVertexValid() { return (vertex_id_ != NULL); } Vertex vertex() const { return vertex_id_; } void set_visited(uint64_t current_graph_walk_num) { visited_at_ = current_graph_walk_num; } bool visited(uint64_t current_graph_walk_num) { return (visited_at_ == current_graph_walk_num); } virtual std::string ToString() const = 0; private: Vertex vertex_id_; uint64_t visited_at_; }; #endif
eef9575a1c9597924da97aa3405d007fc8d8b53d
1cc4727469951710751e9c46d4e578cacc0ec141
/jp2_pc/Source/Lib/Renderer/Sky.hpp
cf0d0613872acd16859b8efa89d6b9bc0a44e435
[]
no_license
FabulaM24/JurassicParkTrespasserAIrip
60036b6a0196f33b42bdc7f6e4c984ef39a813f4
081c826b723a5fef2b318009fdaf13a27af908a5
refs/heads/master
2023-07-15T20:49:47.505140
2020-05-13T12:57:52
2020-05-13T12:57:52
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
12,901
hpp
Sky.hpp
/*********************************************************************************************** * * Copyright © DreamWorks Interactive. 1997 * * Contents: * Sky renderer CSkyRender * Class pointer to the global sky. * * Bugs: * * To do: * *********************************************************************************************** * * $Log:: /JP2_PC/Source/Lib/Renderer/Sky.hpp $ * * 17 98.08.19 6:01p Mmouni * Moved all quality setting values and multipliers into a single structure. * * 16 7/21/98 5:20p Rwyatt * Set sky to use 128 colours * * 15 7/20/98 10:27p Pkeet * Upgraded to Direct3D 4's interface. * * 14 7/13/98 12:06a Pkeet * Added the 'ResetScreenSize' member function. * * 13 98.06.26 7:40p Mmouni * Added sold fill mode to sky. * * 12 4/22/98 12:36p Rwyatt * New text prop to set the flat shade colour * * 11 4/21/98 2:56p Rwyatt * New default fog parameters for the sky. * * 10 98.04.03 1:01p Mmouni * Added save/load methods to CSky. * * 9 1/22/98 3:17p Pkeet * Added a purge function for Direct3D. * * 8 1/05/98 6:26p Pkeet * Added the 'FillD3D' member function. * * 7 1/02/98 2:35p Pkeet * Added structures and preliminary code to support Direct3D. * * 6 10/22/97 5:07p Rwyatt * Added perspective textured and flat for non horizontal skies. * Optimized math and replaced constant expressions expressions * Made fog linear. * frustum vectors are now normalised direction vectors instead of the full length of the * frustum, * Sub division is variable. * * 5 10/16/97 2:04p Agrant * Value table based constructor now allows instancing of CInfo- * not relevant for Sky, but here for uniformity. * * 4 10/14/97 7:08p Rwyatt * New defaults * * 3 10/14/97 4:26a Rwyatt * Added sky/clouds move speed in m/s * * 2 10/13/97 8:14p Rwyatt * Formated for coding standards * * 1 10/13/97 8:01p Rwyatt * Initial Implementation * **********************************************************************************************/ #ifndef LIB_RENDERER_SKY_HPP #define LIB_RENDERER_SKY_HPP #include "Lib/View/Raster.hpp" #include "Lib/View/Colour.hpp" #include "Lib/Groff/ValueTable.hpp" #include "Lib/Loader/Loader.hpp" #include "Lib/EntityDBase/MessageTypes/MsgStep.hpp" //********************************************************************************************** // // Defaults for sky // #define iNUM_SKY_FOG_BANDS 64 #define iNUM_SKY_COLOURS 128 #define fSKY_HORIZONTAL 0.02 // Tollerence before perspective is used #define u4NUM_SKY_TRANSFORM_VERT 6 // number of vertices of the fustrum considered #define fDEFAULT_SKY_HEIGHT 1000.0f // meters #define fDEFAULT_SKY_NEAR_FOG 0.75f // dot product #define fDEFAULT_SKY_FAR_FOG 0.95f // dot product #define fDEFAULT_SKY_PIXEL_SCALE 0.055 // pixels pers meter #define fDEFAULT_SKY_WIND_U 3.0f // meters per second #define fDEFAULT_SKY_WIND_V 1.8f // meters per second #define u4DEFAULT_SKY_FOG_BITS 18 // fraction bits in fog values // //************************************** //********************************************************************************************** // // The order of the vectors in the fustrum arrays // #define u4FRUST_TL 0 #define u4FRUST_TR 1 #define u4FRUST_BL 2 #define u4FRUST_BR 3 #define u4FRUST_TOP 4 #define u4FRUST_RIGHT 5 // //************************************** //********************************************************************************************** // #define fSKY_HORIZON_Z 0.05f //********************************************************************************************** // #define u4SCREEN_DIVIDE_PIXELS 32 //********************************************************************************************** // class CSkyRender // Prefix: sky // //************************************** { public: rptr<CRaster> prasD3DSky; bool bUseD3D; //****************************************************************************************** CSkyRender(rptr<CRaster> pras_sky, rptr<CRaster> pras_screen); //****************************************************************************************** void DrawSkyToHorizon(); //****************************************************************************************** void SetWorkingConstants ( float f_pixels_per_meter, float f_sky_height, float f_fog_near, float f_fog_far, uint32 u4_sub_division ); //****************************************************************************************** void ResetScreenSize(); //****************************************************************************************** void RemoveRenderSurface() { prasRenderSurface = rptr0; } //****************************************************************************************** void NewRenderSurface(rptr<CRaster> pras_screen); //****************************************************************************************** rptr<CRaster> prasGetSkyTexture() { return prasSkyTexture; } //****************************************************************************************** float fGetPixelsPerMeter() { return fPixelsPerMeter; } //****************************************************************************************** float fGetFogNear() { return fFogNear; } //****************************************************************************************** float fGetFogFar() { return fFogFar; } //****************************************************************************************** float fGetHeight() { return fSkyHeight; } //****************************************************************************************** uint32 u4GetDivisionLength() { return u4DivisionLength; } //****************************************************************************************** void SetSkyWind ( float f_u_speed, float f_v_speed ) { fSkyOffsetdU = f_u_speed*65536.0f; fSkyOffsetdV = f_v_speed*65536.0f; } //****************************************************************************************** void GetSkyWind ( float& f_u_speed, float& f_v_speed ) { f_u_speed = fSkyOffsetdU / 65536.0f; f_v_speed = fSkyOffsetdV / 65536.0f; } //****************************************************************************************** void SetSkyFogTable(CColour clr_fog); //****************************************************************************************** enum SkyDrawMode { sdmFill, // Solid color. sdmGradient, // Solid gradient (fog). sdmTextured // Textured. }; //****************************************************************************************** void SetDrawMode(SkyDrawMode sdm_mode) { sdmMode = sdm_mode; } //****************************************************************************************** bool bSkyTextured() { return sdmMode == sdmTextured; } //****************************************************************************************** void SetFilled(bool b_fill) { bFill = b_fill; } //****************************************************************************************** bool bSkyFill() { return bFill; } //****************************************************************************************** void SetFlatShadeColour(int32 i4_flat_colour) { u4FlatColourIndex = (uint32)i4_flat_colour; } //****************************************************************************************** // // Helper functions to create the global sky and extract text properties // static void CreateSky ( const CGroffObjectName* pgon, // Object to load. CLoadWorld* pload, // The loader. const ::CHandle& h_object, // handle of object in value table. CValueTable* pvtable, // Value Table. const CInfo* pinfo // The info to copy. Create a new one if 0. ); //****************************************************************************************** // void PurgeD3D ( ); // // Purges the Direct3D version of the sky. // //************************************** //****************************************************************************************** // void InitializeForD3D ( ); // // Sets up structrures for using the sky with Direct3D. // //************************************** //****************************************************************************************** static void RemoveSky(); //***************************************************************************************** // char* pcSave ( char* pc ) const; // // Saves the sky settings to a buffer. // //************************************** //***************************************************************************************** // const char* pcLoad ( const char* pc ); // // Loads the sky settings from a buffer. // //************************************** protected: //****************************************************************************************** void FillD3D(float f_offset_x, float f_offset_y); //****************************************************************************************** void DrawD3D(); //****************************************************************************************** void DrawSkyTexturedLinear(); //****************************************************************************************** void DrawSkyFlatLinear(); //****************************************************************************************** void DrawSkyTexturedPerspective(); //****************************************************************************************** void DrawSkyFlatPerspective(); //****************************************************************************************** void SetTransformedCameraCorners(); //****************************************************************************************** void FillSky ( uint16* pu2_dst, // pointer to the dst surface int32 i4_width, // width in pixels to store int32 i4_pitch_adj, // value to add to pointer at end of scan line to get tp the next uint32 u4_lines, // number of lines to do uint32 u4_col // colour packed into a DWORD ); //****************************************************************************************** // // Data Members // rptr<CRaster> prasSkyTexture; // Texture for the sky rptr<CRaster> prasRenderSurface; // Destination raster uint16* pu2Raster; // pointer to the 16bit destination int32 i4Pitch; // pitch of the destination raster uint32 u4DivisionLength; // number of pixels per division (must be even).. float fDivisionsPerScanRep; // 1.0 / number of divisions per scan line float fDivisionLengthRepScale;// 1.0 / number of division pixel length * 65536.0 float fPixelsPerMeter; // sky pixels per meter.. float fScale; // Bitmap scale float fFogFar; // distance to far fog (100% fog) float fFogNear; // distance to minimum fog (before this is 0% fog) float fFogScale; // Scale from 0..1 to fog bands * 65536.0f float fScreenWidthRep; // 1/screen width float fScreenHeightRep; // 1/screen height float fScreenWidthScaleRep; // scales dU,dV into a per horizontal pixel quantity. float fSkyHeight; // height of sky in meters float fSkyOffsetU; // position offset of sky texture in U float fSkyOffsetV; // position offset of sky texture in V float fSkyOffsetdU; // how much the sky texture moves each frame * 65536.0 float fSkyOffsetdV; // how much the sky texture moves each frame * 65536.0 TSec sFrameTime; // used to calculate cloud/texture movement uint32 u4ScreenWidth; // width of destination raster uint32 u4ScreenHeight; // height of destination raster SkyDrawMode sdmMode; // How to draw the sky. bool bFill; // Fill screen with sky // colour table of size iNUM_SKY_FOG_BANDS*iNUM_SKY_FOG_COLOURS*2 bytes per entry uint16 u2FogTable[iNUM_SKY_FOG_BANDS][iNUM_SKY_COLOURS]; uint32 u4Fog; // Dword containing 2 fog pixels uint32 u4FlatColourIndex; // Palette index of the flat shaded colour //****************************************************************************************** static CVector3<> av3Frustum[u4NUM_SKY_TRANSFORM_VERT]; //****************************************************************************************** static CVector3<> av3FrustTran[u4NUM_SKY_TRANSFORM_VERT]; //****************************************************************************************** static CVector3<> v3Camera; }; //********************************************************************************************** // extern CSkyRender* gpskyRender; // //************************************** #endif
fcd80d44cf199e70faebdffbf4eefba4c53b502b
37ae3ed432431ed5450a3f16400f7d15406af7ad
/ScheduleMultipartiteGraph/someTestData/planettablemodel.h
a5248cd188e75cd077fdc5648ee39f42880e38a1
[]
no_license
valeriefuerte/ScheduleMultipartiteGraph
9ac6a501cd7d44b613851ffe37a6223c6912256e
6cb5a131ed71f465bf0f78905d8b0589ad52a2c2
refs/heads/master
2021-01-05T17:40:26.863925
2020-06-04T09:12:07
2020-06-04T09:12:07
241,092,173
1
3
null
2020-06-04T09:12:09
2020-02-17T11:34:18
C++
UTF-8
C++
false
false
772
h
planettablemodel.h
#ifndef PLANETTABLEMODEL_H #define PLANETTABLEMODEL_H #include <QAbstractTableModel> #include "planet.h" #include <QColor> class PlanetTableModel : public QAbstractTableModel { public: PlanetTableModel(QObject* parent = 0); PlanetTableModel(const QList<Planet>& planetList, QObject *parent = 0); int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; QVariant data (const QModelIndex & index, int role = Qt::DisplayRole) const; QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; private: QList<Planet> m_planetList; }; #endif // EARTHQUAKETABLEMODEL_H
960765f6c0e272b7aab524e718234bbd029fb93b
71bbcda157cc485c14f33fa73c6a851ea12ed509
/1-8-13z.cpp
2682e17d2acb74df573a502a1f20e236b94759d8
[ "Apache-2.0" ]
permissive
Kaermor/stepik-course363-cpp
3196b7ed5b491a705849dfe7c9b6bb9e56fc7f72
7df3381ee5460565754745b6d48ed3f1324e73ef
refs/heads/master
2020-07-26T17:30:05.182616
2020-02-12T13:49:13
2020-02-12T13:49:13
208,719,062
0
0
null
null
null
null
UTF-8
C++
false
false
641
cpp
1-8-13z.cpp
// // Created by grey on 27.10.2019. // #include <iostream> #include <iomanip> using namespace std; void foo_1_8_13z() { int n, m, a[100][100], k=1, x1=0, y1=0, j, i; cin >> n >> m; while (k <= n*m) { j = x1; i = y1; while (j >= 0 && i < n) { a[i][j] = k; i++; j--; k++; } if (x1 < m-1){ x1++; } else{ y1++; } } //output for (int i1 = 0; i1 < n; ++i1) { for (int j1 = 0; j1 < m; ++j1) { cout << setw(4) << a[i1][j1]; } cout << endl; } }
a5502066822665f666ed17f8bcc2cf6c3a4ff64c
2485005ebb1b9ac79a3f9195b6bfeb7817ae7a9c
/include/braincloud/internal/DefaultRelayTCPSocket.h
f21d90a10b4c494263e9fd462544c77a5e9fc778
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
getbraincloud/braincloud-cpp
c2ca31e9971b1103178eedc55cd40ea98a03bbb1
03c2446cd512529a35fdf4d041da0ec84c785b4a
refs/heads/master
2023-09-01T15:47:48.536831
2023-08-03T19:40:31
2023-08-03T19:40:31
51,466,360
4
19
Apache-2.0
2023-09-14T20:39:40
2016-02-10T19:33:02
C++
UTF-8
C++
false
false
1,677
h
DefaultRelayTCPSocket.h
#ifndef _DEFAULTRELAYTCPSOCKER_H_ #define _DEFAULTRELAYTCPSOCKER_H_ #include "braincloud/internal/IRelayTCPSocket.h" #include <thread> #include <atomic> #include <sys/types.h> #include <sys/socket.h> #include <sys/select.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <netdb.h> #include <unistd.h> #include <strings.h> #include <memory.h> #include <fcntl.h> #define INVALID_SOCKET -1 #define SOCKET_ERROR -1 using SOCKET = int; namespace BrainCloud { class DefaultRelayTCPSocket final : public IRelayTCPSocket { public: ~DefaultRelayTCPSocket(); void updateConnection() override; bool isConnected() override; bool isValid() override; void send(const uint8_t* pData, int size) override; const uint8_t* peek(int& size) override; // Returns null if nothing to read void close() override; protected: friend class IRelayTCPSocket; DefaultRelayTCPSocket(const std::string& address, int port, int maxPacketSize); private: enum class State { FetchingRemotes, Connecting, Connected, Error }; void connect(addrinfo* pAddress); bool poll(); SOCKET m_socket = INVALID_SOCKET; std::atomic<State> m_state; struct addrinfo* m_pRemoteAddresses = nullptr; struct addrinfo* m_pRemoteAddress = nullptr; std::thread m_getAddrInfoThread; fd_set m_fdsSet; fd_set m_fdsRead; fd_set m_fdsWrite; int m_maxPacketSize; int m_read = 0; uint8_t* m_buffer; }; }; #endif /* _DEFAULTRELAYTCPSOCKER_H_ */
0151327fb2a119abb6549d84edff78c45185a534
b565b75160e8b99cabb268412d0311e562a3ff25
/OrionUO/Managers/ConnectionManager.cpp
01dab770d8c1813f00068f90924cf085c8743837
[ "MIT" ]
permissive
Siebenwind/Siebenwind-Beta-Client
64afeea76493f45e106e9c4f8631cfa4034c5f23
ac3058c9c6b68e24b2707d568e1b86ff4c6f8a71
refs/heads/master
2022-04-06T13:03:18.024038
2022-04-05T21:37:53
2022-04-05T21:37:53
477,783,130
1
4
MIT
2022-04-05T21:37:54
2022-04-04T16:27:15
C++
UTF-8
C++
false
false
7,622
cpp
ConnectionManager.cpp
// MIT License // Copyright (C) August 2016 Hotride #include "ConnectionManager.h" #include "PacketManager.h" #include <SDL_stdinc.h> #include "../Config.h" #include "../OrionUO.h" #include "../Profiler.h" #include "../ScreenStages/ConnectionScreen.h" #include "../ScreenStages/GameBlockedScreen.h" #include "../Crypt/CryptEntry.h" CConnectionManager g_ConnectionManager; CConnectionManager::CConnectionManager() { } CConnectionManager::~CConnectionManager() { DEBUG_TRACE_FUNCTION; if (m_LoginSocket.Connected) { m_LoginSocket.Disconnect(); } if (m_GameSocket.Connected) { m_GameSocket.Disconnect(); } } void CConnectionManager::SetUseProxy(bool val) { DEBUG_TRACE_FUNCTION; m_UseProxy = val; m_LoginSocket.UseProxy = val; m_GameSocket.UseProxy = val; } void CConnectionManager::SetProxyAddress(const string &val) { DEBUG_TRACE_FUNCTION; m_ProxyAddress = val; m_LoginSocket.ProxyAddress = val; m_GameSocket.ProxyAddress = val; } void CConnectionManager::SetProxyPort(int val) { DEBUG_TRACE_FUNCTION; m_ProxyPort = val; m_LoginSocket.ProxyPort = val; m_GameSocket.ProxyPort = val; } void CConnectionManager::SetProxySocks5(bool val) { DEBUG_TRACE_FUNCTION; m_ProxySocks5 = val; m_LoginSocket.ProxySocks5 = val; m_GameSocket.ProxySocks5 = val; } void CConnectionManager::SetProxyAccount(const string &val) { DEBUG_TRACE_FUNCTION; m_ProxyAccount = val; m_LoginSocket.ProxyAccount = val; m_GameSocket.ProxyAccount = val; } void CConnectionManager::SetProxyPassword(const string &val) { DEBUG_TRACE_FUNCTION; m_ProxyPassword = val; m_LoginSocket.ProxyPassword = val; m_GameSocket.ProxyPassword = val; } void CConnectionManager::Init() { DEBUG_TRACE_FUNCTION; if (m_LoginSocket.Connected) { return; } m_LoginSocket.Init(); m_GameSocket.Init(); m_IsLoginSocket = true; const auto localIp = socket_localaddress(); m_Seed[0] = static_cast<unsigned char>((localIp >> 24) & 0xff); m_Seed[1] = static_cast<unsigned char>((localIp >> 16) & 0xff); m_Seed[2] = static_cast<unsigned char>((localIp >> 8) & 0xff); m_Seed[3] = static_cast<unsigned char>(localIp & 0xff); Crypt::Init(true, m_Seed); } void CConnectionManager::Init(uint8_t *gameSeed) { DEBUG_TRACE_FUNCTION; if (m_GameSocket.Connected) { return; } m_IsLoginSocket = false; Crypt::Init(false, gameSeed); } void CConnectionManager::SendIP(CSocket &socket, uint8_t *ip) { DEBUG_TRACE_FUNCTION; PluginEvent ev; ev.data1 = ip; ev.data2 = (void *)4; PLUGIN_EVENT(UOMSG_IP_SEND, &ev); socket.Send(ip, 4); } bool CConnectionManager::Connect(const string &address, int port, uint8_t *gameSeed) { DEBUG_TRACE_FUNCTION; LOG("Connecting %s:%d\n", address.c_str(), port); if (m_IsLoginSocket) { if (m_LoginSocket.Connected) { return true; } bool result = m_LoginSocket.Connect(address, port); if (result) { LOG("connected\n"); g_TotalSendSize = 4; g_LastPacketTime = g_Ticks; g_LastSendTime = g_LastPacketTime; if (g_Config.ClientVersion < CV_6060) { SendIP(m_LoginSocket, m_Seed); } else { uint8_t buf = 0xEF; m_LoginSocket.Send(&buf, 1); //0xEF SendIP(m_LoginSocket, m_Seed); Wisp::CDataWriter stream; uint32_t major = 0, minor = 0, rev = 0, prot = 0; GetClientVersion(&major, &minor, &rev, &prot); stream.WriteUInt32BE(major); stream.WriteUInt32BE(minor); stream.WriteUInt32BE(rev); if (prot >= 'a') { prot = 0; } stream.WriteUInt32BE(prot); g_TotalSendSize = 21; m_LoginSocket.Send(stream.Data()); // Client version, 16 bytes } } else { m_LoginSocket.Disconnect(); } return result; } if (m_GameSocket.Connected) { return true; } g_TotalSendSize = 4; g_LastPacketTime = g_Ticks; g_LastSendTime = g_LastPacketTime; const bool result = m_GameSocket.Connect(address, port); if (result) { SendIP(m_GameSocket, gameSeed); } m_LoginSocket.Disconnect(); return result; return false; } void CConnectionManager::Disconnect() { DEBUG_TRACE_FUNCTION; if (m_LoginSocket.Connected) { m_LoginSocket.Disconnect(); } if (m_GameSocket.Connected) { m_GameSocket.Disconnect(); } } void CConnectionManager::Recv() { PROFILER_EVENT(); DEBUG_TRACE_FUNCTION; if (m_IsLoginSocket) { if (!m_LoginSocket.Connected) { return; } if (!m_LoginSocket.ReadyRead()) { if (m_LoginSocket.DataReady == -1) { LOG("Failed to Recv()...Disconnecting...\n"); g_Orion.InitScreen(GS_MAIN_CONNECT); g_ConnectionScreen.SetType(CST_CONLOST); } return; } g_PacketManager.Read(&m_LoginSocket); } else { if (!m_GameSocket.Connected) { return; } if (!m_GameSocket.ReadyRead()) { if (m_GameSocket.DataReady == -1) { LOG("Failed to Recv()...Disconnecting...\n"); if (g_GameState == GS_GAME || (g_GameState == GS_GAME_BLOCKED && (g_GameBlockedScreen.Code != 0u))) { g_Orion.DisconnectGump(); } else { g_Orion.InitScreen(GS_MAIN_CONNECT); g_ConnectionScreen.SetType(CST_CONLOST); } } return; } g_PacketManager.Read(&m_GameSocket); } } int CConnectionManager::Send(uint8_t *buf, int size) { DEBUG_TRACE_FUNCTION; if (g_Config.TheAbyss) { switch (buf[0]) { case 0x34: buf[0] = 0x71; break; case 0x72: buf[0] = 0x6C; break; case 0x6C: buf[0] = 0x72; break; case 0x3B: buf[0] = 0x34; break; case 0x6F: buf[0] = 0x56; break; case 0x56: buf[0] = 0x6F; break; default: break; } } else if (g_Config.Asmut) { if (buf[0] == 0x02) { buf[0] = 0x04; } else if (buf[0] == 0x07) { buf[0] = 0x0A; } } if (m_IsLoginSocket) { if (!m_LoginSocket.Connected) { return 0; } vector<uint8_t> cbuf(size); Crypt::Encrypt(true, &buf[0], &cbuf[0], size); return m_LoginSocket.Send(cbuf); } if (!m_GameSocket.Connected) { return 0; } vector<uint8_t> cbuf(size); Crypt::Encrypt(false, &buf[0], &cbuf[0], size); return m_GameSocket.Send(cbuf); return 0; } int CConnectionManager::Send(const vector<uint8_t> &data) { DEBUG_TRACE_FUNCTION; return Send((uint8_t *)&data[0], (int)data.size()); }
9eb444684c1ceb18942bb3f3bb2a169383e1a5e7
e0366e6e4ed0efc707eafac0884c1c55de040b25
/20101229/Q2/main.cpp
47c903fa5bff45d6789fb44e7334061c1a041aa0
[]
no_license
Vdragon/NTOU_C_programming_lab
baa3f775022966fa2b66c970c14066fb6f5db223
5c268e857818f716a967f98b7fb342102a31249b
refs/heads/master
2016-09-06T03:28:10.300639
2012-06-12T17:39:54
2012-06-12T17:39:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,706
cpp
main.cpp
#include <stdio.h> /*#include <conio.h>*/ #include <stdlib.h> int main() { restart: //declare int for input unsigned short int inputNum; //prompt scanf("%hud", &inputNum); //xValue array&y short int xValue[20] = {0}; short int yValue[20] = {0}; //double for storing max length double maxLength; //int for storing the 2 longest point unsigned short int longestPoint[2] = {0}; //counter for counting data length unsigned short int dataLength = 0; {//output #1 //counter for print loop unsigned short int printLoopC; //print out first first printf("(%d,%d)", xValue[0], yValue[0]); //for loop to print out other for(printLoopC = 1; printLoopC < dataLength; printLoopC++) { printf(",(%d,%d)", xValue[printLoopC], yValue[printLoopC]); } //last print a newline printf("\n"); } {//output #2 } {//pause //prompt printf("按q結束程式、r重新開始"); char pauseChar; while((pauseChar = getchar()) != 'q') { //restart if(pauseChar == 'r') { system("cls"); goto restart; } } } return 0; }
31fd4e5f2b0e5a05e8b0732dcb404f1d251147f3
138b2ddf41a09aa681a9d42f2204950d16f176bf
/dumb_graphics_component.cpp
722df52d367074574a7be73b77d9ee6de5ac90a8
[]
no_license
calebpalmer/balloon
cc70fc0fd89cfe59acf0f0dac30f88708a3e2eba
e4859a30787664502d8add8c62656df43341fc5c
refs/heads/master
2021-01-12T17:23:04.679021
2017-04-16T00:04:26
2017-04-16T00:04:26
71,556,229
0
0
null
null
null
null
UTF-8
C++
false
false
967
cpp
dumb_graphics_component.cpp
#include "dumb_graphics_component.h" using namespace CapEngine; DumbGraphicsComponent::DumbGraphicsComponent(Uint32 windowID, int width, int height, Colour colour) : m_windowID(windowID), m_width(width), m_height(height), m_colour(colour), m_pTexture(nullptr) {} DumbGraphicsComponent::~DumbGraphicsComponent(){ if(m_pTexture != nullptr){ Locator::videoManager->closeTexture(m_pTexture); } } void DumbGraphicsComponent::render(GameObject* object){ if(m_pTexture == nullptr){ Surface* pSurface = CapEngine::createRectangle2(m_width, m_height, m_colour); m_pTexture = Locator::videoManager->createTextureFromSurface(pSurface, true); } Vector position = object->getPosition(); // position is center based int x = position.x - (m_width / 2); int y = position.y - (m_height / 2); Locator::videoManager->drawTexture(m_windowID, x, y, m_pTexture); } void DumbGraphicsComponent::update(GameObject* pObject, double ms){ // do nothing }
2d7feac8f6ddc4d569373844acd1345529f6be21
9a7c801ba44f7597056ae676fd10a57e3bb75ec6
/Transform.hpp
debb350ad491e1a35c989e00fa5cd6298ceca468
[]
no_license
krinnewitz/Transform
e670bdab66472f3477fe3c585e1966c6c0b4d17e
6e86efde26b056ae078d4b48911fa0b1453c2517
refs/heads/master
2016-09-10T20:51:50.253881
2012-08-07T11:43:31
2012-08-07T11:43:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,394
hpp
Transform.hpp
/* Copyright (C) 2011 Uni Osnabrück * This file is part of the LAS VEGAS Reconstruction Toolkit, * * LAS VEGAS is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * LAS VEGAS is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ /* * Transform.hpp * * @date 06.08.2012 * @author Kim Rinnewitz (krinnewitz@uos.de) */ #ifndef TRANSFORM_HPP_ #define TRANSFORM_HPP_ #include <cstring> #include <math.h> #include <opencv/highgui.h> #include <opencv/cv.h> #include <cstdio> #include "Texture.hpp" #include <queue> namespace lssr { /** * @brief This class calculates transformations between images/textures. */ class Transform { public: /** * \brief Constructor. Calculates the transformation between the given textures * * \param t1 The first texture * \param t2 The second texture * */ Transform(Texture* t1, Texture* t2); /** * \brief Constructor. Calculates the transformation between the given textures * * \param t1 The first texture * \param t2 The second texture * */ Transform(const cv::Mat &t1, const cv::Mat &t2); /** * \brief Applies the transformation to the second texture/image * * \return The transformed texture/image */ cv::Mat apply(); /** * Destructor. */ virtual ~Transform(); private: /** * \brief calculates the rotation, translation and scaling between the two given images * * \param t1 The first image * \param t2 The second image * */ void calcTransform(const cv::Mat &t1, const cv::Mat &t2); ///The first image cv::Mat m_img1; ///The second image cv::Mat m_img2; ///The transformation cv::Mat m_trans; ///The rotation angle float m_alpha; ///The translation in x direction int m_tx; ///The translation in x direction int m_ty; ///The scaling float m_s; }; } #endif /* TRANSFORM_HPP_ */
9eb34c59245fb6b31501e730208a72249bdeee20
fb2f9f38a1828c4c9a6820e945ccd2aaa9a29aac
/metadatatable.cpp
40683d459d4d0b7f410aede9fdb62ffe48c6df94
[]
no_license
CastellarFrank/BASE_DATOS
9b5cb1765a227c4fde7bcc5156bd9059b5b96399
6f40254fb56d715414ec8c93592082f84f0749f4
refs/heads/master
2020-05-17T06:02:45.420039
2012-09-24T20:19:08
2012-09-24T20:19:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
572
cpp
metadatatable.cpp
#include "metadatatable.h" MetaDataTable::MetaDataTable() { this->primaryKey=-1; this->cant_camp=0; this->free='f'; this->pointerToFields=-1; this->nextDataFree=-1; this->register_size=0; this->register_cant=0; this->treeStart=-1; memset(this->nombre,0,24); memset(this->descrip,0,40); memset(this->fecha,0,12); } void MetaDataTable::setDescrip(char *d){ strcpy(this->descrip,d); } void MetaDataTable::setFecha(char *d){ strcpy(this->fecha,d); } void MetaDataTable::setName(char *n){ strcpy(this->nombre,n); }
a9eade6617c7f52b2d65bf323e9aaa532dbcdf38
8c7b3993091dac96a017328ad69e04746d07c91d
/main.cpp
1fec64aa0a9742619881f8e40dd8791ecf13dccd
[]
no_license
SundongCandy/ParticleSystem
e0cfc9485a39c151b3ec79e885ecbe1746aae30d
e0f0a079db44cbc6f1c1f4c40c8c54d803ea28f1
refs/heads/master
2021-01-19T19:57:02.990651
2017-04-20T15:22:42
2017-04-20T15:22:42
88,467,843
0
0
null
null
null
null
UTF-8
C++
false
false
11,329
cpp
main.cpp
#include <iostream> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> // Other Libs #include <SOIL/SOIL.h> // Other includes #include "Shader.h" #include "psparticle2f.h" #include "psparticleemitter2f.h" // Function prototypes void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode); // Window dimensions const GLuint WIDTH = 800, HEIGHT = 600; // Holds uniform value of texture mix GLfloat mixValue = 0.2f; // The MAIN function, from here we start the application and run the game loop int main() { // Init GLFW glfwInit(); // Set all the required options for GLFW glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); // Create a GLFWwindow object that we can use for GLFW's functions GLFWwindow* window = glfwCreateWindow(WIDTH, HEIGHT, "LearnOpenGL", nullptr, nullptr); glfwMakeContextCurrent(window); // Set the required callback functions glfwSetKeyCallback(window, key_callback); // Set this to true so GLEW knows to use a modern approach to retrieving function pointers and extensions glewExperimental = GL_TRUE; // Initialize GLEW to setup the OpenGL Function pointers glewInit(); // Define the viewport dimensions glViewport(0, 0, WIDTH, HEIGHT); // Build and compile our shader program Shader ourShader("textures.vs", "textures.frag"); // Set up vertex data (and buffer(s)) and attribute pointers PsParticle2f a(1.0f, 1.0f, PsColor(0.871f, 0.490f, 0.173f), PsVector2f(0.0f, 1.0f), PsVector2f(0.0f, 0.0f), 0.0f, 0.0f, 10.0f, 0.0f); PsParticle2f b(1.0f, 1.0f, PsColor(0.871f, 0.490f, 0.173f), PsVector2f(1.0f, -1.0f), PsVector2f(0.0f, 0.0f), 0.0f, 0.0f, 10.0f, 0.0f); PsParticle2f c(1.0f, 1.0f, PsColor(0.871f, 0.490f, 0.173f), PsVector2f(-1.0f, 0.0f), PsVector2f(0.0f, 0.0f), 0.0f, 0.0f, 10.0f, 0.0f); PsParticle2f d(1.0f, 2.0f, PsColor(0.871f, 0.490f, 0.173f), PsVector2f(-1.0f, 4.0f), PsVector2f(0.0f, 0.0f), 0.0f, 0.0f, 10.0f, 0.0f); PsParticle2f e(1.0f, 1.0f, PsColor(0.871f, 0.490f, 0.173f), PsVector2f(-1.0f, -1.0f), PsVector2f(0.0f, 0.0f), 0.0f, 0.0f, 10.0f, 0.0f); PsParticleEmitter2f emitter( 150, PsVector2f(0.0f, 20.0f), PsVector2f(20.0f, 0.0f), 20, 1.0f, 0.5f, 1.0f, 0.5f, PsColor(1.0f, 1.0f, 0.0f), PsVector2f(0.0f, 0.0f), PsVector2f(1.0f, 1.0f), 0.0f, 0.0f, 0.0f, 0.0f, 5.0f, 2.0f, 10.0f ); int vertexNumber = 3; int triangleNumber = 1; int maxVertexNumber, maxTriangleNumber, currentVertexNumber, currentTriangleNumber; emitter.getMaxRenderParameter(&maxVertexNumber, &maxTriangleNumber); emitter.getCurrentRenderParameter(&currentVertexNumber, &currentTriangleNumber); //cout << "maxVertexNumber = " << maxVertexNumber << "; maxTriangleNumber = " << maxTriangleNumber << endl // << "currentVertexNumber = " << currentVertexNumber << "; currentTriangleNumber = " << currentTriangleNumber << endl; GLfloat *vertices2 = (GLfloat *)malloc(sizeof(float) * maxVertexNumber * 8); GLuint *indices2 = (GLuint *)malloc(sizeof(unsigned int) * maxTriangleNumber * 3); int vertices2Begin = 0; int indices2Begin = 0; emitter.getRenderDataasPart(&vertices2, &vertices2Begin, &indices2, &indices2Begin, true); //cout << "vertices2Begin = " << vertices2Begin << "; indices2Begin = " << indices2Begin << endl; a.computeAcceleration(); b.computeAcceleration(); c.computeAcceleration(); d.computeAcceleration(); e.computeAcceleration(); /*GLfloat vertices[] = { // Positions // Colors // Texture Coords 0.5f, 0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f, // Top Right 0.5f, -0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, // Bottom Right -0.5f, -0.5f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, // Bottom Left -0.5f, 0.5f, 0.0f, 1.0f, 1.0f, 0.0f, 0.0f, 1.0f // Top Left }; GLuint indices[] = { // Note that we start from 0! 0, 1, 3, // First Triangle 1, 2, 3 // Second Triangle };*/ int particleNumber = 5; GLfloat *vertices = (GLfloat *)malloc(sizeof(float) * particleNumber * vertexNumber * 8); GLuint *indices = (GLuint *)malloc(sizeof(unsigned int) * particleNumber * triangleNumber * 3); int verticesBegin = 0; int indicesBegin = 0; a.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); b.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); c.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); d.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); //e.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); GLuint VBO, VAO, EBO; glGenVertexArrays(1, &VAO); glGenBuffers(1, &VBO); glGenBuffers(1, &EBO); glBindVertexArray(VAO); glBindBuffer(GL_ARRAY_BUFFER, VBO); glBufferData(GL_ARRAY_BUFFER, sizeof(float) * currentVertexNumber * 8, vertices2, GL_STATIC_DRAW); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, EBO); glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(unsigned int) * currentTriangleNumber * 3, indices2, GL_STATIC_DRAW); // Position attribute glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)0); glEnableVertexAttribArray(0); // Color attribute glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(3 * sizeof(GLfloat))); glEnableVertexAttribArray(1); // TexCoord attribute glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(6 * sizeof(GLfloat))); glEnableVertexAttribArray(2); glBindVertexArray(0); // Unbind VAO // Load and create a texture GLuint texture1; GLuint texture2; // ==================== // Texture 1 // ==================== glGenTextures(1, &texture1); glBindTexture(GL_TEXTURE_2D, texture1); // All upcoming GL_TEXTURE_2D operations now have effect on our texture object // Set our texture parameters glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); // Set texture wrapping to GL_REPEAT glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); // Set texture filtering glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); // Load, create texture and generate mipmaps int width, height; unsigned char* image = SOIL_load_image("container.jpg", &width, &height, 0, SOIL_LOAD_RGB); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, image); glGenerateMipmap(GL_TEXTURE_2D); SOIL_free_image_data(image); glBindTexture(GL_TEXTURE_2D, 0); // Unbind texture when done, so we won't accidentily mess up our texture. // =================== // Texture 2 // =================== glGenTextures(1, &texture2); glBindTexture(GL_TEXTURE_2D, texture2); // Set our texture parameters glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); // Set texture filtering glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); // Load, create texture and generate mipmaps image = SOIL_load_image("awesomeface.png", &width, &height, 0, SOIL_LOAD_RGBA); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, image); glGenerateMipmap(GL_TEXTURE_2D); SOIL_free_image_data(image); glBindTexture(GL_TEXTURE_2D, 0); // Game loop while (!glfwWindowShouldClose(window)) { // Check if any events have been activiated (key pressed, mouse moved etc.) and call corresponding response functions glfwPollEvents(); // Render // Clear the colorbuffer glClearColor(0.2f, 0.3f, 0.3f, 1.0f); glClear(GL_COLOR_BUFFER_BIT); // Activate shader ourShader.Use(); // Bind Textures using texture units glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, texture1); glUniform1i(glGetUniformLocation(ourShader.Program, "ourTexture1"), 0); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, texture2); glUniform1i(glGetUniformLocation(ourShader.Program, "ourTexture2"), 1); // Set current value of uniform mix glUniform1f(glGetUniformLocation(ourShader.Program, "mixValue"), mixValue); a.move(0.001f); b.move(0.001f); c.move(0.001f); d.move(0.001f); e.move(0.001f); a.refreshVertices(); b.refreshVertices(); c.refreshVertices(); d.refreshVertices(); e.refreshVertices(); verticesBegin = 0; indicesBegin = 0; a.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); b.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); c.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); d.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); //e.getRenderDataasPart(&vertices, &verticesBegin, &indices, &indicesBegin, true); emitter.run(0.001f); emitter.getCurrentRenderParameter(&currentVertexNumber, &currentTriangleNumber); vertices2Begin = 0; indices2Begin = 0; emitter.getRenderDataasPart(&vertices2, &vertices2Begin, &indices2, &indices2Begin, true); glBindVertexArray(VAO); glBindBuffer(GL_ARRAY_BUFFER, VBO); glBufferData(GL_ARRAY_BUFFER, sizeof(float) * currentVertexNumber * 8, vertices2, GL_STATIC_DRAW); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, EBO); glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(unsigned int) * currentTriangleNumber * 3, indices2, GL_STATIC_DRAW); // Position attribute glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)0); glEnableVertexAttribArray(0); // Color attribute glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(3 * sizeof(GLfloat))); glEnableVertexAttribArray(1); // TexCoord attribute glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(6 * sizeof(GLfloat))); glEnableVertexAttribArray(2); glBindVertexArray(0); // Unbind VAO // Draw container glBindVertexArray(VAO); glDrawElements(GL_TRIANGLES, currentTriangleNumber * 3, GL_UNSIGNED_INT, 0); glBindVertexArray(0); // Swap the screen buffers glfwSwapBuffers(window); } // Properly de-allocate all resources once they've outlived their purpose glDeleteVertexArrays(1, &VAO); glDeleteBuffers(1, &VBO); glDeleteBuffers(1, &EBO); // Terminate GLFW, clearing any resources allocated by GLFW. glfwTerminate(); return 0; } // Is called whenever a key is pressed/released via GLFW void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode) { if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) glfwSetWindowShouldClose(window, GL_TRUE); // Change value of uniform with arrow keys (sets amount of textre mix) if (key == GLFW_KEY_UP && action == GLFW_PRESS) { mixValue += 0.1f; if (mixValue >= 1.0f) mixValue = 1.0f; } if (key == GLFW_KEY_DOWN && action == GLFW_PRESS) { mixValue -= 0.1f; if (mixValue <= 0.0f) mixValue = 0.0f; } }
34203c65c43a552cb488c480892becb43ed1567d
bb79366c36a43ed2526dbaf9925175b98cdfe1a8
/Source/InceptionEngine/ECS/Components/AnimationComponent/AnimStateMachine.h
0c82a35b94f383a6db1471211921389d0bba5411
[]
no_license
vincore/InceptionEngine
caa01a406a6df0794013663db58f276fa7598045
cc1e5b13c9b195c8a48064ace067bafa951376d6
refs/heads/master
2023-07-12T12:15:22.435629
2021-08-07T06:46:20
2021-08-07T06:46:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,944
h
AnimStateMachine.h
#pragma once #include "EngineGlobals/EngineApiPrefix.h" #include "ECS/Entity/EntityID.h" #include "RunTime/Animation/AnimBlender.h" namespace inceptionengine { class AnimInstance; class Entity; class World; class IE_API AnimStateMachine { public: AnimStateMachine(EntityID entityID, std::reference_wrapper<World> world); virtual ~AnimStateMachine(); AnimStateMachine& operator=(AnimStateMachine&&) noexcept; protected: struct State; struct Link; //internal data representation struct State { State() = default; ~State(); State(State&&) = default; std::unique_ptr<AnimInstance> animInstance = nullptr; std::string animInstanceFilePath; std::vector<Link> links; float runningTime = 0.0f; std::function<void()> enterCallback = []() {}; std::function<void()> leaveCallback = []() {}; }; struct Link { int fromState = -1; int toState = -1; std::function<bool()> translationFunc; float translationDuration = 0.5f; }; protected: Entity const& GetEntity(); int CreateState(std::string const& animFilePath, std::function<void()> enterCallback = []() {}, std::function<void()> leaveCallback = []() {}); void CreateLink(int fromState, int toState, std::function<bool()> translationfunc, float translationDuration); void SetEntryState(int state); float CurrentStateRemainTime() const; protected: //private data member std::vector<State> mStates; int mEntryState = -1; int mCurrentState = -1; private: friend class AnimationController; void Update(float dt); void Restart(); int FindRestartState(int state); bool IsTransiting() const; void InterruptTransition(); void BlendOutOfASM(); private: std::reference_wrapper<World> mWorld; EntityID mEntityID = InvalidEntityID; std::vector<Matrix4x4f> mFinalPose; Link* mActiveLink = nullptr; int mRestartState = -1; AnimBlender mTransitionBlender; }; }
b246c4fc40327ce0e904f59725848c9b4cfccf0b
3ea34c23f90326359c3c64281680a7ee237ff0f2
/Data/860/E
665a231ffbcf76f9d3548927fbf3815f3bd7ea27
[]
no_license
lcnbr/EM
c6b90c02ba08422809e94882917c87ae81b501a2
aec19cb6e07e6659786e92db0ccbe4f3d0b6c317
refs/heads/master
2023-04-28T20:25:40.955518
2020-02-16T23:14:07
2020-02-16T23:14:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
80,829
E
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "Data/860"; object E; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 4096 ( (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (-57953.5667876252,30861.9156681581,27091.651119467) (-61301.3905479576,29568.4282436359,58824.6134237889) (-69044.1199026004,26924.2636236305,100944.469702759) (-83647.2818264893,22741.6684131249,161850.083116126) (-109997.950493656,17128.5595016709,254719.474108117) (-157336.123600124,10712.6644234022,401342.933284825) (-243127.579128074,4905.4640533321,639565.0483596) (-398162.842309842,1345.84858190157,1036382.04208753) (-656815.431864345,134.542163461667,1693062.93178847) (-915249.744859647,-16.0800457863135,2608328.75669391) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-61350.8920347206,66343.2005976831,25869.6071051951) (-64738.1573253312,63917.2183651747,56258.9743089906) (-72568.9007566969,58868.2760843506,96883.862604964) (-87491.6847602562,50789.7977071629,156327.418071186) (-114578.779911151,39718.1312104532,248316.626273553) (-163059.80451544,26598.4079271619,395490.687285239) (-249769.372883107,14191.1215394029,635974.402682245) (-404206.670001078,6340.27126512202,1035186.65000008) (-660824.554763963,3202.19271949606,1692943.55420806) (-917105.302847059,1635.84847906768,2608396.92853018) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-69041.8856767217,111896.230949335,23488.8553250692) (-72476.8939461634,108633.252976034,51249.7146603735) (-80537.3838855867,101752.155711529,88903.218918786) (-96208.191664734,90612.6493220647,145288.55896862) (-125035.704908321,74896.7532675094,235145.641819885) (-176506.234728395,55243.604714755,383006.679760687) (-266157.95732294,35288.6737114989,628067.084911533) (-419278.362389738,21609.4256189584,1032076.29294741) (-670520.452747241,14318.9333576694,1691480.00505655) (-921496.556138952,7748.19948332569,2606864.21019122) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-83288.1876450939,174909.966268527,20274.4523259031) (-86793.6183525946,171251.136732835,44450.1869216981) (-95194.2358481684,163521.286688277,77875.2917931128) (-111937.970957857,150899.267411592,129526.644661438) (-143597.624313684,132566.522002488,215454.500240147) (-200820.570456464,108441.122619851,363077.55279151) (-297549.703015213,81536.4130880574,614379.516430176) (-448437.271864087,59579.0395520476,1024847.17436114) (-688309.056020632,42405.315743415,1685069.84799599) (-929263.340739892,22814.1838387567,2599267.20438055) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-108857.235453095,267078.483925034,16688.7177965864) (-112356.728397622,263488.222801314,36808.3601257288) (-120925.793012843,255960.173309418,65295.2665174297) (-138555.496965558,243654.747510457,111095.283384127) (-173167.705712175,225559.080682027,191270.430416768) (-237530.82639921,200968.406983354,336273.972452461) (-345418.876831938,170694.706650959,592534.555721501) (-492919.676219568,137218.177671563,1007815.09382158) (-714215.864659677,98709.9390823066,1665726.33514241) (-940506.117383239,52320.6693983352,2576725.96696609) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-155055.083301658,408923.179638815,13210.3875878783) (-158355.030025447,405679.840850273,29373.7995643666) (-166636.247493434,398959.333814886,53010.8865523321) (-184100.537976735,387858.564503333,92907.6075361891) (-219079.320337478,370998.30454531,166547.704010384) (-284661.463970138,346165.639851944,306011.93511194) (-392894.887968982,310494.477951548,559107.051780359) (-533699.652588019,260553.950427592,969470.931612329) (-742318.348952013,190837.944445964,1619661.27520072) (-954667.768705221,101877.228629485,2524772.4846747) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-239841.435697985,638630.138146527,10134.477190275) (-242742.116341229,635801.41410449,22755.0202772847) (-250167.885844374,629937.916809128,41944.3231274215) (-266140.042678756,619994.447574741,75948.4827347719) (-298631.934965895,603991.52335007,141587.19889591) (-360266.661822597,577729.661996551,270289.838573891) (-461854.453143068,533458.894187371,509179.875481138) (-589877.873153358,459699.06338227,899912.635679812) (-784241.365061099,344002.807383487,1530989.13780332) (-977799.906294817,187428.572794444,2423237.69993323) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-394871.085473289,1026067.98820814,7433.23541167104) (-397193.160995401,1023494.68759569,16933.1229158783) (-403186.357699946,1018016.25593429,32041.1414906755) (-416191.216593714,1008350.19440522,59876.6112538948) (-442891.401542848,991554.594512906,115204.9416339) (-494140.689402036,961117.070629001,225958.222403484) (-579255.372854374,903195.757165718,435476.732279494) (-682939.957838072,793693.908265171,784421.845234682) (-860424.353268245,614119.297772643,1374729.70811377) (-1022056.84963443,348098.85478657,2236116.27575601) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-654537.432062413,1675625.92708049,4979.4931900455) (-656127.332357997,1673067.34315283,11534.1699909133) (-660210.936327988,1667337.33771134,22424.0245418156) (-668968.038327152,1656629.46575949,43112.7915147069) (-686608.108247998,1636528.31512104,84747.1791545811) (-719769.214267794,1597592.1770509,168041.287000465) (-775513.892056222,1520718.31073228,326032.625490125) (-858349.730744416,1373095.68529645,604980.579203255) (-1000842.65500612,1110979.11551834,1108963.41646365) (-1099220.22848008,668002.144807763,1888280.35492253) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-914212.13611299,2587308.92189392,2529.14129955035) (-915014.391789025,2584653.56079703,5957.3154443762) (-917043.457709463,2578549.14178704,11788.9690781677) (-921341.270820978,2566711.00439008,23048.7012685682) (-929882.872106001,2543706.38855439,45753.4999412368) (-945847.713209203,2498128.58605814,91064.8041431991) (-973757.898599343,2407273.05623906,178267.957235753) (-1020774.29162269,2229326.43485238,342811.499302479) (-1098952.23711654,1886637.11462589,666105.737311472) (-1106802.62461688,1220480.02105263,1220430.48568348) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8585158.01926633,27509.3030312073,23764.7355496469) (8579562.51223094,26194.0799301215,51092.3774753917) (8566705.14102669,23408.9223492924,86319.8188315503) (8542698.83373225,18881.0410757907,135478.286831754) (8499950.6582145,12569.8320752542,207345.470683119) (8423829.38334921,5018.28444188299,315547.303926582) (8284040.43013488,-1742.02762328277,484506.946921666) (8007787.66633413,-4719.99724070166,777662.060153088) (7384561.42383501,-3904.07978930829,1434574.90887778) (5691998.53387792,-1886.24447549427,3523598.49925048) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8579402.70873182,58642.2259818863,22499.1009175937) (8573791.08354967,56164.7020378617,48384.8625696606) (8560852.86963857,50872.7275482417,81884.9116102118) (8536409.72394719,42067.9041211084,129182.264492187) (8492493.27277779,29286.1038136697,199779.564699633) (8414233.74283847,13156.1948793921,308733.731542957) (8272339.02506638,-2221.99950596665,481490.930111025) (7997241.52012361,-8764.96873060946,778473.336111028) (7378024.41335703,-6502.30704611791,1436608.21988156) (5689152.73165745,-2728.67575724051,3525578.24129349) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8566415.27582202,97513.1075589199,20057.5815589811) (8560794.38294387,94206.7379825357,43129.893359078) (8547631.67626766,87052.7237479638,73166.4616409166) (8522121.67709067,74868.0717529387,116422.0498885) (8475149.1076289,56289.3394828195,183619.626316837) (8390493.73187673,30867.9001080926,293293.579117792) (8240551.25583639,3840.62043794188,474907.37064934) (7968118.55191173,-7624.63498251095,780755.747234665) (7361122.63558359,-3484.6327567764,1440480.60924923) (5682147.17929979,13.0279349466811,3528480.79475314) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8542637.281673,149186.126251486,16787.1366240986) (8537005.3662827,145565.101872493,36015.4127336888) (8523497.943978,137705.44523884,61056.1360514317) (8496339.83409197,124212.682805379,97819.344584) (8443781.19117406,102939.648377765,158175.844836053) (8344651.2464215,71678.4487052657,266279.103995697) (8169873.86444408,33632.9538552034,463448.827753958) (7901769.74938635,15049.0867287642,784953.709427037) (7326897.19502987,16497.1513769343,1444151.29887754) (5669002.82848915,11596.1703057448,3528687.61191256) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8500751.13624912,220746.121143696,13217.2580403499) (8495253.3096944,217352.202877142,28205.7435784355) (8481684.7572892,210136.087156871,47550.1759931906) (8453128.17189812,198043.010182835,76421.8043868296) (8394137.45603991,179600.682172963,126841.233474342) (8273303.65061244,153782.165774382,228288.664028393) (8042731.24991555,123195.629410508,444961.486360387) (7778588.51069774,96378.2151041462,786509.795702522) (7273146.92650625,70555.915380193,1439473.865168) (5649406.10392131,38150.934378039,3517392.504426) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8426204.1680299,323957.071798777,9915.42264810883) (8421098.70319446,321145.896854731,21053.6200853684) (8408174.91491923,315318.425365465,35445.7440989054) (8380128.1912657,305769.0930962,57876.5565779662) (8320461.531831,291404.50851891,100917.502698304) (8196171.92943769,270536.700889402,197715.198810259) (7962633.67972591,241538.20845814,418229.676702537) (7710146.83271543,204310.612456974,760836.418681002) (7227247.75136596,148862.105105655,1407349.75327234) (5626885.2595165,78744.2694809298,3479589.01458259) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8287925.52004742,483387.755925311,7187.98476287) (8283496.85095221,481220.719939891,15259.8190190362) (8272050.12229735,476848.737810113,25897.1230674799) (8246575.01938257,469919.786564362,43416.9921727776) (8190943.04762777,459712.395835979,79919.746896813) (8072068.04246952,443850.79228472,168656.575844161) (7845513.80212406,416115.828202629,381096.325467299) (7617634.54859751,366691.469778811,705588.67102942) (7159188.92573353,267874.501070449,1337531.60890477) (5588420.65998333,143228.868170344,3401212.06857206) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (8011521.14552681,766310.915872194,5070.23368785357) (8008039.47740894,764547.322118093,10896.6177401034) (7998924.80193281,761030.482715741,18989.3378364506) (7978341.12593113,755641.597561421,33120.8089494089) (7932506.26835159,747905.114183553,63916.0453421144) (7831644.57847028,735527.849975849,140839.344413497) (7633290.43146088,707018.859171051,331776.133764545) (7484556.22956344,618380.28464288,606976.756133696) (7021852.19200329,473782.164141733,1213178.17242557) (5499389.1726361,271017.998305926,3258328.64465422) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (7386749.78705242,1416035.16311345,3374.15827867575) (7384408.09905951,1414321.96519245,7449.708421631) (7378312.17895816,1410688.71227625,13653.9882097372) (7364848.24749123,1404453.93922567,25410.9853618329) (7336146.72853997,1393436.46422221,51510.4231699644) (7277727.07403393,1371661.53566591,112266.073812959) (7172371.01627817,1322622.071207,243163.578077424) (7024284.17155185,1210804.55782515,462491.027233714) (6606222.83661161,1012960.77411897,1010632.55027354) (5228740.60209551,660483.138776323,2987592.20386226) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (5692777.85467787,3501704.49624975,1726.30070755791) (5691615.88694108,3499880.29065199,3923.32115269263) (5688635.63144646,3495851.9518262,7466.61708155515) (5682178.39446946,3488339.18439494,14447.3312566869) (5668822.40864371,3473855.92876747,29708.2105965399) (5642565.3384536,3444223.68951831,63118.6297161894) (5593914.14206436,3381240.50966393,131213.775230316) (5500726.85041034,3250290.72037612,264612.095281095) (5228955.30326969,2985777.34323141,658273.610417203) (4251605.71733288,2327436.5793083,2327297.45257022) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-149192.611684077,21764.7236292979,18200.2826863004) (-155376.767097722,20447.9698853102,38305.967494886) (-169292.073480715,17561.2944008572,62356.2629666902) (-194657.79391419,12601.177245538,92726.0887328612) (-238074.874169206,5134.98918778371,131231.007294012) (-310610.098243411,-4542.86396418355,175827.728216123) (-429387.954838195,-13438.3510206834,208308.839575116) (-617435.90947079,-15271.6844814275,154418.475226765) (-886998.349730782,-10461.1277115726,-257946.248130665) (-1087550.3817957,-4759.37249615477,-2168023.58459562) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-155741.584518571,45624.7743352817,16898.6179095938) (-161823.794771302,43144.2285760207,35431.6129050476) (-175579.998039723,37628.2684930844,57411.8818563453) (-200959.86445801,27799.9810856437,85197.0417866994) (-245027.980439339,11993.6566462475,121474.00291057) (-319526.053891147,-10536.9684000512,166842.279441303) (-441049.443127879,-34007.9323339132,206414.704313935) (-627270.697762392,-37923.6352711619,159193.248354887) (-891921.358769256,-23451.9922162714,-252255.739648828) (-1089294.17879955,-9753.80793976781,-2163200.01838302) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-170357.296363574,73592.8889649794,14418.8329211384) (-176241.434129572,70326.953819734,29886.3001160619) (-189725.930964559,62901.7551601222,47584.7960464322) (-215333.453759252,49098.8703461812,69355.413000998) (-261687.423372272,24914.407597,98885.5684167011) (-343843.399668878,-14996.6433896747,143296.750317148) (-480124.225152497,-66879.2319455846,202457.906282924) (-661366.854814245,-74041.558976419,173675.612079271) (-906825.305563191,-37747.9013652441,-238466.1622597) (-1094061.73042853,-13127.5962094679,-2153269.08889649) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-196440.403031636,107134.225877911,11150.7231569462) (-202026.351771612,103690.81418176,22432.9562143916) (-215140.240302696,95802.6038324354,33784.6671879875) (-241236.820680081,80918.5806015469,45155.9870698352) (-292734.621051019,53224.6082959796,58975.9739611894) (-397389.26138548,220.619426123148,91413.5943176001) (-601661.508703547,-93618.1628051858,195302.273690026) (-773184.665373095,-108213.171305142,210042.676143409) (-944250.774354125,-37277.4652932722,-213665.415179303) (-1104281.3231783,-7983.29977450048,-2139911.18458165) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-240243.57187047,146032.940568214,7710.36879450789) (-245349.733165509,143055.885782038,14562.7154193772) (-257734.611556404,136530.401000544,18868.6624620422) (-283837.470606929,124998.523060653,17368.7378732125) (-341465.300550991,105871.049291487,5939.42883381271) (-489085.986939424,76578.5218088124,-2414.46063182374) (-971546.616873949,43098.3211718294,180761.297545861) (-1152242.89919462,27915.6522401871,281078.259258076) (-1017869.81256093,24604.9008437656,-184172.99244648) (-1121135.30933951,15630.4299018297,-2131630.93349669) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-312451.161502395,185517.837917157,4784.80754860661) (-316914.989757404,183408.474805729,8060.28684202614) (-328025.319471498,179114.625264045,7290.67233445944) (-352325.474984233,172211.036907757,-1853.79989757059) (-408348.886949407,161880.755251141,-23438.7117115771) (-555616.463566663,146462.638352912,-35920.0598861223) (-1014767.65516637,124511.558678382,165682.412864775) (-1180422.56844045,111831.204262587,277950.637363506) (-1052479.60052425,80786.5158568879,-192889.250394217) (-1138137.52618612,40282.8285331506,-2146904.48795766) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-430541.933312708,206883.266791134,2716.39985133064) (-434194.346051676,205692.897386259,3737.54963992) (-443522.823983135,203707.643367144,331.853182486294) (-464719.035965555,201736.388827725,-12285.0680241446) (-516170.370158114,201343.228796141,-39019.7484180241) (-660431.688862794,203530.875316652,-57973.8786842215) (-1139527.5801167,204044.554540327,153148.883059852) (-1292674.59696286,233742.503467914,247161.104780083) (-1104793.02203728,130629.616816151,-233085.673043139) (-1166222.1507978,54249.4402439723,-2186795.09860766) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-619005.362941698,141477.0328908,1547.11773401369) (-621737.768214829,140907.518602541,1724.11750671194) (-628847.63949353,140496.418920483,-1677.84125501595) (-645476.848057564,142294.648427576,-12803.7515010384) (-688074.605929269,151748.115665251,-37013.3887240166) (-820487.373891275,181818.82837323,-57555.0140538388) (-1343897.61633272,246292.869396496,182999.094248868) (-1095602.35254247,158252.174380932,144262.380806999) (-1146716.74410567,58261.817736273,-309186.508638857) (-1209699.97301679,438.234835430673,-2240671.78221212) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-889336.440572382,-277814.907358718,992.543239561558) (-891108.843399699,-278283.455151179,1314.8348176637) (-895667.573286566,-278710.36485436,115.746202457177) (-905896.441462123,-277858.569282989,-3371.97176836098) (-929381.865974661,-273481.922572852,-6998.96365038971) (-985568.705285785,-263116.085778358,6846.10518610593) (-1108415.21917759,-255489.799785948,95029.3851895062) (-1148752.59142001,-312488.392895984,44421.090803462) (-1254567.21383305,-364140.538970891,-366772.126679528) (-1274568.55017316,-316589.102173916,-2240821.26203621) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1089325.72620516,-2190637.50229051,540.55118007896) (-1090188.61658089,-2191225.29467337,901.269589409497) (-1092361.46457326,-2192141.29142935,943.667549412917) (-1097079.33356012,-2193079.70093177,1036.90259295685) (-1107183.91828373,-2194199.40696044,3375.08927321242) (-1128362.56328089,-2197621.29497334,14422.5755678895) (-1167510.48303458,-2212021.89877359,37993.6750197565) (-1211085.49953942,-2249890.38274259,-7177.6098186868) (-1274976.51072506,-2242738.64097214,-319033.318457456) (-1230466.1559491,-1923889.5065432,-1924046.66544092) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-176439.141791717,15214.6604455345,12031.869662107) (-181695.080695162,13992.03104278,24358.1522167673) (-193162.194364658,11263.3123235037,36964.9607772085) (-213218.628014449,6291.8354765954,49233.9594008698) (-245627.158086217,-1836.63824920542,58622.8815670889) (-295582.581469991,-13461.8513568447,57057.216150516) (-367545.146667787,-25122.0170573365,20336.4250374467) (-456872.096797427,-25125.8222589113,-115101.565377004) (-528319.228728643,-15393.5374932301,-458387.148885906) (-459199.076979345,-6497.86990612748,-1080240.58379615) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-182364.625788082,30994.0054316862,10843.6962833597) (-187337.768493253,28729.4442101867,21620.2568379001) (-198173.305868372,23495.6492843432,31981.2277057096) (-217154.641088929,13443.5077150306,41024.3320981911) (-248070.791294862,-4648.8293291897,46879.3340336987) (-296585.456854105,-34825.2349450539,45302.1205848732) (-368060.052708859,-73090.4036431839,20281.1167517084) (-454664.979519501,-72066.6006804432,-105383.823069646) (-524794.044223296,-38410.9838315756,-449493.691277262) (-457051.30589292,-14538.8410034671,-1073695.59308658) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-195380.697487947,47460.3485379523,8557.05801811039) (-199793.341909986,44531.5708634416,16306.8391452658) (-209354.336659771,37542.3445207761,21888.5496040417) (-226120.629273149,23244.4758241117,22874.7570088595) (-253953.311725411,-6117.50722551309,16609.3232583195) (-300464.906139631,-68525.4496557221,6931.04443973075) (-379098.285516583,-188425.554208448,21240.2553690884) (-454555.436574424,-185914.366780044,-71723.3967711364) (-516150.096595323,-75254.1093141125,-425555.480256472) (-451752.670597824,-23411.1877013501,-1058992.19338932) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-217798.787333485,63235.6356277858,5583.09721201958) (-221419.257797772,60285.2246885661,9222.34941305767) (-229122.439304939,53202.4507656967,7544.4421703823) (-242296.250485468,38349.0276812997,-6500.67988141892) (-264089.647825951,4536.71267453234,-45799.8730065273) (-307250.957544376,-91469.0420245628,-112994.584478798) (-463308.012930676,-463507.852920569,23734.218460446) (-487079.243535209,-487308.828514464,39023.2583569854) (-495970.610390814,-110969.411803646,-373541.603116791) (-440994.751568259,-24889.5263403177,-1035349.83608786) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-253277.495283183,73680.6234091566,2588.93563134333) (-255932.267520542,71373.3926951394,2083.30197980219) (-261305.283203024,66224.233594116,-7367.80920199563) (-269042.312240818,56574.7644765566,-40388.7043633624) (-274552.431943044,39043.818832223,-141808.679129003) (-247424.743652802,10082.3482425947,-485021.312682784) (7.7562752824756e-05,2.14246544848403e-05,-5.11959700208814e-05) (-335.823345775201,-230.009154979389,415517.601452009) (-415975.73909913,-10063.0495034958,-287282.83430995) (-421715.958571539,-1385.81904621775,-1010205.89237204) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-306377.314652121,67309.2960851636,297.480473720824) (-308127.558056183,66010.2023797485,-3126.76091210889) (-311359.521066289,63549.4812459319,-17117.8069691339) (-314681.584843012,59836.9038066289,-58023.8364404275) (-310593.158956905,54116.2479234946,-170851.9935242) (-262945.941380972,41747.7649160053,-495187.932383298) (7.03458241229138e-05,2.83067123414882e-05,-3.96533694420041e-05) (-340.601922542135,-301.667395076343,406002.51482261) (-406683.199713666,28509.4108160522,-278366.346307531) (-421646.274161642,12244.4156724152,-1008487.8330506) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-380556.651515373,18302.7145723599,-978.700284529438) (-381529.837111479,18041.224127574,-5674.23097255755) (-383012.549345286,18321.8610628786,-20956.8854273471) (-382966.787267517,21000.4231488514,-63872.6534676043) (-372034.788294962,29522.5420141566,-183414.529421419) (-308585.801987463,43648.4165839311,-537161.067964671) (0.000190581521047055,-6.91266975287718e-05,-5.15064749945351e-05) (-309.327545963189,431045.533384888,435127.634500072) (-435660.184020247,88861.9847600148,-294357.777460932) (-438873.141218408,10873.3988731281,-1020335.77024101) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-470514.538708643,-128957.220320864,-1230.8893398296) (-470954.418907004,-128506.507571753,-5466.50694832673) (-471311.617298983,-126288.079855854,-18392.5882241424) (-469341.38690636,-118019.267554552,-55508.3586719464) (-455168.63728064,-89375.5782619178,-169516.207044504) (-382326.386381991,16984.6760419752,-581013.454011837) (-359.113030617056,482057.638743479,431310.644279313) (-431740.32117463,105305.665616587,93188.4806797771) (-543163.471170473,-49428.6963088588,-372074.111186546) (-475762.35695088,-64333.9758789536,-1030804.35250035) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-539720.864231742,-477759.374990963,-813.421670532333) (-539908.490079303,-477217.953732994,-3302.32882968088) (-539901.331636967,-475179.893489481,-10176.7568456403) (-538407.55734685,-468763.792223058,-26921.116292406) (-531484.69080112,-450938.29065935,-63255.5790685049) (-510271.815172465,-405527.424865,-116040.36827485) (-482857.405574724,-314222.564659141,54682.021524896) (-552836.388089306,-374549.487836275,-61379.028352938) (-594313.512793175,-384354.691203687,-386706.734497975) (-487082.88107248,-272401.460008828,-966124.919468778) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-465590.771050509,-1101154.18164987,-340.148495746273) (-465677.871402255,-1100750.065375,-1318.78203236936) (-465655.654528467,-1099383.05671219,-3821.42885444821) (-465055.78561211,-1095516.21028094,-9092.55874457117) (-462884.826031262,-1086486.6857056,-17843.2559507879) (-458259.730917786,-1068729.48561186,-24744.0275670328) (-456846.465973422,-1044043.55506668,-5587.05422063062) (-481671.28003633,-1038483.23718744,-71067.5243725444) (-488354.354784455,-967551.769944586,-274492.601572245) (-390533.058346805,-693333.801776655,-693493.357406697) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-192520.337735861,9266.47385072362,6814.72209341874) (-196057.044479862,8359.03747399995,12817.6484041202) (-203441.089405009,6274.16865357657,16822.3747908945) (-215508.418338888,2383.69811462675,16728.467000709) (-233268.947457758,-4258.74377639306,8629.00014863633) (-257700.713506951,-14432.4789576725,-14820.3888567334) (-287989.414166718,-25614.256679683,-68761.8646781185) (-316392.09824247,-22899.8949558737,-186341.968277203) (-313776.227496606,-11839.7805086423,-389045.189000592) (-223201.481920008,-4309.24258722638,-620733.541472676) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-196989.311962638,17971.8849321229,5919.27509315351) (-200109.792417494,16319.3250622569,10731.0114291392) (-206454.806496786,12366.2708544713,12920.4098566603) (-216374.299818747,4510.50036383529,10013.2663372725) (-230180.431165952,-10481.0109941131,-1654.82657392026) (-247962.149296603,-38635.4223647967,-26075.190724297) (-269552.718811944,-84108.4980054854,-66088.2832954149) (-296358.523974786,-71991.399440244,-175303.234355763) (-300637.206947179,-29790.1168144046,-381509.735326123) (-217292.119828498,-9225.8196915912,-616352.344286163) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-206611.627519296,25017.7704122439,4185.04455122766) (-208899.105684758,22927.9440756891,6682.18931257056) (-213150.735812583,17825.3593516162,5019.49996823642) (-218627.886032788,7090.15561603898,-5052.89852432791) (-223303.965868425,-16240.484634766,-29942.77074066) (-222139.128050938,-75244.1575237341,-71659.8136704064) (-208231.785458586,-272588.976766766,-54045.8349671271) (-228999.635850123,-218480.630110932,-133112.405020743) (-263002.578945931,-55153.682562227,-360896.356922316) (-202204.992772722,-12716.4836635191,-606953.370775496) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-222510.637135835,27734.9189898982,1994.70122469416) (-223692.771826313,25754.1631426287,1441.9961862962) (-225116.248915099,21042.4040120588,-5781.23886398487) (-224235.958220706,11667.5374014184,-28418.9129141254) (-213903.78711735,-5835.31246106309,-89009.9457964338) (-170936.343774032,-31503.9493363849,-269064.767754128) (3.77201630596462e-05,5.04597573286059e-06,-1.84713175754111e-05) (-182.072301684499,-502.63247529251,30304.130261102) (-171531.98738316,-30994.2520242141,-318293.923284557) (-172352.51911208,-5659.22171040232,-593993.417693866) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-246041.722796086,20566.8459615182,-67.6994587164397) (-246068.15381539,19195.3979875317,-3373.04800877135) (-244644.44102128,16248.3598424487,-15239.8460209067) (-237690.682604189,11091.1442647032,-46015.08252082) (-214799.427470208,3138.95774604184,-114742.357200758) (-150707.575602484,-5345.08199019619,-237618.39259726) (-4.60082113788334e-06,2.62815716796562e-06,9.02450951857371e-05) (8.47230977295104e-05,9.36903592675911e-06,-3.75574005132076e-06) (-476.891431243358,-712.939483592058,-292768.557487661) (-130710.518299827,-1311.74057311981,-588121.478896624) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-277528.990177906,-6811.54289703435,-1469.93561566227) (-276635.173605086,-7318.63059978399,-6448.29147944373) (-273020.776841777,-7995.68679344574,-20542.9890680621) (-261802.324250328,-8263.20691251188,-54067.8984835294) (-231079.611540471,-7131.92133030389,-123310.566823613) (-155524.933995335,-3750.86394274173,-232325.792256704) (1.19697950556775e-06,7.33550979678869e-06,7.00792168319297e-05) (6.27954747166079e-05,1.97024066658925e-05,-3.03226465087142e-06) (-117.640665143962,-333.769553907081,-293058.935990694) (-124560.984000476,-4928.2568689678,-586527.70985602) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-313680.233399254,-71683.4999902558,-2004.46102289533) (-312219.228091325,-71371.042097296,-7262.65854553091) (-307395.512040717,-69878.9868859773,-20996.3957575782) (-293938.234718623,-65198.5544359943,-53089.6007829925) (-258742.48180134,-53398.4906679603,-120115.337938962) (-173840.448952899,-29854.6941637355,-228756.860752535) (1.0510223698711e-05,0.000110860770110043,8.2335945242583e-05) (0.000109759893612783,-2.94069273708592e-06,-4.30706893216273e-06) (-56.6605934354722,-18449.5189204214,-297365.275291348) (-134004.851212196,-25937.1097693262,-581224.712397196) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-342229.6360792,-198236.494920205,-1731.90769949128) (-340685.703663924,-197455.318425977,-5916.34661389671) (-335856.186981519,-194755.132759948,-16495.6310573921) (-322695.305035344,-186883.777655228,-41456.4897091719) (-287838.282419266,-165407.85980819,-96777.4754303103) (-199228.950094363,-110611.612552344,-199117.993329332) (0.000132917277758714,-8.91192475648366e-06,-7.31110169314901e-06) (-177.956034594981,-15483.7169188753,-18126.1407999369) (-174807.706015536,-100403.882164147,-304527.542711149) (-175782.707101499,-75569.8670601864,-554874.435269668) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-333345.621926285,-403587.922345542,-1023.81488011832) (-332178.679220591,-402863.257663815,-3345.68650098841) (-328550.303582266,-400716.698137344,-8735.14917829346) (-318819.990038257,-395140.805812892,-20065.6883292248) (-292889.635489811,-381972.062535363,-42096.5409133578) (-221291.029965591,-353056.934497189,-88632.0041753864) (-330.391430101433,-287762.402399356,-15238.3576877938) (-177702.922631426,-303050.577938547,-102804.962126002) (-240001.787278312,-278148.81254293,-279371.757262081) (-187383.319305306,-175702.804262435,-478938.38182701) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-233400.536117103,-635356.707835948,-421.44944300312) (-232821.57515086,-634818.486197755,-1322.51716047101) (-231012.930230315,-633421.127255908,-3260.81234007656) (-226406.48097609,-630106.268336015,-6944.65445297401) (-215412.320222644,-623159.8757805,-13229.3470164463) (-191289.309503921,-609938.618600421,-23318.0843270788) (-150852.536479988,-586694.642952587,-30379.7732672901) (-180893.476594127,-556472.794673672,-77735.3599743713) (-188622.785557143,-478974.525780407,-176641.21596422) (-137255.523376978,-302668.625047122,-302952.930149368) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-200533.278065421,4741.21547147043,3271.72485809323) (-202419.15914954,4293.49370734645,5340.34582042462) (-206036.988977666,3286.84254084309,4649.40285223699) (-211224.142446993,1541.00171169362,-1175.87475135278) (-217471.015046276,-1164.44129039625,-15809.3658724384) (-223939.362376357,-4696.43580580125,-44874.2811972286) (-228863.384927766,-7204.24827916995,-96796.0621570119) (-226910.667651719,-2908.50539621551,-183368.987351546) (-200276.625760844,1272.82656469581,-298141.415651993) (-125737.963170566,1595.44506638737,-397200.379467842) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-203356.933815985,8308.09721204109,2800.74011278084) (-204820.319725409,7502.65580747751,4302.10532056384) (-207364.86389833,5650.43790189549,2848.56736105587) (-210275.981783541,2245.23904882585,-3953.98801128485) (-212305.810447011,-3578.15391116933,-19414.8961094516) (-211871.604836969,-12779.3280409999,-47422.5483338901) (-208839.692620942,-22807.1265254878,-92532.6962785699) (-207837.2807188,-4716.45712528475,-179245.987805485) (-188556.844859811,7777.16363668754,-297830.686964838) (-120639.912216769,5834.79047368889,-398722.239983873) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-209301.701541611,9078.78228915906,1919.38894519778) (-209933.026083396,8095.20130669778,2360.76384461626) (-210353.114238017,5837.82523357246,-624.245061622128) (-208652.305526605,1489.68881137459,-9844.27533035746) (-201195.339253072,-6799.32073331222,-28731.7351235647) (-182108.553168088,-23987.2242293739,-57554.4138180462) (-149689.896935994,-64377.7014491797,-74525.7274169443) (-151687.444805842,10234.7224931615,-166789.098079672) (-158489.543085291,36222.3694401432,-299747.339743772) (-108795.698199671,17072.9618243794,-404394.805667504) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-218545.386464307,4258.77364840919,854.757969220614) (-218114.354156151,3404.73373192586,-33.1921261688718) (-215787.899584257,1536.39721916933,-5060.11344260779) (-207906.316220098,-1718.53726816485,-18181.5293636785) (-186264.278492421,-6625.81251585251,-45994.5462060655) (-131738.76176794,-11168.2496496232,-98011.10279191) (3.15927302257788e-05,4.31802854739199e-06,5.45237769928561e-06) (-279.626016102669,-501.712550086938,-140717.410694624) (-97196.0478917904,139939.853060575,-318770.833806428) (-88669.1359110806,35884.5525277,-421265.807710755) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-230955.263609855,-10739.9759954759,-87.7095423438306) (-229509.928599373,-11209.9923228238,-2031.20870361012) (-224698.984876727,-11996.3087248835,-8443.95890410966) (-211793.135875703,-12835.3804320014,-23224.6624687579) (-181073.579648724,-12946.1148436182,-50630.2079624759) (-115604.831306973,-10033.972451441,-86867.2294561688) (-4.44071935509152e-06,9.96410459702233e-07,4.97102975183822e-06) (7.62961807235718e-05,1.69311656922654e-06,1.2161245934833e-05) (-493.916439920276,-379.148175386457,-422647.486798607) (-65263.7259392255,4783.65048429613,-456993.377115809) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-244962.775502115,-42712.3037013459,-593.886969922542) (-242802.617966238,-42678.6627269358,-2957.77220465987) (-236352.12486799,-42155.91626835,-9466.81663498377) (-220525.894185642,-40116.9493974342,-23461.6777342361) (-185156.734323676,-34527.3212191297,-47803.3485755185) (-114621.211033079,-21904.3725490288,-76836.671440187) (4.74919242517822e-07,3.28708256692515e-06,-7.0081221475663e-12) (5.35057688286677e-05,1.91550916975874e-06,9.06730627928569e-06) (-335.693368594938,-224.743159473824,-417236.85152601) (-61076.5848348228,-14362.4844443989,-461575.115762968) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-255657.891272578,-100121.536772441,-613.109055587512) (-253226.7544618,-99707.5344375521,-2576.71097450012) (-246327.13930055,-98161.4234220541,-7639.5765609609) (-229959.715320824,-93712.2966228582,-18022.7487333371) (-193733.388796514,-82255.8043077288,-35303.3586495622) (-120982.152435624,-55072.7241341758,-54993.3035816888) (7.89950522499986e-06,7.21463828962702e-06,-8.29638448010084e-12) (9.33191805786251e-05,3.38607477420365e-06,1.49701391333292e-05) (-407.212463350086,-193102.98943892,-431119.695155442) (-64901.8716790019,-67679.0972884433,-446906.061844608) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-252774.691117867,-189321.988841374,-254.492892401449) (-250599.024313255,-188851.664761024,-1197.04191959454) (-244549.038933248,-187269.240971193,-3396.37241872796) (-230330.09636953,-182767.884600857,-6705.99310654159) (-198372.09144196,-170182.143205278,-8245.84518629822) (-130164.471524072,-132396.201614753,13.1537239868199) (0.000117721271852552,1.73356900302085e-05,5.31782590436417e-06) (-185.863745136571,-192774.947587471,-192672.52718154) (-89759.664834408,-165468.639139031,-305354.918662557) (-82852.1989648361,-87102.8065167065,-378861.717570957) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-219214.303127047,-303587.016341215,133.708700600232) (-217708.528662038,-303412.964264066,224.85764508235) (-213530.396269044,-303013.782675465,949.492036132344) (-203915.326738309,-302507.660323986,5784.60445931437) (-182562.650311454,-304184.206989101,29459.6830647775) (-133867.330276538,-322706.874833709,132346.656594676) (-222.726208339586,-437964.833090477,-192514.972010632) (-91943.8940111394,-305984.221208564,-165064.727009824) (-117323.419176711,-226564.913172302,-226646.821078161) (-84263.1739915017,-125445.063235645,-291424.709673025) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-135411.785117797,-401759.501033356,183.733692841876) (-134674.438424145,-401846.179239498,469.811941556717) (-132651.870513729,-402215.590877046,1310.56042655213) (-128179.413931068,-403436.190677734,4012.02373527884) (-119078.89508181,-407385.059941035,10879.4515463899) (-101993.534723217,-418253.498536815,17130.3004687879) (-75798.6272312405,-435510.924471422,-60377.5173990177) (-86452.3871334901,-375359.325223563,-85443.5028446593) (-85183.6733725615,-290215.910844256,-125231.617357277) (-56896.0098210582,-165349.662950394,-165686.531198456) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-203728.182269114,1849.28688262137,1345.61732106693) (-204514.209350681,1855.10667756401,1585.56084464285) (-205709.078135907,1960.42650425746,-702.776501374281) (-206760.782293479,2462.16247279828,-7628.29912768394) (-206665.984230812,3945.89269968156,-22379.2226428291) (-204000.615380374,7315.83243228171,-49633.8020710913) (-196765.734547664,12783.7583834798,-94515.21083467) (-181195.087225093,16144.5026622127,-156375.293923511) (-146384.000770954,12968.1798183208,-223236.098731722) (-84509.0651771209,6669.85768687262,-271134.854412049) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-205163.937831859,2331.98798031736,1324.302918176) (-205657.143307507,2363.72557824298,1652.50759959574) (-206157.810523078,2665.48148445823,-259.600755857604) (-205737.983589987,3851.07224918686,-6186.50872579978) (-203008.029337173,7497.77793904588,-19036.1750750043) (-196329.871678878,16935.7841323456,-44197.8599331593) (-185377.361681739,36303.6896906902,-91180.1221795762) (-174696.182487712,51387.174596478,-159563.89234494) (-143427.429959388,37782.1338267376,-229507.261253786) (-83348.4519722693,17613.1293583923,-277741.993169806) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-208044.473721618,-235.1458876777,1309.90604800049) (-207966.249772201,-153.215204278754,1860.07051932443) (-207048.571337418,365.427376554708,855.581726626407) (-203585.477572994,2214.46493528468,-2574.63891307908) (-194729.585961631,8114.66477752765,-9657.279043003) (-176243.687005378,26339.5212216524,-24925.8822950181) (-147300.083312664,85191.1648361578,-76203.1710638174) (-164806.854561228,161500.70122567,-173197.287937625) (-141649.812247922,97404.3747231602,-249659.25967141) (-82674.6356814787,37100.5791519439,-295267.771983165) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-211951.387343347,-8165.64201421677,1336.49700557941) (-211148.223266186,-8026.92080624848,2244.07171758136) (-208379.449881464,-7416.73943961751,2617.78883095832) (-200740.739339735,-5618.98358819094,3285.6604740724) (-181956.70269473,-1431.23793877621,8523.98739269148) (-135699.730324964,4960.72984994684,33863.7473214234) (2.39143608794073e-05,-9.37771912744955e-06,1.38408638509924e-05) (-191738.16106862,-506.692797220938,-237233.991359594) (-163681.983195015,236509.677374417,-309853.358707634) (-88390.9313592871,59198.3238569208,-332229.307964384) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-215948.841994644,-24572.3580509405,1400.29442151063) (-214478.598776842,-24377.468632661,2719.51242539426) (-210067.189814279,-23603.0268086293,4274.00473195724) (-198958.419405812,-21510.3440723959,7330.64874626814) (-173069.23428276,-16935.3295866442,14830.395028172) (-115636.42363065,-8989.45039369512,28812.1675954925) (-1.03436022745992e-05,-1.22772751495367e-06,-3.36841649413539e-06) (5.35434869493732e-05,-5.00683478580342e-06,2.44391281405278e-05) (-298623.798864051,-237.543886369961,-486990.168785435) (-110708.090691376,8917.49745974587,-391264.977636116) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-217918.426803707,-53173.7961249761,1557.08937562645) (-216051.420261329,-52919.709633881,3348.13267193944) (-210780.980869572,-51989.7371239639,6163.69898885925) (-198227.513990527,-49388.0350358501,11743.0097571989) (-170069.744698069,-42933.3800128146,22654.0705577635) (-110548.658478517,-28152.884504114,37744.9521136192) (-1.19160325093391e-06,-9.037696452697e-07,5.28753498943866e-13) (3.87847650010523e-05,-8.07378863922741e-06,1.77879582097927e-05) (-282654.617307312,-274.665045737379,-477595.990317716) (-111519.225985694,-18218.7194924821,-400017.132214625) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-213568.294521379,-97018.0350589136,1754.64218274354) (-211699.587303381,-96850.4292141103,4158.19460455295) (-206619.876358668,-96132.2602033592,8593.45474206452) (-194978.21157707,-93833.3544722629,18057.2704347244) (-169253.974434693,-86679.9179785422,37324.3940386297) (-113603.936011798,-64101.7126405906,65895.0057512767) (4.13409586577759e-06,1.09971482220511e-06,-6.2152482109836e-13) (5.2307091945869e-05,7.34574931193228e-06,2.5592550060071e-05) (-309568.100941674,-282377.39461768,-495286.859724699) (-111206.330728067,-85608.4993199185,-381592.6208482) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-196074.78375888,-155580.548137219,1862.60571932117) (-194594.078499298,-155718.031829899,4725.26252115126) (-190732.21090066,-155957.06134704,10733.2356322436) (-182476.210842166,-156067.880577041,25113.876209657) (-165667.156790741,-154109.705984185,59838.7295640793) (-128616.786862834,-135863.927659089,130053.25992134) (7.20394110262743e-05,3.19558872402975e-05,1.18207704601853e-05) (-227346.767590148,-284357.98620459,-282048.952602075) (-163039.157331992,-192923.025308017,-298223.829414165) (-82498.5213958424,-88454.2765141094,-295731.729788963) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-156860.585938485,-219574.21179883,1639.94647304489) (-155956.4952276,-220168.451755103,4338.33296381193) (-153750.33464576,-221887.209215876,10488.4192093614) (-150011.175330188,-226503.169917056,27019.5571412522) (-147348.382465345,-240381.204098413,78076.7874093719) (-167140.05710179,-290519.353463969,266004.940039504) (-345508.581129796,-513281.71822105,-284117.779966998) (-169780.42465358,-300302.09573205,-190337.139797094) (-112873.61210543,-194269.851078537,-193440.121097865) (-61176.8051626761,-97982.55916549,-206998.207275304) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-89814.8705176909,-266105.282358788,934.15595985236) (-89408.5170494171,-266976.634025095,2476.41685511909) (-88447.8922405213,-269351.417042056,5736.64640809059) (-86989.4888806137,-275013.828316314,13057.3797568977) (-86319.4023348597,-288007.455594749,27924.1385062796) (-91993.3546328877,-315941.649838725,43346.2547907066) (-115324.466568839,-359461.250432234,-70948.373660516) (-84839.1103949018,-288776.519775177,-84087.2263559792) (-61703.1827213675,-204981.25208663,-96856.3159990759) (-34543.2323581998,-108456.853275508,-108734.799351916) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204555.68442956,321.380730687025,506.121429762741) (-204832.503579,620.947425471592,203.468232610863) (-205008.012853123,1474.93587923206,-1972.53292940941) (-204481.698874726,3445.52566151008,-7697.14200967414) (-202183.758503931,7549.93500456057,-19729.302741114) (-196445.401138188,14945.1974061926,-42229.7143894966) (-184473.633921193,24145.1640238086,-78666.9790397753) (-161279.113301381,22620.2248298516,-121203.177793341) (-122572.404399986,15905.9163218426,-160920.690486153) (-67131.3138316463,7821.85511381112,-186120.296945436) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-205058.78383603,-596.385960175634,812.612695033776) (-205270.204316545,-13.4671707735564,1060.0883003188) (-205330.538067697,1722.64300451988,-14.8912803494686) (-204624.536912492,5923.17114651481,-3605.9834428487) (-202344.148331396,15653.4277702559,-12373.3572143184) (-197547.022745782,36877.9868004859,-33088.9955417081) (-188351.51111225,74262.084445593,-80231.7665329819) (-165603.137038272,61203.3839483493,-127907.971100916) (-125940.409059387,39512.8740139227,-169001.949692995) (-68825.3550427705,18272.8420478438,-193976.033556526) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-205819.310102865,-4207.7537454654,1386.20416653726) (-205886.960144392,-3434.34194319199,2727.78931114678) (-205666.651910556,-1079.30108745399,4147.81397626183) (-204601.597471337,4955.60699704646,6131.49802407084) (-202540.579065578,20760.5069964787,8835.41190179436) (-201462.399072267,66710.40301528,4221.70775388678) (-207660.59208003,232246.863092394,-93402.5621255446) (-181752.669380527,134385.567754864,-149638.931112756) (-136763.654280614,75253.743214022,-190265.95828016) (-73737.1545672406,31312.7681997567,-212243.365546308) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-206103.663604284,-12187.6693689005,2132.1918843737) (-205979.680881782,-11441.7984220674,4971.10597884869) (-205354.420095839,-9235.61128400784,10102.3863897807) (-203646.4811729,-3952.00722162503,21915.7424416117) (-201400.987324431,7331.85292154457,54788.6811462425) (-208822.115261452,24860.5635377707,169760.905560239) (-308348.595681405,-388.409486119553,-191300.421533261) (-230778.476465215,190872.880102338,-208747.418484145) (-164477.018206996,101432.046288132,-234130.686546267) (-84573.935518886,36811.9229355299,-243446.837122446) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204586.571148032,-26406.8818638867,2856.94164837502) (-204265.653745109,-25878.8205321785,7081.01872675114) (-203142.915134351,-24320.593092756,15241.7258555689) (-199966.092602354,-20780.8911985996,33078.2830290848) (-190991.490853887,-13933.8690706598,72266.2615924163) (-159085.933418802,-3924.71359116137,144501.048509498) (3.85169143923482e-05,-1.91420782980014e-05,-3.39031233462038e-05) (-305060.074410711,-159.991197092562,-298125.37751551) (-212395.662115553,15694.8318955066,-298616.299871375) (-100521.290324602,8084.02462638082,-280075.201928998) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-199136.349083639,-48550.3742233129,3361.4146393594) (-198732.259539048,-48341.3336066819,8504.76699158197) (-197503.648869831,-47662.2243049782,18569.0662040623) (-194184.52978335,-45997.7381218532,39742.9289201359) (-184399.540215551,-41980.229865488,82119.0852324463) (-149538.07017343,-31109.6145506253,148293.397886819) (3.22213425840732e-05,-3.27504457325939e-05,-2.41219648653516e-05) (-286617.908151637,22.9737136914068,-282103.245466195) (-215876.969470255,-27163.4827782897,-306022.578629463) (-103573.970989892,-17887.6776559894,-287996.131342896) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-186510.812748094,-79148.2889041178,3540.43290751972) (-186204.192202165,-79388.541003528,9092.24520314967) (-185391.590096136,-79906.9091901606,20108.6438258017) (-183435.792166858,-81057.029514015,43625.5158077481) (-177632.849840414,-82850.6700999452,92874.8314479253) (-152346.258806029,-78919.4526778358,179426.992369374) (3.99150982520244e-05,-4.21952153021208e-05,-3.11034640178868e-05) (-315729.526678614,-227191.674119396,-309121.007220455) (-213550.936676104,-135742.069743189,-296559.584521127) (-98889.3311244586,-56813.1673339108,-269951.094446812) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-162506.876671731,-116005.979297865,3289.78330659259) (-162429.87576281,-116741.84915364,8478.88872021772) (-162394.22235524,-118650.385928047,18884.3769126806) (-163105.10706919,-123320.270832113,41776.5144578028) (-168025.759446256,-135518.842335495,96803.2893488711) (-195164.994828491,-174114.143907338,258546.188544036) (-352545.082307618,-345124.282689412,-226962.791159417) (-237455.272504396,-226588.986280912,-217456.974083643) (-156187.699639384,-142626.451493619,-217424.050025816) (-76745.2519401204,-67043.7793953195,-212946.70742014) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-123225.775267298,-152183.133102899,2542.34313384855) (-123295.627357597,-153352.44585483,6492.0719650385) (-123700.540539101,-156356.023985593,14147.9159159284) (-125516.290786877,-163250.495364357,29583.2559048639) (-132442.889461288,-179099.089494779,58258.0100600903) (-155559.962014378,-215125.320411242,87689.0914765813) (-211917.973113439,-282845.772404609,-108180.026824579) (-156137.653990072,-215177.801535079,-133233.982233927) (-104194.342857956,-142973.470856812,-141566.232118206) (-52860.4870486324,-71272.9233141824,-145653.406313384) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-67412.4466934334,-175945.590713912,1360.03378675854) (-67500.7642599273,-177330.022471215,3429.85761365113) (-67820.9296999087,-180710.978253738,7157.84934118283) (-68964.4226665193,-187817.09345659,13699.3812193244) (-72479.3344706533,-201485.768439826,22245.9923001669) (-81205.0881430216,-223743.89827412,20076.3036731776) (-93833.3538180664,-243947.551274754,-40313.0302074579) (-75712.4120253773,-203816.387740794,-60801.1423712679) (-52668.6224686634,-143217.392746192,-69591.7807345907) (-27368.8900564618,-73893.2976333889,-74145.7487171238) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204519.993032156,-246.21251193076,210.521114522135) (-204670.450927124,125.284115281766,-76.8156526351956) (-204626.146104682,1133.5019159508,-1592.18431702089) (-203805.208798545,3287.25792934737,-5555.93232255205) (-201023.385349375,7370.30781218811,-14086.613289299) (-194139.46814741,13820.083737513,-30212.6300175876) (-179614.183882546,20251.658354283,-55323.7384105171) (-152764.477609824,18315.3369692566,-82153.7110713267) (-112339.092484063,12592.1283909538,-104979.151378209) (-59872.6536543656,6169.21819196277,-118407.02974745) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204490.76529812,-1418.72091072577,604.48986088478) (-204804.151419756,-690.302548862581,954.023628236515) (-205136.331726826,1317.73791579471,575.581287521355) (-205168.0494803,5861.41007804538,-1455.05829336635) (-204164.539482874,15360.6569548994,-7625.01628460047) (-200410.562787016,32842.2261994067,-23783.6187052605) (-189471.18185588,54838.729506296,-57251.0191136415) (-161676.463279501,44996.3694369839,-87858.7253401413) (-118465.8925973,28684.7824563812,-111425.89586766) (-62841.8524311098,13387.0622950553,-124627.242582417) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204026.669905164,-4529.81375310727,1318.45264467856) (-204599.910348902,-3573.5804246543,2914.68072498036) (-205677.302141005,-852.26977652838,5095.33864775171) (-207520.066095193,5813.22568154699,8061.99166810556) (-210791.768379393,21784.951783499,9888.8861533208) (-216131.8331739,59198.0642269534,-1797.51777259164) (-218810.650244721,131356.416190421,-67165.1462920238) (-184918.029639358,85213.1066144286,-104216.523210646) (-132971.259689955,47437.0622184617,-126761.19756338) (-69516.1471866082,20420.8568972564,-138015.999546213) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-202213.441295461,-10655.2160411292,2235.17997919993) (-203113.823824089,-9763.52062303409,5559.26311988592) (-205190.117470696,-7147.87130480952,11690.5620230228) (-209733.52299756,-423.539399203745,24014.3689284393) (-220504.142205192,17559.7585693899,47342.717023311) (-247076.977069378,74384.9456187494,70410.6974394402) (-300880.365415819,307636.15274124,-113337.269376957) (-233278.809016476,116377.696123352,-142001.526334614) (-158690.775263011,53387.9772175523,-153738.68427769) (-80299.6933910871,20784.1628805948,-158376.23238883) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-197545.924347498,-20829.0703761962,3133.20753453295) (-198741.590430725,-20290.2531771978,8135.87677431299) (-201749.579518059,-18713.9390688706,18308.6089220851) (-208972.365570166,-15049.7068166668,41941.04930736) (-228238.743469738,-7432.12569804686,104180.186190649) (-289660.306425767,5452.56920862867,303686.93560774) (-534598.747489243,-435.796777404897,-304590.51753441) (-306396.684771551,18106.2051032317,-204982.416153447) (-189878.33444407,12146.0135306035,-186257.780137982) (-91939.7564870363,4992.62570733106,-179047.776802288) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-188001.778255259,-35660.8584813732,3697.2172768003) (-189375.7293342,-35607.0512877365,9657.4851824922) (-192977.853996681,-35409.5296305374,21827.2808710079) (-201685.486544503,-35158.3637542405,49436.8945697326) (-224186.648561366,-35160.651497889,116952.528715388) (-291005.427723256,-33884.9031828521,297757.358656701) (-522930.48119325,52.5394570317697,-286006.803614288) (-314590.716102438,-29074.0853257317,-210853.705234518) (-196481.09520757,-24830.0090857793,-193273.556880815) (-94752.0993925717,-13183.5970695544,-183919.205701244) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-171090.908212057,-54860.7108898849,3779.94787247451) (-172507.208387049,-55351.1610535771,9827.07382320124) (-176293.299258057,-56679.8961026664,21999.1494572527) (-185365.010757004,-60550.2313990533,49320.2356922137) (-208529.78857595,-73073.6126237199,118130.135553579) (-278264.107494805,-121543.41857162,331706.499631128) (-543769.098493409,-352143.224539886,-315065.891311281) (-304570.819805121,-148791.556589238,-206507.126921277) (-185054.022826979,-78306.7841050441,-181527.265751134) (-88354.2999109214,-34601.6042695366,-170644.28976469) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-144270.547839568,-76439.4266675427,3342.38694549566) (-145564.895566529,-77360.5318899868,8486.77758562383) (-148967.996202813,-79748.0953077197,18128.7506382519) (-156720.450800859,-85559.8885121541,36753.7514830208) (-174268.638374941,-99745.5038485455,69668.5216365298) (-213935.048484457,-134338.58675496,101233.743475838) (-287617.202866134,-204293.246526955,-111544.113978578) (-216725.094725711,-145170.06152659,-135895.786819916) (-142100.178230201,-90566.90055883,-137723.191775316) (-70032.3917292752,-43107.1223251428,-135930.533930547) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-105910.787961113,-96199.1299438698,2444.71597014488) (-106872.640367911,-97397.3327616191,6058.52985209154) (-109363.188839551,-100331.079946817,12304.1627916375) (-114789.00261813,-106568.351262906,22585.3373736407) (-125759.466727626,-118979.546057855,35135.9568492872) (-145553.147052977,-140619.558924534,31410.114057459) (-167970.696585878,-164609.245434279,-52221.1635627799) (-137772.356123273,-134651.846299967,-81104.6766561992) (-94370.9332017827,-91407.0205108439,-90087.9663603535) (-47661.0475442563,-45757.7024397874,-92636.8257500859) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-56482.0432775749,-108396.534538848,1267.00117911935) (-56992.2420618683,-109731.307227193,3092.45344663331) (-58270.0967308481,-112797.234844031,6007.77537478777) (-60954.5143899877,-118744.830490532,10174.3463258801) (-65900.3867226805,-128902.369358661,13518.2218787112) (-73359.2972631572,-142442.951379056,7495.82345336672) (-78815.2133728061,-150030.671441267,-22100.8909849052) (-66751.9252546605,-128059.024578749,-37654.1994768378) (-46943.145314785,-90560.8756561923,-44225.8214853686) (-24091.4002591288,-46542.1770315329,-46718.8366909555) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204406.75050132,-222.105233390406,108.862702555007) (-204520.942135613,-0.803391771209428,-39.8426971836324) (-204462.948934426,633.801323205946,-836.841190645514) (-203681.144474218,1946.17433284249,-2907.07984781509) (-200813.828373653,4273.49488188506,-7390.13170541956) (-193354.582401517,7609.15166351966,-15784.1691148312) (-177503.834671299,10484.9063558913,-28379.4246819731) (-149309.374919868,9523.46291140512,-41357.9902833327) (-108396.902796471,6595.6606165985,-51895.8405875222) (-57141.987325374,3253.90352183538,-57880.4104383514) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-204123.030608883,-977.759923063365,387.920000434996) (-204539.227460812,-516.594994871864,638.787644591526) (-205112.976387444,743.970090820441,505.263537596303) (-205640.755705596,3460.63420574926,-536.490110016277) (-205128.37008019,8701.69806030748,-4000.86269112123) (-201059.760340779,17138.4959297554,-12881.0094035936) (-188146.098991156,25574.9920819034,-29296.1779943299) (-159018.575032622,21841.7212899146,-44272.3246197153) (-115134.78394576,14253.881676903,-55261.6543315555) (-60442.5569471018,6753.6386861491,-61160.6849798738) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-203110.439087234,-2739.95556311548,845.964822123007) (-204012.339710597,-2122.10304523775,1863.90223418506) (-205850.376871104,-427.608164686689,3208.55521979156) (-209073.322769144,3493.4030448859,4729.04305460836) (-213799.549544116,11961.2412264379,4477.28105320412) (-218264.98219099,28187.7079432617,-4438.78194321114) (-213903.100104322,49259.012179811,-33030.3521815165) (-181064.808675898,36834.0141560494,-51875.8660111091) (-129515.789258451,21701.2539648395,-62778.7087305541) (-67274.0073265512,9648.65191336367,-67915.8618178239) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-200360.465261503,-6014.79234997996,1421.86075290639) (-201862.311737638,-5449.74087571234,3497.98649692829) (-205382.752519323,-3835.28184243746,7098.29522330781) (-212495.482643838,148.477443286985,13205.1804711838) (-225691.622940059,9610.36381690271,20743.5386155883) (-246452.681697152,31629.6290663133,16677.3221203099) (-263251.911814956,73761.4566804867,-45453.5759812316) (-218010.348721289,43130.4498868454,-67018.4720072145) (-151314.94929885,22129.4806727862,-74822.5246793246) (-77030.7440393267,9106.21181218338,-77549.0339299031) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-194282.997148827,-11272.6723930473,1994.9528443965) (-196341.079250994,-10962.9504839796,5107.65127293282) (-201468.258457375,-10049.9404438787,11040.9888136896) (-212529.510494705,-7914.55706651166,22661.1682480258) (-235173.216050882,-3581.0110277609,42787.0156738326) (-277973.726167195,3886.11918070848,58843.9453008626) (-336942.91431065,11022.6605673572,-76073.0917646061) (-261089.024727347,9767.72835891925,-88018.0302808783) (-173422.332451188,5456.89767180366,-87801.4492727832) (-86145.3272585484,2121.86433147944,-86611.5310205649) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-182964.063517928,-18665.646093857,2355.25896347553) (-185332.395314845,-18696.0515843503,6045.0260444896) (-191375.961292964,-18722.584024281,13115.7769211749) (-204516.122010229,-18885.9541733373,26917.8094937252) (-231411.722757649,-19610.6045120143,50172.4771742632) (-281639.029784207,-21264.3774706133,65956.5758865324) (-347795.345386965,-20848.7986047809,-77307.100747602) (-270757.856688739,-19082.4331574056,-92289.7986449736) (-178822.04104468,-13431.2604907076,-91060.6946453568) (-88229.479550669,-6794.37552038684,-88667.0746353964) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-164228.403599417,-27900.791000914,2372.64029441677) (-166592.354680275,-28275.742088624,6037.47709191656) (-172648.460816635,-29244.2362010108,12914.2908272224) (-185607.05656863,-31830.2645684588,26100.6470339719) (-211703.04599512,-38781.7264668386,48445.0264079664) (-260245.144915596,-57204.6806548255,66366.3670129658) (-326856.073595229,-95912.525149908,-75482.9313400692) (-251678.458915662,-60871.7123676141,-86586.0130193246) (-165414.873945979,-35272.8304316003,-84383.591959429) (-81459.9025707883,-16222.0512881127,-81850.3135318365) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-136334.674693775,-37897.7821079593,2061.11796125258) (-138379.517846199,-38497.067542839,5097.06569513795) (-143457.747952617,-40009.2431900951,10351.8244340265) (-153797.705501792,-43506.4933313711,19105.3078978724) (-172858.953147752,-51110.6406003437,30024.5368041897) (-202948.460180038,-65887.7959979849,27721.0638429279) (-230897.608566384,-84571.2544133873,-40339.8011933388) (-190860.720684235,-66150.881710457,-60925.0058919653) (-130241.687029537,-42761.5312343082,-65294.7962899256) (-65294.6966992761,-20688.5855989149,-65565.9570091221) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-98595.0765450694,-46685.1086467951,1471.61512279047) (-100045.73565146,-47396.6760649963,3544.31892849595) (-103537.395833397,-49120.1432356244,6829.42596787198) (-110334.188839509,-52610.5751553526,11478.6940132326) (-121733.721519517,-58939.4291345236,15281.7373393021) (-137010.028359128,-68257.3307888445,9108.15343631152) (-146303.157230869,-75312.5996350559,-21818.0406970314) (-124741.388354747,-63530.6931533977,-37469.197022619) (-87531.8977905964,-43899.8851005236,-43169.8785675923) (-44610.5553942425,-22129.8292754818,-44779.1270410397) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-51997.386138451,-51920.8757237715,751.109937851816) (-52727.4107024756,-52686.9454445804,1776.54795804362) (-54456.0492047184,-54442.3220636953,3284.67925998454) (-57737.0442320893,-57690.7629576331,5147.39690436694) (-62840.0240760729,-62849.1426079448,5996.7477311807) (-68812.1442709878,-68903.9725247581,2096.23647492644) (-71020.4129993934,-71068.2797516885,-9942.88378185359) (-61249.7054197071,-61238.3158747977,-17737.4808954078) (-43674.0142700297,-43614.0170944165,-21292.4799462694) (-22501.6961243196,-22460.4625604282,-22551.5507961325) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) ) ; boundaryField { fuel { type fixedValue; value uniform (0.1 0 0); } air { type fixedValue; value uniform (-0.1 0 0); } outlet { type zeroGradient; } frontAndBack { type empty; } } // ************************************************************************* //
bbc1e7e4dda4c5c049422d6de44dc724ba7d1328
b4f42eed62aa7ef0e28f04c1f455f030115ec58e
/messagingfw/msgtestproduct/email/smtp/src/T_SmtpServer.cpp
a1a2ee1a1588bcd11a74c03c84e146f05814472f
[]
no_license
SymbianSource/oss.FCL.sf.mw.messagingmw
6addffd79d854f7a670cbb5d89341b0aa6e8c849
7af85768c2d2bc370cbb3b95e01103f7b7577455
refs/heads/master
2021-01-17T16:45:41.697969
2010-11-03T17:11:46
2010-11-03T17:11:46
71,851,820
1
0
null
null
null
null
UTF-8
C++
false
false
5,443
cpp
T_SmtpServer.cpp
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/epl-v10.html". // // Initial Contributors: // Nokia Corporation - initial contribution. // // Contributors: // // Description: // // User includes #include "T_MsgServer.h" #include "T_SmtpServer.h" #include "T_MsgSharedDataSmtp.h" // Header files of Test Steps SMTP #include "T_CreateSmtpMessageFromEmailFile.h" #include "T_SendSmtpMessage.h" #include "T_SmtpSendEmail.h" #include "T_StartRamUsageTimer.h" #include "T_StopRamUsageTimer.h" #include "t_smtpcreatenewmessagewithplainbodytext.h" #include "T_SmtpCreateForwardMessage.h" #include "T_SmtpCreateReplyMessage.h" #include "T_RetrievePlainBodyTextAndCompare.h" #include "T_CreateSmtpMobilityAccount.h" #include "T_CreateSmtpAccount.h" #include "T_CheckSmtpSNAPSetting.h" #include "T_ModifySmtpSettings.h" #include "T_RemoveSmtpSNAPSetting.h" #include "T_CheckSmtpBMSetting.h" /** MainL() This is the main function which installs the active scheduler and creates an object of the Email server */ LOCAL_C void MainL() /** * Secure variant * Much simpler, uses the new Rendezvous() call to sync with the client */ { RProcess().DataCaging(RProcess::EDataCagingOn); RProcess().SecureApi(RProcess::ESecureApiOn); CActiveScheduler* sched=NULL; sched=new(ELeave) CActiveScheduler; CActiveScheduler::Install(sched); CT_MsgSmtpServer* server = NULL; // Create the CTestServer derived Email server TRAPD(err, server = CT_MsgSmtpServer::NewL()); if ( err == KErrNone ) { // Sync with the client and enter the active scheduler RProcess::Rendezvous(KErrNone); sched->Start(); } delete server; server=NULL; delete sched; sched=NULL; } /** E32Main() This function is the entry point for T_MsgSmtpServer test server @return - Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API */ GLDEF_C TInt E32Main() { __UHEAP_MARK; CTrapCleanup* cleanup = CTrapCleanup::New(); if(cleanup == NULL) { return KErrNoMemory; } TRAP_IGNORE(MainL()); delete cleanup; cleanup=NULL; __UHEAP_MARKEND; return KErrNone; } /** NewL() Static factory constructor. Uses two phase construction. @leave KErrNoMemory @return A pointer to the newly created CT_MsgSmtpServer object. */ CT_MsgSmtpServer* CT_MsgSmtpServer::NewL() { CT_MsgSmtpServer* server=new(ELeave) CT_MsgSmtpServer(); CleanupStack::PushL(server); // server->StartL(KSmtpServer); server->ConstructL(KSmtpServer); CleanupStack::Pop(server); return server; } /** CT_MsgSmtpServer() Constructor */ CT_MsgSmtpServer::CT_MsgSmtpServer() : iSharedDataSMTP(NULL) { } /** CreateSharedDataL() Creates an object of Shared Data @return Returns a CT_MsgSharedDataBase object that would be shared across the test steps creted by the T_MsgSmtpServer test server. */ CT_MsgSharedDataBase* CT_MsgSmtpServer::NewSharedDataL() { return iSharedDataSMTP = CT_MsgSharedDataSmtp::NewL(); } /** CreateTestStep() Creates the test steps based on the name read from the script file @param aStepName The name of the test step to be created @return The CTestStep object created */ CTestStep* CT_MsgSmtpServer::CreateTestStepL(const TDesC& aStepName) { CTestStep* testStep = NULL; if(aStepName == KCreateSmtpMessageFromEmailFile) { testStep = CT_MsgCreateSmtpMessageFromEmailFile::NewL(*iSharedDataSMTP); } else if(aStepName == KSendSmtpMessage) { testStep = CT_MsgSendSmtpMessage::NewL(*iSharedDataSMTP); } else if(aStepName == KSmtpSendEmail) { testStep = CT_MsgSmtpSendEmail::NewL(*iSharedDataSMTP); } else if(aStepName == KStartRamUsageTimer) { testStep = new(ELeave) CT_StartRamUsageTimer(*iSharedDataSMTP); } else if(aStepName == KStopRamUsageTimer) { testStep = new(ELeave) CT_StopRamUsageTimer(*iSharedDataSMTP); } else if(aStepName == KSmtpCreateNewMessageWithPlainBodyText) { testStep = CT_SmtpCreateNewMessageWithPlainBodyText::NewL(*iSharedDataSMTP); } else if(aStepName == KSmtpCreateForwadMessage) { testStep = CT_SmtpCreateForwadMessage::NewL(*iSharedDataSMTP); } else if(aStepName == KSmtpCreateReplyMessage) { testStep = CT_SmtpCreateReplyMessage::NewL(*iSharedDataSMTP); } else if(aStepName == KRetrievePlainBodyTextAndCompare) { testStep = CT_RetrievePlainBodyTextAndCompare::NewL(*iSharedDataSMTP); } else if(aStepName == KCreateSmtpMobilityAccount) { testStep = CT_MsgCreateSmtpMobilityAccount::NewL(*iSharedDataSMTP); } else if(aStepName == KCreateSmtpAccount) { testStep = new(ELeave) CT_MsgCreateSmtpAccount(*iSharedDataSMTP); } else if(aStepName == KCheckSmtpSNAPSetting) { testStep = new(ELeave) CT_MsgCheckSmtpSNAPSetting(*iSharedDataSMTP); } else if(aStepName == KModifySmtpSettings) { testStep = new(ELeave) CT_MsgModifySmtpSettings(*iSharedDataSMTP); } else if(aStepName == KRemoveSmtpSNAPSetting) { testStep = new(ELeave) CT_MsgRemoveSmtpSNAPSetting(*iSharedDataSMTP); } else if(aStepName == KCheckSmtpBMSetting) { testStep = new(ELeave) CT_MsgCheckSmtpBMSetting(*iSharedDataSMTP); } else { testStep = CT_MsgServer::CreateTestStepL(aStepName); } return testStep; }
b59b696bbb22cd698fc855cfbc80348710853052
42827e6606e4f3eec4addc6b6acea1d38bbd5c39
/TAP/bootsexchange.cpp
7e60d5f7af5b7da83854d2f1a39e6257989cf67b
[]
no_license
axelzito/C-codes
5c490061870b51f1211d085c66b3faa5e2a9f591
cc7029f38c9735a7616a8f1e9977cdae1446180b
refs/heads/master
2020-03-17T15:53:58.241441
2018-05-16T22:09:30
2018-05-16T22:09:30
133,725,710
0
0
null
null
null
null
UTF-8
C++
false
false
640
cpp
bootsexchange.cpp
#include <iostream> #include <string> using namespace std; int main(){ ios::sync_with_stdio(false); int testes; cin>>testes; for(int k=0; k<testes; k++){ int dir[1001], esq[1001]; int num, num2, status=0, sum=0; cin>>num; for(int i=0; i<num; i++){ cin>>dir[i]; } cin>>num2; for(int i=0; i<num; i++){ cin>>esq[i]; } for(int i=0; i<num; i++){ status=0; for(int j=0; j<num2; j++){ if(dir[j]!=0){ if(dir[j]==esq[i]){ status=1; dir[j]=0; break; } } } if(status==0){ sum++; } } cout<<sum<<"\n"; } return 0; }
d347c883422a4e6da70ac5d80ccacd9cc1a23fda
b1c4be5357d95a8bef78dab271189a4161ffbd2c
/Regionals/Jakarta 2013/Horrible Quiz.cpp
1a477625e13f2eacbc56529916f595a96ffa8427
[]
no_license
Shaker2001/Algorithms-Library
faa0434ce01ad55d4b335c109f4f85736a6869ed
1aa09469ca434f6138547592ce49060d4400e349
refs/heads/master
2023-03-16T04:41:27.367439
2017-11-13T00:41:55
2017-11-13T00:41:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,570
cpp
Horrible Quiz.cpp
#include<stdio.h> #include<string.h> #include<algorithm> #include<vector> #include<math.h> using namespace std; long long dp[1300][1300]; vector<int> cor, wor; int main(){ int t; scanf("%d", &t); int N, M, cn = 1; int d; while(t--){ memset(dp,0,sizeof dp); cor.clear(); wor.clear(); scanf("%d %d", &N, &M); dp[0][0] = 15000LL; wor.push_back(0); cor.push_back(0); for (int i=0;i<N;i++){ scanf("%d", &d); cor.push_back(d); } for (int i=0;i<N;i++){ scanf("%d", &d); wor.push_back(d); } for (int i=1;i<=N;i++) for (int j=0;j<=M&&j<=i;j++){ if (j==0){ dp[i][j] = (dp[i-1][j])*(cor[i]+(100-cor[i]-wor[i]))-(dp[i-1][j])*(wor[i]); } else if (j==i){ dp[i][j] = (dp[i-1][j-1])*(cor[i])-(dp[i-1][j-1])*(wor[i]+(100-cor[i]-wor[i])); } else { long long cr = 0LL, wr=0LL; cr = (dp[i-1][j])*(cor[i]+(100-cor[i]-wor[i]))-(dp[i-1][j])*(wor[i]); wr = (dp[i-1][j-1])*(cor[i])-(dp[i-1][j-1])*(wor[i]+(100-cor[i]-wor[i])); dp[i][j] = min(cr,wr); } } long long mini = 1000000000000000LL, fac = 0LL; for (int i=0;i<=M;i++){ if (dp[N][i]<mini){ fac = i; mini = dp[N][i]; } } printf("Case #%d: %.3lf %d\n", cn++, mini*1.0/pow(100.0,M+fac+1),fac); } }
f4903df4fcdf78f05a7d0e0d6b11facda75f5d3c
202b96b76fc7e3270b7a4eec77d6e1fd7d080b12
/platforms/windows/module.strings
64937d36536c7a94ad924567f4716835423d23cc
[]
no_license
prestocore/browser
4a28dc7521137475a1be72a6fbb19bbe15ca9763
8c5977d18f4ed8aea10547829127d52bc612a725
refs/heads/master
2016-08-09T12:55:21.058966
1995-06-22T00:00:00
1995-06-22T00:00:00
51,481,663
98
66
null
null
null
null
UTF-8
C++
false
false
5,831
strings
module.strings
#ifdef MSWIN // -*- Mode: c++; tab-width: 4; c-basic-offset: 4 -*- // Don't forget the platform ifdef: other platforms may have windows checked out for reference ... /* Strings referenced in the windows platform module. * * Comment lines in either form valid for C++ are ignored. Preprocessor * directives are allowed and should match the context in which the string is * used. Please label each string with the file(s) in which it appears, to help * other folk track them: either use an end-of-line comment, or use a single * line with file-name as comment followed by that files's string tags, up to a * blank line. */ D_PLUGIN_ACTIVATE // WindowsOpWindow.cpp // windowsprofileman.cpp D_FAILED_TO_COPY_INI D_FAILED_TO_MIGRATE_INI // windows_ui/usermem.cpp SI_LOW_WINDOWS_GDI_MEM_STRING SI_LOW_WINDOWS_USER_MEM_STRING // windows_ui/rasex.cpp SI_IDSTR_ASKRASCLOSEALL SI_IDSTR_ASKRASCLOSEALLCAPTION SI_IDSTR_ERR_RASCLOSEALLFAILED // windows_ui/getfname.cpp SI_DEF_STRING SI_IDSTR_ALL_FILES_ASTRIX SI_IDSTR_FILES SI_IDSTR_OFN_FIXMSG SI_IDS_FEATURE_DISABLED SI_REMOVED_IN_VERSION_TEXT S_FILEDOWNLOAD_ALREADY_DOWNLOADING S_FILEDOWNLOAD_ALREADY_DOWNLOADING_NAME_COLLISION // mailhooks.cpp SI_IDSTR_MSG_FAILED_STARTING_EXT_MAIL_APP_CAP SI_IDSTR_MSG_FAILED_STARTING_EXT_MAIL_APP_TXT SI_IDSTR_MSG_NO_EXT_MAIL_APP_DEFINED_CAP SI_IDSTR_MSG_NO_EXT_MAIL_APP_DEFINED_TXT // windows_ui/opera.cpp DI_IDM_GRP_DFLTBROWSER DI_IDM_LANGFILE_DOWNLOAD DI_IDM_LANGFILE_NEEDS_UPDATE DI_IDM_LBL_DFLTBROWSER D_BAD_DLL_WARNING_TITLE D_BAD_DLL_WARNING_TEXT // windows_ui/printwin.cpp DI_ABORTDLG DI_ID_CANCEL DI_PRINTPREVIEWMODE SI_ERR_ALREADY_PRINTING SI_ERR_CANNOT_PRINT SI_ERR_PRINTER_COULD_NOT_START SI_PRINTING_PAGE_TEXT // user_fun.cpp SI_ERR_SHELLEXEC_COULD_NOT_RUN SI_ERR_SHELLEXEC_DLL_INVALID SI_ERR_SHELLEXEC_FILE_NOT_FOUND SI_ERR_SHELLEXEC_OUT_OF_MEMORY SI_ERR_SHELLEXEC_OUT_OF_SYS_MEMORY SI_ERR_SHELLEXEC_PATH_NOT_FOUND SI_ERR_SHELLEXEC_REQUIRES_32BIT SI_ERR_SHELLEXEC_UNDEFINED // WindowsOpSystemInfo.cpp SI_ERR_WINEXEC_COULD_NOT_RUN SI_ERR_WINEXEC_DLL_INVALID SI_ERR_WINEXEC_FILE_NOT_FOUND SI_ERR_WINEXEC_OUT_OF_MEMORY SI_ERR_WINEXEC_OUT_OF_SYS_MEMORY SI_ERR_WINEXEC_PATH_NOT_FOUND SI_ERR_WINEXEC_REQUIRES_32BIT S_ALT_FILE_TYPE_NAME // aboutopera.cpp: #ifndef USE_ABOUT_FRAMEWORK SI_IDABOUT_ABOUT SI_IDABOUT_CACHEDIR SI_IDABOUT_DEFAULTWINFILE SI_IDABOUT_HELPDIR SI_IDABOUT_HOTLISTFILE SI_IDABOUT_INCLUDESFROM SI_IDABOUT_JAVAVERSION SI_IDABOUT_NA SI_IDABOUT_NAME SI_IDABOUT_NO SI_IDABOUT_OPERADIRECTORY SI_IDABOUT_OPERASYSINFO SI_IDABOUT_ORGANIZATION SI_IDABOUT_PLUGINPATH SI_IDABOUT_REGINFO SI_IDABOUT_REGISTERED SI_IDABOUT_SETTINGS SI_IDABOUT_WELOVEYOU SI_IDABOUT_WINVER SI_IDABOUT_YES SI_IDSTR_ABT_BRAND_PARTNER SI_IDSTR_ABT_BUILD_STR SI_IDSTR_ABT_PLATFORM_STR SI_IDSTR_ABT_VER_INFO_STR SI_IDSTR_ABT_VER_STR SI_IDSTR_ABT_WIN_VER SI_IDSTR_NO_JAVA S_IDABOUT_HELPDIR # ifdef GEIR_MEMORIAL S_DEDICATED_TO # endif # ifdef USER_JAVASCRIPT S_IDABOUT_USERJSFILE # endif S_USER_CSS_LABEL #endif // USE_ABOUT_FRAMEWORK #ifdef DESKTOP_FILECHOOSER D_FILECHOOSER_INIT_ERROR #endif // WindowsOpTaskbar.cpp MI_IDM_MENU_PAGEBAR_NEW_PAGE MI_IDM_MENU_NEW_PRIVATE_PAGE S_SPEED_DIAL S_JUMPLIST_FREQUENT //Installer UI dialogs D_INSTALLER_OPTIONS D_INSTALLER_BTN_ACCEPT_TOS_INSTALL D_INSTALLER_TITLE D_INSTALLER_LABEL_INSTALL_TYPE D_INSTALLER_LABEL_INSTALL_TYPE_PORTABLE_DEVICE D_INSTALLER_LABEL_INSTALL_TYPE_ALL_USERS D_INSTALLER_LABEL_INSTALL_TYPE_ME D_INSTALLER_LABEL_INSTALL_PATH D_INSTALLER_LABEL_SHORTCUT D_INSTALLER_LABEL_DEFAULTS D_INSTALLER_LICENSE_LABEL D_INSTALLER_LICENSE_LABEL_WITH_LINK D_INSTALLER_SHORTCUT_ON_DESKTOP D_INSTALLER_SHORTCUT_IN_START_MENU D_INSTALLER_SHORTCUT_IN_QUICK_LAUNCH_TB D_INSTALLER_DEFAULT_BROWSER D_INSTALLER_YANDEX_SEARCH D_INSTALLER_UPGRADE_MESSAGE D_INSTALLATION_THANK_YOU D_INSTALLER_APPS_CLOSE_WARNING_INSTALL D_INSTALLER_APPS_CLOSE_WARNING_UNINSTALL D_INSTALLER_EXIT_CONFIRMATION D_INSTALLER_OPTIONS_HELP D_UNINSTALL_THANK_YOU D_UNINSTALL_WARNING D_UNINSTALL_INTRO_MSG D_INSTALLWIZARD_UNINSTALL_OPERA D_UNINSTALL_EXIT_CONFIRMATION D_INSTALLER_ERROR_TITLE D_INSTALLER_GENERIC_ERROR D_INSTALLER_INIT_FOLDER_FAILED D_INSTALLER_INIT_OPERATION_FAILED D_INSTALLER_CREATE_FOLDER_FAILED D_INSTALLER_CANT_GET_FOLDER_WRITE_PERMISSIONS D_INSTALLER_COPY_FILE_REPLACE_FAILED D_INSTALLER_SHORTCUT_REPLACE_FAILED D_INSTALLER_SHORTCUT_DEPLOY_FAILED D_INSTALLER_DEFAULT_PREFS_FILE_CREATE_FAILED D_INSTALLER_DEFAULT_PREFS_FILE_COMMIT_FAILED D_INSTALLER_FIXED_PREFS_MAKE_COPY_FAILED D_INSTALLER_FIXED_PREFS_COPY_CONTENT_FAILED D_INSTALLER_SAVE_LOG_FAILED D_INSTALLER_DELETE_OLD_FILE_FAILED D_INSTALLER_DELETE_OLD_SHORTCUT_FAILED D_INSTALLER_REGISTRY_OPERATION_FAILED D_INSTALLER_DELETE_OLD_REG_VALUE_FAILED D_INSTALLER_DELETE_OLD_KEY_FAILED D_INSTALLER_DELETE_OLD_LOG_FAILED D_INSTALLER_FILES_LIST_MISSING D_INSTALLER_ELEVATION_SHELL_EXECUTE_FAILED D_INSTALLER_CANT_INSTALL_SINGLE_PROFILE_WITHOUT_WRITE_ACCESS D_INSTALLER_APPLICATION_NAME D_INSTALLER_BTN_ACCEPT_TOS_UPGRADE D_INSTALLER_IGNORE D_INSTALLER_APP_LOCKSCREEN_WARNING_MSG D_INSTALLER_CONTINUE D_INSTALLER_APP_CLOSING_MSG D_INSTALLER_OTHER_USER_IS_LOGGED_ON D_INSTALLER_CANT_ELEVATE_WITHOUT_UAC D_INSTALLER_REQUIRES_REBOOT_TITLE D_INSTALLER_REQUIRES_REBOOT D_INSTALLER_REQUIRES_REBOOT_MANUAL D_UNINSTALL_REMOVE_PROFILE D_UNINSTALL_REMOVE_PROFILE_OPTIONS D_UNINSTALL_REMOVE_FULL_PROFILE D_UNINSTALL_REMOVE_GENERATED D_UNINSTALL_REMOVE_PASSWORDS D_UNINSTALL_REMOVE_CUSTOMIZATIONS D_UNINSTALL_REMOVE_MAIL D_UNINSTALL_REMOVE_BOOKMARKS D_UNINSTALL_REMOVE_UNITE_APPS D_INSTALLER_COPY_FILE_WRITE_FAILED D_INSTALLER_CANT_OBTAIN_WRITE_ACCESS D_INSTALLER_MSI_UNINSTALL_FAILED D_INSTALLER_PIN_TO_TASKBAR D_INSTALLER_PIN_TO_TASKBAR_FAILED D_INSTALLER_UNPIN_FROM_TASKBAR_FAILED M_LOC_OPERA_ERROR_CODE_FORMAT S_BREAM_IS_EXITING S_OPERA S_MSG_WARNING #endif // WIN32
4d6c6cb7bfaceef83fa67bea0cebdd721ea17844
793c8848753f530aab28076a4077deac815af5ac
/src/dskphone/ui/t48/settingui/src/cdlgdsskey.cpp
922a77f55762694c012f05d59e560c4d08f1fbbc
[]
no_license
Parantido/sipphone
4c1b9b18a7a6e478514fe0aadb79335e734bc016
f402efb088bb42900867608cc9ccf15d9b946d7d
refs/heads/master
2021-09-10T20:12:36.553640
2018-03-30T12:44:13
2018-03-30T12:44:13
263,628,242
1
0
null
2020-05-13T12:49:19
2020-05-13T12:49:18
null
UTF-8
C++
false
false
23,560
cpp
cdlgdsskey.cpp
#include "model.h" #include "cdlgdsskey.h" #include "uikernel/languagehelper.h" //#include "setting/dsskeycontroller.h" #include "inputmethod/inputmethod.h" #include "baseui/fontcolor.h" #include <configiddefine.h> #include "configparser/modconfigparser.h" #include "account/include/accountmanager.h" #include "setting/src/menu/menucontroller.h" #include "configiddefine.h" //#include "dssKey/dsskeyinfodef.h" #include "uikernel/qlineeditutility.h" #include "uikernel/qcomboboxutility.h" //#include "directory/directorydata.h" //#include "directory/smartptr.h" #include "contacts/directory/include/moddirinterface.h" #include <QString> #include "qtcommon/qmisc.cpp" #include "uimanager/moduimanager.h" #include "account/include/modaccount.h" #include "commonapi/stringhelperapi.h" #include "setting/src/commondefine.h" #include "dsskey/include/moddsskey.h" #include "dsskey/src/dsskeycommonfunc.h" #include "dsskeyui/include/moddsskeyui.h" #include "directoryui/include/moddirectoryui.h" #include "presence/include/modpresence.h" #include "wireless/bluetoothNew/include/modbluetooth.h" #include "edk/include/modedk.h" namespace { #define DSSKEY_KEY "dss_key" #define DSSKEY_LINE_KEY_ITEM "line_key_item_" #define DSSKEY_MEMEORY_KEY_ITEM "memory_key_item_" #define DSSKEY_EXPAND_KEY_ITEM "expand_key_item_" } void DlgDsskey_DirectoryCallBack(yl::string strContactName, yl::string strContactNumber) { CDlgDssKey * pDsseyNew = qobject_cast<CDlgDssKey *>(UIManager_GetPrivateDlg( DLG_CDlgDssKey)); if (NULL == pDsseyNew) { return ; } QString name = toQString(strContactName); QString number = toQString(strContactNumber); pDsseyNew->writeData(name, number); } int CDlgDssKey::ParseIdByClickAction(const yl::string & strClickAction, const yl::string & strMask) { if (strClickAction.empty() || strMask.empty()) { return -1; } // Parse action and content. yl::string strAction; yl::string strContent; if (!commonAPI_ParseActionInfo(&strAction, &strContent, strClickAction)) { return -1; } // Get mask without ending x. yl::string strMaskNoX = strMask.substr(0, strMask.length() - 1); size_t uPosFound = strContent.rfind(strMaskNoX); if (uPosFound == yl::string::npos) { return -1; } // Find id from content. yl::string strContentPart = strContent.substr(uPosFound); yl::string strNewMask = strMaskNoX + "%d"; int nId = -1; if (sscanf(strContentPart.c_str(), strNewMask.c_str(), &nId) != 1) { return -1; } return nId - 1; } CDlgDssKey::CDlgDssKey(QWidget * parent) : CDlgBaseSubPage(parent) , m_pCmbBoxAccountID(NULL) , m_pCmbBoxKeyType(NULL) , m_pCmbBoxType(NULL) , m_pEditExt(NULL) , m_pEditLabel(NULL) , m_pEditValue(NULL) , m_pCmbBoxIndex(NULL) , m_iDirectoryWriteType(0) { InitData(); } void CDlgDssKey::SetItemTypeByAction(const yl::string & strAction) { int iMoudleIndex = 0; int iIndex = 0; //扩展台索引的开始位置 int iExpIdxSplitPos = strAction.find(';'); if (iExpIdxSplitPos != yl::string::npos) { //扩展台索引 yl::string strExpIdx = strAction.substr(iExpIdxSplitPos + 1, strAction.length() - iExpIdxSplitPos - 1); if (!strExpIdx.empty()) { iMoudleIndex = atoi(strExpIdx.c_str()); } } // Memorykey iIndex = ParseIdByClickAction(strAction, NS_SETTING::kszCAMaskMemoryKey); if (iIndex == INVALID_INDEX) { // Linekey iIndex = ParseIdByClickAction(strAction, NS_SETTING::kszCAMaskLineKey); if (iIndex == INVALID_INDEX) { // 扩展台 iIndex = ParseIdByClickAction(strAction, NS_SETTING::kszCAMaskExpandKey); if (iIndex == INVALID_INDEX) { SETTINGUI_ERR("SetItemTypeByAction parse failed [%s]", strAction.c_str()); return; } m_PageInfo.m_eUIType = DSSKEY_UI_EXPKEY; } else { m_PageInfo.m_eUIType = DSSKEY_UI_LINEKEY; } } else { m_PageInfo.m_eUIType = DSSKEY_UI_MEMORYKEY; } m_PageInfo.SetIndex(iIndex, iMoudleIndex); } void CDlgDssKey::SetOpenSubPageAction(const yl::string & strSubPageAction) { // 保存相应的Action m_strSubPageAction = strSubPageAction; if (!strSubPageAction.empty()) { //设置当前界面的action SetItemTypeByAction(strSubPageAction); } } void CDlgDssKey::OnOpenDirectory(const QString & str) { g_pMenuController->EnterDirFormDsskey(this); } void CDlgDssKey::OnMenuCallback(void * pData) { // 入口参数检查 if (NULL == pData) { return; } DsskeySettingCallbackData * pCallbackData = (DsskeySettingCallbackData *)pData; m_pEditLabel->setText(toQString(pCallbackData->strLab)); m_pEditValue->setText(toQString(pCallbackData->strValue)); g_pMenuController->ExitDirFormDsskey(); } //进行Dss Key界面的部分初始化工作 void CDlgDssKey::InitData() { //设置value和extension两个编辑框在不可编辑状态下的字体颜色 m_pCmbBoxAccountID = new QComboBox(this); m_pCmbBoxKeyType = new QComboBox(this); m_pCmbBoxType = new QComboBox(this); m_pCmbBoxIndex = new QComboBox(this); m_pEditExt = new QLineEdit(this); m_pEditLabel = new QLineEdit(this); m_pEditValue = new QLineEdit(this); qComboBoxUtility::SetComboBoxStyle(m_pCmbBoxType, Qt::black); qComboBoxUtility::SetComboBoxStyle(m_pCmbBoxKeyType, Qt::black); qComboBoxUtility::SetComboBoxStyle(m_pCmbBoxAccountID, Qt::black); qComboBoxUtility::SetComboBoxStyle(m_pCmbBoxIndex, Qt::black); qLineEditUtility::SetLineEditStyle(m_pEditValue, Qt::black); qLineEditUtility::SetLineEditStyle(m_pEditExt, Qt::black); qLineEditUtility::SetLineEditStyle(m_pEditLabel, Qt::black); //为界面上各输入控件安装事件过滤器 m_pCmbBoxType->installEventFilter(this); m_pCmbBoxKeyType->installEventFilter(this); m_pCmbBoxAccountID->installEventFilter(this); m_pCmbBoxIndex->installEventFilter(this); m_pEditValue->installEventFilter(this); m_pEditLabel->installEventFilter(this); m_pEditExt->installEventFilter(this); //this->installEventFilter(this); } void CDlgDssKey::AddCmbBoxItemData(bool bKeyEvent) { QComboBox * pCombox = bKeyEvent ? m_pCmbBoxKeyType : m_pCmbBoxType; if (pCombox == NULL) { return; } pCombox->clear(); VecCandidateValue & vecDsskeyPairs = bKeyEvent ? m_vecKeyEvent : m_vecKeyList; for (VecCandidateValue::iterator it = vecDsskeyPairs.begin(); it != vecDsskeyPairs.end(); ++it) { pCombox->addItem(LANG_TRANSLATE(it->strValue.c_str()), it->iIndex); } } void CDlgDssKey::AddAccountIDData() { //获取账号总个数,进行添加 int iAccountNum = acc_AccountNum(); QString strIndex; QString strDisplayName; m_pCmbBoxAccountID->clear(); for (int i = 0; i < iAccountNum; i++) { strDisplayName = LANG_TRANSLATE(TRID_LINE) + " " + strIndex.setNum(i + 1); m_pCmbBoxAccountID->addItem(strDisplayName, i); } } void CDlgDssKey::AddIndexData(bool bIndex/* = true*/) { QComboBox * pCombox = m_pCmbBoxIndex; // 动态数据,所以添加是否存在显示的判断 if (IsWidgetInList(pCombox)) { pCombox->clear(); VecCandidateValue & vecData = m_DssKeyData.m_vecData; for (VecCandidateValue::iterator it = vecData.begin(); it != vecData.end(); ++it) { pCombox->addItem(LANG_TRANSLATE(it->strValue.c_str()), it->iIndex); } // 强制取消编辑 if (vecData.size() <= 1) { pCombox->setEnabled(false); } } } //设置不同选项时,对应显示不同的界面。 void CDlgDssKey::OnCmbBoxTypeCurrentIndexChanged(int nIndex) { IF_TimeTrace; int index = m_pGeneralFrame->GetFocusItemIndex(); BlockSignals(true); // 切换类型时其它数据统统清除 DssKey_Type eType = GetDsskeyType(); int iType = DT_NA; GetWidgetValue(m_pCmbBoxType, iType); // 切换上一次的类型 if (eType == m_OldDssKeyData.m_eType || (iType == DT_KEYEVENT && m_pGeneralFrame->GetFocusItemDataIndex() == 0 && dsskeyuilogic_CheckKeyEventSet(m_PageInfo, m_OldDssKeyData.m_eType))) { m_DssKeyData = m_OldDssKeyData; if (iType == DT_KEYEVENT) { eType = m_DssKeyData.m_eType; } } else { m_DssKeyData.Reset(); m_DssKeyData.m_eType = eType; dsskeyuilogic_UpdateData(m_PageInfo, m_DssKeyData); // Line的序号和Dsskey位置有关,不能重置 if (eType != DT_LINE) { m_DssKeyData.m_iLineIndex = 0; } } m_DssKeyData.m_strLabel.clear(); m_pCmbBoxAccountID->setCurrentIndex( m_pCmbBoxAccountID->findData(m_DssKeyData.m_iLineIndex, Qt::UserRole)); // 配置控件 SetViewByType(eType); UpdateData(); UpdateWnd(); BlockSignals(false); m_pGeneralFrame->SelectItemByIndex(index); } void CDlgDssKey::OnCmbBoxAccountIDCurrentIndexChanged(int nIndex) { int index = m_pGeneralFrame->GetFocusItemIndex(); // 修改Line可能需要实时更新,因此先获取当前页面数据 GetPageData(); // 切换回原有类型时 if (m_DssKeyData.m_eType == m_OldDssKeyData.m_eType && m_DssKeyData.m_iLineIndex == m_OldDssKeyData.m_iLineIndex) { m_DssKeyData = m_OldDssKeyData; } else { dsskeyuilogic_UpdateData(m_PageInfo, m_DssKeyData); m_DssKeyData.m_strLabel.clear(); } BlockSignals(true); // 更新数据 UpdateData(); BlockSignals(false); m_pGeneralFrame->SelectItemByIndex(index); } void CDlgDssKey::SetViewByType(DssKey_Type eType) { IF_TimeTrace; // 判断当前下拉框选择的值,显示出与之相对的界面 // 新切换界面时,无论界面是否有显示,为了避免之前界面数据的影响,都要对界面重做初始化处理 m_pCmbBoxIndex->clear(); m_pCmbBoxIndex->setCurrentIndex(0); SetAllWidgetEnable(true); m_pEditValue->clear(); m_pEditExt->clear(); m_pEditLabel->clear(); m_pCmbBoxAccountID->hide(); m_pCmbBoxIndex->hide(); m_pEditExt->hide(); m_pEditLabel->hide(); m_pEditValue->hide(); MakeReadyForRelayout(); // 整个Dsskey都是只读 DSSKEY_READONLY_MASK eReadOnlyMask = dsskeyuilogic_IsDsskeyReadOnly(m_PageInfo, m_DssKeyData); bool bNewType = eType != m_OldDssKeyData.m_eType; bool bEnabled = m_bPageEnable && (bNewType || eReadOnlyMask == READONLY_NONE); PushQWidgetPair(TRID_TYPE, m_pCmbBoxType); m_pCmbBoxType->setEnabled(bEnabled); if (dsskeyuilogic_CheckKeyEventSet(m_PageInfo, eType)) { PushQWidgetPair(TRID_KEY_TYPE, m_pCmbBoxKeyType); m_pCmbBoxKeyType->setEnabled(bEnabled); // 重新切回来了 if (eType == m_OldDssKeyData.m_eType) { m_pCmbBoxKeyType->setCurrentIndex(m_pCmbBoxKeyType->findData(eType, Qt::UserRole)); } } else { m_pCmbBoxKeyType->hide(); // 重置焦点到第一个 m_pCmbBoxKeyType->setCurrentIndex(0); } ConfigSingleWidget(m_pCmbBoxAccountID, eType, DSSKEY_ATTR_ITEM_LINE, bEnabled); ConfigSingleWidget(m_pCmbBoxIndex, eType, DSSKEY_ATTR_ITEM_INDEX, bEnabled); ConfigSingleWidget(m_pEditLabel, eType, DSSKEY_ATTR_ITEM_LABEL, (m_bPageEnable && (bNewType || eReadOnlyMask <= READONLY_EXCEPT_LABEL))); ConfigSingleWidget(m_pEditValue, eType, DSSKEY_ATTR_ITEM_VALUE, bEnabled); ConfigSingleWidget(m_pEditExt, eType, DSSKEY_ATTR_ITEM_EXT, bEnabled); //IF_LOG_TRACE("type=[%d] [%d] [%d]", eType, bEnabled, m_vecWidgetPair.size()); SetSubPageEnabled(m_bPageEnable && (bNewType || eReadOnlyMask != READONLY_ALL_ITEM)); AddWidget(m_vecWidgetPair); } //添加选项 void CDlgDssKey::PushQWidgetPair(LPCSTR lpName, QWidget * qWidget, int type /*= 0*/) { QWidgetPair qPair; qPair.first = LANG_TRANSLATE(lpName); qPair.second = qWidget; if (configParser_GetConfigInt(kszFavoriteDirAutoSetSwitch) == 1 && DT_SPEEDDIAL == m_DssKeyData.m_eType) { m_iDirectoryWriteType = 0; qPair.iExtraButten = NONE_EXTRA; } else if ((type == DSSKEY_BUTTON_TYPE_DIR_LABEL || type == DSSKEY_BUTTON_TYPE_DIR_LABEL_VALUE) && qWidget == m_pEditLabel) { m_iDirectoryWriteType = type; qPair.iExtraButten = DIRECTORY_EXTRA; } m_vecWidgetPair.push_back(qPair); } bool CDlgDssKey::GetPageData() { IF_TimeTrace; m_DssKeyData.Reset(); //将当前页面数据保存 m_DssKeyData.m_eType = GetDsskeyType(); GetWidgetValue(m_pCmbBoxIndex, m_DssKeyData.m_iIndex); GetWidgetValue(m_pCmbBoxAccountID, m_DssKeyData.m_iLineIndex); GetWidgetValue(m_pEditLabel, m_DssKeyData.m_strLabel); GetWidgetValue(m_pEditValue, m_DssKeyData.m_strValue); GetWidgetValue(m_pEditExt, m_DssKeyData.m_strExtension); return m_DssKeyData.m_eType != DT_NONE; } bool CDlgDssKey::LoadPageData() { IF_TimeTrace; // 加载逻辑层数据 GetLogicData(); //根据action item类型为type下拉框添加数据 AddCmbBoxItemData(false); AddCmbBoxItemData(true); AddAccountIDData(); // 先设置好Type InitDsskeyType(); // 由当前Type设置显示的控件 SetViewByType(m_DssKeyData.m_eType); // 配置其他控件 UpdateData(); // 重设焦点 ResetFocus(); // 连接信号嘈 ConnectSignals(); return true; } void CDlgDssKey::UpdateData() { IF_TimeTrace; m_pEditValue->setText(toQString(m_DssKeyData.m_strValue)); m_pEditExt->setText(toQString(m_DssKeyData.m_strExtension)); m_pEditLabel->setText(toQString(m_DssKeyData.m_strLabel)); // 添加动态可选数据 AddIndexData(true); AddIndexData(false); ConfigCombox(m_pCmbBoxIndex, m_DssKeyData.m_iIndex); } void CDlgDssKey::InitDsskeyType() { DssKey_Type eKeyEvent = m_DssKeyData.m_eType; if (dsskeyuilogic_CheckKeyEventSet(m_PageInfo, m_DssKeyData.m_eType)) { m_pCmbBoxKeyType->setCurrentIndex(m_pCmbBoxKeyType->findData(m_DssKeyData.m_eType, Qt::UserRole)); eKeyEvent = DT_KEYEVENT; } //http://bugfree.yealink.com/Bug.php?BugID=141442 int index = m_pCmbBoxType->findData(eKeyEvent, Qt::UserRole); if (index < 0) { m_DssKeyData.Reset(); index = 0; } m_pCmbBoxType->setCurrentIndex(index); m_pCmbBoxAccountID->setCurrentIndex(m_pCmbBoxAccountID->findData(m_DssKeyData.m_iLineIndex, Qt::UserRole)); } void CDlgDssKey::Init() { // 断开信号嘈 DisconnectSignals(); m_vecKeyEvent.clear(); m_vecKeyList.clear(); //为Value安装输入法 qInstallIME(m_pEditValue, IME_ALL); //为Extension安装输入法 qInstallIME(m_pEditExt, IME_ALL); qInstallIME(m_pEditLabel, IME_ALL); } void CDlgDssKey::Uninit() { // 断开信号嘈 DisconnectSignals(); m_vecKeyEvent.clear(); m_vecKeyList.clear(); m_pCmbBoxType->clear(); m_pCmbBoxKeyType->clear(); m_pCmbBoxAccountID->clear(); m_pCmbBoxIndex->clear(); qUninstallIME(m_pEditValue); qUninstallIME(m_pEditExt); qUninstallIME(m_pEditLabel); } bool CDlgDssKey::IsSameSettingDialog(const yl::string & strAction) { return strAction.find(DSSKEY_KEY) != yl::string::npos || strAction.find(DSSKEY_LINE_KEY_ITEM) != yl::string::npos || strAction.find(DSSKEY_MEMEORY_KEY_ITEM) != yl::string::npos || strAction.find(DSSKEY_EXPAND_KEY_ITEM) != yl::string::npos; } void CDlgDssKey::SetAllWidgetEnable(bool bEnable) { QWPVector::iterator iter = m_vecWidgetPair.begin(); for (; iter != m_vecWidgetPair.end(); ++iter) { QWidget * pWidget = iter->second; if (NULL != pWidget) { iter->second->setEnabled(bEnable); } } } DssKey_Type CDlgDssKey::GetDsskeyType() { int iType = DT_NA; GetWidgetValue(m_pCmbBoxType, iType); if (iType == DT_KEYEVENT) { if (!GetWidgetValue(m_pCmbBoxKeyType, iType)) { if (m_vecKeyEvent.size() > 0) { iType = m_vecKeyEvent[0].iIndex; } /*else { int iIndex = m_pCmbBoxType->currentIndex(); if (m_vecKeyList.size() > 0) { iIndex = ++iIndex % m_vecKeyList.size(); m_pCmbBoxType->setCurrentIndex(iIndex); } }*/ } } return (DssKey_Type)iType; } void CDlgDssKey::ResetFocus() { this->setFocus(); m_pGeneralFrame->SelectItemByIndex(0); m_pCmbBoxType->setFocus(); } void CDlgDssKey::ConfigSingleWidget(QWidget * pWidget, DssKey_Type eType, DSSKEY_ATTR_ITEM eAttrItem, bool bEnabled) { if (pWidget == NULL || eAttrItem == DSSKEY_ATTR_ITEM_NONE || eType == DT_KEYEVENT) { return; } CDsskeyItemAttr * pAttrItem = dsskeyuilogic_GetAttrByType(eType, eAttrItem); if (pAttrItem == NULL || !pAttrItem->IsVisible()) { return; } if (pWidget->inherits("QLineEdit")) { QLineEdit * pEdit = static_cast<QLineEdit *>(pWidget); qSetCurrentIME(pEdit, pAttrItem->GetIme().c_str()); //pEdit->setMaxLength(pAttrItem->iMaxLength); pEdit->setEchoMode(pAttrItem->bPasswd ? QLineEdit::Password : QLineEdit::Normal); } //IF_LOG_TRACE("[%d][%d][%s]", eAttrItem, bEnabled ? pAttrItem->IsReadOnly() : bEnabled, // pAttrItem->GetName().c_str()); // Dsskey自身只读属性优先级比单个配置优先级要高 pWidget->setEnabled(bEnabled ? !(pAttrItem->IsReadOnly()) : bEnabled); PushQWidgetPair(pAttrItem->GetName().c_str(), pWidget, pAttrItem->GetButtonType()); } bool CDlgDssKey::GetWidgetValue(QComboBox * pWidget, int & iValue) { if (IsWidgetInList(pWidget)) { iValue = pWidget->itemData(pWidget->currentIndex(), Qt::UserRole).value<int>(); return true; } return false; } bool CDlgDssKey::GetWidgetValue(QLineEdit * pWidget, yl::string & strValue) { if (IsWidgetInList(pWidget)) { strValue = pWidget->text().trimmed().toUtf8().data(); return true; } return false; } bool CDlgDssKey::ConfigCombox(QComboBox * pWidget, int & iValue) { if (pWidget == NULL || !IsWidgetInList(pWidget) || focusWidget() == pWidget) { return false; } if (pWidget->findData(iValue, Qt::UserRole) < 0) { pWidget->setCurrentIndex(0); iValue = pWidget->itemData(pWidget->currentIndex(), Qt::UserRole).value<int>(); return true; } pWidget->setCurrentIndex(pWidget->findData(iValue, Qt::UserRole)); return false; } void CDlgDssKey::ConnectSignals() { connect(m_pCmbBoxType, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxTypeCurrentIndexChanged(int))); connect(m_pCmbBoxKeyType, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxTypeCurrentIndexChanged(int))); connect(m_pCmbBoxAccountID, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxAccountIDCurrentIndexChanged(int))); connect(m_pCmbBoxIndex, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxIndexCurrentIndexChanged(int))); } void CDlgDssKey::DisconnectSignals() { disconnect(m_pCmbBoxType, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxTypeCurrentIndexChanged(int))); disconnect(m_pCmbBoxKeyType, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxTypeCurrentIndexChanged(int))); disconnect(m_pCmbBoxAccountID, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxAccountIDCurrentIndexChanged(int))); disconnect(m_pCmbBoxIndex, SIGNAL(currentIndexChanged(int)), this, SLOT(OnCmbBoxIndexCurrentIndexChanged(int))); } void CDlgDssKey::BlockSignals(bool bBlock) { m_pCmbBoxType->blockSignals(bBlock); m_pCmbBoxKeyType->blockSignals(bBlock); m_pCmbBoxAccountID->blockSignals(bBlock); m_pCmbBoxIndex->blockSignals(bBlock); } void CDlgDssKey::OnCmbBoxIndexCurrentIndexChanged(int nIndex) { // 可选需要改变,暂时不需要处理 } void CDlgDssKey::GetLogicData() { dsskeyuilogic_GetData(m_PageInfo, m_DssKeyData); m_OldDssKeyData = m_DssKeyData; dsskeyuilogic_GetAllDsskey(m_PageInfo, m_vecKeyEvent, true); dsskeyuilogic_GetAllDsskey(m_PageInfo, m_vecKeyList, false); } bool CDlgDssKey::IsInputDataValid(InputDataErrorInfo & objErrorContent) { GetPageData(); // 给出保存提示 CDsskeyPair errorTips; if (dsskeyuilogic_IsDataValid(m_PageInfo, m_DssKeyData, errorTips)) { return true; } else { //SETTINGUI_INFO("[%d][%s]", errorTips.iIndex, errorTips.strValue.c_str()); // 逻辑层错误提示转化为UI层错误提示信息 struct WidgetItemPair { QWidget * pWidgit; int iAttr; }; const static WidgetItemPair s_arr_widget_pair[] = { { m_pEditLabel, DSSKEY_ATTR_ITEM_LABEL }, { m_pEditValue, DSSKEY_ATTR_ITEM_VALUE }, { m_pEditExt, DSSKEY_ATTR_ITEM_EXT }, { m_pCmbBoxType, DSSKEY_ATTR_ITEM_TYPE }, { m_pCmbBoxKeyType, DSSKEY_ATTR_ITEM_KEYEVENT }, { m_pCmbBoxAccountID, DSSKEY_ATTR_ITEM_LINE }, { m_pCmbBoxIndex, DSSKEY_ATTR_ITEM_INDEX }, }; QWidget * pFocusWidget = NULL; int iSize = sizeof(s_arr_widget_pair) / sizeof(s_arr_widget_pair[0]); for (int i = 0; i < iSize; ++i) { if (s_arr_widget_pair[i].iAttr == errorTips.iIndex) { pFocusWidget = s_arr_widget_pair[i].pWidgit; break; } } if (pFocusWidget != NULL) { // 因架构限制当前只能标志输入控件为非法控件 objErrorContent.pLineEdit = pFocusWidget->inherits("QLineEdit") ? static_cast<QLineEdit *>(pFocusWidget) : NULL; } objErrorContent.strErrorContent = LANG_TRANSLATE(errorTips.strValue.c_str()); } return false; } bool CDlgDssKey::SavePageData() { return dsskeyuilogic_SaveData(m_PageInfo, m_DssKeyData); } void CDlgDssKey::OnExtraAction(int eActionType) { if (eActionType == DIRECTORY_EXTRA) { DM_EnterSelectDirectoryUI(DlgDsskey_DirectoryCallBack); } } void CDlgDssKey::writeData(QString name, QString number) { if (m_iDirectoryWriteType == DSSKEY_BUTTON_TYPE_NONE) { return; } if (m_iDirectoryWriteType == DSSKEY_BUTTON_TYPE_DIR_LABEL) { m_pEditLabel->setText(number); } else if (m_iDirectoryWriteType == DSSKEY_BUTTON_TYPE_DIR_LABEL_VALUE) { m_pEditLabel->setText(name); m_pEditValue->setText(number); } }
76c2d4d119ffa15870048dc6baba3cd537c87601
8a5a1de566782654ba7b7a7019adcf4ecd4c98f9
/source/player.h
216e95ff854f2fb2e491813a0c47bec6836d0ce1
[]
no_license
jlalexander4141/RobinHood_2D
811af024d9d14c4e784d49e51f8424daddc4e318
091dc3d215e6859a9fdf2c45693222ad18882722
refs/heads/master
2021-01-20T18:54:31.844459
2016-08-16T22:03:23
2016-08-16T22:03:23
63,387,052
0
0
null
null
null
null
UTF-8
C++
false
false
933
h
player.h
//Joshua Alexander #ifndef _player_h #define _player_h #include "game.h" class player { public: //variables SDL_Texture *texture1; SDL_Texture *texture2; SDL_Texture *bulletTexture1; SDL_Texture *bulletTexture2; const int PLAYER_VEL = 5; int pVelX; int pVelY; SDL_Rect pos; SDL_Rect bulletPos; bool bulletActive; int bulletDir; string bulletFacing; int ammo; //functions player() { texture1 = nullptr; texture2 = nullptr; bulletTexture1 = nullptr; bulletTexture2 = nullptr; pos.x = 200; pos.y = 515; pos.w = 64; pos.h = 128; pVelX = 0; pVelY = 0; bulletPos.x = -200; bulletPos.y = -200; bulletPos.w = 32; bulletPos.h = 7; bulletActive = true; bulletDir = 0; bulletFacing = "right"; ammo = 20; } void setup(game game1); void draw_rightFacing(game game1, bool shot); void draw_leftFacing(game game1, bool shot); SDL_Rect shoot(game game1); void resetBullet(); }; #endif
f4c1fdb6661d65f14856c6133e8eaf5b0a509034
76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b
/codeforces/rounds/Educational 60/c.cpp
fa4b41c3c6fb7960f57e7cfd830df5ae36384dc6
[]
no_license
vitorguidi/Competitive-Programming
905dd835671275284418c5885a4a1fae2160f451
823a9299dce7b7f662ea741f31b4687f854bb963
refs/heads/master
2021-06-25T06:58:53.670233
2020-12-19T16:53:15
2020-12-19T16:53:15
133,260,248
3
0
null
2018-05-13T17:46:43
2018-05-13T17:40:24
null
UTF-8
C++
false
false
1,560
cpp
c.cpp
#include "bits/stdc++.h" using namespace std; #define pb push_back #define mp make_pair #define fst first #define snd second #define fr(i,n) for(int i=0;i<n;i++) #define frr(i,n) for(int i=1;i<=n;i++) #define ms(x,i) memset(x,i,sizeof(x)) #define dbg(x) cout << #x << " = " << x << endl #define all(x) x.begin(),x.end() #define gnl cout << endl #define olar cout << "olar" << endl #define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL) typedef long long int ll; typedef pair<int,int> pii; typedef vector<int> vi; typedef vector<pii> vii; typedef pair<ll,ll> pll; const int INF = 0x3f3f3f3f; const ll llINF = 0x3f3f3f3f3f3f3f; ll x,y,xini,yini; string s; ll len; ll acumh[100100],acumv[100100]; ll check(ll val){ ll old_val=val; ll ciclos = val/len; ll wv = ciclos*acumv[len]; ll wh = ciclos*acumh[len]; val-=ciclos*len; wv+= acumv[val]; wh+= acumh[val]; ll xnow = xini+wh; ll ynow = yini+wv; ll falta = abs(y-ynow)+abs(x-xnow); return falta<=old_val; } int main(){ fastio; cin >> xini >> yini >> x >> y; if(x==xini && y==yini){ cout << 0 << endl; return 0; } cin >> len >> s; frr(i,len){ char k = s[i-1]; if(k=='U') acumv[i]++; if(k=='D') acumv[i]--; if(k=='R') acumh[i]++; if(k=='L') acumh[i]--; acumv[i]+=acumv[i-1]; acumh[i]+=acumh[i-1]; } ll ini=1; ll end=1e15; ll best=llINF; while(ini<=end){ ll mid = (ini+end)/2ll; if(check(mid)){ end=mid-1ll; best=min<ll>(best,mid); } else ini=mid+1; } cout << (best==llINF? -1 : best) << endl; }
60526499404ee55158f77f5cab9bb59fc614281f
cbd9ddc22aeecc90d7ab4008e3c30744ff9d4486
/Source/Project_Countess/Public/Characters/GameplayAbilities/Calculations/Countess_GE_BloodLust_Cost_Exec.h
855a826652e32d34ef9ad06c76b88a4d80cfb8b2
[]
no_license
nik3122/Project_Countess
1437db9c386f144f81fd1a76e74bd4e2444c71e6
6c959782c7dfe31467ca99010cc3ed18670ed0e7
refs/heads/master
2022-12-25T17:49:52.479003
2020-10-12T19:21:42
2020-10-12T19:21:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
623
h
Countess_GE_BloodLust_Cost_Exec.h
// Free to play. By SoNa Games. #pragma once #include "Globals/Project_Countess.h" #include "GameplayEffectExecutionCalculation.h" #include "Countess_GE_BloodLust_Cost_Exec.generated.h" /** * */ UCLASS() class PROJECT_COUNTESS_API UCountess_GE_BloodLust_Cost_Exec : public UGameplayEffectExecutionCalculation { GENERATED_BODY() public: UCountess_GE_BloodLust_Cost_Exec(); virtual void Execute_Implementation(const FGameplayEffectCustomExecutionParameters& ExecutionParams, OUT FGameplayEffectCustomExecutionOutput& OutExecutionOutput) const override; private: FCurveTableRowHandle BloodLustCostRowHandle; };
95c30bcbec588239a5fbd4ac564b8e158ad9fceb
1e29330fbf4d53cf5dfac6f0290f660647109da7
/yss/gui/Segment.cpp
525913e905ed99602f5b71103e15a439a094793b
[]
no_license
bluelife85/yss
2c9807bba61723a6fa578f80edadd9e8d6f9d1a9
1ada1bcc8579bf17e53d6f31525960703ef2f6b9
refs/heads/master
2023-01-16T02:12:26.099052
2020-11-26T01:18:43
2020-11-26T01:18:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,141
cpp
Segment.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // 저작권 표기 License_ver_2.0 // 본 소스코드의 소유권은 yss Embedded Operating System 네이버 카페 관리자와 운영진에게 있습니다. // 운영진이 임의로 코드의 권한을 타인에게 양도할 수 없습니다. // 본 소스코드는 아래 사항에 동의할 경우에 사용 가능합니다. // 아래 사항에 대해 동의하지 않거나 이해하지 못했을 경우 사용을 금합니다. // 본 소스코드를 사용하였다면 아래 사항을 모두 동의하는 것으로 자동 간주 합니다. // 본 소스코드의 상업적 또는 비상업적 이용이 가능합니다. // 본 소스코드의 내용을 임의로 수정하여 재배포하는 행위를 금합니다. // 본 소스코드의 내용을 무단 전재하는 행위를 금합니다. // 본 소스코드의 사용으로 인해 발생하는 모든 사고에 대해서 어떤한 법적 책임을 지지 않습니다. // // Home Page : http://cafe.naver.com/yssoperatingsystem // Copyright 2020. yss Embedded Operating System all right reserved. // // 주담당자 : 아이구 (mymy49@nate.com) 2016.04.30 ~ 현재 // 부담당자 : - // //////////////////////////////////////////////////////////////////////////////////////// #include <__cross_studio_io.h> #include <config.h> #include <drv/peripherals.h> #include <gui/Segment.h> #include <string.h> #if defined(DMA2D) && USE_GUI && YSS_L_HEAP_USE segment::segment(void) { mNumOfSegment = 1; setBgColor(20, 20, 20); } void segment::setSize(Size size) { const unsigned short minWidth = 20 * mNumOfSegment, minHeight = 30; if(size.width < minWidth) size.width = minWidth; if(size.height < minHeight) size.height = minHeight; mMutex.lock(); FrameBuffer::setSize(size.width, size.height); paint(); update(mPos, mSize, mPos, size); mSize = size; mMutex.unlock(); } void segment::setSize(unsigned short width, unsigned short height) { setSize(Size{width, height}); } void segment::paint(void) { if(mFrameBuffer == 0 ) return; clear(); } #endif
1a0e67f16777ca7c9de2dec70a7feab41fbf6952
7dcc00aeab6ce52256eb37e7a6da6c986e7015c3
/yl_algorithm_code/C,C++/校ACM/小组集训/第二次/14-矩阵乘法.cpp
0412763d10d62b23afc7492bcb2d76bdff0ed0b3
[]
no_license
ztony123/codeHouse
ea2e6efb4460d1296e24dbf670e0a783ec99655a
f767149cbc558fae14f8cfde5778f57a122984e2
refs/heads/master
2023-01-22T14:12:52.483079
2020-12-01T11:09:37
2020-12-01T11:09:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
481
cpp
14-矩阵乘法.cpp
#include <iostream> using namespace std; int main() { int m,s,n; int a[205][205]; int b[205][205]; cin >> m >> s >> n; for(int i=0; i<m; i++) { for(int j=0; j<s; j++) { cin >> a[i][j]; } } for(int i=0; i<s; i++) { for(int j=0; j<n; j++) { cin >> b[i][j]; } } for(int i=0; i<m; i++) { for(int j=0; j<n; j++) { int cnt=0; for(int k=0;k<s;k++){ cnt+= a[i][k] * b[k][j]; } cout << cnt << " "; } cout << endl; } return 0; } /* */
2823a92f7183db3ba0e973c5588527f82741fc94
38b9daafe39f937b39eefc30501939fd47f7e668
/tutorials/2WayCouplingOceanWave3D/basicTutorialwtProbesResultsWtPhiCoupled/15.4/alpha.water
b51d55a80e02a9d1a6179a1e317294e545cb7226
[]
no_license
rubynuaa/2-way-coupling
3a292840d9f56255f38c5e31c6b30fcb52d9e1cf
a820b57dd2cac1170b937f8411bc861392d8fbaa
refs/heads/master
2020-04-08T18:49:53.047796
2018-08-29T14:22:18
2018-08-29T14:22:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
142,375
water
alpha.water
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "15.4"; object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField nonuniform List<scalar> 21420 ( 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00002 1.00002 1.00002 1.00002 1.00002 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999998 0.999998 0.999997 0.999996 0.999996 0.999995 0.999995 0.999996 0.999996 0.999997 0.999998 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 1 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999998 0.999998 0.999998 0.999998 0.999998 0.999998 0.999998 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999997 0.999995 0.999991 0.999984 0.999975 0.999963 0.999945 0.999927 0.999907 0.999885 0.999883 0.999872 0.999871 0.999917 0.999948 0.999965 0.999963 0.999956 0.999954 0.999959 0.999968 0.999976 0.999977 0.999979 0.999984 0.99999 0.999994 0.999995 0.999997 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999998 0.999997 0.999995 0.999993 0.99999 0.999986 0.999983 0.999981 0.999981 0.999976 0.999977 0.999979 0.999977 0.999976 0.999976 0.999981 0.999984 0.999988 0.999991 0.999992 0.999991 0.99999 0.999989 0.99999 0.999989 0.999988 0.999987 0.999988 0.99999 0.999993 0.999995 0.999995 0.999997 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999996 0.999993 0.999988 0.999982 0.999978 0.999973 0.999949 0.999941 0.999947 0.999945 0.999943 0.999938 0.999947 0.99997 0.999984 0.99999 0.999989 0.999987 0.999987 0.999988 0.99999 0.999992 0.999992 0.999992 0.999992 0.999992 0.999993 0.999995 0.999996 0.999997 0.999997 0.999998 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999998 0.999997 0.999996 0.999995 0.999993 0.999992 0.999991 0.999989 0.999988 0.999988 0.999988 0.999988 0.999991 0.999994 0.999997 0.999997 0.999996 0.999995 0.999995 0.999996 0.999996 0.999996 0.999996 0.999996 0.999997 0.999998 0.999998 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999994 0.999993 0.999985 0.999978 0.99998 0.999983 0.999988 0.99999 0.999992 0.999997 0.999997 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999994 0.999979 0.999936 0.999827 0.999571 0.999012 0.997858 0.995684 0.991992 0.986201 0.977942 0.96714 0.953745 0.938759 0.923563 0.909314 0.898734 0.8927 0.891118 0.895738 0.905074 0.918719 0.935281 0.953927 0.972475 0.987965 0.997569 0.999524 0.999605 0.999714 0.999829 0.999906 0.999932 0.999955 0.999976 0.999987 0.999992 0.999996 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999989 0.999967 0.999912 0.999785 0.99952 0.998997 0.998056 0.996462 0.993951 0.990293 0.985141 0.978747 0.971766 0.964685 0.958232 0.953579 0.949697 0.947537 0.946764 0.94675 0.947408 0.948763 0.951497 0.95538 0.960372 0.96619 0.972955 0.980557 0.988173 0.994733 0.998928 0.999706 0.999712 0.99975 0.999813 0.999883 0.99992 0.999937 0.999961 0.999978 0.999985 0.999992 0.999996 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999993 0.999979 0.99994 0.999838 0.999595 0.999057 0.997972 0.995915 0.992172 0.985808 0.977061 0.966923 0.954194 0.937401 0.926147 0.920142 0.915996 0.915019 0.91666 0.920846 0.928363 0.93832 0.949464 0.960709 0.971683 0.981795 0.990436 0.996633 0.999595 0.999768 0.999783 0.999812 0.999851 0.999898 0.999936 0.999949 0.999958 0.999972 0.999984 0.999989 0.999993 0.999996 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999993 0.99998 0.999951 0.999888 0.999765 0.999544 0.999175 0.998606 0.997796 0.996692 0.995267 0.993563 0.99169 0.989785 0.98804 0.98654 0.985371 0.984721 0.984576 0.984931 0.98645 0.988874 0.991948 0.995168 0.998036 0.999777 0.999884 0.999875 0.999872 0.99988 0.999896 0.999922 0.999948 0.999966 0.999971 0.999976 0.999983 0.99999 0.999994 0.999995 0.999997 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.85401 0.978712 0.995981 0.996047 0.998114 0.999744 0.999842 0.999875 0.999902 0.999967 0.999969 0.999982 0.999993 0.999996 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999983 0.999926 0.999712 0.998971 0.996548 0.989476 0.971876 0.934397 0.864779 0.763193 0.664078 0.574515 0.494874 0.425917 0.368146 0.321532 0.286321 0.263351 0.251744 0.249276 0.256189 0.270504 0.292465 0.322798 0.363356 0.41366 0.476372 0.552515 0.638928 0.730381 0.815988 0.878977 0.9326 0.973433 0.995822 0.999041 0.999404 0.9997 0.99984 0.999902 0.999953 0.999976 0.999987 0.999994 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999993 0.999976 0.999923 0.999772 0.999369 0.998365 0.995964 0.990291 0.9777 0.953241 0.912436 0.852839 0.776322 0.702025 0.638444 0.58696 0.546817 0.516009 0.49391 0.479365 0.471362 0.468336 0.468059 0.469771 0.474875 0.484374 0.498353 0.515877 0.537678 0.565968 0.602403 0.647187 0.699643 0.757539 0.815719 0.866671 0.914654 0.955884 0.985567 0.998708 0.999165 0.999515 0.999753 0.999845 0.999921 0.999962 0.999981 0.999992 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999986 0.999954 0.999859 0.999584 0.998823 0.99679 0.991333 0.977606 0.947581 0.892351 0.806288 0.706682 0.617115 0.544066 0.48652 0.437793 0.406606 0.388009 0.37918 0.377606 0.382065 0.393673 0.413617 0.441509 0.475866 0.515581 0.559902 0.60867 0.662611 0.719807 0.776687 0.827393 0.87033 0.91052 0.946579 0.975652 0.994082 0.999177 0.999384 0.999614 0.999801 0.999867 0.999918 0.999961 0.999978 0.999989 0.999995 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999995 0.999983 0.999946 0.999847 0.999599 0.999017 0.997729 0.994958 0.989229 0.978424 0.960339 0.933268 0.896302 0.850231 0.798479 0.74984 0.708738 0.67566 0.65023 0.631092 0.619027 0.613716 0.61543 0.624009 0.638926 0.660961 0.688945 0.723779 0.764656 0.808017 0.846 0.878526 0.910101 0.940264 0.966453 0.986952 0.998293 0.999462 0.99958 0.999719 0.999839 0.999907 0.999934 0.999959 0.99998 0.999989 0.999994 0.999997 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4.11768e-15 0.0223092 0.172394 0.357444 0.564044 0.789665 0.967879 0.988648 0.997792 0.999624 0.99968 0.999828 0.999933 0.99996 0.999982 0.999993 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999991 0.999948 0.999732 0.998683 0.993235 0.970412 0.898178 0.737198 0.562155 0.39994 0.259407 0.158971 0.10947 0.075656 0.0503668 0.0321118 0.0196322 0.0117226 0.00730502 0.00520448 0.00461419 0.0047782 0.00510517 0.00563181 0.00656126 0.00771979 0.00942841 0.0122824 0.0165951 0.0237367 0.0362705 0.0579745 0.0965139 0.165138 0.273524 0.405966 0.557246 0.714819 0.842686 0.923469 0.977041 0.998134 0.998902 0.999492 0.999751 0.99987 0.999945 0.999974 0.99999 0.999996 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999993 0.999972 0.999899 0.999655 0.998878 0.996383 0.98791 0.961253 0.892301 0.755019 0.596582 0.448684 0.324243 0.230562 0.168657 0.126162 0.0957468 0.0741371 0.0583494 0.046567 0.0383271 0.0330947 0.0298748 0.0281284 0.0275535 0.0277254 0.0285733 0.0301004 0.0324871 0.0354468 0.0394397 0.0454207 0.0546122 0.0687355 0.0903256 0.124174 0.179002 0.261466 0.364865 0.488728 0.629074 0.771391 0.877397 0.950611 0.991458 0.998388 0.999217 0.999648 0.999826 0.999931 0.999969 0.999989 0.999996 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999994 0.99998 0.999933 0.999778 0.999279 0.997669 0.992109 0.972364 0.91227 0.771892 0.593541 0.425012 0.287016 0.193376 0.13591 0.09431 0.0655673 0.0489175 0.0377959 0.0283908 0.0218808 0.018419 0.0170761 0.0175207 0.0187925 0.0208147 0.0240002 0.0286597 0.0352435 0.0441022 0.0563616 0.0743585 0.101092 0.140403 0.197104 0.270524 0.357858 0.459277 0.574063 0.695798 0.808689 0.888764 0.950473 0.98909 0.998457 0.999107 0.999596 0.999779 0.999894 0.999954 0.999979 0.999992 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999993 0.999976 0.999918 0.999733 0.99917 0.997472 0.992212 0.97641 0.936 0.850299 0.7172 0.583342 0.460916 0.354785 0.267671 0.200767 0.155579 0.123654 0.098993 0.0801148 0.0657329 0.0550223 0.0477109 0.0439066 0.0437436 0.0451728 0.0479955 0.0535451 0.0615836 0.074128 0.0936265 0.123559 0.170185 0.235525 0.313873 0.404704 0.504631 0.615226 0.72949 0.831178 0.895632 0.945425 0.981517 0.998688 0.999125 0.999481 0.999759 0.999866 0.999928 0.99997 0.999985 0.999993 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2.61053e-29 7.54873e-20 2.5965e-16 2.27132e-14 2.90592e-14 0.000890976 0.0746156 0.336349 0.62862 0.918729 0.982453 0.998387 0.99937 0.999651 0.999845 0.999942 0.999975 0.999992 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999985 0.999901 0.999409 0.996014 0.973768 0.870121 0.634579 0.39497 0.193994 0.0988585 0.0459648 0.0141597 0.00107378 0.000442614 0.000261235 0.000148046 8.10872e-05 4.29382e-05 2.20186e-05 3.47437e-05 5.53896e-05 7.13213e-05 8.386e-05 0.000101167 0.000112249 0.000123174 0.000151544 0.000178295 0.000213008 0.000283155 0.000378582 0.000529454 0.000805346 0.00128002 0.00215581 0.00391071 0.00774835 0.0167069 0.0379701 0.0885957 0.203704 0.377278 0.575272 0.771696 0.896661 0.970897 0.997503 0.998738 0.999483 0.999755 0.999904 0.999962 0.999987 0.999996 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999994 0.999977 0.999907 0.999636 0.9986 0.994372 0.974926 0.898662 0.704168 0.476041 0.27727 0.151487 0.0786159 0.0337441 0.0100544 0.00119997 0.00033403 0.000417341 0.000576116 0.000667222 0.000721137 0.000751892 0.000769625 0.000778802 0.000787323 0.000800151 0.000802548 0.000806413 0.000831868 0.000874744 0.000938405 0.00101315 0.00111071 0.00125599 0.00149129 0.00186788 0.00243569 0.00336084 0.00501555 0.00814511 0.0144596 0.0278977 0.0578205 0.126669 0.270874 0.463851 0.679282 0.855451 0.953808 0.996024 0.998465 0.999415 0.999742 0.999909 0.999966 0.99999 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999993 0.999978 0.999925 0.999736 0.999061 0.996565 0.98549 0.93796 0.781022 0.541134 0.313808 0.160984 0.0771994 0.0283227 0.00594091 0.000616575 0.000525618 0.000709247 0.000779116 0.000647667 0.00117952 0.000873047 0.000627605 0.000555298 0.000526107 0.000549609 0.000596508 0.000647184 0.000723583 0.000851552 0.00103875 0.00126787 0.00157553 0.00205618 0.00282114 0.00399483 0.00577782 0.00882548 0.0144525 0.0247776 0.0447182 0.0842262 0.163524 0.29871 0.465952 0.654004 0.822829 0.924599 0.984607 0.997875 0.99902 0.999587 0.999817 0.999931 0.999973 0.999991 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999994 0.999977 0.999911 0.999666 0.998769 0.99532 0.980436 0.925503 0.773515 0.565997 0.369055 0.215385 0.126615 0.0699751 0.0335393 0.0123027 0.0023173 0.000307695 0.000560882 0.000819293 0.000965257 0.00103725 0.00107336 0.00109134 0.00108182 0.00106875 0.00108339 0.0010808 0.00108882 0.00118564 0.00130647 0.00150889 0.00184043 0.00233883 0.00320824 0.00464737 0.00713953 0.0118222 0.0202707 0.0368174 0.069806 0.136649 0.260144 0.410333 0.575275 0.748989 0.875603 0.945252 0.988859 0.998486 0.999208 0.999672 0.999839 0.999929 0.999972 0.999988 0.999996 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999991 0.999758 0.992511 0.890948 0.730014 0.584839 0.457309 0.347595 0.25543 0.180364 0.121974 4.31395e-38 2.02339e-30 1.83646e-25 5.31744e-21 1.02557e-17 1.78812e-15 3.68057e-14 4.13065e-14 0.000289942 0.0488688 0.342309 0.70534 0.959956 0.993502 0.998729 0.999523 0.999799 0.999934 0.999976 0.999992 0.999998 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999985 0.999885 0.999139 0.992496 0.941901 0.715067 0.411536 0.161885 0.0646169 0.0138792 0.00143012 0.000691371 0.000304298 0.00012734 5.08303e-05 2.27032e-05 1.21054e-05 6.14674e-06 3.00308e-06 1.42224e-06 9.18813e-07 1.10358e-06 1.31479e-06 1.74418e-06 1.93899e-06 2.28189e-06 2.66138e-06 2.87696e-06 3.56054e-06 4.36098e-06 5.17298e-06 6.88552e-06 9.50039e-06 1.34432e-05 2.08983e-05 3.44147e-05 5.83458e-05 0.000104025 0.000196511 0.000394606 0.00085107 0.00198728 0.00508991 0.0142307 0.0412675 0.120004 0.306028 0.544469 0.779846 0.917812 0.986187 0.997806 0.999157 0.999665 0.999881 0.99996 0.999988 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999983 0.999931 0.999707 0.998718 0.993742 0.964899 0.828106 0.549734 0.281713 0.121425 0.040547 0.00595201 0.00103591 0.000482837 0.000202114 8.27286e-05 4.78234e-05 3.84749e-05 3.39521e-05 2.99869e-05 2.72385e-05 2.65978e-05 2.59375e-05 2.46874e-05 2.41874e-05 2.38851e-05 2.40966e-05 2.38038e-05 2.37024e-05 2.42232e-05 2.59628e-05 2.80683e-05 3.03776e-05 3.35064e-05 3.75271e-05 4.40768e-05 5.60862e-05 7.33382e-05 0.000100186 0.000146719 0.000228695 0.000385534 0.000700155 0.00136925 0.00301564 0.00741906 0.0220776 0.0714611 0.222625 0.474286 0.7482 0.916855 0.98989 0.9979 0.999271 0.999722 0.999914 0.999974 0.999993 0.999998 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999992 0.999975 0.999916 0.999706 0.99891 0.995651 0.979027 0.896385 0.657179 0.372739 0.162878 0.0580629 0.00992892 0.00126372 0.000681562 0.000363422 0.000129373 6.39042e-05 4.97179e-05 6.08964e-05 5.34392e-05 3.89143e-05 5.14092e-05 6.44294e-05 5.51237e-05 3.65102e-05 2.0843e-05 1.6847e-05 1.7843e-05 2.15993e-05 2.40316e-05 2.67498e-05 3.37406e-05 4.23803e-05 5.13999e-05 6.57817e-05 9.31694e-05 0.000133799 0.00018219 0.000266077 0.000427388 0.000684067 0.00115036 0.00210348 0.00426653 0.00957434 0.0237115 0.0635038 0.173419 0.379919 0.625021 0.839384 0.951417 0.996234 0.99843 0.999423 0.999772 0.999926 0.999975 0.999993 0.999998 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999995 0.99998 0.999923 0.999687 0.998709 0.994053 0.968326 0.853613 0.596751 0.334411 0.155345 0.064177 0.0165102 0.00138708 0.000669747 0.000322994 0.000144425 6.2727e-05 2.72315e-05 3.76176e-05 4.11909e-05 4.30292e-05 4.29613e-05 4.20025e-05 4.07695e-05 3.95059e-05 3.80508e-05 3.54161e-05 3.49336e-05 3.44544e-05 3.33052e-05 3.55289e-05 3.80646e-05 4.20949e-05 4.94799e-05 5.96036e-05 7.89875e-05 0.00010676 0.000148217 0.000229614 0.000357201 0.000585721 0.00103539 0.00199878 0.00439457 0.0106072 0.0271648 0.0732239 0.198893 0.399971 0.624421 0.833939 0.936512 0.988787 0.998341 0.999271 0.999716 0.999878 0.999957 0.999985 0.999995 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999995 0.999926 0.998567 0.9695 0.775428 0.534632 0.309771 0.104771 0.0161512 0.0080925 0.00404606 0.00168232 0.000454177 2.187e-05 8.77177e-06 1.03669e-06 1.18107e-44 7.87433e-37 1.61477e-31 1.53616e-26 7.51853e-24 5.14923e-21 4.48582e-18 3.79989e-16 4.57423e-14 4.77394e-14 7.88672e-14 0.00548696 0.174092 0.572936 0.921355 0.990547 0.998413 0.999469 0.999803 0.999932 0.999981 0.999995 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999989 0.999911 0.999186 0.991547 0.919071 0.617313 0.274432 0.0870946 0.0167545 0.0019561 0.000854884 0.000333513 0.000122518 5.27382e-05 2.09726e-05 8.28651e-06 3.00535e-06 1.18095e-06 5.67638e-07 2.58656e-07 1.12754e-07 4.77043e-08 2.89969e-08 3.21889e-08 3.73176e-08 4.5658e-08 5.52485e-08 6.58011e-08 6.99989e-08 8.24061e-08 1.01007e-07 1.18906e-07 1.5146e-07 1.96241e-07 2.77968e-07 4.03138e-07 5.87377e-07 9.98865e-07 1.71507e-06 2.97357e-06 5.72438e-06 1.16022e-05 2.52523e-05 5.88723e-05 0.000140199 0.00035225 0.000941485 0.00268873 0.00894893 0.0333854 0.12494 0.357243 0.643034 0.867412 0.971606 0.997145 0.998974 0.999644 0.999886 0.999967 0.999991 0.999998 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999985 0.999944 0.99977 0.998973 0.994647 0.96473 0.797352 0.475797 0.192879 0.060994 0.00793653 0.00159851 0.000608961 0.00021787 8.50492e-05 4.65116e-05 2.28708e-05 9.61695e-06 4.6223e-06 2.46238e-06 1.59681e-06 1.13576e-06 9.00239e-07 7.70674e-07 7.21281e-07 6.76803e-07 6.32292e-07 5.958e-07 5.99076e-07 5.95029e-07 5.91382e-07 5.98154e-07 6.49613e-07 7.2083e-07 7.90157e-07 8.83353e-07 9.75713e-07 1.09253e-06 1.38106e-06 1.79557e-06 2.41074e-06 3.47984e-06 5.33397e-06 9.15521e-06 1.74638e-05 3.57905e-05 8.12434e-05 0.000170384 0.000476586 0.00151052 0.00495743 0.0214553 0.100913 0.354896 0.679042 0.901209 0.98789 0.99779 0.999307 0.999775 0.999938 0.999983 0.999996 0.999999 1 1 1 1 1 1 0.999999 0.999999 0.999998 0.999995 0.999988 0.999966 0.999896 0.999657 0.998765 0.994752 0.972487 0.859129 0.576255 0.273796 0.0989291 0.0199465 0.00211828 0.00113267 0.000399323 0.000135969 8.24507e-05 3.77758e-05 1.01385e-05 4.23146e-06 2.78359e-06 2.88698e-06 2.51595e-06 2.09919e-06 2.38991e-06 3.06761e-06 2.82781e-06 2.08399e-06 1.11942e-06 5.89946e-07 5.47473e-07 6.51105e-07 7.90955e-07 8.21989e-07 9.71921e-07 1.29303e-06 1.54877e-06 1.79678e-06 2.48711e-06 3.93189e-06 5.17457e-06 6.99945e-06 1.22145e-05 2.07493e-05 3.35273e-05 6.11269e-05 0.000126749 0.000264675 0.000559999 0.00142641 0.00422587 0.0138679 0.0516705 0.192941 0.465162 0.758265 0.925975 0.992327 0.998119 0.999382 0.999784 0.999937 0.999982 0.999996 0.999999 1 1 1 1 1 1 1 0.999999 0.999998 0.999994 0.999982 0.999935 0.999743 0.998892 0.994433 0.965146 0.807859 0.496769 0.213084 0.0740863 0.0125704 0.00180077 0.000734381 0.000300901 0.000113992 4.61834e-05 1.9643e-05 7.9002e-06 3.16534e-06 2.545e-06 2.13475e-06 1.91401e-06 1.80461e-06 1.76592e-06 1.66608e-06 1.56324e-06 1.50914e-06 1.40323e-06 1.2944e-06 1.24485e-06 1.1852e-06 1.17239e-06 1.1843e-06 1.26008e-06 1.39748e-06 1.49912e-06 1.79809e-06 2.32925e-06 2.93868e-06 4.05494e-06 6.0498e-06 9.00892e-06 1.39085e-05 2.27229e-05 4.14956e-05 8.1611e-05 0.000164454 0.000367766 0.000938189 0.00267827 0.00930447 0.0335351 0.124955 0.358941 0.622004 0.857654 0.95584 0.996638 0.99876 0.99955 0.999834 0.999939 0.999982 0.999995 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999984 0.999787 0.996228 0.934252 0.667159 0.372559 0.105977 0.0236418 0.00909566 0.000604153 0.000162271 5.06247e-05 2.78714e-05 1.24411e-05 4.65327e-06 1.53048e-06 5.53925e-07 2.09712e-07 1.89549e-08 5.31975e-50 4.9639e-42 2.26207e-36 9.08222e-32 2.384e-29 1.4649e-23 7.3598e-21 2.9908e-18 8.46601e-18 3.27599e-16 2.00657e-14 7.46541e-14 8.32187e-06 0.0027651 0.109294 0.536713 0.911328 0.990869 0.99843 0.999435 0.999837 0.999952 0.999988 0.999997 1 1 1 1 1 1 1 1 1 0.999999 0.999993 0.999933 0.999371 0.993225 0.918424 0.588365 0.219444 0.0570795 0.00422187 0.00164895 0.000640492 0.000209694 8.48501e-05 3.20091e-05 1.05475e-05 4.0675e-06 1.46529e-06 5.4254e-07 1.788e-07 6.23206e-08 2.6967e-08 1.10372e-08 4.29491e-09 1.62228e-09 8.77833e-10 9.28366e-10 1.17183e-09 1.32528e-09 1.62264e-09 1.99146e-09 1.99023e-09 2.4206e-09 2.93104e-09 3.22637e-09 4.27239e-09 5.4125e-09 7.58998e-09 1.14944e-08 1.62215e-08 2.76341e-08 4.80734e-08 8.03758e-08 1.55645e-07 3.13371e-07 6.73877e-07 1.58714e-06 3.7614e-06 9.54313e-06 2.59822e-05 7.37977e-05 0.000225134 0.000724759 0.00260251 0.0114804 0.0549528 0.240246 0.55658 0.838642 0.963038 0.996949 0.998983 0.999682 0.999904 0.999976 0.999994 0.999998 0.999998 0.999998 0.999998 0.999998 0.999998 0.999996 0.999992 0.999979 0.999939 0.99979 0.999161 0.995937 0.972948 0.821024 0.47346 0.172271 0.0421537 0.00366038 0.0013602 0.000471963 0.000179195 6.44881e-05 2.08687e-05 8.13552e-06 4.15867e-06 1.76288e-06 5.75222e-07 2.22133e-07 9.17104e-08 4.78603e-08 3.06621e-08 2.32009e-08 1.79984e-08 1.62336e-08 1.55781e-08 1.43142e-08 1.27568e-08 1.27284e-08 1.28746e-08 1.30491e-08 1.30942e-08 1.44137e-08 1.68599e-08 1.90135e-08 2.16231e-08 2.39101e-08 2.53296e-08 3.12084e-08 4.06772e-08 5.39395e-08 7.56233e-08 1.1269e-07 1.93223e-07 3.7718e-07 7.85529e-07 1.84565e-06 3.38851e-06 1.00836e-05 3.64026e-05 0.00010484 0.000425417 0.00207941 0.0108202 0.066748 0.315002 0.668006 0.90259 0.989551 0.99815 0.999458 0.999835 0.999959 0.99999 0.999994 0.999995 0.999996 0.999996 0.999995 0.999994 0.999992 0.999986 0.999972 0.999937 0.999833 0.999508 0.998391 0.993527 0.966484 0.827184 0.52575 0.222723 0.0693785 0.0082512 0.00187505 0.000983551 0.000269883 0.000128061 4.32778e-05 1.2812e-05 6.57473e-06 3.01197e-06 6.41759e-07 2.3238e-07 1.33306e-07 1.18313e-07 1.03189e-07 9.2247e-08 1.00997e-07 1.1926e-07 1.0889e-07 7.78639e-08 4.32813e-08 2.20874e-08 1.69979e-08 1.95159e-08 2.47906e-08 2.42406e-08 2.5872e-08 3.59654e-08 4.45118e-08 4.71375e-08 5.81165e-08 1.0798e-07 1.46703e-07 1.78955e-07 3.10028e-07 6.08605e-07 9.05197e-07 1.50239e-06 3.27142e-06 7.12052e-06 1.35552e-05 3.70151e-05 0.000122753 0.000342071 0.00105977 0.00426824 0.0211351 0.10782 0.379539 0.711919 0.915236 0.991148 0.998177 0.999449 0.999824 0.999955 0.999989 0.999996 0.999998 0.999998 0.999998 0.999998 0.999997 0.999995 0.99999 0.999975 0.999925 0.999743 0.998992 0.995158 0.968669 0.807723 0.47022 0.17413 0.0448658 0.00376716 0.00148937 0.000534946 0.000191871 6.99401e-05 2.7184e-05 9.17943e-06 3.17899e-06 1.19054e-06 4.33068e-07 1.96165e-07 1.17579e-07 8.36738e-08 7.15143e-08 6.57414e-08 6.60749e-08 6.34903e-08 5.90487e-08 5.81403e-08 5.41248e-08 4.97168e-08 4.73646e-08 4.34409e-08 4.39746e-08 4.31894e-08 4.47973e-08 5.19725e-08 5.13395e-08 6.03552e-08 8.01981e-08 9.22152e-08 1.32588e-07 1.88799e-07 2.73828e-07 4.32315e-07 6.09623e-07 1.10097e-06 2.1544e-06 3.73855e-06 8.27163e-06 1.98461e-05 4.71162e-05 0.000137742 0.000400507 0.00143925 0.00698813 0.0302545 0.145285 0.426212 0.717009 0.909464 0.980303 0.998262 0.999316 0.999784 0.999931 0.999978 0.999993 0.999999 1 1 1 1 1 1 1 1 0.999999 0.999997 0.99998 0.999811 0.997348 0.959211 0.708111 0.37715 0.0918737 0.0240764 0.00359568 0.000482338 0.000202134 8.63246e-05 4.0883e-05 9.98429e-06 2.61183e-06 1.3362e-06 5.2086e-07 1.62826e-07 4.45216e-08 1.42794e-08 4.99367e-09 3.59953e-10 1.78471e-55 2.43387e-47 1.47926e-40 2.26323e-34 2.7597e-30 1.59801e-26 7.87858e-24 2.51744e-21 7.59352e-19 3.67397e-17 1.11134e-15 5.94761e-14 1.0055e-13 1.14305e-11 9.53416e-09 0.00347826 0.110802 0.558183 0.920671 0.990414 0.998625 0.999561 0.999878 0.999968 0.999994 0.999999 1 1 1 1 1 0.999999 0.999993 0.99994 0.999529 0.994527 0.93331 0.612296 0.215278 0.0484743 0.00430024 0.00167566 0.00056638 0.000204496 7.75079e-05 2.27539e-05 8.50425e-06 3.06573e-06 9.13003e-07 3.17021e-07 1.03701e-07 3.57626e-08 1.07139e-08 3.33389e-09 1.29865e-09 4.78433e-10 1.66982e-10 5.74989e-11 2.75673e-11 2.82967e-11 3.76219e-11 4.07361e-11 5.09874e-11 6.05272e-11 5.90133e-11 7.57143e-11 8.8453e-11 9.2814e-11 1.21932e-10 1.49384e-10 2.03048e-10 3.06191e-10 4.15189e-10 6.97489e-10 1.1899e-09 1.88638e-09 3.72677e-09 7.61453e-09 1.62136e-08 3.87659e-08 9.31866e-08 2.41215e-07 6.68907e-07 1.90571e-06 5.85028e-06 1.94747e-05 7.01238e-05 0.000270054 0.00110084 0.00547434 0.0335254 0.189995 0.518043 0.821928 0.956785 0.997096 0.999031 0.999658 0.999872 0.999939 0.999967 0.999975 0.999975 0.999974 0.999966 0.999943 0.999881 0.999696 0.999061 0.99635 0.979629 0.867499 0.52736 0.192395 0.0440028 0.0041107 0.00164153 0.000583831 0.000183843 5.94806e-05 2.02888e-05 6.5809e-06 1.8511e-06 6.21082e-07 2.41856e-07 9.053e-08 2.39192e-08 7.54003e-09 2.50799e-09 1.07368e-09 6.1933e-10 4.97279e-10 4.1457e-10 4.27279e-10 4.26549e-10 4.00454e-10 3.65569e-10 3.88475e-10 3.9544e-10 4.03741e-10 3.97277e-10 4.40046e-10 5.18476e-10 5.70326e-10 6.35831e-10 6.87208e-10 6.78806e-10 7.92043e-10 9.9764e-10 1.25006e-09 1.65384e-09 2.34842e-09 3.93617e-09 7.72375e-09 1.6494e-08 4.06216e-08 7.08479e-08 2.18353e-07 8.03895e-07 2.15917e-06 1.00513e-05 5.73287e-05 0.000266416 0.00139474 0.00850034 0.0613915 0.318678 0.69153 0.914904 0.99077 0.998463 0.99946 0.999816 0.999898 0.999926 0.999943 0.999943 0.999941 0.999928 0.99989 0.99981 0.999605 0.999037 0.997242 0.990015 0.954573 0.793646 0.486016 0.195308 0.0561271 0.00585834 0.00215962 0.000915326 0.000258581 0.000112333 3.03084e-05 1.21012e-05 4.12995e-06 1.08902e-06 4.84286e-07 2.1383e-07 3.63647e-08 1.05488e-08 4.66294e-09 4.78922e-09 4.23125e-09 3.08501e-09 3.25184e-09 4.42616e-09 3.55689e-09 2.10582e-09 1.24289e-09 7.44793e-10 5.85875e-10 7.31155e-10 8.62647e-10 7.58713e-10 7.78616e-10 1.13118e-09 1.33758e-09 1.29822e-09 1.49622e-09 3.05753e-09 4.1118e-09 4.69324e-09 7.66383e-09 1.74767e-08 2.44726e-08 3.72563e-08 8.03301e-08 1.90571e-07 3.28491e-07 9.19499e-07 3.39597e-06 8.98256e-06 2.6195e-05 0.000110448 0.000492132 0.00215264 0.0125363 0.0799029 0.350992 0.703032 0.913704 0.990216 0.998367 0.999509 0.999842 0.999925 0.999959 0.99997 0.999971 0.999969 0.999959 0.999931 0.999854 0.999619 0.998789 0.995107 0.972147 0.831516 0.490677 0.176015 0.0398131 0.00396752 0.00151929 0.000517536 0.000190544 6.46081e-05 2.04813e-05 6.67976e-06 2.43165e-06 7.38234e-07 2.21623e-07 7.27476e-08 2.39872e-08 7.95784e-09 4.07981e-09 2.83507e-09 2.40122e-09 2.20016e-09 2.31126e-09 2.20778e-09 2.06885e-09 2.10224e-09 1.93828e-09 1.77681e-09 1.69042e-09 1.50548e-09 1.55603e-09 1.47177e-09 1.50295e-09 1.83428e-09 1.70625e-09 1.93092e-09 2.63239e-09 2.84262e-09 4.17006e-09 5.68943e-09 8.24618e-09 1.3347e-08 1.67438e-08 3.02341e-08 5.9967e-08 8.91352e-08 2.13144e-07 4.9142e-07 1.09042e-06 3.20235e-06 7.39434e-06 2.50365e-05 0.000102959 0.000318699 0.00150959 0.00924143 0.0487246 0.246739 0.548175 0.828323 0.945195 0.991799 0.999099 0.999668 0.999849 0.999963 0.999993 0.999999 1 1 0.999999 0.999998 0.999993 0.999969 0.999802 0.998199 0.9795 0.809789 0.480385 0.155449 0.0344278 0.00503763 0.000782577 0.000312723 0.000143791 4.24648e-05 1.58562e-05 6.11486e-06 2.83298e-06 6.11524e-07 1.36201e-07 6.38742e-08 2.17916e-08 5.74422e-09 1.32152e-09 3.73913e-10 1.18978e-10 7.05223e-12 3.88488e-63 6.94931e-55 3.85291e-45 7.65563e-39 1.97179e-34 6.32449e-30 1.07713e-26 5.35262e-24 1.49972e-21 8.60714e-20 7.84964e-18 2.8831e-16 3.81114e-14 7.87445e-14 1.50158e-12 6.28308e-07 7.15116e-05 0.00548458 0.138947 0.57497 0.924619 0.988981 0.998792 0.999624 0.999899 0.999983 0.999998 1 0.999999 0.999998 0.999986 0.999916 0.99942 0.994103 0.941951 0.634678 0.234802 0.0530551 0.00459999 0.00179485 0.00063427 0.000239146 7.64387e-05 2.56731e-05 9.33577e-06 2.49075e-06 8.59072e-07 2.93414e-07 7.94841e-08 2.49496e-08 7.42465e-09 2.37492e-09 6.48069e-10 1.81383e-10 6.42892e-11 2.21597e-11 7.67494e-12 3.53766e-12 2.79032e-12 3.32132e-12 4.60186e-12 6.18323e-12 8.33235e-12 1.05212e-11 1.31802e-11 1.65193e-11 1.94398e-11 2.2477e-11 2.56718e-11 2.92058e-11 3.32878e-11 3.82528e-11 4.32368e-11 5.32002e-11 6.62801e-11 8.3064e-11 1.32354e-10 2.34152e-10 4.41068e-10 9.88604e-10 2.28156e-09 5.8571e-09 1.62335e-08 4.66289e-08 1.44771e-07 4.89362e-07 1.77422e-06 6.95923e-06 2.96622e-05 0.000138114 0.000688207 0.00396025 0.026896 0.168217 0.496363 0.795607 0.936734 0.991369 0.99856 0.998915 0.999387 0.999586 0.999624 0.999605 0.999488 0.999122 0.998088 0.99448 0.977399 0.883586 0.585304 0.239466 0.0617141 0.00571654 0.00232966 0.000831617 0.000235573 7.76649e-05 2.53313e-05 7.57502e-06 2.31008e-06 6.48114e-07 1.70042e-07 4.36668e-08 1.23995e-08 3.31924e-09 1.0199e-09 4.01298e-10 2.42878e-10 2.0375e-10 1.93157e-10 1.72998e-10 1.5591e-10 1.47057e-10 1.41853e-10 1.3888e-10 1.37862e-10 1.37063e-10 1.36935e-10 1.37105e-10 1.3725e-10 1.37647e-10 1.38121e-10 1.3866e-10 1.39274e-10 1.39934e-10 1.40638e-10 1.41454e-10 1.42337e-10 1.43275e-10 1.44423e-10 1.584e-10 1.90794e-10 2.71472e-10 4.6896e-10 1.00886e-09 1.68704e-09 5.10205e-09 1.87097e-08 5.11829e-08 2.57362e-07 1.488e-06 7.43304e-06 4.20762e-05 0.000203146 0.0011045 0.00851539 0.0722998 0.356723 0.699781 0.900709 0.980213 0.998292 0.998502 0.998779 0.999112 0.999151 0.999138 0.99892 0.99829 0.9968 0.992419 0.976591 0.915464 0.721893 0.430664 0.174589 0.047895 0.00459849 0.00237574 0.00109631 0.000316127 0.000106291 3.15363e-05 1.18381e-05 3.4063e-06 1.08255e-06 3.2975e-07 8.46203e-08 3.06959e-08 1.11224e-08 1.85195e-09 6.12218e-10 3.40239e-10 2.30552e-10 2.0775e-10 1.97135e-10 1.7588e-10 2.15716e-10 1.71554e-10 1.6445e-10 1.6426e-10 1.63523e-10 1.63393e-10 1.63397e-10 1.63421e-10 1.63479e-10 1.63602e-10 1.63782e-10 1.63972e-10 1.64189e-10 1.64469e-10 2.0719e-10 2.25754e-10 2.34532e-10 3.22849e-10 6.30837e-10 7.81698e-10 1.09856e-09 2.29288e-09 5.40474e-09 8.77769e-09 2.47544e-08 9.7062e-08 2.49205e-07 6.80924e-07 2.9695e-06 1.39485e-05 5.98237e-05 0.000286407 0.00156449 0.010739 0.0769815 0.350253 0.691148 0.897984 0.980781 0.998521 0.998872 0.999273 0.999514 0.999562 0.999534 0.999368 0.99887 0.997414 0.992036 0.966212 0.836449 0.518849 0.197604 0.0471397 0.00444561 0.00173603 0.00061382 0.000228621 7.25347e-05 2.45553e-05 7.75287e-06 2.19276e-06 6.42455e-07 2.17038e-07 5.96354e-08 1.57932e-08 4.58702e-09 1.40781e-09 4.61222e-10 1.73092e-10 9.69063e-11 8.97256e-11 9.13324e-11 1.00698e-10 9.65992e-11 9.37828e-11 9.48722e-11 8.66092e-11 8.04976e-11 7.50916e-11 6.66372e-11 6.71068e-11 6.03797e-11 5.98436e-11 6.92695e-11 6.08491e-11 6.49559e-11 8.56468e-11 8.70957e-11 1.2089e-10 1.56091e-10 2.23041e-10 3.59568e-10 4.17774e-10 7.34314e-10 1.52678e-09 1.9456e-09 4.68586e-09 1.11449e-08 2.3171e-08 7.28544e-08 1.37637e-07 4.92383e-07 2.11597e-06 4.57497e-06 2.29761e-05 0.000113654 0.00039693 0.00254824 0.0159609 0.0944367 0.354835 0.634239 0.865111 0.946304 0.983348 0.998814 0.999752 0.999892 0.999958 0.999927 0.999814 0.999292 0.996408 0.976505 0.840413 0.55708 0.247881 0.056908 0.0141215 0.00125624 0.000549731 0.000251651 8.24047e-05 2.92413e-05 1.35261e-05 3.70938e-06 1.24381e-06 4.36013e-07 1.93984e-07 3.73034e-08 7.16159e-09 3.04767e-09 9.11851e-10 2.0424e-10 3.99178e-11 9.94487e-12 2.85684e-12 1.46118e-13 3.25056e-67 1.06988e-58 9.80346e-49 2.9911e-42 2.72878e-37 1.06676e-32 3.95056e-29 6.63056e-26 3.06496e-23 1.72655e-21 3.51367e-19 1.39135e-17 3.01449e-16 2.12922e-14 6.74344e-14 1.05719e-09 2.36216e-08 3.6956e-06 0.000149279 0.00599442 0.1592 0.5584 0.892785 0.971382 0.997514 0.999693 0.999921 0.999977 0.999923 0.999719 0.998208 0.987558 0.907933 0.5981 0.241937 0.056194 0.00440691 0.00199199 0.000713488 0.000276048 9.44541e-05 3.43413e-05 1.03039e-05 3.24282e-06 1.11959e-06 2.74431e-07 8.73446e-08 2.80949e-08 6.96145e-09 1.98236e-09 5.38218e-10 1.5952e-10 4.08487e-11 1.08425e-11 3.86457e-12 2.18332e-12 1.3822e-12 1.46614e-12 2.09251e-12 2.92249e-12 3.94621e-12 5.46482e-12 7.55153e-12 1.00961e-11 1.35325e-11 1.73756e-11 2.16424e-11 2.67323e-11 3.13548e-11 3.68216e-11 4.1675e-11 4.57844e-11 5.00678e-11 5.2946e-11 5.47331e-11 5.61974e-11 5.75155e-11 6.09137e-11 6.78814e-11 8.41801e-11 1.13612e-10 1.97823e-10 4.47224e-10 1.18321e-09 3.47903e-09 1.16005e-08 4.22008e-08 1.70133e-07 7.47519e-07 3.58267e-06 1.88805e-05 0.000103639 0.000571288 0.00353418 0.0248474 0.143276 0.42837 0.702653 0.868411 0.945598 0.979676 0.990491 0.992404 0.992069 0.989272 0.979411 0.946791 0.832832 0.573877 0.266565 0.0828108 0.0118431 0.0035872 0.00145397 0.000328215 0.000107292 3.73784e-05 1.16517e-05 3.507e-06 9.66692e-07 2.66977e-07 6.75514e-08 1.59647e-08 3.70696e-09 1.05067e-09 3.75438e-10 2.34017e-10 2.08041e-10 2.03328e-10 1.9312e-10 1.9007e-10 1.89979e-10 1.91736e-10 1.94788e-10 1.9924e-10 2.01687e-10 2.03923e-10 1.98409e-10 1.91777e-10 1.8352e-10 1.76782e-10 1.70294e-10 1.66197e-10 1.63294e-10 1.6101e-10 1.60025e-10 1.60091e-10 1.59523e-10 1.58866e-10 1.59e-10 1.59215e-10 1.60058e-10 1.61203e-10 1.62455e-10 1.63866e-10 1.65315e-10 1.66695e-10 2.43561e-10 5.90817e-10 1.44941e-09 7.02046e-09 4.06334e-08 2.16829e-07 1.25178e-06 5.34653e-06 3.07352e-05 0.000241632 0.00156184 0.0111759 0.0780619 0.329487 0.627517 0.824291 0.911943 0.954862 0.975267 0.981601 0.980427 0.974675 0.956185 0.904946 0.784666 0.567187 0.32027 0.135305 0.0373111 0.00500518 0.00310572 0.00123741 0.000337055 0.000135477 3.76417e-05 1.24522e-05 4.217e-06 1.36405e-06 3.79089e-07 1.18128e-07 3.16868e-08 8.12092e-09 2.78411e-09 8.37846e-10 2.84711e-10 1.93358e-10 1.76114e-10 1.74191e-10 1.73487e-10 1.72663e-10 1.69018e-10 1.6562e-10 1.64383e-10 1.64152e-10 1.6412e-10 1.67132e-10 1.69805e-10 1.701e-10 1.70531e-10 1.72109e-10 1.72593e-10 1.71476e-10 1.71703e-10 1.72318e-10 1.72626e-10 1.7318e-10 1.73839e-10 1.74613e-10 1.75361e-10 1.76026e-10 1.76627e-10 1.77248e-10 1.92966e-10 2.78933e-10 3.72692e-10 8.67212e-10 3.15352e-09 7.69502e-09 2.01718e-08 8.90862e-08 4.27479e-07 1.78094e-06 8.23268e-06 4.67213e-05 0.000278811 0.00160468 0.0108633 0.074038 0.317201 0.623539 0.835146 0.931056 0.973696 0.987921 0.990841 0.990214 0.986101 0.971914 0.923988 0.764245 0.490102 0.206744 0.057457 0.00552327 0.00211591 0.000825733 0.000288811 9.814e-05 3.47213e-05 1.02234e-05 3.17248e-06 9.26365e-07 2.35677e-07 6.24975e-08 1.95751e-08 4.91523e-09 1.19998e-09 3.50697e-10 1.38196e-10 7.9106e-11 6.27368e-11 5.65066e-11 5.205e-11 4.63472e-11 4.22371e-11 3.95119e-11 3.76439e-11 3.49344e-11 3.30455e-11 3.05352e-11 2.78271e-11 2.53005e-11 2.27163e-11 2.01302e-11 1.77591e-11 1.52805e-11 1.37231e-11 1.22592e-11 1.07371e-11 9.59707e-12 9.0502e-12 8.99582e-12 9.88459e-12 1.2233e-11 1.26942e-11 1.83914e-11 3.47645e-11 3.77996e-11 8.31782e-11 2.05136e-10 3.91712e-10 1.24778e-09 2.10317e-09 7.46375e-09 3.37056e-08 5.64269e-08 3.15594e-07 1.42349e-06 3.87201e-06 2.59286e-05 0.000114862 0.000537538 0.00374798 0.0199611 0.104191 0.319666 0.532234 0.711257 0.845635 0.918324 0.92366 0.877575 0.781181 0.63579 0.448494 0.22562 0.068693 0.0246307 0.00176675 0.000859875 0.000381842 0.000141275 5.89144e-05 2.77518e-05 8.6034e-06 2.75437e-06 1.26046e-06 3.21491e-07 9.7495e-08 3.12259e-08 1.31556e-08 2.26787e-09 3.78941e-10 1.45277e-10 3.82126e-11 7.34739e-12 1.25384e-12 2.8956e-13 8.15949e-14 7.07645e-15 1.30177e-72 1.11067e-63 4.57302e-52 3.55342e-45 6.05817e-40 2.98101e-35 1.18902e-31 1.73255e-28 8.48428e-26 9.03812e-24 1.19231e-21 8.46759e-20 4.1234e-18 2.51732e-16 8.00605e-15 4.37841e-13 6.73819e-14 4.11768e-10 1.03907e-07 3.59417e-06 0.000219858 0.00476053 0.0932813 0.405459 0.692816 0.898823 0.968917 0.987591 0.967033 0.882148 0.684763 0.427224 0.159843 0.0444888 0.00390989 0.00172495 0.000656295 0.000312579 0.000111724 4.26072e-05 1.40426e-05 4.92661e-06 1.38614e-06 4.11008e-07 1.3385e-07 3.03945e-08 8.93425e-09 2.6948e-09 6.14364e-10 1.60259e-10 4.08264e-11 1.15945e-11 3.99377e-12 1.58137e-12 7.86924e-13 6.58501e-13 8.94528e-13 1.14572e-12 1.49213e-12 2.18286e-12 3.25568e-12 4.94085e-12 7.11543e-12 9.8595e-12 1.34816e-11 1.76525e-11 2.25571e-11 2.83305e-11 3.42534e-11 4.23812e-11 4.93892e-11 5.60409e-11 6.36013e-11 7.04008e-11 7.70069e-11 8.32757e-11 8.82603e-11 9.05251e-11 9.08874e-11 9.02565e-11 9.09808e-11 9.21032e-11 9.37217e-11 1.04281e-10 1.51213e-10 3.28621e-10 1.00801e-09 3.95727e-09 1.75381e-08 8.48376e-08 4.64463e-07 2.59875e-06 1.54596e-05 9.58545e-05 0.000556971 0.00311358 0.0180206 0.0862884 0.271684 0.484835 0.647155 0.745419 0.78602 0.780259 0.721186 0.597005 0.411498 0.212392 0.081666 0.0167082 0.00492946 0.00232693 0.000632691 0.000182606 5.49875e-05 1.78836e-05 5.95073e-06 1.75121e-06 4.88697e-07 1.2439e-07 3.12945e-08 7.20381e-09 1.61866e-09 4.42331e-10 2.37058e-10 1.90193e-10 1.90158e-10 1.96688e-10 2.01386e-10 2.07054e-10 2.10258e-10 2.14092e-10 2.16825e-10 2.17309e-10 2.17611e-10 2.18631e-10 2.1825e-10 2.15599e-10 2.06751e-10 1.98117e-10 1.87859e-10 1.78459e-10 1.71098e-10 1.65452e-10 1.62893e-10 1.62344e-10 1.64103e-10 1.6604e-10 1.6798e-10 1.70884e-10 1.73123e-10 1.7471e-10 1.75962e-10 1.76726e-10 1.77812e-10 1.77359e-10 1.77619e-10 1.7968e-10 1.81771e-10 1.83379e-10 3.10877e-10 1.23169e-09 6.22233e-09 3.62889e-08 1.49993e-07 9.01906e-07 8.08012e-06 5.15506e-05 0.000313039 0.00181879 0.0107864 0.0589344 0.20864 0.398389 0.537901 0.625291 0.646976 0.624416 0.571691 0.458506 0.307736 0.175502 0.0761836 0.0190485 0.00514538 0.00342102 0.0013041 0.00042541 0.000158366 3.92507e-05 1.55673e-05 5.22814e-06 1.73324e-06 5.76797e-07 1.7557e-07 4.57383e-08 1.31852e-08 3.40469e-09 9.19235e-10 3.90018e-10 2.14238e-10 1.73404e-10 1.67398e-10 1.67517e-10 1.71565e-10 1.72e-10 1.71292e-10 1.72964e-10 1.74099e-10 1.76727e-10 1.77922e-10 1.80335e-10 1.83657e-10 1.85802e-10 1.8655e-10 1.87762e-10 1.88595e-10 1.89864e-10 1.88459e-10 1.8951e-10 1.90818e-10 1.91591e-10 1.90822e-10 1.91366e-10 1.91529e-10 1.90527e-10 1.88191e-10 1.87497e-10 1.86918e-10 1.87771e-10 1.88779e-10 1.89903e-10 1.90749e-10 2.26252e-10 3.69606e-10 7.71304e-10 3.08355e-09 1.4154e-08 5.69385e-08 2.58372e-07 1.48649e-06 9.08193e-06 5.15342e-05 0.00029549 0.00166134 0.00980388 0.0549855 0.213713 0.439592 0.617759 0.722971 0.76061 0.748717 0.677824 0.539339 0.345104 0.162275 0.0524008 0.00725177 0.00320785 0.00130328 0.000328368 0.000124317 4.89024e-05 1.58083e-05 5.2695e-06 1.44235e-06 4.11215e-07 1.10924e-07 2.55862e-08 6.1898e-09 1.82573e-09 4.58617e-10 1.48215e-10 8.3391e-11 6.62467e-11 5.93983e-11 5.72795e-11 5.49777e-11 5.24766e-11 4.91343e-11 4.56366e-11 4.26931e-11 4.00418e-11 3.71154e-11 3.4543e-11 3.16186e-11 2.86108e-11 2.55673e-11 2.23828e-11 1.96212e-11 1.67687e-11 1.40181e-11 1.24659e-11 1.07405e-11 8.98107e-12 7.72584e-12 6.51957e-12 5.85113e-12 5.1193e-12 4.52146e-12 4.18138e-12 3.82477e-12 3.59396e-12 3.31435e-12 3.46344e-12 4.83257e-12 6.11274e-12 1.27659e-11 1.97894e-11 5.37559e-11 2.08011e-10 3.02391e-10 1.35534e-09 5.21434e-09 1.1627e-08 8.17792e-08 2.85198e-07 9.38589e-07 4.56647e-06 1.41287e-05 5.36617e-05 0.000256207 0.00107694 0.00296655 0.00705519 0.0157545 0.03306 0.0496393 0.0452772 0.0325541 0.0132167 0.00106483 0.000659328 0.000377389 0.000198914 9.58474e-05 4.32615e-05 1.58656e-05 6.33619e-06 3.02545e-06 8.89112e-07 2.60475e-07 1.16484e-07 2.76744e-08 7.63461e-09 2.24251e-09 8.85459e-10 1.37483e-10 2.01977e-11 6.96761e-12 1.65028e-12 3.04303e-13 6.95561e-14 2.6683e-14 1.23784e-14 2.95446e-15 3.32446e-89 4.2183e-68 9.19346e-57 2.23242e-49 5.19952e-44 3.9992e-39 2.8653e-35 7.00708e-32 6.19921e-29 1.16992e-26 2.09204e-24 2.28647e-22 1.50306e-20 8.7179e-19 2.38133e-17 4.09736e-16 4.47678e-15 4.78514e-14 7.66934e-14 1.88449e-13 5.46478e-08 6.64699e-07 1.90104e-05 0.000398516 0.0042153 0.0347153 0.110992 0.142963 0.121692 0.0807179 0.0504441 0.0156606 0.00174855 0.000991086 0.00054315 0.000254879 9.91873e-05 4.92185e-05 1.74257e-05 6.5464e-06 2.07896e-06 7.04448e-07 1.86163e-07 5.21978e-08 1.59787e-08 3.38256e-09 9.20441e-10 2.59743e-10 5.65661e-11 1.39072e-11 4.87471e-12 1.78525e-12 6.42671e-13 4.08992e-13 4.83114e-13 4.29014e-13 4.85997e-13 6.8222e-13 1.05444e-12 1.61457e-12 2.45171e-12 3.69757e-12 5.3715e-12 7.45491e-12 1.0121e-11 1.36177e-11 1.75925e-11 2.23437e-11 2.84794e-11 3.37253e-11 4.07557e-11 4.91815e-11 5.78265e-11 6.82278e-11 7.68597e-11 8.52079e-11 9.40289e-11 1.01361e-10 1.07245e-10 1.11704e-10 1.15966e-10 1.19311e-10 1.2038e-10 1.19872e-10 1.20853e-10 1.2185e-10 1.23509e-10 1.70015e-10 4.68794e-10 1.88126e-09 9.67979e-09 5.11143e-08 3.0712e-07 2.06644e-06 1.32124e-05 7.81618e-05 0.000408652 0.00190399 0.00813372 0.0290027 0.0696598 0.123143 0.162524 0.162639 0.137073 0.0858899 0.0358059 0.00881319 0.00488048 0.00265718 0.000886179 0.0002854 7.7644e-05 2.65305e-05 9.60659e-06 3.00782e-06 9.4859e-07 2.63778e-07 6.84491e-08 1.61236e-08 3.75089e-09 8.46383e-10 2.71638e-10 1.63533e-10 1.75069e-10 1.78763e-10 1.88137e-10 1.88507e-10 1.88321e-10 1.99615e-10 1.96442e-10 1.92343e-10 1.9689e-10 1.99312e-10 2.02351e-10 2.06011e-10 1.91778e-10 1.92242e-10 1.702e-10 1.68685e-10 1.57404e-10 1.4785e-10 1.36997e-10 1.2467e-10 1.23353e-10 1.22898e-10 1.28242e-10 1.3576e-10 1.43972e-10 1.52647e-10 1.60376e-10 1.67122e-10 1.75899e-10 1.83e-10 1.92491e-10 1.98737e-10 2.02114e-10 2.02539e-10 1.99372e-10 1.97945e-10 2.00581e-10 2.02015e-10 2.76049e-10 9.6288e-10 3.77592e-09 2.32749e-08 2.13934e-07 1.39195e-06 9.40633e-06 6.3226e-05 0.000355378 0.00172059 0.00755611 0.0232917 0.0511268 0.0893278 0.102796 0.0935155 0.0757139 0.0436206 0.0160543 0.00544182 0.00515201 0.00254263 0.000986351 0.00043711 0.00016732 4.80622e-05 1.7904e-05 5.56334e-06 2.10928e-06 7.57244e-07 2.54779e-07 8.03769e-08 2.30042e-08 5.66732e-09 1.59216e-09 4.79124e-10 2.31293e-10 1.82679e-10 1.64686e-10 1.64895e-10 1.65863e-10 1.67166e-10 1.71445e-10 1.71898e-10 1.71145e-10 1.7348e-10 1.76101e-10 1.77336e-10 1.76462e-10 1.76734e-10 1.76153e-10 1.78206e-10 1.80747e-10 1.82596e-10 1.83155e-10 1.83401e-10 1.83663e-10 1.85738e-10 1.89064e-10 1.92229e-10 1.93879e-10 1.96113e-10 1.97679e-10 1.98269e-10 1.98854e-10 1.99118e-10 1.98976e-10 1.9822e-10 1.96653e-10 1.96284e-10 1.93528e-10 1.94679e-10 1.963e-10 1.98271e-10 2.47978e-10 6.73013e-10 2.15422e-09 8.40791e-09 4.37568e-08 2.57204e-07 1.46022e-06 8.74687e-06 5.17975e-05 0.000285091 0.00138584 0.0062981 0.0242418 0.0634867 0.117097 0.152328 0.148388 0.117644 0.0658334 0.0221095 0.00557831 0.00359199 0.00152407 0.000427171 0.000150678 5.77007e-05 2.16544e-05 8.28296e-06 2.54415e-06 7.98238e-07 2.03912e-07 5.35994e-08 1.33459e-08 2.83364e-09 6.58724e-10 2.21644e-10 9.47282e-11 6.98046e-11 6.61073e-11 6.23651e-11 5.85166e-11 5.63671e-11 5.32342e-11 5.01461e-11 4.55055e-11 4.13941e-11 3.80661e-11 3.53443e-11 3.25213e-11 3.0029e-11 2.7147e-11 2.41884e-11 2.12703e-11 1.84964e-11 1.58686e-11 1.34012e-11 1.11411e-11 9.75424e-12 8.263e-12 6.96832e-12 5.99419e-12 5.11091e-12 4.60014e-12 4.04658e-12 3.58874e-12 3.31408e-12 2.99835e-12 2.77012e-12 2.58874e-12 2.62436e-12 2.70223e-12 2.55476e-12 2.93205e-12 3.21166e-12 3.987e-12 7.84324e-12 1.08166e-11 2.57351e-11 7.985e-11 1.61905e-10 7.88363e-10 2.11694e-09 5.1416e-09 1.7508e-08 3.13019e-08 7.36701e-08 1.40228e-07 3.51718e-07 6.04897e-07 8.47348e-07 2.56549e-06 5.11423e-06 1.4814e-05 4.94138e-05 8.22338e-05 0.000107652 9.40759e-05 6.12641e-05 3.80451e-05 2.22174e-05 1.06155e-05 4.88957e-06 1.76839e-06 6.8153e-07 3.26362e-07 9.1028e-08 2.46901e-08 1.0687e-08 2.36858e-09 5.97174e-10 1.61287e-10 5.92717e-11 8.3645e-12 1.14543e-12 3.89107e-13 1.18989e-13 4.14176e-14 1.91592e-14 7.98642e-15 1.75545e-15 6.26634e-17 1.09064e-93 1.73901e-72 3.90463e-61 2.26054e-53 8.00643e-48 7.88653e-43 9.63056e-39 3.62588e-35 4.93112e-32 1.48418e-29 4.22527e-27 5.82539e-25 4.87437e-23 4.25528e-21 1.4779e-19 3.86489e-18 8.1116e-17 1.00506e-15 9.48277e-15 6.86105e-14 6.12556e-12 7.19817e-12 2.12356e-09 1.65692e-08 3.66508e-08 1.70097e-07 3.05686e-07 3.46569e-07 3.06975e-07 0.000196486 0.000264757 0.000257098 0.000193198 0.000123438 7.53763e-05 3.77704e-05 1.49875e-05 7.70317e-06 2.69897e-06 9.99073e-07 3.06407e-07 1.00338e-07 2.49771e-08 6.64035e-09 1.90766e-09 3.78977e-10 9.88269e-11 2.6335e-11 7.90614e-12 2.33965e-12 7.5039e-13 3.60973e-13 3.44067e-13 2.20413e-13 1.67672e-13 1.9042e-13 2.79422e-13 4.28836e-13 6.63974e-13 9.70801e-13 1.41187e-12 1.94872e-12 2.68283e-12 3.38862e-12 4.21334e-12 5.50489e-12 6.68653e-12 8.17486e-12 1.04054e-11 1.2484e-11 1.6297e-11 2.15672e-11 2.76716e-11 3.60072e-11 4.41934e-11 5.22663e-11 6.4662e-11 7.77879e-11 8.99994e-11 1.03724e-10 1.16131e-10 1.25097e-10 1.3156e-10 1.35303e-10 1.37805e-10 1.39427e-10 1.37825e-10 1.38866e-10 1.41011e-10 1.51886e-10 3.30296e-10 9.45259e-10 3.62048e-09 1.53604e-08 5.89408e-08 1.69387e-07 3.82003e-07 6.73106e-07 1.64567e-06 1.83753e-06 1.85386e-06 1.96116e-06 1.43633e-06 1.44015e-06 0.000906003 0.00172918 0.00188197 0.00110277 0.000590684 0.000285111 9.14552e-05 3.04078e-05 1.2452e-05 4.73257e-06 1.67953e-06 5.05702e-07 1.51286e-07 3.97671e-08 9.63707e-09 2.14174e-09 5.13483e-10 1.74249e-10 1.41337e-10 1.38722e-10 1.41065e-10 1.35386e-10 1.44388e-10 1.38289e-10 1.32975e-10 1.46924e-10 1.31809e-10 1.22965e-10 1.23637e-10 1.23709e-10 1.29456e-10 1.36774e-10 1.21697e-10 1.26151e-10 1.03743e-10 1.04006e-10 9.31925e-11 8.56553e-11 7.85196e-11 7.03308e-11 6.79646e-11 6.55372e-11 6.84277e-11 7.27013e-11 7.89529e-11 8.41051e-11 9.22682e-11 1.00124e-10 1.14313e-10 1.30326e-10 1.57818e-10 1.84888e-10 2.00741e-10 2.09235e-10 2.10336e-10 2.10527e-10 2.10491e-10 2.07366e-10 2.10138e-10 2.13056e-10 2.26453e-10 6.9544e-10 3.21175e-09 1.0833e-08 4.57293e-08 1.56477e-07 5.44662e-07 2.5639e-06 6.3216e-06 1.93549e-05 0.000125366 7.02174e-05 0.000297535 0.000883412 0.00104096 0.00182306 0.00134002 0.000746802 0.000595337 0.000299032 0.000114892 4.45019e-05 1.79467e-05 5.6055e-06 2.14422e-06 8.54329e-07 3.19917e-07 1.15397e-07 3.7981e-08 1.13977e-08 3.12695e-09 7.9463e-10 2.9917e-10 1.76709e-10 1.62284e-10 1.64325e-10 1.61305e-10 1.53568e-10 1.53464e-10 1.51977e-10 1.61802e-10 1.56383e-10 1.4225e-10 1.39743e-10 1.36139e-10 1.3194e-10 1.22792e-10 1.1754e-10 1.094e-10 1.114e-10 1.15127e-10 1.18313e-10 1.18401e-10 1.22751e-10 1.20381e-10 1.24569e-10 1.32025e-10 1.41061e-10 1.46547e-10 1.5652e-10 1.63971e-10 1.77297e-10 1.85582e-10 1.94552e-10 1.99022e-10 2.01818e-10 2.03904e-10 2.06378e-10 2.07399e-10 2.07398e-10 2.07339e-10 2.07516e-10 2.0852e-10 2.10773e-10 2.91743e-10 6.71304e-10 2.18831e-09 8.50815e-09 3.01e-08 1.07322e-07 2.72287e-07 6.40146e-07 1.82675e-06 2.84954e-06 3.46638e-06 4.82586e-06 5.64919e-06 5.26196e-06 5.14184e-06 0.00127801 0.00185476 0.00155913 0.000828156 0.000395253 0.000157622 5.07816e-05 2.3062e-05 1.0243e-05 3.7793e-06 1.39847e-06 4.08846e-07 1.20835e-07 2.88944e-08 7.03674e-09 1.63813e-09 3.54004e-10 1.13091e-10 7.37422e-11 6.54087e-11 5.88517e-11 5.38348e-11 5.02569e-11 4.74803e-11 4.62032e-11 4.18691e-11 3.67004e-11 2.99208e-11 2.49471e-11 2.08876e-11 1.87361e-11 1.69087e-11 1.53867e-11 1.38589e-11 1.21077e-11 1.06072e-11 9.27563e-12 7.87945e-12 6.99345e-12 6.06446e-12 5.28546e-12 4.52474e-12 4.00953e-12 3.48288e-12 3.11509e-12 2.78628e-12 2.52761e-12 2.27663e-12 2.09641e-12 1.92445e-12 1.79405e-12 1.68129e-12 1.73183e-12 1.80801e-12 1.7535e-12 2.08391e-12 2.28127e-12 2.46824e-12 3.36262e-12 4.49923e-12 7.28271e-12 1.52828e-11 2.76267e-11 1.11075e-10 3.23704e-10 8.84318e-10 3.98096e-09 9.72015e-09 3.30676e-08 9.83151e-08 1.43836e-07 2.8076e-07 5.0874e-07 8.06507e-07 1.76824e-06 2.28823e-06 2.99151e-06 4.41209e-06 7.43593e-06 8.15165e-06 5.65576e-06 3.8522e-06 2.44317e-06 1.1657e-06 5.50288e-07 1.95645e-07 7.32525e-08 3.48735e-08 9.24223e-09 2.34325e-09 9.74479e-10 2.01645e-10 4.67059e-11 1.16527e-11 4.02042e-12 5.79924e-13 1.24673e-13 6.09821e-14 3.29165e-14 1.09501e-14 1.48997e-15 2.38188e-16 4.47588e-17 1.34987e-18 7.28748e-95 9.80875e-74 3.02658e-62 1.79575e-54 7.17591e-49 6.33789e-44 9.17624e-40 3.7995e-36 5.7886e-33 2.0708e-30 6.88232e-28 1.13991e-25 1.13589e-23 1.07102e-21 4.24e-20 1.2324e-18 2.76897e-17 4.06842e-16 4.38328e-15 5.92277e-14 7.80193e-13 4.29114e-13 5.7586e-10 8.35476e-09 2.41165e-08 2.5011e-07 8.04793e-07 2.23907e-06 6.71093e-06 9.55003e-06 1.71975e-05 2.3138e-05 2.12021e-05 1.5389e-05 1.03579e-05 5.56485e-06 2.25477e-06 1.19516e-06 4.15062e-07 1.51432e-07 4.49767e-08 1.42454e-08 3.35164e-09 8.47603e-10 2.31132e-10 4.49026e-11 1.46524e-11 4.58251e-12 1.16331e-12 4.2871e-13 3.9349e-13 2.17243e-13 9.85487e-14 6.35609e-14 7.21562e-14 1.06719e-13 1.60054e-13 2.40854e-13 3.53739e-13 5.00926e-13 6.9928e-13 9.49544e-13 1.24157e-12 1.57192e-12 1.97571e-12 2.48882e-12 3.07063e-12 3.69229e-12 4.41926e-12 5.2241e-12 6.16247e-12 7.30045e-12 8.96703e-12 1.22068e-11 1.62117e-11 2.04324e-11 2.82073e-11 3.69482e-11 4.52681e-11 5.7178e-11 7.16375e-11 8.7479e-11 1.05689e-10 1.24031e-10 1.37917e-10 1.4767e-10 1.5171e-10 1.51658e-10 1.51195e-10 1.51762e-10 1.66754e-10 2.53707e-10 7.37226e-10 2.70668e-09 1.12083e-08 4.35849e-08 1.47742e-07 3.66645e-07 1.09397e-06 1.29803e-06 1.38822e-06 1.48407e-06 1.51023e-06 4.53446e-06 3.41771e-05 7.97056e-05 9.49001e-05 7.58121e-05 4.35724e-05 2.35163e-05 1.00313e-05 4.81251e-06 2.22002e-06 8.45032e-07 2.93096e-07 8.48953e-08 2.4148e-08 6.02428e-09 1.3893e-09 3.37513e-10 1.20447e-10 1.04322e-10 9.52803e-11 8.9747e-11 9.19194e-11 8.01362e-11 8.152e-11 7.45724e-11 7.20347e-11 7.89414e-11 6.63145e-11 6.32945e-11 6.15373e-11 6.10432e-11 6.27245e-11 6.42515e-11 6.12585e-11 6.56924e-11 5.5518e-11 5.53565e-11 4.7392e-11 4.14678e-11 3.57899e-11 3.05592e-11 2.73728e-11 2.52545e-11 2.64302e-11 2.85861e-11 3.30526e-11 3.65099e-11 4.24082e-11 4.73483e-11 5.67467e-11 6.83696e-11 8.92081e-11 1.13161e-10 1.35002e-10 1.65234e-10 1.95748e-10 2.06663e-10 2.17023e-10 2.22297e-10 2.22044e-10 2.17398e-10 2.19919e-10 2.23453e-10 5.01027e-10 1.40854e-09 5.28168e-09 2.06897e-08 6.5093e-08 2.75041e-07 1.58618e-06 4.22853e-06 1.35995e-05 2.42544e-05 3.59626e-05 6.11288e-05 4.97123e-05 0.000109214 9.63614e-05 6.05855e-05 4.85023e-05 2.64575e-05 1.15479e-05 4.63222e-06 2.06809e-06 8.35017e-07 3.35873e-07 1.32701e-07 4.89988e-08 1.77992e-08 5.77151e-09 1.70757e-09 5.15417e-10 2.01285e-10 1.49874e-10 1.46116e-10 1.44675e-10 1.42895e-10 1.36945e-10 1.17735e-10 1.11147e-10 1.02015e-10 1.14084e-10 9.92082e-11 7.9454e-11 7.61691e-11 7.15043e-11 6.69228e-11 6.20528e-11 5.84772e-11 5.31221e-11 5.3808e-11 5.52085e-11 5.6079e-11 5.60655e-11 5.93444e-11 6.12413e-11 6.36057e-11 6.79463e-11 7.53112e-11 8.24926e-11 8.93667e-11 9.66939e-11 1.09299e-10 1.2088e-10 1.37327e-10 1.49997e-10 1.59562e-10 1.66196e-10 1.83159e-10 1.97635e-10 2.10611e-10 2.17521e-10 2.26251e-10 2.2726e-10 2.25648e-10 2.27479e-10 2.8905e-10 5.36602e-10 1.67517e-09 5.89752e-09 2.53134e-08 9.65436e-08 3.25609e-07 1.06192e-06 1.92508e-06 2.64882e-06 5.14787e-06 1.36099e-05 2.15904e-05 2.51697e-05 5.80863e-05 0.000103524 9.45811e-05 6.04145e-05 2.94197e-05 1.5386e-05 8.39844e-06 4.06019e-06 1.81909e-06 6.5856e-07 2.35292e-07 6.55974e-08 1.83063e-08 4.12137e-09 9.49166e-10 2.34223e-10 7.58853e-11 6.0129e-11 4.96472e-11 4.30585e-11 3.89293e-11 3.57454e-11 3.12591e-11 2.69301e-11 2.44748e-11 2.03518e-11 1.65716e-11 1.28771e-11 1.1281e-11 9.70743e-12 8.65648e-12 7.92042e-12 7.27704e-12 6.58637e-12 5.90717e-12 5.28211e-12 4.63411e-12 3.99274e-12 3.57009e-12 3.16447e-12 2.72616e-12 2.433e-12 2.17422e-12 1.88338e-12 1.68276e-12 1.49949e-12 1.3517e-12 1.20508e-12 1.08659e-12 9.78956e-13 9.15431e-13 8.40636e-13 8.31209e-13 8.56369e-13 8.49774e-13 9.33898e-13 1.00844e-12 1.1721e-12 1.48645e-12 1.69314e-12 2.21346e-12 3.94886e-12 6.61426e-12 1.70624e-11 3.70141e-11 6.99859e-11 2.20318e-10 5.21812e-10 1.48368e-09 5.2508e-09 1.07335e-08 2.03382e-08 3.90075e-08 6.12562e-08 1.1383e-07 1.57611e-07 2.3762e-07 3.73109e-07 5.15147e-07 6.92342e-07 5.18752e-07 3.90404e-07 2.64921e-07 1.27047e-07 6.16085e-08 2.15027e-08 7.86409e-09 3.69635e-09 9.31228e-10 2.22421e-10 8.84524e-11 1.71912e-11 3.73802e-12 9.37601e-13 3.45728e-13 9.0729e-14 3.87894e-14 1.97671e-14 3.8441e-15 4.44408e-16 5.22205e-17 7.14195e-18 1.14728e-18 2.94731e-20 3.14791e-96 3.51334e-75 1.4846e-63 9.24564e-56 4.11417e-50 3.54187e-45 5.74318e-41 2.51143e-37 4.21589e-34 1.76322e-31 6.51971e-29 1.25152e-26 1.4332e-24 1.44016e-22 6.37326e-21 2.07387e-19 5.30195e-18 9.05491e-17 1.0912e-15 1.66582e-14 1.64244e-13 2.07478e-13 1.96979e-11 2.56254e-10 9.18032e-10 1.23301e-08 5.2931e-08 1.51922e-07 4.51895e-07 7.57139e-07 1.23034e-06 2.06152e-06 2.30052e-06 1.90495e-06 1.40709e-06 8.13427e-07 3.37483e-07 1.83807e-07 6.34239e-08 2.28142e-08 6.58319e-09 2.01744e-09 4.51191e-10 1.13125e-10 2.92026e-11 8.77578e-12 2.29725e-12 7.49768e-13 3.0736e-13 2.92557e-13 1.13674e-13 4.58347e-14 2.55712e-14 2.62137e-14 3.89986e-14 6.10974e-14 8.89853e-14 1.30604e-13 1.86536e-13 2.67364e-13 3.69949e-13 5.05532e-13 6.53388e-13 8.32442e-13 1.03381e-12 1.29433e-12 1.57448e-12 1.8791e-12 2.2025e-12 2.61763e-12 3.06754e-12 3.63915e-12 4.10342e-12 4.82043e-12 5.36386e-12 6.53408e-12 9.38777e-12 1.29728e-11 1.7099e-11 2.37063e-11 3.22236e-11 4.30812e-11 5.73069e-11 7.34988e-11 9.05327e-11 1.11564e-10 1.31988e-10 1.50612e-10 1.57442e-10 1.70655e-10 1.83164e-10 1.99662e-10 2.90953e-10 5.57167e-10 1.88059e-09 7.37061e-09 2.97173e-08 1.13162e-07 2.89033e-07 5.10506e-07 8.03419e-07 1.11168e-06 1.27656e-06 1.64911e-06 2.25131e-06 3.48971e-06 4.81849e-06 4.2621e-06 3.26793e-06 2.26215e-06 1.4718e-06 8.30325e-07 3.96026e-07 1.50635e-07 5.10065e-08 1.42481e-08 3.87333e-09 9.32128e-10 2.3805e-10 1.01038e-10 6.9996e-11 5.85944e-11 5.3271e-11 4.87931e-11 4.46386e-11 3.483e-11 3.43249e-11 3.10777e-11 3.11822e-11 3.29189e-11 2.67534e-11 2.67907e-11 2.62393e-11 2.6573e-11 2.71566e-11 2.68505e-11 2.67865e-11 2.81671e-11 2.3182e-11 2.25468e-11 1.89101e-11 1.60358e-11 1.33046e-11 1.08114e-11 9.47056e-12 8.63134e-12 8.9249e-12 8.96837e-12 1.1036e-11 1.34013e-11 1.68571e-11 1.95474e-11 2.48385e-11 3.1704e-11 4.3777e-11 5.96555e-11 7.46031e-11 9.42115e-11 1.23053e-10 1.44617e-10 1.72175e-10 2.04904e-10 2.26332e-10 2.27455e-10 2.27584e-10 2.26124e-10 2.69749e-10 4.00287e-10 9.61127e-10 3.47174e-09 9.5861e-09 3.04218e-08 9.73142e-08 2.5375e-07 8.57999e-07 1.62494e-06 2.20862e-06 3.672e-06 2.73279e-06 5.59058e-06 5.67018e-06 4.21822e-06 3.97431e-06 2.42002e-06 1.19061e-06 5.63204e-07 2.82962e-07 1.33162e-07 5.33012e-08 2.08724e-08 7.62268e-09 2.83434e-09 9.49412e-10 3.44745e-10 1.5846e-10 1.30073e-10 1.17782e-10 1.11014e-10 1.10829e-10 1.04843e-10 9.0482e-11 6.65709e-11 5.86552e-11 4.89324e-11 5.53665e-11 4.35412e-11 3.27107e-11 3.15779e-11 2.88668e-11 2.61412e-11 2.42833e-11 2.25964e-11 2.05573e-11 2.0764e-11 2.09509e-11 2.08785e-11 2.02588e-11 2.21423e-11 2.38552e-11 2.53793e-11 2.79599e-11 3.24886e-11 3.80603e-11 4.20765e-11 4.75842e-11 5.58036e-11 6.52837e-11 7.39075e-11 8.38556e-11 9.5531e-11 1.07374e-10 1.22034e-10 1.40035e-10 1.63213e-10 1.83544e-10 1.97714e-10 2.12478e-10 2.21702e-10 2.27857e-10 2.50925e-10 3.05497e-10 4.99369e-10 1.17305e-09 4.47557e-09 1.94223e-08 8.51946e-08 2.49174e-07 7.00164e-07 1.42204e-06 2.18755e-06 3.14265e-06 4.03182e-06 4.43767e-06 4.89014e-06 6.3081e-06 5.92628e-06 4.59804e-06 3.41735e-06 2.27931e-06 1.43324e-06 7.15109e-07 3.22153e-07 1.14445e-07 3.9461e-08 1.05218e-08 2.79334e-09 6.11576e-10 1.55762e-10 6.41531e-11 4.0103e-11 3.22877e-11 2.71966e-11 2.45129e-11 2.02889e-11 1.64485e-11 1.26459e-11 9.95165e-12 8.33473e-12 7.31476e-12 6.62711e-12 6.40355e-12 5.67703e-12 4.80363e-12 4.3154e-12 3.97134e-12 3.70624e-12 3.40243e-12 3.07956e-12 2.82657e-12 2.53133e-12 2.22764e-12 1.99428e-12 1.76506e-12 1.56512e-12 1.40483e-12 1.25186e-12 1.10148e-12 9.93347e-13 9.01742e-13 8.16642e-13 7.18755e-13 6.44666e-13 5.79377e-13 5.3386e-13 4.86866e-13 4.63776e-13 4.71694e-13 4.65663e-13 4.85842e-13 5.17653e-13 5.66067e-13 6.70932e-13 7.53747e-13 9.33821e-13 1.18674e-12 1.54278e-12 3.00514e-12 6.21525e-12 1.07683e-11 2.5337e-11 5.40537e-11 1.30304e-10 4.19082e-10 8.68372e-10 1.59698e-09 3.10282e-09 4.84824e-09 8.28072e-09 1.18415e-08 1.67738e-08 2.95612e-08 3.90673e-08 5.78414e-08 4.73298e-08 3.95251e-08 2.83591e-08 1.37599e-08 6.85997e-09 2.35056e-09 8.4238e-10 3.88879e-10 9.32541e-11 2.12891e-11 8.05798e-12 1.56159e-12 3.88066e-13 1.47461e-13 7.57322e-14 3.89872e-14 4.9859e-15 1.13322e-15 1.86013e-16 1.8064e-17 1.83533e-18 2.15129e-19 2.95636e-20 6.51129e-22 9.40222e-98 9.28662e-77 5.1403e-65 3.63495e-57 1.83871e-51 1.6837e-46 2.87074e-42 1.36147e-38 2.40903e-35 1.16391e-32 4.75255e-30 1.0362e-27 1.31026e-25 1.33612e-23 6.46951e-22 2.39579e-20 6.82083e-19 1.2603e-17 1.78564e-16 2.14348e-15 1.93838e-14 1.09936e-13 8.87487e-13 1.73556e-11 7.75419e-11 8.10392e-10 4.3321e-09 1.17618e-08 3.24637e-08 7.33451e-08 1.13092e-07 1.82085e-07 2.47152e-07 2.34047e-07 1.88982e-07 1.17958e-07 5.0277e-08 2.80485e-08 9.64699e-09 3.42233e-09 9.6425e-10 2.88957e-10 6.43822e-11 2.14396e-11 6.19243e-12 1.34332e-12 4.68307e-13 3.79159e-13 1.7061e-13 6.27917e-14 2.26914e-14 1.10679e-14 9.50535e-15 1.34916e-14 2.18697e-14 3.41064e-14 4.87372e-14 7.04778e-14 9.99223e-14 1.44032e-13 1.99113e-13 2.74239e-13 3.47769e-13 4.43055e-13 5.3779e-13 6.68078e-13 8.06458e-13 9.68575e-13 1.12583e-12 1.35489e-12 1.56947e-12 1.86043e-12 2.11588e-12 2.45498e-12 2.74399e-12 3.10513e-12 3.65575e-12 4.16527e-12 5.18019e-12 7.36229e-12 1.1068e-11 1.66118e-11 2.42486e-11 3.43052e-11 4.60085e-11 6.36574e-11 8.02239e-11 1.04399e-10 1.24755e-10 1.42062e-10 1.56715e-10 1.66914e-10 1.88658e-10 2.36561e-10 4.66686e-10 1.32302e-09 4.40342e-09 1.43911e-08 3.85807e-08 8.99963e-08 1.74016e-07 2.67131e-07 3.42282e-07 3.89213e-07 4.1182e-07 4.33169e-07 4.40263e-07 3.78894e-07 3.71196e-07 3.2819e-07 2.40572e-07 1.43784e-07 7.05257e-08 2.67944e-08 8.86741e-09 2.40461e-09 6.47623e-10 1.71047e-10 7.93256e-11 4.65607e-11 3.16756e-11 2.75296e-11 2.32731e-11 1.77441e-11 1.40628e-11 1.02547e-11 1.03142e-11 9.47711e-12 1.0003e-11 1.02726e-11 8.63506e-12 9.28618e-12 9.49531e-12 9.89822e-12 1.02725e-11 1.03148e-11 9.46251e-12 9.75854e-12 7.9788e-12 7.99814e-12 6.86661e-12 6.08557e-12 5.24087e-12 4.40199e-12 4.05141e-12 3.80113e-12 4.02165e-12 4.047e-12 4.4666e-12 4.80896e-12 5.14765e-12 5.76457e-12 7.52181e-12 1.03121e-11 1.66654e-11 2.69535e-11 3.88335e-11 5.27381e-11 6.78525e-11 8.96895e-11 1.17787e-10 1.44547e-10 1.66799e-10 2.0571e-10 2.13729e-10 2.29101e-10 2.52321e-10 2.90264e-10 4.16639e-10 1.04446e-09 3.03807e-09 8.44459e-09 2.2543e-08 5.06926e-08 1.15981e-07 1.96339e-07 2.27202e-07 3.13402e-07 2.59185e-07 3.71872e-07 4.26603e-07 3.60739e-07 3.40622e-07 2.39794e-07 1.39527e-07 8.59188e-08 4.4972e-08 2.15651e-08 8.599e-09 3.38188e-09 1.26221e-09 5.34003e-10 2.33638e-10 1.50462e-10 1.13217e-10 8.75271e-11 8.08417e-11 7.55107e-11 6.78428e-11 5.64544e-11 4.22755e-11 2.64962e-11 2.17601e-11 1.59967e-11 1.80966e-11 1.25343e-11 1.03249e-11 1.01763e-11 9.81347e-12 9.46331e-12 9.0357e-12 8.42225e-12 7.69879e-12 7.74003e-12 7.73463e-12 7.79168e-12 7.68828e-12 8.06474e-12 8.17896e-12 8.306e-12 8.72764e-12 1.00387e-11 1.19318e-11 1.3738e-11 1.69749e-11 2.19313e-11 2.75435e-11 3.37603e-11 4.04166e-11 4.92256e-11 5.94006e-11 7.12308e-11 8.86662e-11 1.09476e-10 1.29628e-10 1.5088e-10 1.6951e-10 1.87486e-10 2.02978e-10 2.16654e-10 2.34431e-10 2.74377e-10 3.95659e-10 9.74393e-10 3.19168e-09 1.12875e-08 3.48147e-08 9.18739e-08 2.07244e-07 3.72556e-07 5.72274e-07 7.28921e-07 7.7827e-07 7.87413e-07 7.42531e-07 6.07489e-07 5.34647e-07 4.90351e-07 3.64831e-07 2.44713e-07 1.25674e-07 5.684e-08 1.98567e-08 6.61174e-09 1.69921e-09 4.54398e-10 1.08385e-10 5.46545e-11 2.74166e-11 1.74057e-11 1.4891e-11 1.25906e-11 1.00081e-11 6.79364e-12 5.47115e-12 4.93989e-12 4.83137e-12 4.7832e-12 4.37716e-12 3.80908e-12 3.30644e-12 2.864e-12 2.44885e-12 2.21476e-12 2.0144e-12 1.86254e-12 1.69115e-12 1.53338e-12 1.41488e-12 1.27902e-12 1.13868e-12 1.02952e-12 9.22451e-13 8.21592e-13 7.45691e-13 6.76885e-13 6.06288e-13 5.49392e-13 5.09523e-13 4.71024e-13 4.15482e-13 3.78065e-13 3.41771e-13 3.12496e-13 2.84228e-13 2.65485e-13 2.72564e-13 2.66833e-13 2.68838e-13 2.85451e-13 2.93377e-13 3.30581e-13 3.59364e-13 4.22139e-13 5.08119e-13 6.39726e-13 9.74852e-13 1.44215e-12 2.18138e-12 4.42679e-12 8.61606e-12 1.72346e-11 4.13923e-11 7.62429e-11 1.34841e-10 2.55223e-10 4.03664e-10 6.49914e-10 9.39848e-10 1.19519e-09 2.22967e-09 2.99947e-09 4.76906e-09 4.30078e-09 3.9929e-09 3.00321e-09 1.48238e-09 7.5915e-10 2.55917e-10 9.01814e-11 4.07879e-11 9.3814e-12 2.27111e-12 8.47051e-13 2.44866e-13 9.31802e-14 8.59744e-14 2.34469e-14 2.89928e-15 3.35244e-16 6.45459e-17 8.9539e-18 7.35162e-19 6.46402e-20 6.50517e-21 7.65687e-22 1.45333e-23 1.87584e-99 1.63631e-78 1.21913e-66 1.06778e-58 6.34718e-53 6.30257e-48 1.16767e-43 6.46418e-40 1.25799e-36 7.22999e-34 3.31324e-31 8.32324e-29 1.21047e-26 1.34097e-24 7.35125e-23 3.09435e-21 9.96578e-20 2.09527e-18 3.3273e-17 4.03009e-16 3.7993e-15 2.90012e-14 1.95913e-13 1.93193e-12 1.0044e-11 6.70068e-11 3.87808e-10 1.04599e-09 2.65924e-09 6.51738e-09 1.07821e-08 1.6143e-08 2.63408e-08 2.85719e-08 2.51387e-08 1.69829e-08 7.46689e-09 4.2537e-09 1.4658e-09 5.13866e-10 1.48461e-10 4.3728e-11 1.46397e-11 3.97269e-12 1.03554e-12 3.63746e-13 3.37709e-13 1.3182e-13 3.82581e-14 1.32574e-14 5.0075e-15 3.53742e-15 4.55577e-15 7.33463e-15 1.19634e-14 1.83035e-14 2.58655e-14 3.7039e-14 5.21184e-14 7.48085e-14 1.04168e-13 1.43452e-13 1.80063e-13 2.26367e-13 2.72438e-13 3.34992e-13 4.03525e-13 4.83011e-13 5.70474e-13 6.81024e-13 7.88879e-13 9.38054e-13 1.07383e-12 1.2749e-12 1.40262e-12 1.61769e-12 1.88886e-12 2.15156e-12 2.45542e-12 2.79626e-12 3.28709e-12 4.42875e-12 6.61407e-12 1.11682e-11 1.75114e-11 2.8723e-11 4.20206e-11 6.00596e-11 8.24353e-11 1.06149e-10 1.30036e-10 1.47809e-10 1.65218e-10 1.82145e-10 2.34336e-10 3.68548e-10 8.26698e-10 2.28883e-09 6.04025e-09 1.45842e-08 2.9009e-08 4.49833e-08 5.98487e-08 6.73072e-08 6.88472e-08 7.01761e-08 6.32426e-08 4.90618e-08 5.03123e-08 4.88116e-08 3.95675e-08 2.4964e-08 1.25593e-08 4.77732e-09 1.5556e-09 4.31973e-10 1.21606e-10 6.19869e-11 2.71932e-11 1.65039e-11 1.18447e-11 9.39969e-12 6.16117e-12 4.46797e-12 4.3478e-12 4.40878e-12 4.56633e-12 4.58722e-12 4.57648e-12 4.89634e-12 4.62268e-12 4.59055e-12 4.37244e-12 4.19599e-12 4.1352e-12 4.0475e-12 3.75626e-12 3.81206e-12 3.29139e-12 3.28498e-12 2.94032e-12 2.67367e-12 2.43213e-12 2.04519e-12 1.89983e-12 1.84215e-12 1.91648e-12 1.97218e-12 2.07666e-12 2.20456e-12 2.39749e-12 2.58e-12 2.81335e-12 3.22781e-12 4.14498e-12 7.03383e-12 1.23065e-11 2.11573e-11 3.28247e-11 4.88946e-11 7.19857e-11 9.85284e-11 1.24069e-10 1.50069e-10 1.79825e-10 2.127e-10 2.312e-10 2.53711e-10 2.96333e-10 4.75247e-10 1.1056e-09 2.38574e-09 5.61636e-09 1.23219e-08 2.26109e-08 3.42834e-08 4.07083e-08 4.55529e-08 4.05497e-08 4.5187e-08 4.64904e-08 3.93101e-08 3.35506e-08 2.6394e-08 1.98358e-08 1.34771e-08 7.3112e-09 3.603e-09 1.47138e-09 6.31264e-10 2.86971e-10 1.73614e-10 1.31278e-10 9.6674e-11 7.04924e-11 5.52999e-11 4.82452e-11 3.7789e-11 2.8672e-11 1.91895e-11 1.16648e-11 6.37344e-12 5.40042e-12 5.00714e-12 5.31117e-12 5.10285e-12 5.0697e-12 5.12107e-12 4.86182e-12 4.43021e-12 3.89433e-12 3.6607e-12 3.3835e-12 3.42568e-12 3.43272e-12 3.45026e-12 3.46097e-12 3.58688e-12 3.61258e-12 3.63525e-12 3.86559e-12 4.14376e-12 4.49131e-12 4.70805e-12 5.10182e-12 5.9222e-12 7.32801e-12 9.48849e-12 1.27471e-11 1.72309e-11 2.25724e-11 3.0731e-11 4.32653e-11 6.03274e-11 7.90903e-11 1.01397e-10 1.25057e-10 1.48514e-10 1.70435e-10 1.90959e-10 2.07513e-10 2.23465e-10 2.59166e-10 3.71117e-10 7.38208e-10 2.05399e-09 5.97301e-09 1.52099e-08 3.47721e-08 6.30456e-08 9.76454e-08 1.23452e-07 1.29309e-07 1.29242e-07 1.16642e-07 8.79122e-08 7.45322e-08 7.25795e-08 5.86296e-08 4.17403e-08 2.20679e-08 1.00182e-08 3.4552e-09 1.11951e-09 2.95976e-10 9.57158e-11 4.13855e-11 1.94575e-11 9.33736e-12 6.49152e-12 5.89933e-12 4.47923e-12 4.16297e-12 4.08733e-12 3.93109e-12 3.46202e-12 3.11238e-12 2.72936e-12 2.35026e-12 2.00795e-12 1.72834e-12 1.49849e-12 1.29115e-12 1.16714e-12 1.04585e-12 9.62191e-13 8.72017e-13 7.804e-13 7.16638e-13 6.52465e-13 5.75282e-13 5.14125e-13 4.60871e-13 4.07997e-13 3.7034e-13 3.38786e-13 3.06149e-13 2.77932e-13 2.62167e-13 2.46129e-13 2.19888e-13 2.03095e-13 1.87471e-13 1.72191e-13 1.56868e-13 1.46589e-13 1.50633e-13 1.49858e-13 1.45839e-13 1.55652e-13 1.56664e-13 1.65952e-13 1.7438e-13 1.93699e-13 2.21241e-13 2.60896e-13 3.69945e-13 5.20205e-13 6.93058e-13 9.74614e-13 1.46475e-12 2.3656e-12 4.75914e-12 8.04488e-12 1.31575e-11 2.29437e-11 3.41776e-11 5.41678e-11 7.99022e-11 8.61634e-11 1.67923e-10 2.44739e-10 3.91368e-10 3.91525e-10 4.0316e-10 3.15815e-10 1.5937e-10 8.37326e-11 2.82926e-11 9.85517e-12 4.37777e-12 1.07067e-12 3.20187e-13 1.66874e-13 7.96949e-14 3.38373e-14 8.36646e-15 1.92076e-15 2.14451e-16 2.2421e-17 3.65346e-18 4.28947e-19 2.99443e-20 2.28003e-21 1.97335e-22 1.99248e-23 3.273e-25 2.39263e-101 1.04971e-80 1.73615e-68 2.0441e-60 1.41913e-54 1.65016e-49 3.57935e-45 2.30769e-41 5.25582e-38 3.77122e-35 1.95171e-32 5.70231e-30 9.48026e-28 1.1764e-25 7.44918e-24 3.50388e-22 1.21316e-20 2.74154e-19 4.72059e-18 6.19175e-17 6.40023e-16 5.26731e-15 4.03571e-14 3.03436e-13 1.22189e-12 6.72989e-12 3.6828e-11 1.02502e-10 2.5654e-10 5.88548e-10 1.00477e-09 1.53277e-09 2.8009e-09 3.47594e-09 3.32533e-09 2.43337e-09 1.11363e-09 6.46147e-10 2.3223e-10 8.25892e-11 3.23346e-11 1.14162e-11 2.42723e-12 7.22011e-13 3.40194e-13 2.34188e-13 8.31969e-14 2.92454e-14 8.24351e-15 2.81886e-15 1.36061e-15 1.4924e-15 2.36686e-15 3.90091e-15 6.25131e-15 9.3461e-15 1.31031e-14 1.8663e-14 2.6045e-14 3.74645e-14 5.29254e-14 7.29262e-14 9.10895e-14 1.13545e-13 1.37129e-13 1.64083e-13 1.96962e-13 2.36176e-13 2.80351e-13 3.36269e-13 3.96316e-13 4.61481e-13 5.38954e-13 6.53752e-13 7.15067e-13 8.25171e-13 9.86235e-13 1.12497e-12 1.26824e-12 1.47624e-12 1.69371e-12 2.02163e-12 2.45137e-12 2.83027e-12 4.02626e-12 6.91057e-12 1.23328e-11 2.27236e-11 3.74216e-11 5.89214e-11 8.56923e-11 1.10832e-10 1.40002e-10 1.58461e-10 1.77612e-10 2.10303e-10 2.94346e-10 5.0474e-10 1.06463e-09 2.35812e-09 4.56275e-09 7.07564e-09 9.7277e-09 1.09027e-08 1.10961e-08 1.13471e-08 1.04877e-08 7.68082e-09 7.31583e-09 7.41736e-09 6.58605e-09 4.38335e-09 2.26885e-09 8.73563e-10 3.00599e-10 1.01522e-10 4.35296e-11 1.50239e-11 6.42012e-12 4.30552e-12 3.87556e-12 3.63733e-12 3.6333e-12 3.65078e-12 3.38176e-12 3.02581e-12 2.95718e-12 2.67627e-12 2.54118e-12 2.54607e-12 2.1279e-12 2.05394e-12 1.91663e-12 1.81436e-12 1.78293e-12 1.75259e-12 1.66715e-12 1.64602e-12 1.4795e-12 1.50969e-12 1.37079e-12 1.24e-12 1.1583e-12 9.78424e-13 9.17697e-13 8.9141e-13 9.30768e-13 9.56162e-13 9.89112e-13 1.0857e-12 1.18103e-12 1.28725e-12 1.41107e-12 1.60682e-12 1.90853e-12 2.37505e-12 2.89608e-12 4.63322e-12 8.25472e-12 1.57373e-11 3.00844e-11 4.95129e-11 7.1197e-11 9.81917e-11 1.27605e-10 1.63051e-10 1.8934e-10 2.1255e-10 2.37148e-10 2.81126e-10 3.83092e-10 6.40051e-10 1.25138e-09 2.62465e-09 4.59019e-09 6.67633e-09 7.77501e-09 7.92804e-09 7.13119e-09 7.25205e-09 6.68865e-09 5.35596e-09 4.29784e-09 3.78191e-09 3.11187e-09 2.25025e-09 1.28604e-09 6.95088e-10 3.3786e-10 1.88611e-10 1.40183e-10 1.07686e-10 7.48008e-11 5.6566e-11 4.18196e-11 2.81569e-11 1.93229e-11 1.14611e-11 6.91207e-12 4.41606e-12 4.01522e-12 4.01803e-12 4.01833e-12 3.55838e-12 3.61675e-12 3.07638e-12 2.71809e-12 2.47198e-12 2.24375e-12 2.06301e-12 1.83784e-12 1.72874e-12 1.63146e-12 1.62191e-12 1.64205e-12 1.64552e-12 1.63753e-12 1.69696e-12 1.7396e-12 1.7387e-12 1.82138e-12 1.98047e-12 2.11757e-12 2.1959e-12 2.45065e-12 2.75815e-12 2.95599e-12 3.33529e-12 3.7153e-12 4.1756e-12 5.46149e-12 7.66068e-12 1.25417e-11 2.12333e-11 3.35543e-11 5.0126e-11 7.08543e-11 9.44507e-11 1.19868e-10 1.49367e-10 1.75694e-10 1.96939e-10 2.17121e-10 2.40171e-10 3.16886e-10 5.35053e-10 1.1737e-09 2.6534e-09 5.85599e-09 1.05538e-08 1.6494e-08 2.07592e-08 2.14e-08 2.11024e-08 1.95864e-08 1.50312e-08 1.11268e-08 1.10824e-08 9.52159e-09 7.15732e-09 3.91121e-09 1.79176e-09 6.28178e-10 2.11533e-10 7.45447e-11 2.88063e-11 9.70657e-12 5.1299e-12 3.75165e-12 3.87072e-12 3.68758e-12 3.54118e-12 3.2208e-12 2.75461e-12 2.37916e-12 2.00551e-12 1.74209e-12 1.47771e-12 1.2567e-12 1.07296e-12 9.22437e-13 7.98522e-13 6.89784e-13 6.18928e-13 5.47658e-13 4.99359e-13 4.48746e-13 4.01232e-13 3.63061e-13 3.27655e-13 2.88075e-13 2.54185e-13 2.27401e-13 2.00563e-13 1.81109e-13 1.64225e-13 1.48228e-13 1.35052e-13 1.26583e-13 1.19274e-13 1.06357e-13 9.83611e-14 9.33531e-14 8.60466e-14 7.84305e-14 7.3916e-14 7.59905e-14 7.68614e-14 7.38184e-14 7.95093e-14 7.95385e-14 8.14045e-14 8.427e-14 9.08861e-14 1.01688e-13 1.1617e-13 1.47912e-13 1.94621e-13 2.38614e-13 3.20219e-13 4.37797e-13 6.0535e-13 8.89529e-13 1.2996e-12 1.79728e-12 2.79461e-12 3.90478e-12 5.91557e-12 8.92489e-12 9.45281e-12 1.66917e-11 2.37474e-11 3.4899e-11 3.85327e-11 4.24908e-11 3.41836e-11 1.7843e-11 9.43143e-12 4.01188e-12 1.46721e-12 5.90148e-13 2.18428e-13 1.00109e-13 9.56633e-14 1.92556e-14 3.61867e-15 8.02e-16 1.55551e-16 1.57687e-17 1.48933e-18 2.05532e-19 2.04581e-20 1.22012e-21 8.04968e-23 6.0014e-24 5.20695e-25 7.42831e-27 3.01497e-103 1.52365e-82 2.21356e-70 4.82558e-62 4.25777e-56 6.89758e-51 1.70798e-46 1.27065e-42 3.28942e-39 2.80836e-36 1.50582e-33 4.70705e-31 8.38146e-29 1.10447e-26 7.83109e-25 4.02753e-23 1.49894e-21 3.60473e-20 6.47852e-19 8.81925e-18 9.85039e-17 8.91528e-16 7.10482e-15 4.8731e-14 2.24864e-13 8.56346e-13 4.07248e-12 1.16213e-11 3.0189e-11 7.03644e-11 1.06124e-10 1.69645e-10 3.11973e-10 4.32167e-10 4.47022e-10 3.54021e-10 1.79225e-10 1.05953e-10 4.78273e-11 2.17283e-11 6.91607e-12 1.82869e-12 5.64999e-13 2.78837e-13 1.99494e-13 6.12478e-14 2.00941e-14 6.43404e-15 1.74318e-15 6.48808e-16 4.86247e-16 7.18277e-16 1.21407e-15 1.97557e-15 3.09398e-15 4.5227e-15 6.30103e-15 8.9419e-15 1.24188e-14 1.80029e-14 2.57196e-14 3.51529e-14 4.384e-14 5.43023e-14 6.52513e-14 7.60586e-14 9.09297e-14 1.09682e-13 1.31019e-13 1.55477e-13 1.87709e-13 2.14769e-13 2.56732e-13 3.13085e-13 3.47955e-13 4.05882e-13 4.91873e-13 5.64808e-13 6.41917e-13 7.48328e-13 8.86709e-13 1.05817e-12 1.28903e-12 1.56332e-12 1.84404e-12 2.25102e-12 2.88044e-12 4.94487e-12 9.4846e-12 1.94059e-11 3.7058e-11 5.89587e-11 9.10545e-11 1.18621e-10 1.45261e-10 1.68577e-10 2.00236e-10 2.4176e-10 3.30628e-10 5.07193e-10 8.18383e-10 1.20827e-09 1.65103e-09 1.85314e-09 1.87954e-09 1.9181e-09 1.86203e-09 1.40908e-09 1.22578e-09 1.2559e-09 1.17518e-09 8.30183e-10 4.59597e-10 1.86967e-10 8.95177e-11 3.38063e-11 1.1389e-11 5.36854e-12 3.59035e-12 3.42353e-12 3.23409e-12 3.01733e-12 2.5946e-12 2.1985e-12 1.9274e-12 1.61756e-12 1.50573e-12 1.29286e-12 1.20244e-12 1.1694e-12 9.60643e-13 9.20131e-13 8.56057e-13 8.05249e-13 7.95417e-13 7.81952e-13 7.4055e-13 7.4494e-13 6.64672e-13 6.96689e-13 6.37349e-13 5.75605e-13 5.43603e-13 4.61164e-13 4.29864e-13 4.15959e-13 4.4057e-13 4.51269e-13 4.68116e-13 5.19253e-13 5.75366e-13 6.16345e-13 6.94358e-13 7.96828e-13 9.20045e-13 1.19576e-12 1.50662e-12 1.90541e-12 2.26864e-12 3.56379e-12 7.34915e-12 1.57288e-11 2.84662e-11 4.79368e-11 7.24796e-11 1.07976e-10 1.43461e-10 1.75353e-10 2.04549e-10 2.24553e-10 2.49354e-10 3.02873e-10 4.00447e-10 6.35659e-10 9.46908e-10 1.28609e-09 1.4837e-09 1.43233e-09 1.29981e-09 1.28719e-09 1.11592e-09 8.56634e-10 7.18583e-10 6.91808e-10 6.30196e-10 5.00176e-10 3.25925e-10 2.17769e-10 1.61505e-10 1.15059e-10 7.78657e-11 5.93915e-11 4.1585e-11 3.13042e-11 1.85583e-11 9.00184e-12 4.94305e-12 3.46196e-12 3.5118e-12 3.47133e-12 3.13273e-12 2.58036e-12 2.30086e-12 1.92148e-12 1.87311e-12 1.53021e-12 1.31186e-12 1.16529e-12 1.05259e-12 9.91223e-13 8.79177e-13 8.30627e-13 7.73819e-13 7.74391e-13 7.83837e-13 7.80882e-13 7.72101e-13 8.06126e-13 8.3022e-13 8.23706e-13 8.60672e-13 9.57462e-13 1.01496e-12 1.05249e-12 1.19101e-12 1.32939e-12 1.41686e-12 1.59669e-12 1.75809e-12 1.98168e-12 2.27424e-12 2.50068e-12 3.0776e-12 4.80179e-12 8.29538e-12 1.50938e-11 2.64686e-11 4.28125e-11 6.41065e-11 9.3098e-11 1.25204e-10 1.56258e-10 1.82494e-10 1.96652e-10 2.20892e-10 2.67149e-10 3.76822e-10 6.08902e-10 1.11444e-09 1.87911e-09 2.87887e-09 3.58187e-09 3.68601e-09 3.60323e-09 3.42703e-09 2.74183e-09 1.85486e-09 1.8426e-09 1.656e-09 1.28985e-09 7.49502e-10 3.63571e-10 1.35624e-10 6.66274e-11 2.26183e-11 8.69758e-12 4.58686e-12 3.65695e-12 3.59665e-12 3.21564e-12 2.79207e-12 2.31001e-12 2.00796e-12 1.626e-12 1.35682e-12 1.11284e-12 9.53205e-13 7.95494e-13 6.71832e-13 5.74366e-13 4.8763e-13 4.19171e-13 3.60135e-13 3.19536e-13 2.81714e-13 2.53987e-13 2.25125e-13 2.00618e-13 1.79032e-13 1.58438e-13 1.39047e-13 1.2106e-13 1.07079e-13 9.39894e-14 8.34505e-14 7.47244e-14 6.75829e-14 6.17376e-14 5.67469e-14 5.31756e-14 4.71039e-14 4.32255e-14 4.22492e-14 3.85443e-14 3.49136e-14 3.28518e-14 3.36685e-14 3.42836e-14 3.27874e-14 3.52388e-14 3.51587e-14 3.54801e-14 3.69421e-14 3.94221e-14 4.31167e-14 4.90558e-14 5.94035e-14 7.79481e-14 9.41772e-14 1.21362e-13 1.59025e-13 2.01532e-13 2.70567e-13 3.52065e-13 4.72577e-13 6.63728e-13 9.03479e-13 1.33972e-12 1.69663e-12 2.43034e-12 4.12014e-12 5.9212e-12 6.84092e-12 7.58888e-12 7.75909e-12 5.3152e-12 3.11861e-12 1.46026e-12 5.01463e-13 2.97123e-13 1.54209e-13 1.40292e-13 3.63195e-14 1.18327e-14 2.16729e-15 3.84271e-16 7.58273e-17 1.24705e-17 1.15211e-18 9.81668e-20 1.14929e-20 9.71599e-22 4.97071e-23 2.84298e-24 1.82865e-25 1.36578e-26 1.69715e-28 3.26053e-105 4.11225e-84 4.76084e-72 1.27167e-63 2.12702e-57 4.0528e-52 1.1048e-47 9.80915e-44 2.83961e-40 2.75763e-37 1.58566e-34 5.30624e-32 1.01754e-29 1.40837e-27 1.0871e-25 5.9644e-24 2.36611e-22 6.12689e-21 1.17512e-19 1.64387e-18 1.85448e-17 1.7446e-16 1.39225e-15 9.87094e-15 4.92787e-14 1.952e-13 8.09153e-13 2.25642e-12 6.04524e-12 1.51823e-11 2.3225e-11 3.4497e-11 5.34731e-11 6.78757e-11 7.25493e-11 5.93412e-11 4.61065e-11 2.89904e-11 1.27865e-11 4.06072e-12 1.19051e-12 4.84863e-13 2.75695e-13 1.50802e-13 5.30422e-14 1.54111e-14 4.71032e-15 1.38966e-15 3.73814e-16 1.79962e-16 2.10627e-16 3.50877e-16 5.93356e-16 9.43007e-16 1.44246e-15 2.06366e-15 2.85067e-15 4.01646e-15 5.56092e-15 8.11772e-15 1.15897e-14 1.5644e-14 1.9422e-14 2.38769e-14 2.81712e-14 3.19265e-14 3.78794e-14 4.58187e-14 5.50665e-14 6.51839e-14 8.03814e-14 9.1407e-14 1.10748e-13 1.36884e-13 1.52931e-13 1.81337e-13 2.26739e-13 2.63517e-13 3.04409e-13 3.58474e-13 4.29555e-13 5.22427e-13 6.49227e-13 7.93004e-13 9.37266e-13 1.21151e-12 1.41483e-12 1.7614e-12 2.24045e-12 3.90018e-12 8.40971e-12 1.71031e-11 3.63321e-11 6.08963e-11 9.29559e-11 1.25419e-10 1.63275e-10 1.8997e-10 2.22532e-10 2.55748e-10 2.91651e-10 3.26822e-10 3.70414e-10 3.93971e-10 4.01375e-10 4.15068e-10 4.09217e-10 3.36559e-10 3.50681e-10 3.49268e-10 3.00708e-10 2.13797e-10 1.46686e-10 7.54673e-11 2.75884e-11 9.31103e-12 4.43302e-12 3.11797e-12 3.02418e-12 2.71207e-12 2.24382e-12 1.87591e-12 1.50007e-12 1.19064e-12 9.86988e-13 7.90608e-13 7.0653e-13 5.90058e-13 5.43812e-13 5.16751e-13 4.21162e-13 3.99925e-13 3.7087e-13 3.42039e-13 3.38052e-13 3.29164e-13 3.08608e-13 3.16274e-13 2.81477e-13 2.99805e-13 2.71855e-13 2.45079e-13 2.35587e-13 1.97577e-13 1.83143e-13 1.78443e-13 1.91807e-13 1.95448e-13 2.04326e-13 2.27786e-13 2.53239e-13 2.70317e-13 3.10538e-13 3.67985e-13 4.26247e-13 5.75366e-13 7.02302e-13 9.2701e-13 1.14424e-12 1.50593e-12 1.9451e-12 3.32021e-12 6.56162e-12 1.43474e-11 2.85815e-11 5.42434e-11 8.54958e-11 1.19635e-10 1.59106e-10 1.92642e-10 2.16063e-10 2.41785e-10 2.65784e-10 3.05924e-10 3.33951e-10 3.43675e-10 3.43035e-10 3.18011e-10 3.015e-10 3.07053e-10 2.94161e-10 2.94114e-10 2.84498e-10 2.64593e-10 2.60267e-10 2.30631e-10 1.80463e-10 1.23017e-10 8.46863e-11 6.13303e-11 4.19408e-11 3.37249e-11 2.14403e-11 1.22862e-11 5.06456e-12 3.12834e-12 3.11774e-12 3.01978e-12 2.65469e-12 2.23275e-12 1.82779e-12 1.3986e-12 1.19638e-12 9.55608e-13 8.99827e-13 7.24945e-13 6.15074e-13 5.39519e-13 4.77758e-13 4.51455e-13 3.9471e-13 3.74503e-13 3.40773e-13 3.43522e-13 3.46315e-13 3.43517e-13 3.37142e-13 3.59103e-13 3.64808e-13 3.59462e-13 3.84194e-13 4.28387e-13 4.52988e-13 4.68153e-13 5.37281e-13 6.16496e-13 6.47635e-13 7.4012e-13 8.17291e-13 9.25343e-13 1.0813e-12 1.24389e-12 1.51888e-12 1.83559e-12 2.14705e-12 3.21294e-12 5.66724e-12 1.09607e-11 2.13467e-11 3.9717e-11 6.56995e-11 9.68469e-11 1.293e-10 1.58046e-10 1.84473e-10 2.06294e-10 2.37879e-10 2.79734e-10 3.56626e-10 4.75109e-10 6.27496e-10 7.42218e-10 7.60141e-10 7.42862e-10 7.18711e-10 6.07542e-10 4.58544e-10 4.62786e-10 4.11103e-10 3.09996e-10 1.9666e-10 1.2172e-10 5.54656e-11 1.86148e-11 7.23488e-12 4.09982e-12 3.26216e-12 3.15692e-12 2.55943e-12 2.1699e-12 1.78117e-12 1.40282e-12 1.16998e-12 9.15291e-13 7.4659e-13 6.01631e-13 5.0924e-13 4.18864e-13 3.49632e-13 2.97606e-13 2.47061e-13 2.09811e-13 1.78228e-13 1.56447e-13 1.36865e-13 1.21868e-13 1.06199e-13 9.42452e-14 8.35075e-14 7.23405e-14 6.30687e-14 5.43998e-14 4.7552e-14 4.16003e-14 3.63312e-14 3.18588e-14 2.87979e-14 2.61168e-14 2.35525e-14 2.19579e-14 1.94343e-14 1.7811e-14 1.81449e-14 1.61379e-14 1.42891e-14 1.30856e-14 1.30648e-14 1.30878e-14 1.22748e-14 1.28799e-14 1.27145e-14 1.26585e-14 1.32395e-14 1.39376e-14 1.4874e-14 1.66181e-14 1.90192e-14 2.45869e-14 3.09565e-14 3.85415e-14 5.3731e-14 7.14827e-14 9.32206e-14 1.23246e-13 1.57367e-13 2.0967e-13 2.76176e-13 3.70648e-13 5.29495e-13 6.0886e-13 4.9856e-13 7.41738e-13 8.70456e-13 9.80091e-13 1.02255e-12 5.98583e-13 3.90043e-13 3.1018e-13 1.56076e-13 1.18743e-13 7.75351e-14 2.01502e-14 5.43906e-15 1.44949e-15 2.42437e-16 4.04572e-17 7.07904e-18 9.90889e-19 8.36126e-20 6.41686e-21 6.38809e-22 4.5953e-23 2.02352e-24 1.00386e-25 5.57905e-27 3.59357e-28 3.8993e-30 1.92247e-108 5.46806e-86 8.9749e-74 2.96335e-65 8.44523e-59 2.03056e-53 7.09183e-49 7.07524e-45 2.42364e-41 2.72431e-38 1.77072e-35 6.52172e-33 1.38203e-30 2.05933e-28 1.74318e-26 1.02318e-24 4.35512e-23 1.23642e-21 2.60904e-20 3.90185e-19 4.67922e-18 4.62407e-17 3.82142e-16 2.79623e-15 1.59883e-14 6.85066e-14 2.85554e-13 8.96296e-13 2.29797e-12 5.7965e-12 1.11068e-11 1.76395e-11 2.51939e-11 2.78363e-11 2.72867e-11 2.14706e-11 1.22339e-11 5.95626e-12 2.00478e-12 8.15511e-13 3.87663e-13 3.63875e-13 1.24036e-13 4.32827e-14 1.38178e-14 3.76247e-15 1.07044e-15 2.95364e-16 8.64576e-17 6.28936e-17 9.70747e-17 1.65028e-16 2.72427e-16 4.21465e-16 6.28689e-16 8.79101e-16 1.19666e-15 1.66082e-15 2.28618e-15 3.32667e-15 4.68587e-15 6.21701e-15 7.60788e-15 9.23811e-15 1.06365e-14 1.16625e-14 1.37583e-14 1.65192e-14 1.99467e-14 2.3787e-14 2.97857e-14 3.39891e-14 4.13323e-14 5.22303e-14 5.86266e-14 7.13415e-14 9.09513e-14 1.07443e-13 1.26513e-13 1.51068e-13 1.83223e-13 2.28836e-13 2.92617e-13 3.67639e-13 4.43807e-13 5.81784e-13 7.22219e-13 9.06523e-13 1.17808e-12 1.49218e-12 1.89889e-12 3.29587e-12 7.52225e-12 1.6104e-11 3.52174e-11 6.16315e-11 1.0123e-10 1.37803e-10 1.80118e-10 2.15565e-10 2.44817e-10 2.66744e-10 2.9107e-10 3.00922e-10 3.04353e-10 3.06219e-10 3.0484e-10 2.91979e-10 2.70811e-10 2.27749e-10 1.72096e-10 1.09433e-10 5.51227e-11 2.1058e-11 8.03779e-12 3.99865e-12 2.63328e-12 2.55599e-12 2.1963e-12 1.75456e-12 1.34848e-12 1.05601e-12 7.91825e-13 5.94202e-13 4.6798e-13 3.60716e-13 3.1055e-13 2.53866e-13 2.30368e-13 2.13716e-13 1.71205e-13 1.58987e-13 1.45398e-13 1.32037e-13 1.28875e-13 1.2282e-13 1.15375e-13 1.18039e-13 1.04348e-13 1.11274e-13 1.02336e-13 9.15831e-14 8.86939e-14 7.30952e-14 6.8164e-14 6.66969e-14 7.19592e-14 7.32632e-14 7.69474e-14 8.61175e-14 9.65946e-14 1.02441e-13 1.24147e-13 1.47207e-13 1.72181e-13 2.41561e-13 2.93564e-13 4.13492e-13 5.05396e-13 7.08082e-13 9.30132e-13 1.25902e-12 1.65397e-12 2.88167e-12 6.35745e-12 1.68516e-11 3.50965e-11 6.01722e-11 9.6077e-11 1.35827e-10 1.67241e-10 2.04692e-10 2.32205e-10 2.64439e-10 2.91905e-10 3.07866e-10 3.10702e-10 3.06685e-10 2.99263e-10 2.98435e-10 2.83684e-10 2.73028e-10 2.48896e-10 2.1613e-10 1.75489e-10 1.27158e-10 8.69428e-11 5.58896e-11 4.22336e-11 3.42882e-11 2.33011e-11 1.63716e-11 7.53753e-12 3.32891e-12 2.89348e-12 2.78795e-12 2.369e-12 1.90909e-12 1.58693e-12 1.24627e-12 9.62927e-13 7.00252e-13 5.78818e-13 4.47481e-13 4.08263e-13 3.23807e-13 2.69446e-13 2.31939e-13 1.98046e-13 1.83908e-13 1.59622e-13 1.48458e-13 1.31987e-13 1.32436e-13 1.32712e-13 1.32968e-13 1.2957e-13 1.38536e-13 1.40739e-13 1.39359e-13 1.50333e-13 1.67912e-13 1.80573e-13 1.85031e-13 2.15801e-13 2.48878e-13 2.63736e-13 3.07554e-13 3.47421e-13 4.01766e-13 4.80426e-13 5.59617e-13 6.83479e-13 8.46814e-13 1.0213e-12 1.31917e-12 1.75231e-12 2.31294e-12 4.15663e-12 9.10282e-12 2.00484e-11 3.91462e-11 6.52321e-11 9.7931e-11 1.35789e-10 1.70102e-10 1.99832e-10 2.1955e-10 2.41022e-10 2.64925e-10 2.76292e-10 2.89093e-10 2.87297e-10 2.88755e-10 2.99889e-10 3.07731e-10 3.042e-10 2.7743e-10 2.26006e-10 1.58187e-10 8.99099e-11 4.21495e-11 1.50051e-11 6.40575e-12 3.46344e-12 2.89892e-12 2.70805e-12 2.20552e-12 1.68499e-12 1.35721e-12 1.06476e-12 8.06899e-13 6.50154e-13 4.93933e-13 3.9574e-13 3.12636e-13 2.59661e-13 2.09371e-13 1.71068e-13 1.43737e-13 1.15972e-13 9.68514e-14 8.09393e-14 7.01459e-14 6.05038e-14 5.3285e-14 4.5622e-14 4.03482e-14 3.54403e-14 3.02127e-14 2.63317e-14 2.24598e-14 1.95056e-14 1.68903e-14 1.46447e-14 1.25941e-14 1.13575e-14 1.0171e-14 9.02007e-15 8.36817e-15 7.46442e-15 6.96362e-15 7.6106e-15 6.65149e-15 5.70166e-15 5.07146e-15 4.84493e-15 4.60155e-15 4.20142e-15 4.21245e-15 4.08687e-15 3.97789e-15 4.09655e-15 4.30338e-15 4.47988e-15 4.90328e-15 5.22688e-15 6.39033e-15 8.03379e-15 9.25906e-15 1.26643e-14 1.69325e-14 2.03346e-14 2.63641e-14 3.5299e-14 4.71033e-14 6.89686e-14 9.45762e-14 1.44883e-13 1.79814e-13 2.334e-13 2.5912e-13 2.11721e-13 2.29906e-13 2.42609e-13 1.8649e-13 1.42968e-13 2.209e-13 7.65706e-14 3.66167e-14 1.19964e-14 2.90992e-15 7.87462e-16 1.76066e-16 2.69552e-17 4.21909e-18 6.53156e-19 7.81151e-20 6.02591e-21 4.1584e-22 3.5293e-23 2.16439e-24 8.22594e-26 3.54179e-27 1.70317e-28 9.47839e-30 9.00052e-32 8.61844e-111 2.62019e-88 5.09961e-76 3.85264e-67 2.42146e-60 8.51579e-55 4.02306e-50 4.45253e-46 1.86477e-42 2.49077e-39 1.89139e-36 7.92423e-34 1.9024e-31 3.15092e-29 2.99252e-27 1.88467e-25 8.33935e-24 2.47892e-22 5.52477e-21 8.63481e-20 1.09235e-18 1.1456e-17 9.53321e-17 7.04884e-16 4.04904e-15 1.76508e-14 7.92949e-14 2.73769e-13 7.06577e-13 1.70366e-12 3.50306e-12 5.01331e-12 6.72138e-12 6.3922e-12 5.57107e-12 3.79499e-12 1.88307e-12 1.08192e-12 5.36277e-13 3.30576e-13 2.68514e-13 1.12513e-13 3.61871e-14 1.19753e-14 3.5277e-15 8.93336e-16 2.36349e-16 6.28458e-17 2.33473e-17 2.55334e-17 4.39653e-17 7.31678e-17 1.1661e-16 1.75106e-16 2.53569e-16 3.44872e-16 4.58574e-16 6.20081e-16 8.38818e-16 1.19776e-15 1.63674e-15 2.11288e-15 2.51993e-15 2.99946e-15 3.33956e-15 3.51118e-15 4.15646e-15 4.88388e-15 5.95685e-15 7.17548e-15 9.10035e-15 1.03409e-14 1.27237e-14 1.65117e-14 1.82961e-14 2.30704e-14 3.0056e-14 3.63437e-14 4.3584e-14 5.29499e-14 6.48327e-14 8.36371e-14 1.10381e-13 1.43337e-13 1.76153e-13 2.3795e-13 3.03215e-13 4.10401e-13 5.52021e-13 6.93556e-13 9.77987e-13 1.27912e-12 1.69967e-12 3.1465e-12 7.48247e-12 1.58555e-11 3.59123e-11 5.97706e-11 9.31984e-11 1.23705e-10 1.51803e-10 1.7169e-10 1.91687e-10 2.01125e-10 2.00342e-10 1.91423e-10 1.78297e-10 1.5869e-10 1.34285e-10 1.02058e-10 6.60105e-11 3.49027e-11 1.50301e-11 6.53403e-12 3.17224e-12 2.30834e-12 2.35177e-12 1.85608e-12 1.39121e-12 1.03902e-12 7.45779e-13 5.48763e-13 3.88095e-13 2.76505e-13 2.0703e-13 1.52915e-13 1.26342e-13 1.00271e-13 8.79985e-14 7.94645e-14 6.13943e-14 5.50439e-14 4.90355e-14 4.37115e-14 4.12512e-14 3.7768e-14 3.61037e-14 3.66791e-14 3.16041e-14 3.40831e-14 3.12971e-14 2.84634e-14 2.74849e-14 2.23737e-14 2.09141e-14 2.05051e-14 2.18238e-14 2.26142e-14 2.36216e-14 2.67227e-14 2.93299e-14 3.22577e-14 4.09858e-14 4.83302e-14 5.74247e-14 8.17751e-14 1.03119e-13 1.48443e-13 1.96399e-13 2.79438e-13 3.77835e-13 5.51546e-13 7.28876e-13 1.02887e-12 1.49761e-12 3.15154e-12 8.16055e-12 1.95991e-11 4.213e-11 7.27563e-11 9.99109e-11 1.35838e-10 1.60608e-10 1.99834e-10 2.17095e-10 2.30805e-10 2.33663e-10 2.32932e-10 2.21867e-10 2.08968e-10 1.8465e-10 1.58649e-10 1.26772e-10 9.87482e-11 7.70205e-11 5.4098e-11 3.81632e-11 2.63048e-11 2.32998e-11 1.85237e-11 1.01684e-11 5.41594e-12 2.74388e-12 2.73458e-12 2.31399e-12 1.83505e-12 1.46462e-12 1.09731e-12 8.64423e-13 6.41049e-13 4.6844e-13 3.26722e-13 2.6059e-13 1.94495e-13 1.71274e-13 1.31716e-13 1.05385e-13 8.79934e-14 7.12409e-14 6.36212e-14 5.44025e-14 4.87185e-14 4.25362e-14 4.17367e-14 4.17218e-14 4.2905e-14 4.05336e-14 4.3494e-14 4.44211e-14 4.48019e-14 4.78163e-14 5.36838e-14 6.00335e-14 6.04029e-14 7.16754e-14 8.37495e-14 8.78978e-14 1.04768e-13 1.24578e-13 1.48137e-13 1.75982e-13 2.065e-13 2.69551e-13 3.31424e-13 4.23979e-13 5.47961e-13 7.4539e-13 1.01549e-12 1.23686e-12 1.72149e-12 3.58592e-12 8.28209e-12 1.81811e-11 3.6358e-11 6.69745e-11 1.04877e-10 1.46074e-10 1.78536e-10 2.08305e-10 2.24656e-10 2.45019e-10 2.53987e-10 2.52958e-10 2.44412e-10 2.3444e-10 2.21144e-10 1.90196e-10 1.51553e-10 1.01862e-10 5.84756e-11 2.83406e-11 1.14239e-11 4.75748e-12 3.03307e-12 2.69567e-12 2.43218e-12 1.85567e-12 1.43737e-12 1.03812e-12 8.0141e-13 6.04402e-13 4.42241e-13 3.44563e-13 2.53171e-13 1.98655e-13 1.52435e-13 1.22926e-13 9.62127e-14 7.60439e-14 6.23886e-14 4.86407e-14 3.96657e-14 3.23735e-14 2.74806e-14 2.32346e-14 2.02374e-14 1.7023e-14 1.50132e-14 1.30792e-14 1.10687e-14 9.63924e-15 8.15968e-15 7.07936e-15 6.07111e-15 5.27859e-15 4.49258e-15 4.0284e-15 3.56365e-15 3.13315e-15 2.90904e-15 2.64284e-15 2.51229e-15 2.96052e-15 2.6077e-15 2.22487e-15 1.98388e-15 1.87331e-15 1.71839e-15 1.5771e-15 1.56969e-15 1.51825e-15 1.4682e-15 1.49755e-15 1.59006e-15 1.67962e-15 1.85905e-15 2.05833e-15 2.47995e-15 2.9998e-15 3.54279e-15 4.7116e-15 5.97445e-15 7.00204e-15 9.18149e-15 1.16162e-14 1.59255e-14 2.27531e-14 3.17529e-14 4.66906e-14 5.84729e-14 7.71906e-14 1.02486e-13 1.17503e-13 1.35844e-13 1.49463e-13 9.81979e-14 6.43071e-14 4.21042e-14 1.46442e-14 6.40204e-15 1.84303e-15 4.22226e-16 1.10643e-16 2.12258e-17 2.97873e-18 4.35572e-19 5.96027e-20 6.11428e-21 4.31184e-22 2.6712e-23 1.93799e-24 1.01504e-25 3.33687e-27 1.24777e-28 5.19905e-30 2.50443e-31 2.08522e-33 5.3621e-118 8.71685e-91 2.24045e-78 3.75212e-69 3.28632e-62 2.22423e-56 1.73856e-51 2.12669e-47 1.12838e-43 1.84022e-40 1.67337e-37 8.19352e-35 2.27173e-32 4.24765e-30 4.66637e-28 3.38818e-26 1.67511e-24 5.51379e-23 1.37135e-21 2.23406e-20 2.96474e-19 3.15211e-18 2.62024e-17 1.91251e-16 1.09685e-15 4.61009e-15 1.87873e-14 6.58303e-14 1.71612e-13 3.71616e-13 3.65312e-13 4.77197e-13 7.6047e-13 8.88413e-13 9.03295e-13 7.90341e-13 5.18419e-13 3.87866e-13 4.1921e-13 2.03428e-13 8.83658e-14 3.40843e-14 1.03585e-14 3.2149e-15 8.78239e-16 2.06061e-16 5.09123e-17 1.38859e-17 7.57778e-18 1.07895e-17 1.89041e-17 3.02867e-17 4.62679e-17 6.70845e-17 9.35862e-17 1.22736e-16 1.57464e-16 2.04438e-16 2.66258e-16 3.64878e-16 4.71719e-16 5.80738e-16 6.65893e-16 7.6693e-16 8.15046e-16 8.12009e-16 9.65184e-16 1.09597e-15 1.37073e-15 1.64412e-15 2.13145e-15 2.38322e-15 3.00258e-15 3.97023e-15 4.33137e-15 5.69828e-15 7.59518e-15 9.50898e-15 1.15664e-14 1.44014e-14 1.76985e-14 2.37341e-14 3.24507e-14 4.38134e-14 5.45183e-14 7.64106e-14 1.00693e-13 1.43271e-13 2.02238e-13 2.77429e-13 4.06213e-13 5.50455e-13 8.44335e-13 1.07242e-12 1.64063e-12 3.36098e-12 8.70984e-12 1.81607e-11 3.62561e-11 5.48883e-11 7.50437e-11 9.04128e-11 1.06339e-10 1.15366e-10 1.14927e-10 1.07727e-10 9.58464e-11 7.85926e-11 5.84668e-11 3.56127e-11 1.97615e-11 9.35147e-12 4.39945e-12 2.60111e-12 2.14186e-12 2.06828e-12 1.59815e-12 1.17592e-12 8.16755e-13 5.70734e-13 3.83848e-13 2.65939e-13 1.77552e-13 1.19944e-13 8.49426e-14 5.94277e-14 4.66675e-14 3.53449e-14 2.93211e-14 2.54808e-14 1.86165e-14 1.57881e-14 1.34373e-14 1.15432e-14 1.04482e-14 8.96342e-15 8.57319e-15 8.56265e-15 7.24308e-15 7.91162e-15 7.22305e-15 6.68576e-15 6.36432e-15 5.16074e-15 4.82617e-15 4.73216e-15 4.87692e-15 5.26049e-15 5.36239e-15 6.23914e-15 6.6196e-15 7.79678e-15 1.01778e-14 1.18435e-14 1.42877e-14 2.11893e-14 2.73846e-14 3.98014e-14 5.83351e-14 8.42317e-14 1.21862e-13 1.78646e-13 2.65189e-13 3.82455e-13 5.77459e-13 8.57224e-13 1.38274e-12 3.4248e-12 1.03143e-11 2.58438e-11 4.6062e-11 7.52849e-11 9.49633e-11 1.35815e-10 1.45213e-10 1.53037e-10 1.52592e-10 1.48592e-10 1.37545e-10 1.25367e-10 1.03313e-10 8.36207e-11 6.22639e-11 4.70434e-11 3.74056e-11 2.57925e-11 1.93218e-11 1.35269e-11 1.13796e-11 7.22211e-12 3.23519e-12 2.5465e-12 2.52962e-12 1.9955e-12 1.49207e-12 1.10754e-12 8.30277e-13 5.81562e-13 4.36011e-13 3.06589e-13 2.11597e-13 1.41194e-13 1.07622e-13 7.64535e-14 6.44028e-14 4.70242e-14 3.53415e-14 2.81661e-14 2.09929e-14 1.76066e-14 1.45372e-14 1.22921e-14 1.03364e-14 9.87875e-15 9.98272e-15 1.04529e-14 9.47782e-15 1.02184e-14 1.06562e-14 1.0763e-14 1.13602e-14 1.30471e-14 1.5101e-14 1.47131e-14 1.77344e-14 2.13603e-14 2.23918e-14 2.73994e-14 3.34907e-14 4.10714e-14 5.03122e-14 5.92007e-14 7.98525e-14 9.87543e-14 1.38318e-13 1.81376e-13 2.54691e-13 3.59809e-13 4.7728e-13 6.70022e-13 1.03396e-12 1.39253e-12 2.93668e-12 6.41807e-12 1.56658e-11 3.50054e-11 6.56836e-11 9.51222e-11 1.26864e-10 1.46555e-10 1.71121e-10 1.81726e-10 1.82394e-10 1.70869e-10 1.53205e-10 1.32026e-10 9.85273e-11 6.14256e-11 3.44189e-11 1.68319e-11 7.71115e-12 3.82774e-12 2.49645e-12 2.3707e-12 2.16657e-12 1.67541e-12 1.19368e-12 8.81417e-13 6.04449e-13 4.49597e-13 3.26154e-13 2.29884e-13 1.72344e-13 1.21362e-13 9.24321e-14 6.8011e-14 5.25679e-14 3.93898e-14 2.96809e-14 2.34224e-14 1.74484e-14 1.37029e-14 1.07701e-14 8.85451e-15 7.25592e-15 6.20317e-15 5.10985e-15 4.48814e-15 3.88956e-15 3.28646e-15 2.86472e-15 2.42425e-15 2.10603e-15 1.80335e-15 1.57749e-15 1.34182e-15 1.20701e-15 1.06279e-15 9.33064e-16 8.71348e-16 8.03926e-16 7.7582e-16 9.63422e-16 8.64515e-16 7.50871e-16 6.86766e-16 6.64216e-16 6.22337e-16 5.87735e-16 5.93067e-16 5.86746e-16 5.72193e-16 5.92715e-16 6.2373e-16 6.65585e-16 7.37005e-16 8.31461e-16 1.00493e-15 1.2207e-15 1.46223e-15 1.93674e-15 2.4365e-15 2.84387e-15 3.75833e-15 4.58731e-15 6.28838e-15 8.65836e-15 1.21009e-14 1.699e-14 2.05731e-14 2.66657e-14 3.53007e-14 3.58232e-14 3.76391e-14 3.59136e-14 2.18494e-14 1.45691e-14 7.92915e-15 2.78564e-15 1.09868e-15 2.81857e-16 6.14209e-17 1.51587e-17 2.54146e-18 3.27177e-19 4.45021e-20 5.38216e-21 4.75402e-22 3.06245e-23 1.70043e-24 1.05747e-25 4.73843e-27 1.34964e-28 4.38636e-30 1.5858e-31 6.62414e-33 4.84444e-35 6.88083e-126 7.75129e-96 2.22346e-81 5.23683e-72 1.50046e-64 1.60487e-58 1.84796e-53 3.49555e-49 2.79815e-45 6.68104e-42 8.29158e-39 5.15283e-36 1.79952e-33 4.00864e-31 5.24392e-29 4.66886e-27 2.71681e-25 1.02972e-23 3.039e-22 5.36741e-21 7.67372e-20 8.84138e-19 7.70968e-18 5.90995e-17 3.59855e-16 1.54264e-15 6.3498e-15 2.21906e-14 5.63616e-14 1.38322e-13 2.46813e-13 3.56044e-13 3.73662e-13 3.22544e-13 3.46492e-13 3.75212e-13 4.04207e-13 2.72557e-13 1.46281e-13 6.87654e-14 2.80583e-14 1.00908e-14 2.89393e-15 8.38911e-16 2.12728e-16 4.6238e-17 1.08226e-17 3.36968e-18 2.78472e-18 4.44308e-18 7.60345e-18 1.16299e-17 1.6918e-17 2.34948e-17 3.12517e-17 3.90341e-17 4.751e-17 5.80424e-17 7.0772e-17 9.00843e-17 1.05995e-16 1.1975e-16 1.27708e-16 1.38213e-16 1.36726e-16 1.2664e-16 1.51343e-16 1.65946e-16 2.14579e-16 2.51057e-16 3.3488e-16 3.62608e-16 4.7202e-16 6.38699e-16 6.88037e-16 9.35055e-16 1.27839e-15 1.67584e-15 2.04735e-15 2.65359e-15 3.22413e-15 4.51599e-15 6.41122e-15 9.04171e-15 1.11958e-14 1.63131e-14 2.26403e-14 3.40491e-14 5.02785e-14 7.70895e-14 1.19905e-13 1.66273e-13 2.68857e-13 3.90678e-13 6.42188e-13 8.67284e-13 1.41887e-12 3.1462e-12 7.74026e-12 1.49834e-11 2.44227e-11 3.16587e-11 4.07948e-11 4.69382e-11 4.66206e-11 4.37021e-11 3.72358e-11 2.71505e-11 1.71017e-11 8.10779e-12 4.63204e-12 2.94382e-12 2.24969e-12 2.01295e-12 1.83659e-12 1.40741e-12 1.01301e-12 6.94283e-13 4.48074e-13 2.93435e-13 1.85177e-13 1.20645e-13 7.57479e-14 4.82122e-14 3.1999e-14 2.08782e-14 1.53799e-14 1.08685e-14 8.3168e-15 6.79961e-15 4.57763e-15 3.57806e-15 2.82364e-15 2.23643e-15 1.92303e-15 1.47368e-15 1.33937e-15 1.28761e-15 1.05012e-15 1.21949e-15 1.06053e-15 1.04359e-15 9.66012e-16 7.74942e-16 7.22144e-16 7.07301e-16 7.11206e-16 7.9856e-16 7.68884e-16 9.42876e-16 9.62699e-16 1.22132e-15 1.63754e-15 1.87796e-15 2.27659e-15 3.67663e-15 4.71531e-15 6.71314e-15 1.10813e-14 1.63662e-14 2.4888e-14 3.71972e-14 5.89162e-14 9.79911e-14 1.4796e-13 2.43497e-13 4.30198e-13 6.26999e-13 1.21356e-12 3.60812e-12 9.45134e-12 2.44038e-11 4.06699e-11 7.31222e-11 8.34996e-11 9.04276e-11 8.86678e-11 8.41591e-11 7.56119e-11 6.79973e-11 5.19694e-11 4.09113e-11 2.71568e-11 2.25246e-11 1.96688e-11 1.2977e-11 9.25589e-12 5.45886e-12 3.93857e-12 2.61514e-12 2.59014e-12 2.23749e-12 1.72317e-12 1.27936e-12 8.90611e-13 6.19701e-13 4.37416e-13 2.87024e-13 2.04907e-13 1.36464e-13 8.83916e-14 5.58456e-14 4.00737e-14 2.65592e-14 2.11089e-14 1.42927e-14 9.80897e-15 7.27605e-15 4.78803e-15 3.61215e-15 2.74307e-15 2.1216e-15 1.62913e-15 1.52219e-15 1.5817e-15 1.65408e-15 1.4294e-15 1.55369e-15 1.69053e-15 1.64208e-15 1.73672e-15 2.09417e-15 2.45969e-15 2.2992e-15 2.82141e-15 3.60702e-15 3.62506e-15 4.55397e-15 5.73654e-15 7.28316e-15 9.2405e-15 1.06243e-14 1.48445e-14 1.98545e-14 2.90685e-14 3.73811e-14 5.51456e-14 8.24755e-14 1.2446e-13 1.72481e-13 2.8212e-13 4.59852e-13 6.39577e-13 9.18089e-13 2.05676e-12 5.35316e-12 1.4204e-11 2.89809e-11 4.99522e-11 6.66708e-11 8.62692e-11 9.53762e-11 9.7062e-11 8.797e-11 7.51303e-11 5.93841e-11 3.84602e-11 1.79622e-11 7.91028e-12 4.52781e-12 2.90221e-12 2.26596e-12 2.35868e-12 1.91078e-12 1.47702e-12 1.08351e-12 7.26175e-13 5.12026e-13 3.3419e-13 2.39499e-13 1.6646e-13 1.12256e-13 8.02733e-14 5.35528e-14 3.90704e-14 2.71513e-14 1.97959e-14 1.3942e-14 9.82204e-15 7.28895e-15 5.07173e-15 3.73774e-15 2.75243e-15 2.13647e-15 1.65781e-15 1.36019e-15 1.08343e-15 9.42336e-16 8.16132e-16 6.89281e-16 6.03156e-16 5.11363e-16 4.46538e-16 3.83844e-16 3.38586e-16 2.89738e-16 2.6375e-16 2.33569e-16 2.06965e-16 1.95224e-16 1.80986e-16 1.75306e-16 2.22333e-16 2.03215e-16 1.80095e-16 1.69248e-16 1.6854e-16 1.62433e-16 1.58583e-16 1.65269e-16 1.69609e-16 1.70994e-16 1.83701e-16 1.99201e-16 2.20584e-16 2.50893e-16 2.92739e-16 3.64072e-16 4.57763e-16 5.61844e-16 7.63479e-16 9.87843e-16 1.16323e-15 1.52443e-15 1.84262e-15 2.45237e-15 3.29115e-15 4.49886e-15 6.17587e-15 7.2914e-15 9.1087e-15 1.15985e-14 1.09089e-14 1.02367e-14 8.44355e-15 5.01257e-15 3.20645e-15 1.49539e-15 5.24407e-16 1.85572e-16 4.30009e-17 8.93055e-18 2.03436e-18 3.02353e-19 3.5723e-20 4.49937e-21 4.81177e-22 3.67328e-23 2.15872e-24 1.07249e-25 5.73124e-27 2.20045e-28 5.43675e-30 1.53723e-31 4.82914e-33 1.75249e-34 1.12757e-36 3.60092e-137 1.06442e-103 1.21367e-87 2.61683e-77 5.40332e-69 4.08381e-62 1.71628e-56 1.13195e-51 2.22034e-47 1.08917e-43 2.17327e-40 1.88239e-37 8.72866e-35 2.36111e-32 3.62635e-30 4.04364e-28 2.75784e-26 1.20612e-24 4.34123e-23 8.62336e-22 1.3713e-20 1.81285e-19 1.77026e-18 1.54349e-17 1.07716e-16 5.12855e-16 2.34344e-15 8.75955e-15 2.25493e-14 5.86608e-14 1.06097e-13 1.47732e-13 1.8219e-13 2.2093e-13 2.42036e-13 2.34012e-13 1.54967e-13 1.00757e-13 5.09093e-14 2.263e-14 8.67165e-15 2.91759e-15 7.87334e-16 2.12722e-16 5.00573e-17 1.01087e-17 2.31459e-18 9.35793e-19 1.06269e-18 1.73322e-18 2.84282e-18 4.12545e-18 5.67358e-18 7.46869e-18 9.35274e-18 1.0948e-17 1.23719e-17 1.38459e-17 1.52439e-17 1.71772e-17 1.72778e-17 1.66068e-17 1.49813e-17 1.38566e-17 1.18321e-17 9.82637e-18 1.17881e-17 1.25678e-17 1.69612e-17 1.91206e-17 2.57552e-17 2.72784e-17 3.59659e-17 5.01349e-17 5.40657e-17 7.63892e-17 1.07644e-16 1.4471e-16 1.74433e-16 2.45732e-16 2.85926e-16 4.19606e-16 6.19281e-16 9.18181e-16 1.08547e-15 1.63938e-15 2.57515e-15 4.13096e-15 6.37099e-15 1.03756e-14 1.70129e-14 2.28404e-14 3.88957e-14 6.90281e-14 1.18078e-13 1.67594e-13 2.89355e-13 3.85249e-13 5.73216e-13 1.46198e-12 3.64586e-12 6.56641e-12 9.17739e-12 1.06198e-11 1.07434e-11 9.45008e-12 7.6695e-12 5.83938e-12 4.2437e-12 3.23889e-12 2.56643e-12 2.21579e-12 2.11552e-12 1.63111e-12 1.2415e-12 8.94149e-13 6.01603e-13 3.84407e-13 2.30948e-13 1.41823e-13 8.38893e-14 5.11869e-14 3.00066e-14 1.78262e-14 1.09671e-14 6.562e-15 4.47088e-15 2.87523e-15 1.97894e-15 1.47882e-15 8.86855e-16 6.1954e-16 4.32916e-16 2.90987e-16 2.23886e-16 1.35963e-16 1.05774e-16 9.05693e-17 6.69595e-17 8.84891e-17 6.98326e-17 7.81529e-17 6.89403e-17 5.38992e-17 4.98922e-17 4.88408e-17 4.99673e-17 5.6589e-17 5.16449e-17 6.48398e-17 6.49136e-17 8.74159e-17 1.21144e-16 1.41279e-16 1.65957e-16 2.80612e-16 3.76688e-16 4.82923e-16 8.66732e-16 1.46269e-15 1.91199e-15 3.38172e-15 5.73112e-15 1.02914e-14 1.33307e-14 2.56574e-14 4.68218e-14 6.59957e-14 1.44546e-13 2.16376e-13 3.92267e-13 1.00836e-12 5.02146e-12 1.37474e-11 2.2325e-11 3.01153e-11 3.07656e-11 2.89655e-11 2.50867e-11 2.23667e-11 1.52437e-11 1.2037e-11 9.7398e-12 8.31149e-12 6.89706e-12 4.61586e-12 3.54286e-12 2.9948e-12 2.59424e-12 2.43381e-12 1.94512e-12 1.52486e-12 1.09549e-12 7.6522e-13 4.95895e-13 3.23893e-13 2.15444e-13 1.32361e-13 8.97042e-14 5.62891e-14 3.38938e-14 1.99904e-14 1.32793e-14 8.03888e-15 5.92339e-15 3.624e-15 2.20014e-15 1.46179e-15 7.95059e-16 5.03139e-16 3.13042e-16 2.03541e-16 1.20762e-16 1.12457e-16 1.16557e-16 1.21586e-16 1.01374e-16 1.11976e-16 1.23818e-16 1.09323e-16 1.24177e-16 1.52899e-16 1.82766e-16 1.66122e-16 2.08806e-16 2.74713e-16 2.67803e-16 3.45644e-16 4.47049e-16 5.89972e-16 7.83123e-16 8.17393e-16 1.18417e-15 1.81453e-15 2.77181e-15 3.10795e-15 4.76302e-15 7.49488e-15 1.18635e-14 1.94759e-14 3.30923e-14 5.59704e-14 9.29084e-14 1.23608e-13 2.26773e-13 3.21731e-13 5.69297e-13 1.56005e-12 4.64767e-12 1.08105e-11 1.85487e-11 2.31239e-11 2.3901e-11 2.04545e-11 1.66103e-11 1.18333e-11 6.96182e-12 4.39792e-12 3.28382e-12 2.5858e-12 2.22559e-12 2.10768e-12 1.6758e-12 1.3045e-12 9.5258e-13 6.62514e-13 4.19081e-13 2.82379e-13 1.75225e-13 1.20522e-13 7.9688e-14 5.09432e-14 3.43864e-14 2.14581e-14 1.47657e-14 9.52921e-15 6.43012e-15 4.15928e-15 2.66849e-15 1.80053e-15 1.12481e-15 7.41497e-16 4.82436e-16 3.30363e-16 2.25805e-16 1.65719e-16 1.20837e-16 1.01338e-16 8.77271e-17 7.41368e-17 6.5147e-17 5.54167e-17 4.86813e-17 4.20828e-17 3.74751e-17 3.23324e-17 2.98156e-17 2.67192e-17 2.39874e-17 2.29995e-17 2.15829e-17 2.10559e-17 2.68801e-17 2.51425e-17 2.27959e-17 2.20558e-17 2.26863e-17 2.25944e-17 2.29089e-17 2.48221e-17 2.66308e-17 2.80934e-17 3.1666e-17 3.62141e-17 4.25714e-17 5.11731e-17 6.36357e-17 8.42097e-17 1.13647e-16 1.49595e-16 2.1935e-16 3.09331e-16 3.91814e-16 5.37595e-16 6.8032e-16 9.06013e-16 1.22141e-15 1.62658e-15 2.18504e-15 2.55123e-15 3.05542e-15 3.70861e-15 3.25857e-15 2.74299e-15 1.99536e-15 1.16292e-15 6.84809e-16 2.84019e-16 9.7476e-17 3.09444e-17 6.55505e-18 1.29419e-18 2.68511e-19 3.57621e-20 3.87865e-21 4.50306e-22 4.26187e-23 2.82205e-24 1.51074e-25 6.70457e-27 3.08541e-28 1.01636e-29 2.18007e-31 5.36769e-33 1.46723e-34 4.63397e-36 2.62727e-38 ) ; boundaryField { inlet { type zeroGradient; } bottom { type zeroGradient; } outlet { type zeroGradient; } atmosphere { type inletOutlet; inletValue uniform 0; value nonuniform List<scalar> 357 ( 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 2.25493e-14 5.86608e-14 1.06097e-13 1.47732e-13 1.8219e-13 2.2093e-13 2.42036e-13 2.34012e-13 1.54967e-13 1.00757e-13 5.09093e-14 2.263e-14 8.67165e-15 2.91759e-15 7.87334e-16 2.12722e-16 5.00573e-17 1.01087e-17 2.31459e-18 9.35793e-19 1.06269e-18 1.73322e-18 2.84282e-18 4.12545e-18 5.67358e-18 7.46869e-18 9.35274e-18 1.0948e-17 1.23719e-17 1.38459e-17 1.52439e-17 1.71772e-17 1.72778e-17 1.66068e-17 1.49813e-17 1.38566e-17 1.18321e-17 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 1.06198e-11 1.07434e-11 9.45008e-12 7.6695e-12 5.83938e-12 4.2437e-12 3.23889e-12 2.56643e-12 2.21579e-12 2.11552e-12 1.63111e-12 1.2415e-12 8.94149e-13 6.01603e-13 3.84407e-13 2.30948e-13 1.41823e-13 8.38893e-14 5.11869e-14 3.00066e-14 1.78262e-14 1.09671e-14 6.562e-15 4.47088e-15 2.87523e-15 1.97894e-15 1.47882e-15 8.86855e-16 6.1954e-16 4.32916e-16 2.90987e-16 2.23886e-16 1.35963e-16 1.05774e-16 9.05693e-17 6.69595e-17 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 2.89655e-11 2.50867e-11 2.23667e-11 1.52437e-11 1.2037e-11 9.7398e-12 8.31149e-12 6.89706e-12 4.61586e-12 3.54286e-12 2.9948e-12 2.59424e-12 2.43381e-12 1.94512e-12 1.52486e-12 1.09549e-12 7.6522e-13 4.95895e-13 3.23893e-13 2.15444e-13 1.32361e-13 8.97042e-14 5.62891e-14 3.38938e-14 1.99904e-14 1.32793e-14 8.03888e-15 5.92339e-15 3.624e-15 2.20014e-15 1.46179e-15 7.95059e-16 5.03139e-16 3.13042e-16 2.03541e-16 1.20762e-16 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 2.3901e-11 2.04545e-11 1.66103e-11 1.18333e-11 6.96182e-12 4.39792e-12 3.28382e-12 2.5858e-12 2.22559e-12 2.10768e-12 1.6758e-12 1.3045e-12 9.5258e-13 6.62514e-13 4.19081e-13 2.82379e-13 1.75225e-13 1.20522e-13 7.9688e-14 5.09432e-14 3.43864e-14 2.14581e-14 1.47657e-14 9.52921e-15 6.43012e-15 4.15928e-15 2.66849e-15 1.80053e-15 1.12481e-15 7.41497e-16 4.82436e-16 3.30363e-16 2.25805e-16 1.65719e-16 1.20837e-16 1.01338e-16 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 1.62658e-15 2.18504e-15 2.55123e-15 3.05542e-15 3.70861e-15 3.25857e-15 2.74299e-15 1.99536e-15 1.16292e-15 6.84809e-16 2.84019e-16 9.7476e-17 3.09444e-17 6.55505e-18 1.29419e-18 2.68511e-19 3.57621e-20 3.87865e-21 4.50306e-22 4.26187e-23 2.82205e-24 1.51074e-25 6.70457e-27 3.08541e-28 1.01636e-29 2.18007e-31 5.36769e-33 1.46723e-34 4.63397e-36 2.62727e-38 ) ; } frontBack { type empty; } } // ************************************************************************* //
dba15b6657127f0f7b3388b0fd46670642bd3cc8
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658282861527040_0/C++/gconeice/B.cpp
09509dce9ad1141db6c7911305d0da0dd6e5ef0f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
407
cpp
B.cpp
#include <cstdio> #include <cstdlib> #include <algorithm> using namespace std; int T; int a,b,k; int main() { freopen("B.in","r",stdin); freopen("B.out","w",stdout); scanf("%d",&T); for (int ii=1;ii<=T;ii++) { scanf("%d%d%d",&a,&b,&k); int ans=0; for (int i=0;i<a;i++) for (int j=0;j<b;j++) if ((i&j)<k) ans++; printf("Case #%d: %d\n",ii,ans); } return 0; }
3441e0e625a1861b26b999c14e0b72d34ebe0468
1e58f86db88d590ce63110c885c52305d67f8136
/DataModel/modelmultipanelmodel.cpp
2b44b35e2231241aa8d6efa703aa0da6eb71b336
[]
no_license
urielyan/F270
32a9b87780b6b0bbbd8e072ca4305cd38dc975c1
c3d1eceead895ded12166eeb6748df111f46ef2d
refs/heads/master
2021-01-10T02:06:40.335370
2016-03-02T03:23:02
2016-03-02T03:23:02
52,927,128
1
1
null
null
null
null
UTF-8
C++
false
false
4,442
cpp
modelmultipanelmodel.cpp
#include "modelmultipanelmodel.h" #include "GlobalData/cfgGlobalDef.h" #include <QDebug> ModelMultiPanelModel::ModelMultiPanelModel(QObject *parent) : QObject(parent),Settings("DH","F270", this) { //Settings.beginGroup("MultiPanel"); } /** * 功能: * 获取多画面布局风格 * 参数: * 1、int fmIndex 当前帧编号 * 返回值: * quint32:布局风格 */ quint32 ModelMultiPanelModel::getLayoutStyle(quint32 fmIndex) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); quint32 ret = Settings.value("LayoutStyle", Win_Unequal_Five_Panel).toUInt(); Settings.endArray(); return ret; } /** * 功能: * 设置多画面布局风格 * 参数: * 1、int fmIndex 当前帧编号 * 2、quint32 styleId 布局风格 */ void ModelMultiPanelModel::setLayoutStyle(quint32 fmIndex, quint32 styleId) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.setValue("LayoutStyle", styleId); Settings.endArray(); } /** * 功能: * 获取多画面布局名称 * 参数: * 1、int fmIndex 当前帧编号 * 返回值: * QString:布局名称 */ QString ModelMultiPanelModel::getLayoutName(quint32 fmIndex) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); QString ret = Settings.value("LayoutName", tr("Multi %1").arg(fmIndex)).toString(); Settings.endArray(); return ret; } /** * 功能: * 设置多画面布局名称 * 参数: * 1、int fmIndex 当前帧编号 * 2、QString fmName 布局名称 */ void ModelMultiPanelModel::setLayoutName(quint32 fmIndex, QString fmName) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.setValue("LayoutName", fmName); Settings.endArray(); } /** * 功能: * 获取子画面类型 * 参数: * 1、quint32 fmIndex 当前帧编号 * 2、int paIndex 当前子画面编号 * 返回值: * quint32:当前画面类型 */ quint32 ModelMultiPanelModel::getPanelType(quint32 fmIndex, int paIndex) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.beginReadArray("SubPanle"); Settings.setArrayIndex(paIndex); quint32 ret = Settings.value("PanelID", paIndex).toUInt(); Settings.endArray(); Settings.endArray(); return ret; } /** * 功能: * 设置子画面类型 * 参数: * 1、quint32 fmIndex 当前帧编号 * 2、int paIndex 当前子画面编号 * 3、quint32 PanelId 当前画面类型 */ void ModelMultiPanelModel::setPanelType(quint32 fmIndex, int paIndex, quint32 PanelId) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.beginReadArray("SubPanel"); Settings.setArrayIndex(paIndex); Settings.setValue("PanelID", PanelId); Settings.endArray(); Settings.endArray(); } /** * 功能: * 获取子画面参数 * 参数: * 1、quint32 fmIndex 当前帧编号 * 2、int paIndex 当前子画面编号 * 返回值: * QVariant:当前画面参数值 */ QVariant ModelMultiPanelModel::getPanelParam(quint32 fmIndex, int paIndex) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.beginReadArray("SubPanel"); Settings.setArrayIndex(paIndex); quint32 grpIndex = Settings.value("PanleParam", 0).toUInt(); if(!CfgChannel::instance()->getEffectiveGroup().contains(grpIndex)){ grpIndex = CfgChannel::instance()->getEffectiveGroup().value(0,0); } Settings.endArray(); Settings.endArray(); return grpIndex; } /** * 功能: * 设置子画面参数 * 参数: * 1、quint32 fmIndex 当前帧编号 * 2、int paIndex 当前子画面编号 * 3、QVariant value:当前画面参数值 */ void ModelMultiPanelModel::setPanelParam(quint32 fmIndex, int paIndex, QVariant value) { Settings.beginReadArray("MultiPanel"); Settings.setArrayIndex(fmIndex); Settings.beginReadArray("SubPanel"); Settings.setArrayIndex(paIndex); Settings.value("PanleParam", value); Settings.endArray(); Settings.endArray(); }
1588a276183224bdc7d103cf14bc4d5b8b70994c
8a456651e907c8aa4f6dc4b8138bed09decd25e6
/swc/CHeaderCtrl.h
4e59746aba0136a5c0841211a8fe2052aac00780
[]
no_license
weimingtom/swc
777475cedc68d813e7b21cb0e7ad21d8a51a4d3e
7605ed9ca825d2a64d4b41c4dbe8aba23a2d4b10
refs/heads/master
2021-01-10T01:36:44.053090
2017-02-28T19:00:41
2017-02-28T19:00:41
49,672,960
0
0
null
null
null
null
UTF-8
C++
false
false
3,145
h
CHeaderCtrl.h
#pragma once #include "stdafx.h" #include "ComControlEX.h" #include "CImageCtrl.h" class CHeaderCtrl : public ComControlEX { public: CHeaderCtrl(HWND hWnd=NULL){m_hWnd=hWnd;} BOOL Create(HWND hWndParent,DWORD dwStyle=0, UINT uID=0) { BOOL bRes = CreateEx(0L, WC_HEADER, NULL, dwStyle,CRect(0L, 0L, 0L, 0),hWndParent, uID, NULL); SubclassWnd(GetSafeHwnd()); return bRes; } public: int GetItemCount() { ASSERT(::IsWindow(m_hWnd)); return (int)Header_GetItemCount(m_hWnd); } BOOL GetItem(int nIndex, LPHDITEMA phdi) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_GetItem(m_hWnd, nIndex, phdi) ; } BOOL SetItem(int nIndex, LPHDITEMA phdi) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_SetItem(m_hWnd,nIndex, phdi); } void GetItemText(int nIndex,LPSTR lpBuffer,int nSize) { HDITEM hdi; hdi.mask = HDI_TEXT; hdi.pszText = lpBuffer; hdi.cchTextMax = nSize; GetItem(nIndex, &hdi); } void GetItemFull(int nIndex,HDITEM* hdi,LPSTR lpBuffer,int nSize) { hdi->mask = HDI_TEXT|HDI_WIDTH|HDI_HEIGHT|HDI_FORMAT|HDI_LPARAM|HDI_BITMAP|HDI_IMAGE|HDI_ORDER; hdi->pszText = lpBuffer; hdi->cchTextMax = nSize; GetItem(nIndex, hdi); } CImageCtrl GetImageList() { ASSERT(::IsWindow(m_hWnd)); return CImageCtrl((HIMAGELIST)Header_GetImageList(m_hWnd)); } CImageCtrl SetImageList(HIMAGELIST himl) { ASSERT(::IsWindow(m_hWnd)); return CImageCtrl((HIMAGELIST)Header_SetImageList(m_hWnd, himl)); } BOOL GetOrderArray(int iCount, int* lpi) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_GetOrderArray(m_hWnd, iCount, lpi) ; } BOOL SetOrderArray(int iCount, int* lpi) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_SetOrderArray(m_hWnd, iCount, lpi); } BOOL GetItemRect(int iItem, LPRECT lprc) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_GetItemRect(m_hWnd, iItem, lprc) ; } int SetHotDivider(BOOL fPos, DWORD dwInputVal) { ASSERT(::IsWindow(m_hWnd)); return (int)Header_SetHotDivider(m_hWnd, fPos, dwInputVal); } #if (_WIN32_IE >= 0x0400) BOOL GetUnicodeFormat() { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_GetUnicodeFormat(m_hWnd) ; } BOOL SetUnicodeFormat(BOOL fUnicode ) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_SetUnicodeFormat(m_hWnd, fUnicode); } #endif //(_WIN32_IE >= 0x0400) int InsertItem(int nItem, LPHDITEMA phdi) { ASSERT(::IsWindow(m_hWnd)); return (int)Header_InsertItem(m_hWnd,nItem, phdi) ; } BOOL DeleteItem(int nIndex) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_DeleteItem(m_hWnd,nIndex); } BOOL Layout(HD_LAYOUT* playout) { ASSERT(::IsWindow(m_hWnd)); return (BOOL)Header_Layout(m_hWnd, playout) ; } int HitTest(LPHDHITTESTINFO lpHitTest) { ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, HDM_HITTEST, 0, (LPARAM)lpHitTest); } int OrderToIndex(int nOrder) { ASSERT(::IsWindow(m_hWnd)); return (int)Header_OrderToIndex(m_hWnd, nOrder); } CImageCtrl CreateDragImage(int nIndex) { ASSERT(::IsWindow(m_hWnd)); return CImageCtrl((HIMAGELIST)Header_CreateDragImage(m_hWnd, nIndex) ); } };
ec8759a41ca1d8c47f77eff5a5932e870200b688
d3afed913f92ca939057be02e09fbc63433c6762
/Robots/BabyAlarm/BabyAlarm.ino
3c8340c90b151df16f3ea3deae044ef9721372a1
[]
no_license
mnemonia/robotix
5981ee62c3e727a3ece0aaa00fca91ad3dbbb495
8d9d745872f3509baf9e764d1e8be1b5e63732a4
refs/heads/master
2021-01-23T16:36:31.182773
2017-08-07T19:29:37
2017-08-07T19:29:37
3,083,936
0
0
null
null
null
null
UTF-8
C++
false
false
1,800
ino
BabyAlarm.ino
extern "C"{ #include "sTheUnit.h" } unsigned long time; long sA; long signalA; long averageReadingA; const int numberOfSamples =128; const int middleValue = 340; const int MAX_NOISE = 2000; const int WAIT_TIME_IN_MILLIES = 15 * 1000; // 15 sec int lastTimeSnapshotInMillies = 0; int currentTimeInMillies; void setup(){ Serial.begin(9600); pinMode(11,INPUT); pinMode(12,OUTPUT); pinMode(13,OUTPUT); /********************************************************************* * Execution of CIP Connector Activities *********************************************************************/ /* Initializing CIP Machine */ if (fINIT_()) { /* activation of drive loop */ } else { /* initialization failed, abort drive */ } } void loop(){ if(currentNoise() > maxAllowedNoise()){ Serial.println("Loud"); IN_.Surveillance(C1_Loud); } else{ Serial.println("Silent"); IN_.Surveillance(C1_Silent); } if(isRecordButtonPressed()){ IN_.Record(C3_Recording); }else{ IN_.Record(C3_Done); } delay(2000); } long currentNoise(){ long noise = map(senseSound(),24000,50000,0,100); Serial.print("Noise: "); Serial.println(noise); return noise; } long senseSound(){ return average(A0); } long maxAllowedNoise(){ long treshold = map(senseThreshold(),0,1023,0,100); Serial.print("Treshold: "); Serial.println(treshold); return treshold; } long senseThreshold(){ return analogRead(A1); } long average(int pin){ long sumOfSquaresA = 0; for(int i=0; i<numberOfSamples; i++){ sA = analogRead(pin); signalA = (sA - middleValue); signalA *= signalA; sumOfSquaresA += signalA; } return sumOfSquaresA / numberOfSamples; } boolean isRecordButtonPressed(){ return digitalRead(11) > 0; }
0342b87491d5ac1b3c33642c1db6af533c63cbd4
45b64e8644ad7b12ab8ba79e2cf4679c23b43e18
/common/Secp256k1/Random.cpp
1c15d203e65baccc5fbfed38d89590ed9833b656
[ "MIT" ]
permissive
ZmnSCPxj/cldcb
87cc4e7f9d6325fb9d9843331ab8208ab2d32c3b
4375d95cacee2a51fe5c4c1accc9fc616474bd41
refs/heads/master
2021-04-20T19:25:23.581684
2020-08-24T11:49:39
2020-08-24T11:49:39
249,712,650
13
2
null
null
null
null
UTF-8
C++
false
false
479
cpp
Random.cpp
#include<sodium/randombytes.h> #include"Secp256k1/Random.hpp" #include"Util/make_unique.hpp" namespace Secp256k1 { class Random::Impl { private: unsigned int num; std::uint8_t buffer[64]; public: Impl() : num(64) { } std::uint8_t get() { if (num >= 64) { randombytes_buf(buffer, 64); num = 0; } return buffer[num++]; } }; Random::Random() : pimpl(Util::make_unique<Impl>()) { } Random::~Random() { } std::uint8_t Random::get() { return pimpl->get(); } }
dab1ff16e5b9b1805ec3ab884592f6284ea206fc
3c1982046d22f882fce3ed7c5d6402c9565846cd
/main.cpp
dc73e0584518899e7ba440a277b41c7c3c7b4c94
[]
no_license
rsapien/CS415Proj2
a1c1b842db0882001b72743e66c91a03dfa2c0f7
5bc648a4d5649e168efd12fb769cb9fa5885b6df
refs/heads/master
2021-04-03T21:53:06.817147
2020-03-30T02:48:26
2020-03-30T02:48:26
248,399,725
0
0
null
null
null
null
UTF-8
C++
false
false
666
cpp
main.cpp
// // Created by Robert Sapien on 3/18/20. // #include "ADJList.hpp" #include <string> #include <iostream> using namespace std; int main() { // Getting data file string fName; cout << "Enter a file to read in the data: "; cin >> fName; cout << endl; ifstream inFile; inFile.open(fName); if(!inFile.is_open()){ cout << "Unable to open " << fName << ".\nExiting..." << endl; exit(1); } inFile.close(); ADJList adjList(fName); adjList.getData(); adjList.createAdj(); adjList.printAdj(); std::ofstream outFile; // look at ADJList.hpp or README.txt for what needs to get done return 0; }
3fe82a140b920950c65f145961eabed8d8e0e3f1
74548248cdf4aa7ab9213b9b801ee2dde669a9ad
/part-4/final vs/r.cpp
cd8f377e7932aac43b409739622f25b454c02a39
[]
no_license
f2rkan/intro-to-Programming-w-c-plus-plus
e92e9da15d70b10030ba1ff73c2884df8b25e8d6
263637d797e385290daf2f6806a82149f5e87c1e
refs/heads/main
2023-06-14T16:57:10.772542
2021-07-03T11:11:56
2021-07-03T11:11:56
382,592,830
1
0
null
null
null
null
UTF-8
C++
false
false
330
cpp
r.cpp
#include<iostream> using namespace std; int Fonk(int * a, int b) { int toplam; *a = *a * *a; b = b * b; toplam = *a + b; return toplam; } int main(void) { int x = 30; int y = 20; int *p = &x; *p = Fonk(p, y); cout << x << " " << y << " " << *p; return 0; }
749fa5c791384c0207b2c8cba01573f38ce65609
c1bac0a5ce2b53c5058a70438d7d1d54af965c45
/TP3_HALBG_GOMESF/src/Darray.cpp
f9fadb7c701bd215def8bdcd87d78e6db5eb6588
[]
no_license
GuillaumeHalb/CPP
4b1dabbce60df73b675a88d9f204c01d0c2e7204
308c9b18ccd8ab0941d56f8c7671593730de746e
refs/heads/master
2021-01-10T17:40:22.027371
2016-03-28T21:09:50
2016-03-28T21:09:50
51,507,739
0
0
null
null
null
null
UTF-8
C++
false
false
4,873
cpp
Darray.cpp
/*! * \file Darray.cpp * \brief vecteur de dimension n ainsi que ses n coordoonnées * \author Halb Guillaume, Gomes Filipe */ #include <iostream> #include "Darray.h" #include <cstdlib> // bibliothèque pour rand() #include <fstream> #include <string> #include <stdexcept> #include <memory.h> using namespace std; using std::ifstream; Darray::Darray () { dim = 0; coord = new double[dim]; for (int i = 0; i < dim; i++) { coord[i] = 0.0; } // cout << "Utilisation du constructeur par défaut" << std::endl; } Darray::Darray (int d, double val) { dim = d; coord = new double[dim]; for (int i = 0; i < dim; i++) { coord[i] = val; } // cout << "Utilisation du constructeur avec arguments" << std::endl; } /* Destructeur */ Darray::~Darray() { delete [] coord; // cout << "Utilisation du destructeur" << std::endl; } // Affiche le Dvector void Darray::display (std::ostream &str) { for (int i = 0; i < dim; i++) { str<<coord[i]<<std::endl; } } int Darray::size() const { return dim; } Darray::Darray(const Darray & D) { dim = D.dim; coord = new double[dim]; for (int i=0; i<dim; i++) coord[i]=D.coord[i]; // cout << "Utilisation du constructeur par copie" << std::endl; } Darray::Darray(std::string s) { dim = 0; ifstream fichier(s.c_str(), std::ios::in); if (fichier) { string line1, line2; while (getline(fichier, line1)) dim++; // retour au début du fichier fichier.clear(); fichier.seekg(0, ios::beg); coord = new double[dim]; for (int i=0; i<dim; i++) fichier >> coord[i]; fichier.close(); } else { coord = NULL; } // cout<<"Utilisation du constructeur par lecture de fichier"<<endl; } double& Darray::operator() (int i) const { if (i >= dim || i < 0) { cout<<"argument invalide"<<endl; exit(-1); } else return coord[i]; } double& Darray::operator() (int i) { if (i >= dim || i < 0) { cout<<"argument invalide"<<endl; exit(-1); } else { return coord[i]; } } Darray operator+ (const double d, const Darray &D) { Darray A(D); for (int i = 0; i < D.size(); i++) A(i) = D(i) + d; return A; } Darray operator+ (const Darray &D, const double d) { return d + D; } Darray operator- (const Darray &D, const double d) { return D + (-d); } Darray operator* (const double d, const Darray &D) { Darray A(D.size()); for (int i = 0; i < D.size(); i++) { A(i) = D(i) * d; } return A; } Darray operator* (const Darray &D, const double d) { return d*D; } Darray operator/ (const Darray &D, const double d) { if (d == 0) { throw invalid_argument("Division par 0"); } else { return (1/d)*D; } } Darray operator+ (const Darray &B, const Darray &D) { Darray A(B.size()); for (int i = 0; i < B.size(); i++) { A(i) = B(i) + D(i); } return A; } Darray operator- (const Darray &B, const Darray &D) { return B + (-D); } Darray operator- (const Darray &D) { Darray A(D.size()); for (int i = 0; i < D.size(); i++) { A(i) = -D(i); } return A; } Darray& Darray::operator += (const double d) { Darray& D = *this; for (int i = 0; i < D.size(); i++) { D.coord[i] += d; } return D; } Darray& Darray::operator -= (const double d) { Darray& D = *this; return D += (-d); } Darray& Darray::operator *= (const double d) { Darray& D = *this; for (int i = 0; i < D.size(); i++) { D.coord[i] *= d; } return D; } Darray& Darray::operator /= (const double d) { if (d == 0.0) { throw invalid_argument("Division par 0"); } else { Darray& D = *this; return D *= (1/d); } } Darray& Darray::operator += (const Darray A) { if (A.size() != this->dim) { throw invalid_argument("taille incompatible"); } else { Darray& D = *this; for (int i = 0; i < dim; i++) { D.coord[i] += A(i); } return D; } } Darray& Darray::operator -= (const Darray A) { Darray& D = *this; return D += (-A); } Darray& Darray::operator=(const Darray &D) { // Changement de dim possible de this => on fait un resize if (&D != this) { if (D.size() != size()) resize(D.size(), 0); // initialisation inutile car on modifie après memcpy(coord, D.coord, dim * sizeof(double)); } return *this; } void Darray::resize(const int d, const double v) { if (d < dim) dim = d; if (d > dim) { // On fait une allocation double *c = new double[d]; // On initialise les coordonnees for (int i = 0; i < d; i++) { if (i < dim) c[i] = coord[i]; else c[i] = v; } // On libère l'ancien delete [] coord; // Et on fait pointer le nouveau sur l'ancien coord = c; dim = d; } }
4c9288bdc02b168c2787d79fbfb5eea81e713f4e
062f9aab20421f4b0ad21daaaf653e753fe4643e
/src/Factory/src/Designer/Designer.hpp
a1ee37722f656139af6eaafae8bda9de215d8f36
[]
no_license
UsingCoding/ood
5b12be32af55f3b58c8ed0b02b3914db9d7cf6ef
c1703bf7e97f82413975a9ae5ea36ed17e272a89
refs/heads/master
2023-02-19T12:40:28.171444
2021-01-20T08:17:22
2021-01-20T08:17:22
293,778,942
0
0
null
null
null
null
UTF-8
C++
false
false
352
hpp
Designer.hpp
#pragma once #include "IDesigner.hpp" #include "../Factory/IShapeFactory.hpp" class Designer : public IDesigner { public: Designer(IShapeFactory &factory) : m_factory(factory) {} std::unique_ptr<PictureDraft> CreateDraft(std::istream &input) override; private: IShapeFactory & m_factory; static const std::string STOP_KEY_WORD; };
08aeefbecdaae198fc057da27209d8f8431638b9
d537cd2fa2e5f77a645f881e01108ea1c9d89e19
/GroundEnemy.cpp
822c72c86dad747554c5b303c21146abecbe1202
[]
no_license
MarcBerneman/Tower-Defense
10b73a93d22464ee451e97264933078e97f2bdd1
a8725117a533ecf6ea3c9496e1c4c73323120707
refs/heads/master
2020-03-17T23:41:17.121568
2018-06-01T01:19:58
2018-06-01T01:19:58
134,055,606
0
0
null
null
null
null
UTF-8
C++
false
false
322
cpp
GroundEnemy.cpp
#include "GroundEnemy.h" const QString image(":images/ground_enemy.png"); const double enemy_speed = 1.2; const int health = 500; const int cash_val = 100; GroundEnemy::GroundEnemy(QList<Enemy*> * group, QVector<QPointF> path) : Enemy(image,path,enemy_speed,health) { setCash_value(cash_val); setGroup(group); }
088d64f6ecb35ee111a9274af143490f906baeab
66baf81540b7d013d564fdf8959b63198cd6e902
/src/Win32Utils.cpp
315782a48d8415b04588715349831ce00382dabd
[ "MIT" ]
permissive
acglobalmarketing/ShellAnything
3a469af6052e33b375294ae0937ccc3c4ec3f8af
366ab31679b1e12fcf37c0766411a717b10be707
refs/heads/master
2023-02-07T11:23:01.773189
2021-01-04T13:15:29
2021-01-04T13:15:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
19,365
cpp
Win32Utils.cpp
//#define WIN32_LEAN_AND_MEAN 1 #include "Win32Utils.h" #undef GetEnvironmentVariable #undef DeleteFile #undef CreateDirectory #undef CopyFile #undef CreateFile #include "rapidassist/unicode.h" #include <string> #include <assert.h> namespace Win32Utils { static const size_t BITS_PER_PIXEL = 32; static const size_t BYTES_PER_PIXEL = BITS_PER_PIXEL/8; SIZE GetIconSize(HICON hIcon) { SIZE size = {0}; ICONINFO IconInfo = {0}; if(!GetIconInfo(hIcon, &IconInfo)) return size; //failed getting the icon's size BITMAP bmpMask={0}; GetObject(IconInfo.hbmMask, sizeof(BITMAP), &bmpMask); BITMAP bmpColor={0}; GetObject(IconInfo.hbmColor, sizeof(BITMAP), &bmpColor); size.cx = bmpMask.bmWidth; size.cy = bmpMask.bmHeight; //cleanup DeleteObject(IconInfo.hbmColor); DeleteObject(IconInfo.hbmMask); return size; } HICON GetBestIconForMenu(HICON hIconLarge, HICON hIconSmall) { SIZE large_size = GetIconSize(hIconLarge); SIZE small_size = GetIconSize(hIconSmall); SIZE menu_size; menu_size.cx = GetSystemMetrics(SM_CXSMICON); menu_size.cy = GetSystemMetrics(SM_CYSMICON); //compute total number of pixels for each icons const long menu_pixels = menu_size.cx * menu_size.cy; const long large_pixels = large_size.cx * large_size.cy; const long small_pixels = small_size.cx * small_size.cy; //compute distance to menu_pixels const long large_diff = abs(large_pixels - menu_pixels); const long small_diff = abs(small_pixels - menu_pixels); if (small_diff <= large_diff) return hIconSmall; return hIconLarge; } RGBQUAD ToRgbQuad(const DWORD & color) { RGBQUAD output = {0}; output.rgbRed = (BYTE)((color&0x000000FF) ); output.rgbGreen = (BYTE)((color&0x0000FF00)>> 8); output.rgbBlue = (BYTE)((color&0x00FF0000)>>16); output.rgbReserved = 255; return output; } template <typename T> inline static T InterpolateColor( const T& a, const T& b, const double factor /* from 0.0 to 1.0 */) { if (factor <= 0.0) return a; else if (factor >= 1.0) return b; else return ( a + (T)((b-a)*factor) ); } SIZE GetBitmapSize(HBITMAP hBitmap) { SIZE size = {0}; BITMAP b = {0}; GetObject(hBitmap, sizeof(BITMAP), &b); size.cx = b.bmWidth; size.cy = b.bmHeight; return size; } BOOL FillTransparentPixels(HBITMAP hBitmap, COLORREF background_color) { //FillTransparentPixels() blends every pixels of the given bitmap with the given background_color. //The result is a fully opaque bitmap which makes it usable in most win32 API. //It also allows the bitmap to be properly saved to *.bmp file format. //Note: The alpha channel is still available but all values are 0xFF (fully opaque). const RGBQUAD BACKGROUND_COLOR = ToRgbQuad(background_color); SIZE bitmap_size = GetBitmapSize(hBitmap); const LONG num_pixels = bitmap_size.cx * bitmap_size.cy; const LONG image_size = num_pixels * BYTES_PER_PIXEL; //Create a buffer to hold the pixels for updating the bitmap's content std::string pixel_buffer; pixel_buffer.assign((size_t)image_size, 0); if (pixel_buffer.size() != image_size) return FALSE; //Make a temporary copy of the bitmap pixel buffer LONG size_read = GetBitmapBits(hBitmap, (LONG)pixel_buffer.size(), (void*)pixel_buffer.data()); if (size_read != image_size) return FALSE; //For each pixels with transparency... static const BYTE full_opacity = 0xFF; for(LONG i=0; i<num_pixels; i++) { RGBQUAD * first_pixel = (RGBQUAD *)pixel_buffer.data(); RGBQUAD & pixel = first_pixel[i]; if (pixel.rgbReserved != full_opacity) { //blend pixel with the given background color double alpha_factor = (double)pixel.rgbReserved / 255.0; pixel.rgbRed = InterpolateColor<BYTE>(BACKGROUND_COLOR.rgbRed, pixel.rgbRed, alpha_factor); pixel.rgbGreen = InterpolateColor<BYTE>(BACKGROUND_COLOR.rgbGreen, pixel.rgbGreen, alpha_factor); pixel.rgbBlue = InterpolateColor<BYTE>(BACKGROUND_COLOR.rgbBlue, pixel.rgbBlue, alpha_factor); pixel.rgbReserved = full_opacity; } } //Assign our temporary pixel buffer as the new bitmap pixel buffer LONG size_write = SetBitmapBits(hBitmap, (DWORD)pixel_buffer.size(), (void*)pixel_buffer.data()); if (size_write != image_size) return FALSE; return TRUE; } #if 0 void DumpString(const std::string file_path, const std::string & buffer) { FILE * f = fopen(file_path.c_str(), "wb"); if (!f) return; fwrite(buffer.data(), 1, buffer.size(), f); fclose(f); } #endif HBITMAP CreateBitmapWithAlphaChannel(int width, int height, HDC hDc) { BITMAPINFO bmi; bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); bmi.bmiHeader.biWidth = width; bmi.bmiHeader.biHeight = height; bmi.bmiHeader.biPlanes = 1; bmi.bmiHeader.biBitCount = 32; bmi.bmiHeader.biCompression = BI_RGB; bmi.bmiHeader.biSizeImage = width * height * 4; VOID* pvBits; return CreateDIBSection(hDc, &bmi, DIB_RGB_COLORS, &pvBits, NULL, 0x0);; } HBITMAP CopyAsBitmap(HICON hIcon, const int bitmap_width, const int bitmap_height) { //According to https://devblogs.microsoft.com/oldnewthing/20101021-00/?p=12483, using DrawIconEx() //with diFlags=DI_NORMAL is supposed to blend the icon color and transparency with the content of the destination. //This function uses a fully transparent bitmap as destination image. //The result is a HBITMAP with an 8-bit alpha channel that matches the icon's 8-bit alpha channel. //Note: Using the bitmap in other API which does not support transparency may result in alpha related artifacts. //Note: Saving the bitmap to a *.bmp file does not support transparency, may also result in alpha related artifacts. Usually, the transparent pixels are displayed as WHITE opaque pixels. //See FillTransparentPixels() for converting the bitmap to a fully opaque image. // const size_t num_pixels = bitmap_width * bitmap_height; const size_t image_size = num_pixels * BYTES_PER_PIXEL; //Create a buffer to reset everything std::string blank_pixels; blank_pixels.assign((size_t)image_size, 0); if (blank_pixels.size() != image_size) return NULL; //Create a buffer to hold the color pixels for debugging the bitmap's content std::string color_pixels; color_pixels.assign((size_t)image_size, 0); if (color_pixels.size() != image_size) return NULL; //Create a buffer to hold the mask pixels for debugging the bitmap's content std::string mask_pixels; mask_pixels.assign((size_t)image_size, 0); if (mask_pixels.size() != image_size) return NULL; HWND hWndDesktop = GetDesktopWindow(); HDC hDcDesktop = GetDC(hWndDesktop); HDC hDcMem = CreateCompatibleDC(hDcDesktop); // Create a 32bbp bitmap and select it. HBITMAP hBitmap = CreateBitmapWithAlphaChannel(bitmap_width, bitmap_height, hDcMem); HBITMAP hbmOld = (HBITMAP)SelectObject(hDcMem, hBitmap); #if 0 // Make sure the destination bitmap is fully transparent by default LONG numPixelsRead = GetBitmapBits(hBitmap, (LONG)color_pixels.size(), (void*)color_pixels.data()); assert(numPixelsRead == image_size); DumpString("c:\\temp\\destination_bitmap.data", color_pixels); #endif //Extract the mask first in case something goes wrong with DI_NORMAL DrawIconEx(hDcMem, 0, 0, hIcon, bitmap_width, bitmap_height, 0, NULL, DI_MASK); LONG numPixelsRead = GetBitmapBits(hBitmap, (LONG)mask_pixels.size(), (void*)mask_pixels.data()); //Reset the hDcMem to no-color, no-alpha LONG numPixelsWrite = SetBitmapBits(hBitmap, (LONG)blank_pixels.size(), (void*)blank_pixels.data()); //Draw the icon, blending with the fully transparent destination image. //The result is a HBITMAP with an 8-bit alpha channel that matches the icon's 8-bit alpha channel. DrawIconEx(hDcMem, 0, 0, hIcon, bitmap_width, bitmap_height, 0, NULL, DI_NORMAL); //Verify if the DrawIconEx() failed to copy alpha channel properly numPixelsRead = GetBitmapBits(hBitmap, (LONG)color_pixels.size(), (void*)color_pixels.data()); bool isFullyTransparent = (IsFullyTransparent(color_pixels) == TRUE); if (isFullyTransparent) { //yeah, something went wrong with DI_NORMAL. //Try to fix the alpha channel as best as we can. static const RGBQUAD WHITE_PIXEL = {255,255,255,255}; RGBQUAD * colorPixel = (RGBQUAD *)color_pixels.data(); RGBQUAD * maskPixel = (RGBQUAD *)mask_pixels.data(); for(size_t i=0; i<num_pixels; i++) { colorPixel->rgbReserved = 255; //make pixel fully opaque by default //each white pixels in the mask bits needs to be be fully transparent if (maskPixel->rgbRed == WHITE_PIXEL.rgbRed && maskPixel->rgbGreen == WHITE_PIXEL.rgbGreen && maskPixel->rgbBlue == WHITE_PIXEL.rgbBlue ) { colorPixel->rgbReserved = 0; //in case HMENU starts supporting transparency } colorPixel++; maskPixel++; } SetBitmapBits(hBitmap, (DWORD)color_pixels.size(), (void*)color_pixels.data()); } #if 0 //Output the bitmap pixels to a file in the "DATA image format" for debugging. numPixelsRead = GetBitmapBits(hBitmap, (LONG)color_pixels.size(), (void*)color_pixels.data()); assert(numPixelsRead == image_size); //for GIMP, if all pixels are invisible, the color information is lost //if fully transparent, make it opaque bool isFullyTransparent = IsFullyTransparent(hBitmap); if (isFullyTransparent) { for(size_t i=0; i<num_pixels && isFullyTransparent == true; i++) { RGBQUAD * first_pixels = (RGBQUAD*)color_pixels.data(); RGBQUAD & pixel = first_pixels[i]; pixel.rgbReserved = 0xFF; } } DumpString("c:\\temp\\blended_bitmap.data", color_pixels); #endif // Clean up. SelectObject(hDcMem, hbmOld); DeleteDC(hDcMem); ReleaseDC(hWndDesktop, hDcDesktop); return hBitmap; } HBITMAP CopyAsBitmap(HICON hIcon) { //Get properties related to Windows Menu SIZE menu_icon_size = GetIconSize(hIcon); const int menu_icon_width = menu_icon_size.cx; const int menu_icon_height = menu_icon_size.cy; return CopyAsBitmap(hIcon, menu_icon_width, menu_icon_height); } PBITMAPINFO CreateBitmapInfoStruct(HBITMAP hBmp) { BITMAP bmp = {0}; PBITMAPINFO pbmi; WORD cClrBits; // Retrieve the bitmap color format, width, and height. assert(GetObject(hBmp, sizeof(BITMAP), (LPSTR)&bmp)); // Convert the color format to a count of bits. cClrBits = (WORD)(bmp.bmPlanes * bmp.bmBitsPixel); if (cClrBits == 1) cClrBits = 1; else if (cClrBits <= 4) cClrBits = 4; else if (cClrBits <= 8) cClrBits = 8; else if (cClrBits <= 16) cClrBits = 16; else if (cClrBits <= 24) cClrBits = 24; else cClrBits = 32; // Allocate memory for the BITMAPINFO structure. (This structure // contains a BITMAPINFOHEADER structure and an array of RGBQUAD // data structures.) #pragma warning( push ) #pragma warning( disable: 4334 ) //warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) if (cClrBits < 24) pbmi = (PBITMAPINFO) LocalAlloc(LPTR, sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * (1<< cClrBits)); // There is no RGBQUAD array for these formats: 24-bit-per-pixel or 32-bit-per-pixel else pbmi = (PBITMAPINFO) LocalAlloc(LPTR, sizeof(BITMAPINFOHEADER)); #pragma warning( pop ) // Initialize the fields in the BITMAPINFO structure. pbmi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); pbmi->bmiHeader.biWidth = bmp.bmWidth; pbmi->bmiHeader.biHeight = bmp.bmHeight; pbmi->bmiHeader.biPlanes = bmp.bmPlanes; pbmi->bmiHeader.biBitCount = bmp.bmBitsPixel; if (cClrBits < 24) pbmi->bmiHeader.biClrUsed = (1<<cClrBits); // If the bitmap is not compressed, set the BI_RGB flag. pbmi->bmiHeader.biCompression = BI_RGB; // Compute the number of bytes in the array of color // indices and store the result in biSizeImage. // The width must be DWORD aligned unless the bitmap is RLE // compressed. pbmi->bmiHeader.biSizeImage = ((pbmi->bmiHeader.biWidth * cClrBits +31) & ~31) /8 * pbmi->bmiHeader.biHeight; // Set biClrImportant to 0, indicating that all of the // device colors are important. pbmi->bmiHeader.biClrImportant = 0; return pbmi; } //https://stackoverflow.com/questions/24720451/save-hbitmap-to-bmp-file-using-only-win32 bool CreateBmpFile(const char * pszFile, HBITMAP hBMP) { HANDLE hf; // file handle BITMAPFILEHEADER hdr; // bitmap file-header PBITMAPINFOHEADER pbih; // bitmap info-header LPBYTE lpBits; // memory pointer DWORD dwTotal; // total count of bytes DWORD cb; // incremental count of bytes BYTE *hp; // byte pointer DWORD dwTmp; PBITMAPINFO pbi; HDC hDC; hDC = CreateCompatibleDC(GetWindowDC(GetDesktopWindow())); SelectObject(hDC, hBMP); pbi = CreateBitmapInfoStruct(hBMP); pbih = (PBITMAPINFOHEADER) pbi; lpBits = (LPBYTE) GlobalAlloc(GMEM_FIXED, pbih->biSizeImage); if (!lpBits) return false; // Retrieve the color table (RGBQUAD array) and the bits // (array of palette indices) from the DIB. GetDIBits(hDC, hBMP, 0, (WORD) pbih->biHeight, lpBits, pbi, DIB_RGB_COLORS); // Create the .BMP file. hf = ::CreateFileA(pszFile, GENERIC_READ | GENERIC_WRITE, (DWORD) 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, (HANDLE) NULL); if (hf == INVALID_HANDLE_VALUE) { GlobalFree((HGLOBAL)lpBits); return false; } hdr.bfType = 0x4d42; // 0x42 = "B" 0x4d = "M" // Compute the size of the entire file. hdr.bfSize = (DWORD) (sizeof(BITMAPFILEHEADER) + pbih->biSize + pbih->biClrUsed * sizeof(RGBQUAD) + pbih->biSizeImage); hdr.bfReserved1 = 0; hdr.bfReserved2 = 0; // Compute the offset to the array of color indices. hdr.bfOffBits = (DWORD) sizeof(BITMAPFILEHEADER) + pbih->biSize + pbih->biClrUsed * sizeof (RGBQUAD); // Copy the BITMAPFILEHEADER into the .BMP file. WriteFile(hf, (LPVOID) &hdr, sizeof(BITMAPFILEHEADER), (LPDWORD) &dwTmp, NULL); // Copy the BITMAPINFOHEADER and RGBQUAD array into the file. WriteFile(hf, (LPVOID) pbih, sizeof(BITMAPINFOHEADER) + pbih->biClrUsed * sizeof (RGBQUAD), (LPDWORD) &dwTmp, (NULL)); // Copy the array of color indices into the .BMP file. dwTotal = cb = pbih->biSizeImage; hp = lpBits; WriteFile(hf, (LPSTR) hp, (int) cb, (LPDWORD) &dwTmp,NULL); // Close the .BMP file. CloseHandle(hf); // Free memory. GlobalFree((HGLOBAL)lpBits); return true; } BOOL IsFullyTransparent(HBITMAP hBitmap) { SIZE bitmap_size = GetBitmapSize(hBitmap); LONG num_pixels = bitmap_size.cx * bitmap_size.cy; LONG image_size = num_pixels * BYTES_PER_PIXEL; //Create a buffer to hold the color pixels for debugging the bitmap's content std::string color_pixels; color_pixels.assign((size_t)image_size, 0); if (color_pixels.size() != image_size) return FALSE; UINT numPixelsRead = GetBitmapBits(hBitmap, (LONG)color_pixels.size(), (void*)color_pixels.data()); BOOL transparent = IsFullyTransparent(color_pixels); return transparent; } BOOL IsFullyTransparent(const std::string & buffer) { size_t image_size = buffer.size(); size_t num_pixels = image_size / BYTES_PER_PIXEL; BOOL isFullyTransparent = TRUE; for(size_t i=0; i<num_pixels && isFullyTransparent == TRUE; i++) { RGBQUAD * first_pixels = (RGBQUAD*)buffer.data(); RGBQUAD & pixel = first_pixels[i]; if (pixel.rgbReserved > 0) isFullyTransparent = FALSE; } return isFullyTransparent; } std::string GetMenuItemDetails(HMENU hMenu, UINT pos) { MENUITEMINFOW info = {0}; info.cbSize = sizeof(MENUITEMINFOW); info.fMask = MIIM_FTYPE | MIIM_STATE | MIIM_ID | MIIM_STRING | MIIM_SUBMENU; BOOL wInfoSuccess = GetMenuItemInfoW(hMenu, pos, TRUE, &info); if (!wInfoSuccess) return ""; const UINT & id = info.wID; //GetMenuItemID(hMenu, pos); bool IsSeparator = ((info.fType & MFT_SEPARATOR) != 0); bool isDisabled = ((info.fState & MFS_DISABLED) != 0); bool isChecked = ((info.fState & MFS_CHECKED) != 0); //compute display name static const int BUFFER_SIZE = 1024; char title_utf8[BUFFER_SIZE] = {0}; char tmp[BUFFER_SIZE] = {0}; wchar_t tmpW[BUFFER_SIZE] = {0}; if (IsSeparator) { strcpy(title_utf8, "------------------------"); } //try with ansi text else if (GetMenuStringW(hMenu, id, tmpW, BUFFER_SIZE, 0)) { //Can't log unicode characters, convert to utf-8. std::string atext = ra::unicode::UnicodeToUtf8(tmpW); sprintf(title_utf8, "%s", atext.c_str()); } //build full menu description string std::string description_utf8; description_utf8.append(title_utf8); description_utf8.append(" ("); sprintf(tmp, "pos=%lu, id=%lu", pos, id); description_utf8.append(tmp); if (isChecked) description_utf8.append(", checked"); if (isDisabled && !IsSeparator) description_utf8.append(", disabled"); description_utf8.append(")"); return description_utf8; } std::string GetMenuTree(HMENU hMenu, int indent) { std::string output; int numItems = GetMenuItemCount(hMenu); for(int i=0; i<numItems; i++) { std::string details = GetMenuItemDetails(hMenu, i); //Detect if this menu is a parent menu HMENU hSubMenu = NULL; { MENUITEMINFOW info = {0}; info.cbSize = sizeof(MENUITEMINFOW); info.fMask = MIIM_FTYPE | MIIM_STATE | MIIM_ID | MIIM_STRING | MIIM_SUBMENU; BOOL wInfoSuccess = GetMenuItemInfoW(hMenu, i, TRUE, &info); if (wInfoSuccess) { if (info.hSubMenu) { hSubMenu = info.hSubMenu; } } } if (hSubMenu == NULL) { //no child output += std::string(indent, ' '); output += details + "\n"; } else { //output this menu and open a bracket output += std::string(indent, ' '); output += details + " {\n"; //query for submenu description. std::string sub_desc = GetMenuTree(hSubMenu, indent+4); output += sub_desc; //close the opened bracket output += std::string(indent, ' '); output += "}\n"; } } return output; } } //namespace Win32Utils
47953277293ff6e4d0a1a500c2142313381b9b31
b9ca32281ca616fa5908c661e85f23abc9a8e350
/Nodo.h
6892d2ddf827f7678078bd1f37dfec3959518602
[]
no_license
tiaomatos/Projeto-C-
6803333c6a7368e448ae30c1dc6d46868ac6b367
f05e3d194c402d1068c8dc1e843fc6e5e8e50770
refs/heads/master
2020-09-21T06:25:13.982314
2019-11-28T18:26:59
2019-11-28T18:26:59
224,708,884
0
0
null
null
null
null
UTF-8
C++
false
false
316
h
Nodo.h
#ifndef NODO_H_INCLUDED #define NODO_H_INCLUDED #include <iostream> using namespace std; class Nodo { float valor; int refri; Nodo* next; public: Nodo(int refri, float valor, Nodo* nxt); ~Nodo(); Nodo* getNext(); void setNext(Nodo* nxt); int getRefri(); float getValrefri(); }; #endif
579cf1e375f786dc1fa1974c801a3b80e4f6ceee
297c0f25c360b6c72d011311074cebc22feda14f
/BattleTank/Source/BattleTank/Public/TankAimingComponent.h
d91321a2b8de3b157075037bfb081db6c505f0ae
[]
no_license
Tuomir/B_T
67deec63176cd77bc1ae3a5c72ade2b38cdfee2b
56f0c274e0cca00ad8a028ded6977262e053e617
refs/heads/master
2021-04-28T14:45:38.265809
2018-10-03T17:30:27
2018-10-03T17:30:27
121,972,466
0
0
null
null
null
null
UTF-8
C++
false
false
1,722
h
TankAimingComponent.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Components/ActorComponent.h" #include "TankAimingComponent.generated.h" // Enum for aiming state UENUM() enum class EFiringStatus : uint8 { Reloading, Aiming, Locked, OutOfAmmo }; class UTankBarrel; class UTankTurret; class AProjectile; UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class BATTLETANK_API UTankAimingComponent : public UActorComponent { GENERATED_BODY() public: // Sets default values for this component's properties UTankAimingComponent(); UFUNCTION(BlueprintCallable) int32 GetAmmoCount() const; void Aim(FVector AimLocation); UFUNCTION(BlueprintCallable) void Fire(); UFUNCTION(BlueprintCallable, Category = Setup) void Initialize(UTankBarrel* BarrelToSet, UTankTurret* TurretToSet); EFiringStatus GetFiringStatus() const; protected: UPROPERTY(BlueprintReadOnly, Category = Setup) EFiringStatus FiringStatus = EFiringStatus::Locked; private: UPROPERTY(EditDefaultsOnly, Category = Firing) float LaunchSpeed = 4000; UPROPERTY(EditDefaultsOnly, Category = Firing) int32 AmmoCount = 5; UPROPERTY(EditDefaultsOnly, Category = Firing) float ReloadTimeInSeconds = 3.f; UPROPERTY(EditDefaultsOnly, Category = Setup) TSubclassOf<AProjectile> ProjectileBluePrint; UTankBarrel* Barrel = nullptr; UTankTurret* Turret = nullptr; FVector AimDirection; double LastFireTime = 0; virtual void BeginPlay() override; virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override; void MoveBarrelTowards(FVector AimDirection); bool BarrelIsMoving(); };
d16444f5de9e5a951bc24712cc00e071cf994319
b77dd6dcb1f84fc249e0050013e6d74f2b3f039d
/src/scanio/scan_io_uos.cc
554ee087b6bba7834c6f927149d221cdc9f8c584
[]
no_license
3DTK/3DTK
fad4333832d5ee3c4fa43a0e3c2ab719bd7ec278
bfc46d1b30b35a955ebde78c229ac40ee10e296c
refs/heads/master
2023-08-10T01:58:20.472841
2023-07-28T11:54:42
2023-07-28T11:54:42
120,477,018
64
28
null
null
null
null
UTF-8
C++
false
false
1,480
cc
scan_io_uos.cc
/* * scan_io_uos implementation * * Copyright (C) Thomas Escher, Kai Lingemann, Andreas Nuechter * * Released under the GPL version 3. * */ /** * @file * @brief Implementation of reading 3D scans * @author Kai Lingemann. Institute of Computer Science, University of Osnabrueck, Germany. * @author Andreas Nuechter. Institute of Computer Science, University of Osnabrueck, Germany. * @author Thomas Escher. Institute of Computer Science, University of Osnabrueck, Germany. */ #include "scanio/scan_io_uos.h" /* const char* ScanIO_uos::data_prefix = "scan"; const char* ScanIO_uos::data_suffix = ".3d"; const char* ScanIO_uos::pose_prefix = "scan"; const char* ScanIO_uos::pose_suffix = ".pose"; IODataType ScanIO_uos::spec[] = { DATA_XYZ, DATA_XYZ, DATA_XYZ, DATA_TERMINATOR }; ScanDataTransform_identity tf; ScanDataTransform& ScanIO_uos::transform2uos[] = tf; */ /** * class factory for object construction * * @return Pointer to new object */ #ifdef _MSC_VER extern "C" __declspec(dllexport) ScanIO* create() #else extern "C" ScanIO* create() #endif { return new ScanIO_uos; } /** * class factory for object construction * * @return Pointer to new object */ #ifdef _MSC_VER extern "C" __declspec(dllexport) void destroy(ScanIO *sio) #else extern "C" void destroy(ScanIO *sio) #endif { delete sio; } #ifdef _MSC_VER BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved) { return TRUE; } #endif /* vim: set ts=4 sw=4 et: */
1c1e2c1fffe9effd7356a3a3ee8dcf3a75d729ca
3ea34c23f90326359c3c64281680a7ee237ff0f2
/Data/787/E
944e5c7df178ceed7ce3553ad25f9d8342d48ef3
[]
no_license
lcnbr/EM
c6b90c02ba08422809e94882917c87ae81b501a2
aec19cb6e07e6659786e92db0ccbe4f3d0b6c317
refs/heads/master
2023-04-28T20:25:40.955518
2020-02-16T23:14:07
2020-02-16T23:14:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
80,869
E
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "Data/787"; object E; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 4096 ( (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (-104314.658161383,55414.8372444734,48899.8209169094) (-110371.393171423,53112.6674731834,106158.546615149) (-124388.567910518,48312.9745675821,182234.139958085) (-150801.846035726,40813.6651301458,292222.320863668) (-198379.375382115,30690.2114853717,459911.484760417) (-283730.154231358,19022.8049775035,724618.834014257) (-438307.720609499,8433.82586424323,1154492.72875955) (-717635.960843111,1946.84521374966,1870181.8443889) (-1183728.44355865,-170.127123875586,3054080.41507148) (-1649410.8169831,-287.980672762954,4703779.21272734) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-110419.195268902,119170.052960899,46663.9795524751) (-116533.725396917,114852.230954811,101458.141467768) (-130741.442854142,105752.657899032,174759.900990458) (-157749.120497738,91234.7961905868,282087.89042776) (-206653.791150781,71215.6690627208,448216.224001189) (-294057.768085338,47353.2562908174,713943.54077322) (-450318.418711237,24789.2581714591,1147906.52717721) (-728594.417181482,10540.2585889453,1867907.53098347) (-1191039.50022815,5030.72456647647,3053746.17952134) (-1652822.22664971,2538.20931795408,4703742.21618023) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-124291.613053725,201068.738239765,42392.9277748592) (-130494.223511197,195313.688107114,92425.6941337539) (-145124.958768654,183018.190409189,160285.120392255) (-173466.533643267,162949.691511809,262036.758714302) (-225501.528005362,134410.284835215,424343.670947169) (-318352.513013942,98716.4404069783,691332.999844951) (-479982.705365078,62568.0090951043,1133536.95428639) (-755897.737480548,37836.2529231005,1862138.69743275) (-1208621.49980485,24887.0828840016,3050903.83892015) (-1660790.36471467,13490.251031401,4700742.16192135) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-150017.194226397,314523.99372899,36561.9387371736) (-156325.055034579,308102.399872489,80098.2820063794) (-171502.714178999,294339.417163846,140279.769430716) (-201796.29205158,271557.280256707,233468.472737394) (-258991.85109824,238255.001072709,388615.607598143) (-362292.65081846,194478.284091277,655146.4147323) (-536776.761683522,145863.713467485,1108627.47204345) (-808714.146837775,106292.346252496,1848885.5255518) (-1240851.14437113,75527.5457221082,3039096.20708478) (-1674862.02644937,40641.3902498821,4686807.09431577) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-196096.577032661,480540.412248729,30080.1585129219) (-202386.757925024,474290.744994158,66278.5713162765) (-217865.048172291,460938.596149835,117544.440502578) (-249802.130065278,438752.363305799,200151.487518768) (-312319.508729172,405937.802203939,344788.195116715) (-428517.376010911,361338.216311246,606445.63890764) (-623192.292686331,306712.063417959,1068789.5816435) (-889062.079082857,246379.131788858,1817764.87519002) (-1287639.31275591,177112.873186679,3003818.86048141) (-1695166.7826728,93877.6823366512,4645749.35106746) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-279316.018842944,736083.979833047,23772.4512586258) (-285292.283068099,730521.552124399,52833.9271964827) (-300284.581656504,718653.251741486,95403.8532613345) (-331903.945069888,698716.381486327,167343.780150693) (-395064.16404405,668176.673253686,300169.073144998) (-513451.6435162,623252.164330259,551706.768642192) (-708703.393427367,558910.815594112,1008211.40989344) (-962515.194981265,468879.807921639,1748225.92874189) (-1338290.7277158,343343.342042256,2920286.18760215) (-1720698.25370541,183307.597227646,4551554.52641649) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-432162.549499671,1150083.18568861,18163.3436441067) (-437435.441659108,1145275.97674597,40844.3606816397) (-450897.309157088,1134945.20738474,75449.7141954769) (-479787.67109059,1117165.16953474,136788.597237655) (-538439.853738625,1088270.22383194,255134.900398025) (-649650.068300279,1040844.32571008,487192.807318472) (-832868.540131656,960984.929012574,917987.234031668) (-1063669.29306044,828031.009406115,1622505.32560762) (-1413788.36024857,619600.432490878,2760036.59540751) (-1762360.8067042,337638.903916017,4368066.09542339) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-711671.547429977,1848458.20730609,13296.5258124871) (-715892.830899087,1844080.55595498,30384.7775025752) (-726749.041907622,1834454.32386948,57624.70292547) (-750237.857563158,1817160.47212128,107867.257902071) (-798427.326623569,1786954.40059654,207610.407761035) (-890854.298991133,1732073.62484542,407235.407616831) (-1044279.9258299,1627598.54438719,784901.718072105) (-1231151.00541036,1430180.08578788,1413903.64710071) (-1550889.99232045,1106534.87757729,2477859.19433475) (-1842023.78102829,627249.542405424,4030272.33687358) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1179675.58485594,3019235.17499731,8898.6171647224) (-1182550.25711796,3014838.94051941,20690.4897182636) (-1189938.47732308,3004771.31831809,40311.972592696) (-1205730.30018364,2985609.20033743,77593.5445601984) (-1237558.68351796,2949527.19973004,152579.428944667) (-1297368.40157444,2879361.60594459,302659.849419919) (-1397809.19729268,2740716.70326365,587350.887836131) (-1547062.67728355,2474487.92299111,1090105.72791645) (-1803765.58168092,2001973.45273714,1998432.73443749) (-1980961.89796242,1203732.40475083,3402911.7700545) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1647556.42331651,4662255.668469,4535.92984480059) (-1648983.42987846,4657686.50435639,10671.7958862805) (-1652662.34720359,4646944.33742872,21161.1239792699) (-1660426.33618457,4625770.20860796,41426.4518933281) (-1675847.58298588,4584513.0624458,82288.1721634759) (-1704645.41510875,4502362.62309194,163932.57012488) (-1754910.90399223,4338503.04067335,321057.136707407) (-1839617.81685063,4017540.49886149,617622.377687617) (-1980463.94382138,3399794.218292,1200265.55595413) (-1994571.66067437,2199328.95550775,2199240.6658716) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15470488.8637483,49442.9845450509,42881.7896408261) (15460344.4406935,47083.230225956,92211.0216454597) (15437068.3538295,42033.9464520737,155848.449548865) (15393651.1784728,33884.2761450638,244639.444990748) (15316401.1113409,22463.2445967588,374524.009766471) (15179102.2829183,8759.5728198974,570060.295892302) (14927248.302224,-3544.12722570978,875176.696380045) (14429542.8912294,-8983.40231792286,1404109.54272094) (13306499.1239557,-7470.80455855069,2588481.07586059) (10256545.3301334,-3689.68089104016,6353342.90573059) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15460118.0287258,105479.702118703,40554.3545272476) (15449960.5525348,101031.273791669,87240.329125363) (15426499.6242739,91438.1969504387,147723.307594492) (15382279.6237529,75543.245451564,233163.890132862) (15302917.7968813,52426.4504537866,360757.392339284) (15161754.5805871,23178.0522807703,557654.860301405) (14906037.4114864,-4747.11930203532,869630.31827568) (14410387.6274188,-16673.0888418052,1405466.25629474) (13294580.8359758,-12514.2619698581,2592017.67359756) (10251325.2314709,-5404.23154391519,6356713.06222525) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15436684.2261546,175465.064751085,36167.0942548031) (15426522.0497248,169559.24597333,77751.1449327168) (15402624.3686241,156652.281556556,131916.029029324) (15356490.244513,134623.055548024,210007.736872174) (15271643.2667325,100948.522614206,331469.16606936) (15118876.4037357,54891.7299267629,529654.867769208) (14848491.2674164,5956.61169019586,857605.460091056) (14357568.8868643,-14834.7311069746,1409428.77410701) (13263857.7706796,-7248.47072873684,2598812.00847687) (10238580.0595726,-520.046752491656,6361685.69549373) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15393801.4144749,268512.251066499,30262.5010788143) (15383653.9146563,262077.096457837,64893.9769989384) (15359200.3527295,247981.315876722,109990.171865788) (15310060.3929519,223567.886890582,176316.951615344) (15215081.1098351,184963.080519374,285357.728872361) (15036101.0410644,128340.365583724,480643.697428065) (14720704.1778451,59579.7230085354,836667.942676655) (14237456.7010367,26045.9864211578,1416744.67336958) (13201834.5009758,28815.169774398,2605123.68361493) (10214739.649052,20391.8895219263,6361738.3679347) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15318317.6739221,397401.250344335,23825.04586294) (15308420.3686699,391423.465414149,50799.8464072089) (15283869.011183,378542.107384306,85633.2916398885) (15232159.8248632,356689.915188852,137677.604508623) (15125583.7766812,323222.373250605,228643.322462512) (14907369.6105564,276445.39060173,411779.606972725) (14491132.7667391,221241.713260302,802920.85339107) (14014912.6857601,172940.743028714,1419179.62803608) (13104701.9621381,126503.149514643,2596278.66949724) (10179322.435794,68397.1888603313,6340912.44778765) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (15183990.609276,583381.237721852,17841.6805989886) (15174773.7514761,578454.973202295,37872.4343621781) (15151368.6435967,568079.699940708,63809.9126481571) (15100608.8077435,550895.613821219,104219.757297979) (14992834.3528468,524835.341531266,181836.568221933) (14768417.0662987,487065.475184735,356476.069919517) (14346974.5714912,434747.477644502,754420.636712241) (13891779.5409441,367718.04735418,1372476.89255692) (13022069.2206083,267861.916237054,2537886.4736059) (10138780.4775713,141684.672159295,6272248.55512584) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (14934716.4537411,870713.058168029,12917.4724086029) (14926708.3295279,866915.516190853,27441.4543285219) (14905955.4054103,859160.845138972,46635.890658388) (14859874.8614446,846783.832006061,78213.4360339105) (14759415.2068745,828318.376163466,144003.636884058) (14544881.4946716,799641.488564302,304024.356628121) (14136231.6968617,749570.82931777,687229.064056946) (13725449.0773003,660534.360172665,1272422.67697333) (12899650.1178075,482476.160460912,2411498.25078895) (10069561.7946999,257972.521902412,6130416.09573728) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (14436495.6446574,1380558.140538,9116.02163816566) (14430172.5524055,1377481.73763108,19612.7129888727) (14413637.1798204,1371303.71998019,34211.9125151104) (14376431.5413548,1361706.0468558,59748.5948430003) (14293683.8189651,1347838.8228864,115245.298626842) (14111758.3087839,1325546.4930413,253855.982470406) (13754170.1469515,1274041.82556863,598063.209533559) (13486198.9259451,1114209.35624427,1094166.57820192) (12652540.1133794,853594.686646545,2186746.24241181) (9909287.2085316,488274.000906854,5872262.06994298) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (13310517.440019,2551446.88353465,6046.52822394801) (13306268.3093742,2548467.30125043,13370.694207948) (13295208.2658339,2542098.26673233,24557.7003943618) (13270881.0293202,2530964.01502971,45816.6988120368) (13219103.2279877,2511281.74852211,92840.1577661928) (13113771.6859066,2472091.97682971,202282.882592247) (12923944.8556489,2383586.61336459,438112.33795024) (12657112.3013029,2181888.52148609,833386.49021751) (11903845.0459262,1825239.27648124,1821259.56887119) (9421746.9919473,1190093.39800563,5383859.57795812) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (10258027.9295209,6309894.16055373,3096.66623898583) (10255923.2286411,6306760.49144415,7025.1136211746) (10250475.0257102,6299706.32442817,13407.9791070424) (10238774.3271897,6286279.89148562,26019.7353724317) (10214689.6310596,6260382.83103199,53509.7349126139) (10167370.9359194,6207015.35290008,113698.303909671) (10079753.9384719,6093399.45745216,236348.913453486) (9911848.92240917,5857149.01134893,476749.980426351) (9422162.54446546,5380317.90097635,1186173.1637399) (7661047.20013776,4193956.84377205,4193819.15325684) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-268643.47808751,39183.5668307809,32820.4789094702) (-279816.791722015,36790.3888473616,69063.0263821088) (-305051.293254381,31534.9456517516,112519.431718739) (-350975.128813519,22551.0919936179,167466.350915969) (-429504.889689003,9000.27367763323,237243.782172746) (-560433.563742076,-8552.000109892,318203.332847615) (-774439.96097317,-24708.3116584701,377471.611607711) (-1113141.61351554,-28060.4328618396,281088.253119005) (-1598822.50988579,-19323.2146915387,-461395.19444347) (-1960072.07399901,-8869.03336280345,-3903037.05304369) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-280505.542662093,82214.9199708988,30463.9221521739) (-291474.208987974,77699.8693638474,63860.9070629173) (-316440.953286233,67634.9500298584,103573.184149407) (-362398.176647315,49793.9533308397,153879.827116889) (-442111.233110033,21151.318725761,219629.515964572) (-576598.798510214,-19651.9593719801,301954.558228533) (-795658.01648688,-62194.7882196486,374008.166667423) (-1131111.59643368,-69367.8286365418,289686.490199139) (-1607866.99682249,-43145.8187576859,-451171.369031866) (-1963284.93041987,-18099.8339341475,-3894458.7026653) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-306912.062707412,132632.217866904,26050.6948704949) (-317499.929995038,126712.505637651,53931.7422209571) (-342008.087792892,113204.740966522,85866.111605803) (-388380.830483212,88154.0095782737,125248.834259003) (-472198.462800653,44337.5678573204,178776.018565123) (-620572.593813775,-27856.531169683,259301.291816811) (-866493.73093666,-121721.224032848,366684.429887516) (-1193129.90949405,-134825.064880893,315712.166394591) (-1635108.61683821,-69171.813388818,-426423.747551891) (-1972020.86218071,-24286.3113989028,-3876764.64442935) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-353905.876514139,193031.565576724,20179.6471836938) (-363928.927157464,186829.484274057,40517.2142655436) (-387720.314825504,172581.267272861,60933.0594186944) (-435020.049891823,145590.3786915,81448.8370535966) (-528197.242519294,95418.6119222329,106517.84924755) (-717297.25087637,-377.23322900392,165308.547152125) (-1086321.78802696,-169908.237123374,353393.230019179) (-1395800.7759085,-196395.709656809,381093.055644768) (-1703180.02996876,-68228.3258766862,-381964.19701824) (-1990719.73242049,-14951.1978822191,-3852968.22515798) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-432830.576929456,263088.603103566,13962.9172291728) (-442002.159064126,257787.296333031,26299.336808715) (-464433.499130593,246039.633683465,34015.184616147) (-511730.322987023,225127.375748085,31240.0393143039) (-615948.019353899,190452.265986839,10609.8851893056) (-882659.007867446,137496.628283531,-4363.65399490448) (-1754074.98231206,77129.365565434,326678.196271888) (-2080705.06581768,49843.9758608641,508927.966236471) (-1836496.26933324,43905.4066081689,-329135.830872497) (-2021319.91311956,27887.977552105,-3838460.95348874) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-562938.460173038,334234.122863772,8655.25359338532) (-570971.472627828,330492.221005657,14567.2569291553) (-591091.088923198,322760.64393405,13177.6831028839) (-635084.881754219,310276.485264427,-3406.03301131358) (-736382.484354464,291517.324875699,-42382.5507943716) (-1002368.51787252,263611.606574618,-64840.2410097276) (-1831182.88579653,224080.456127787,299237.829620137) (-2130436.21922426,201426.584209363,502742.68534448) (-1898427.43222893,145470.084207896,-345453.635513544) (-2051812.46513738,72492.3669596923,-3866593.37830796) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-775761.498476279,372664.774286849,4919.004698741) (-782362.310527814,370547.173511921,6806.39615270434) (-799301.692866917,366998.054556541,697.787711909243) (-837661.389898991,363492.027651623,-22109.7994272525) (-930659.162635159,362703.326105581,-70349.7272429422) (-1191058.10744062,366581.267200149,-104508.081851748) (-2055333.20632573,367553.191964316,276455.789403719) (-2331698.4348399,421294.620306832,446606.969350861) (-1992141.14311708,235355.734201236,-418615.71581344) (-2102190.13424264,97689.7531180841,-3939189.46912482) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1115496.75560786,254709.471223837,2819.40723276309) (-1120470.82662636,253690.022176088,3191.64150493579) (-1133403.16708364,252989.453392487,-2887.70652244931) (-1163483.16468314,256275.841068473,-22885.1099969542) (-1240417.19829908,273326.608561231,-66535.6712838894) (-1479223.69532172,327548.70535557,-103649.401429254) (-2422962.32049879,443777.238110211,330130.723779732) (-1975071.59230518,285044.709206611,260522.857034783) (-2067027.85506122,104794.617583354,-556476.3540021) (-2180273.21462611,664.63665214323,-4037019.11047388) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1602765.86590526,-500948.193472311,1812.67452487446) (-1605998.88284704,-501773.754388909,2415.34721559057) (-1614301.29269539,-502519.853881639,305.916923471228) (-1632806.6834269,-500994.891761765,-5863.93359463299) (-1675171.81601388,-493020.210647028,-12370.3664803242) (-1776390.10942609,-474305.973398853,12517.8115112562) (-1997546.38439422,-460659.074279258,171317.067848302) (-2070327.50386286,-563469.750134193,80143.0362593353) (-2261036.89955347,-656547.916878327,-660760.779894824) (-2296977.04767997,-570676.244963551,-4037824.15474729) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-1963105.58405966,-3947943.15909573,1000.18310849326) (-1964685.1958937,-3948955.88378064,1662.44093951928) (-1968686.39241859,-3950597.444461,1773.15355219861) (-1977251.31291566,-3952329.19732842,2004.80312864684) (-1995458.74327398,-3954231.6800275,6236.35074720318) (-2033570.36494937,-3960357.91694158,26101.299063169) (-2103990.83532041,-3986407.85966965,68466.5621503892) (-2182519.89503591,-4054819.25961328,-12943.407020973) (-2297649.37375552,-4041906.48313419,-574901.218639625) (-2217394.2222707,-3467091.23760091,-3467173.09968926) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-317797.315304656,27417.8758527106,21735.9613644361) (-327264.864767197,25224.7208870008,43959.3135226173) (-348079.792642791,20233.7979886921,66754.0149223378) (-384473.46849043,11194.5079296276,89057.8466696189) (-443216.022926503,-3590.52001095594,106359.499918078) (-533508.576252321,-24717.6684474179,104152.180875743) (-663172.36313578,-45886.6094234933,38771.1924618473) (-823931.990756304,-45940.9253259182,-204497.504971472) (-952517.384607497,-28270.1635452284,-822532.466704527) (-827780.618602147,-12022.8722199262,-1942801.04988148) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-328595.641152774,55943.600046613,19564.3742967794) (-337499.269895901,51811.8143397639,39002.341751939) (-357151.94300276,42187.9873048893,57759.1421522691) (-391611.085543828,23887.6641616978,74278.89481671) (-447683.439678227,-8930.62280441449,85191.204178362) (-535394.024519874,-63629.1456025251,82897.9073431356) (-664257.89119807,-133000.446770729,38611.6194015685) (-820155.940568998,-131326.566773743,-186958.395015285) (-946296.65571518,-70314.2673357703,-806484.632332049) (-823946.564066696,-26807.8066171699,-1931038.06428801) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-352130.108762529,85661.099603445,15500.5464982878) (-359993.793293553,80310.034965245,29496.1891713174) (-377371.431731061,67468.7958162985,39578.7245980744) (-407850.77150087,41440.9555166897,41495.3742607431) (-458331.267615933,-11752.8852947326,30450.441566338) (-542512.981947464,-124642.7957098,13404.4798072929) (-684612.039775463,-341561.221226602,40083.5631019758) (-820676.695245636,-337484.849250517,-126211.368669668) (-931124.215021877,-137217.270093693,-763292.767728084) (-814531.801026701,-42956.9623528859,-1904632.6731464) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-392545.152606804,114132.874510932,10167.5011851821) (-398964.800755889,108763.419003819,16749.9907450355) (-412967.552829558,95796.6023674421,13669.4221979484) (-436997.243029275,68746.5369382939,-11658.9660862056) (-476628.241640765,7511.97455939423,-82492.8268188565) (-554905.88585297,-165868.937291576,-203658.050260488) (-837746.214292548,-837715.548960862,43920.7037393517) (-881781.230376541,-881308.184357561,73724.4933144461) (-895640.71360084,-201530.895919325,-669501.197227839) (-795460.258800192,-45515.1986887771,-1862202.43451223) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-456450.626329487,132990.064277776,4762.85963318803) (-461174.001862294,128839.239544195,3858.88189097944) (-470938.256651627,119393.522450023,-13233.2806705651) (-485105.761885987,101746.140992622,-72857.4458259292) (-495286.092222715,69939.2355480984,-255946.63394582) (-446517.31480461,17712.9555167689,-875670.219817002) (8.60626209055351e-05,2.32962059246955e-05,-5.62611544627099e-05) (111.737683266409,63.8561294414763,753097.591133346) (-752837.831879565,-18099.1739208032,-513992.568318859) (-760995.830549243,-2654.00272100221,-1817177.84685696) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-552068.047349624,121515.174334771,604.477119592131) (-555200.189677673,119177.722386416,-5505.28867278479) (-561107.962573614,114615.240113285,-30710.1326856314) (-567255.595499221,107762.554545336,-104555.832493344) (-560116.169195464,97304.7534882856,-308187.665592531) (-474321.080779063,74985.6650229533,-893507.812192164) (7.76748897613386e-05,2.97850322616859e-05,-4.27853675371478e-05) (76.2916488096949,111.15565944215,734720.960141105) (-734563.655303704,51649.1363442351,-498891.127049169) (-760555.118931353,22028.0858398378,-1814830.56181599) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-685638.564486034,33082.1192433932,-1689.87889886556) (-687423.95912973,32590.959780911,-10041.4676914497) (-690223.342519901,33017.6118700243,-37522.1897952002) (-690254.700359988,37778.3001723973,-114944.624961262) (-670753.190677103,53025.4577996196,-330571.301230652) (-556449.422216368,78460.5889082528,-968654.910340198) (0.000212438056868371,-7.82886746251204e-05,-5.83047887236985e-05) (73.2116928867586,777826.509798112,786114.537335888) (-786029.342713566,160359.925650659,-528708.052374062) (-791324.148183139,19502.9656086197,-1837048.91820233) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-847837.836665701,-232419.824713016,-2156.97498575188) (-848680.439477711,-231687.719685659,-9668.68266783193) (-849420.801092978,-227778.253631339,-32855.1831571323) (-845941.693252252,-212934.400031692,-99683.9543839296) (-820497.394645953,-161380.236629769,-305198.063607667) (-689024.372787488,30364.4280565656,-1047301.22529022) (561.337281612353,869105.558307411,777994.489443497) (-777434.497133499,189648.001646822,168535.902423109) (-979017.949696543,-89371.0642557665,-669743.013035142) (-857559.170251959,-116180.760937744,-1856773.33086291) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-972676.926858711,-861100.518303738,-1408.24545582174) (-973034.655476783,-860251.500087186,-5808.69242453984) (-973078.564374979,-856706.798233287,-18102.8761429909) (-970436.236724058,-845271.856187012,-48135.8666905097) (-957958.69259105,-813231.164975561,-113498.061767534) (-919392.647427245,-731522.213025771,-208608.882684041) (-868356.416108883,-567206.04681041,98512.7541484369) (-995807.915760502,-675770.16806215,-110588.664244943) (-1071033.70367243,-693265.146516954,-696697.777864791) (-877837.990672284,-491193.227956157,-1740824.36785406) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-839135.905422755,-1984519.45616761,-550.74077303579) (-839271.886502304,-1983954.07198871,-2261.47826291438) (-839266.504636217,-1981663.09316008,-6725.07111848219) (-838224.081362735,-1974883.7795443,-16140.3793141124) (-834296.035441047,-1958693.83048298,-31840.4216396284) (-825820.409893384,-1926800.20297382,-44312.3867475608) (-822948.603352214,-1882489.34302148,-10071.3225046604) (-867854.815931144,-1872402.00972247,-128104.559949098) (-880025.174860907,-1744332.95169474,-494660.953665924) (-703753.029528305,-1249740.1972592,-1249755.17710526) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-346762.520979217,16706.3572808629,12258.8483936965) (-353137.714227978,15015.0305962959,23116.6672581836) (-366558.721864239,11160.5217559605,30435.0747236699) (-388541.663084989,4042.81114304617,30460.4581751849) (-420933.99095162,-8064.08307191057,16242.5092722045) (-465236.422206537,-26600.6400910137,-25429.0046825669) (-519758.313267102,-46950.533886819,-121892.520664424) (-570723.997903272,-42128.6421070457,-332971.871410411) (-565796.020590806,-22006.9779752658,-697686.257451833) (-402414.892018978,-8158.23590612779,-1114893.74812885) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-354992.461946692,32465.7022025594,10637.4758722179) (-360528.912421475,29340.7688892439,19341.3801048457) (-372015.109943563,21987.6941382986,23377.3746633124) (-390149.646972169,7626.46856792491,18332.2786667767) (-415431.086686238,-19613.3257966129,-2370.83160051161) (-447715.094147565,-70766.6195132559,-45883.7825505779) (-486539.629473284,-153365.988698365,-117186.589463823) (-534627.769349903,-131858.399658486,-312985.003131482) (-542142.781153859,-55116.7137191532,-684029.141948922) (-391768.565786384,-17372.1178680659,-1106993.25826728) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-372458.952070306,45189.6208944629,7604.92461587365) (-376456.422364193,41264.6666273973,12143.655948363) (-384178.993776866,31777.0833853603,9161.82874710591) (-394333.920470754,12154.7206089348,-8883.27432402043) (-403072.810090058,-30174.2645515788,-53580.7930949284) (-401133.666353578,-137125.870004425,-128600.858197637) (-375937.932958619,-494761.59103076,-95879.3626820897) (-413229.189398728,-398644.971435714,-236540.296751771) (-474384.747002029,-101763.340612156,-646633.137878619) (-364609.633551622,-23886.4154004465,-1090041.00782132) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-401214.571049964,50146.3984692778,3712.6408683427) (-403195.662268721,46447.2399918751,2760.92901669609) (-405804.178529688,37691.0029051743,-10316.3648029872) (-404488.259822164,20489.4984903209,-51160.1258914822) (-386113.693293189,-11273.2180305126,-160575.720760128) (-308683.525879226,-57568.3481344819,-486355.602603816) (4.16886524722853e-05,5.36958393876033e-06,-1.93614142516622e-05) (-310.592818403639,580.761994406666,59942.8454994222) (-309439.780216803,-58736.7170280035,-569284.711468759) (-310851.755710117,-11057.9038823421,-1066721.72607695) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-443604.308943051,37286.9478298297,13.1332530125875) (-443544.532191471,34751.8908390968,-5920.98726503232) (-441004.925280991,29196.834332728,-27360.150063223) (-428689.781832275,19591.3692531411,-82878.0008797549) (-387605.359238478,5107.67092059793,-206939.622815101) (-272001.879637143,-10106.5302229803,-428916.875894064) (-4.65825356053494e-06,2.94518894041269e-06,9.9763650108271e-05) (9.33977935836394e-05,1.17773740285563e-05,-4.57254747319216e-06) (-421.447904681645,125.773721517725,-522172.669441723) (-235746.651361925,-2275.13691625114,-1056204.6155951) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-500222.139709948,-12021.2676805321,-2537.69212931246) (-498552.701201893,-13003.928027381,-11429.3617386151) (-492106.517302754,-14425.8761808724,-36808.0964958736) (-472059.72611479,-15155.2128410188,-97257.3837861422) (-416834.197865376,-13256.3563903086,-222175.327805318) (-280571.635484109,-7105.89378459801,-418925.409538655) (1.47379708141596e-06,8.29432024196257e-06,7.72921152799458e-05) (6.82917202959013e-05,2.33500567403445e-05,-2.315187570288e-06) (92.5490504972734,71.9505420702423,-524967.285279169) (-224633.598633574,-8817.21938049449,-1054346.72311271) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-565192.063526665,-128970.580651324,-3497.18798857492) (-562589.114880127,-128484.985700116,-12850.9745654357) (-554011.644850999,-126004.199387533,-37484.3490276848) (-529866.935776012,-117769.390168902,-95257.9362837809) (-466574.270838409,-96668.0913736236,-216025.121139164) (-313510.006234754,-54211.3459013875,-411859.085003993) (1.16100497846755e-05,0.000123811630346794,9.17041284905929e-05) (0.000118463874833369,-2.3589404520203e-06,-9.22620239670248e-07) (171.142613831452,-32765.4567250763,-534096.29514008) (-241602.149288739,-46808.1979845898,-1045827.31543038) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-616626.730672467,-357143.587325122,-3038.09931943308) (-613892.885139488,-355880.588693602,-10430.0506641771) (-605289.67616432,-351263.637656738,-29301.7373236322) (-581639.974706321,-337288.786177606,-74084.0598608578) (-518933.696564182,-298781.68251445,-173534.166801796) (-359178.74885745,-200044.044767049,-357547.091866176) (0.000144169127715881,-7.26839923751158e-06,-7.74774081527647e-06) (49.5172344832794,-28905.3559391324,-33069.2862262025) (-315003.109812279,-181515.292776472,-548334.29005907) (-316889.57998731,-136550.511372379,-999261.566935927) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-600693.069932743,-727347.480124212,-1779.96412687624) (-598589.507374657,-726271.34547621,-5834.355446391) (-592114.502036696,-722687.495981408,-15374.5594600046) (-574634.830521924,-712916.762686956,-35547.9891527905) (-527982.882687867,-689496.815892653,-74808.6656777673) (-398802.37538582,-637952.831261305,-157490.151224934) (19.1963957989886,-521841.970169755,-28930.7842826632) (-319977.698120505,-547870.938231175,-185795.419630618) (-432541.758360454,-502318.843564188,-503483.814154874) (-337748.828252572,-317164.111314763,-862959.376632206) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-420676.047154186,-1145120.12613259,-687.212260196385) (-419581.051020142,-1144422.80542591,-2226.58779267188) (-416347.560874762,-1142193.71721242,-5639.31032312781) (-408090.657736615,-1136527.46420473,-12162.0324314787) (-388312.611306478,-1124319.63882862,-23322.633630068) (-344768.449453394,-1100923.03706511,-41404.3882662503) (-271706.973063804,-1059515.4380466,-54972.5506778208) (-325878.841154891,-1004561.02761246,-140258.436072795) (-339886.269796722,-864352.840492189,-318363.344208992) (-247313.42967887,-546012.861668496,-545954.193704703) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-361163.746550132,8547.07802885889,5854.14754205944) (-364540.213178745,7658.15507478935,9598.49141803658) (-371153.962277626,5740.85313285955,8452.87869856361) (-380725.141209059,2463.26658009175,-1826.90975745859) (-392349.688603912,-2542.8204253209,-27868.3916798458) (-404260.348570367,-9064.68115322646,-79779.784162787) (-413095.610628533,-13735.6530979574,-172706.833703401) (-409406.91621439,-6032.42142910684,-327991.493963175) (-361212.270801263,1667.13327452814,-534242.377027234) (-226732.18366182,2509.57390745126,-712434.659291864) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-366449.487674542,15002.7864583501,5001.31729836331) (-369002.585640989,13406.2575890576,7726.88800360829) (-373618.327765686,9862.77919843824,5208.17976015263) (-379105.535255926,3492.10893396713,-6864.77430996789) (-383120.480211465,-7242.65356894664,-34475.5476411137) (-382524.791606984,-24185.8090761366,-84544.7222587866) (-376924.478929377,-42775.4012026769,-165120.124697968) (-374896.685615957,-10458.3725310776,-320425.257329943) (-340003.925919026,12693.0007067048,-533589.979996945) (-217494.630993015,9823.05163495839,-715177.392517825) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-377294.539488257,16371.5542332321,3466.81964306959) (-378327.935187468,14447.175010268,4297.41504513486) (-379104.099311096,10119.5458787345,-1034.24610092801) (-376317.385995085,1994.71215845993,-17553.3838010936) (-363161.374608606,-13234.4899954918,-51472.9828559984) (-328824.395336745,-44710.3773816519,-103257.685567321) (-270101.532769035,-118875.527331913,-132993.959627667) (-273389.387303538,14264.0788978756,-297556.21315181) (-285659.774438995,63221.8913355097,-536810.076343654) (-196088.628832904,29908.425871769,-725416.455299173) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-394117.011392569,7688.34641828026,1585.64815755587) (-393205.05392447,6000.80631232077,41.4085112533531) (-389005.58724921,2390.0589659646,-9027.6958564544) (-375055.829688655,-3771.28322568784,-32694.1306058174) (-336264.912700317,-12807.3778375505,-82970.0233566294) (-237919.652582601,-20923.220177931,-177521.053856976) (3.51191965502775e-05,6.27897414425191e-06,4.87538766495432e-06) (197.610498613755,829.821502473091,-248981.854384268) (-174860.042481626,250299.945354327,-570639.646138264) (-159752.806213076,64052.5885466273,-755882.758310171) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-416578.493654578,-19286.2724854919,-51.1963846986333) (-413849.903706687,-20229.9367119711,-3515.08184519025) (-405165.273022448,-21896.3712149237,-15068.3039228449) (-382109.703886608,-23742.2799849726,-41677.3851092259) (-326915.08970238,-24052.2739719208,-91122.7585109532) (-208769.299137226,-18634.0564141919,-156644.502774609) (-4.40710127158931e-06,1.40592904055586e-06,6.89476632172503e-06) (8.28381377183098e-05,2.40813818510025e-06,1.53131534531686e-05) (5.44001039459535,668.536399446072,-757411.165560194) (-117479.568688702,8829.52135399624,-820455.18104079) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-441680.515993606,-76870.0294023158,-957.866799520514) (-437724.823311678,-76902.0370830202,-5113.64431868899) (-426175.577631976,-76179.2447045646,-16761.7104998306) (-397836.984934547,-72825.3471071972,-41901.384557848) (-334229.290915068,-62858.0443688329,-85700.5211112429) (-206947.268262507,-39951.6565048241,-138007.288242213) (6.8862617879905e-07,4.23027226404556e-06,-1.26630308565835e-11) (5.71058955827291e-05,2.71631834440893e-06,1.08776318908327e-05) (144.517657704731,126.974453003708,-749747.68138879) (-110005.322034083,-25791.9726176009,-829754.464016684) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-460801.643887582,-180294.413209499,-966.035831906219) (-456450.734292318,-179624.423782747,-4382.0297199928) (-444153.612590703,-177098.006293475,-13321.3003913784) (-414772.204938518,-169406.468992724,-31834.9093433464) (-349592.461806944,-148926.176007237,-62748.5867364045) (-218362.664481911,-99840.7330554808,-98006.8519385897) (8.57895502270287e-06,8.72277449865946e-06,-1.49448391825647e-11) (9.91795378084396e-05,4.67683465325516e-06,1.7323805771244e-05) (127.06220827091,-347988.766522116,-775970.638034476) (-116960.461174342,-122104.513450724,-804299.785315767) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-455482.985047226,-341075.639974739,-362.518860002515) (-451612.092484951,-340367.490496491,-1900.24480079113) (-440837.880596453,-337838.232850487,-5611.81381164697) (-415306.201493663,-330090.678744067,-11261.3772729595) (-357855.777615331,-307677.059575293,-13588.4126537549) (-234889.103668105,-239611.463687105,1892.67278852307) (0.000126199776575565,2.06312329460782e-05,6.11312831075487e-06) (38.711088550487,-349030.461153797,-348171.117421029) (-161742.095982644,-299131.622323218,-550289.275449562) (-149433.934798697,-157435.98135282,-682413.452736079) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-395006.414687004,-547060.114085088,297.81886460944) (-392291.167598902,-546982.491591129,614.480183485045) (-384844.793185945,-546639.623950319,2146.16243256557) (-367615.101175731,-546164.719415543,11200.47375785) (-329295.795523306,-549671.96994509,54508.2969630828) (-241495.565074189,-583864.179133769,241454.202098112) (344.3401422084,-793590.733056891,-348889.543498119) (-165695.325918399,-553849.6795462,-298352.697307822) (-211565.059942855,-409736.196741258,-408724.821307388) (-151947.766999434,-226750.929494338,-525210.934419005) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-244009.257457876,-724108.060080588,381.156299196249) (-242659.69561137,-724517.474996453,994.78429574727) (-239056.107332722,-725568.599288472,2632.30609186025) (-231065.271835843,-728222.865129304,7665.06590484938) (-214750.977464399,-735847.094128612,20278.5562463045) (-183993.365186691,-756072.9382185,31712.2310643295) (-136654.520327942,-787809.251566163,-109121.703162264) (-155849.440213635,-678740.206168468,-154260.577481254) (-153529.281345835,-524550.602103333,-225803.160570056) (-102510.013368302,-298740.052098805,-298617.454276165) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-366853.925996909,3301.9439305753,2388.23551619745) (-368209.47391416,3245.80456018821,2811.69169142324) (-370466.337512819,3358.95344111475,-1234.88651449886) (-372633.771802208,4170.85253676541,-13497.1084581128) (-372822.099364553,6755.00295160309,-39779.7006490737) (-368235.163295176,12741.5739314165,-88546.4598556793) (-355192.7300692,22464.7596200352,-168914.100035045) (-327054.916360479,28475.7626937974,-279741.862582755) (-264178.626209927,22896.426781253,-399671.933955345) (-152505.729103142,11762.5262242519,-485660.914738284) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-369639.486902936,4140.76105771285,2351.18210125395) (-370458.275577246,4104.03819451931,2948.63840318088) (-371376.532404372,4474.05601393949,-408.259530957574) (-370845.650038931,6429.68620602286,-10926.9784172093) (-366235.734016175,12811.197565062,-33867.9192259612) (-354346.461958083,29606.812999386,-78911.4879428314) (-334505.751916927,64151.8908664331,-163017.346201683) (-315110.207929831,91123.505929629,-285451.56712365) (-258670.018950481,67102.0621489605,-410991.109459909) (-150314.406952138,31241.4423318887,-497650.249608424) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-374977.777654271,-518.117822303565,2342.117046029) (-374785.351663924,-475.87737844293,3379.44909544463) (-373124.546996632,226.274459333533,1647.67833558468) (-367122.77378068,3334.62455454023,-4451.87222733424) (-351420.466169603,13733.9502426021,-17115.5333438777) (-318138.926289354,46301.6713760803,-44495.8607679622) (-265658.099661587,151459.713598761,-136247.11660774) (-296763.277724139,287973.216832319,-309722.93708983) (-255190.070186267,174097.098747061,-447187.677940653) (-148973.339148037,66266.5099637134,-529328.035257357) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-382220.213380691,-14821.8529741691,2406.93713998684) (-380712.673075783,-14684.9573552059,4123.63626806035) (-375703.739630141,-13805.1925561331,4853.25566445626) (-362146.684436595,-10798.6166919922,6077.35165892966) (-328495.387641274,-3403.98229763455,15445.7591401293) (-245043.422901062,8292.53476711091,60578.6660675614) (2.21631732983886e-05,-5.07049151217766e-06,1.52933560584359e-05) (-343641.991171902,677.318148084687,-423985.971438399) (-294439.505131851,425204.913944676,-555514.323985798) (-159190.963342729,106338.425421333,-596148.082313743) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-389592.119846112,-44391.3505825129,2583.12379987535) (-386893.754963842,-44097.6409898008,5039.65869162696) (-378953.730409095,-42908.3574197983,7931.28094193853) (-359122.385503961,-39406.7971938288,13552.1430611247) (-312646.116634084,-31260.4064581114,27139.5941533062) (-208961.931754097,-16736.0036756847,52360.7652129741) (-7.78095543654213e-06,-6.98292442703076e-07,-1.64096777659069e-06) (5.55852307148805e-05,-5.02123586365768e-06,3.04044686919713e-05) (-537174.664490213,879.451630434443,-874889.225930174) (-199405.485179597,16343.7255437534,-702968.609561706) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-393090.909299102,-95882.8604875541,2901.90321053501) (-389723.896750131,-95493.518733099,6296.85439228906) (-380314.165996332,-94021.2303256731,11548.3156625226) (-357869.288119141,-89614.4281723369,21788.2498256246) (-307301.519145641,-78090.459948118,41690.5315462053) (-199851.096118956,-51299.2474736338,69157.6032006012) (-1.02072382854476e-06,7.52150104837762e-08,9.47312531346217e-13) (3.95460623421349e-05,-7.40722292146671e-06,1.99458212457161e-05) (-509636.789688152,171.385889893432,-859929.852051706) (-201175.614394843,-32681.6961790867,-719734.137968114) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-385137.415539932,-174850.369301445,3303.28046624457) (-381805.115523276,-174634.293468527,7798.43643262987) (-372802.493408682,-173617.538782783,16043.6257077176) (-351980.412248018,-169792.841221109,33430.2460659911) (-305791.379932414,-157061.530889614,68600.2351329553) (-205369.376205267,-116294.024214955,120601.723597629) (4.43686604178933e-06,2.50747516326486e-06,-1.08567375370931e-12) (5.40173388769278e-05,9.63200409548956e-06,2.81229708288826e-05) (-558883.022990231,-509847.599743052,-893071.200752309) (-200825.27636362,-154547.169341169,-687340.912400951) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-353408.018868871,-280396.346500323,3471.01102052656) (-350790.265586551,-280802.837163637,8817.72781723439) (-343984.179263733,-281580.284912946,19926.7726146764) (-329284.881139997,-282163.491633389,46276.1026732892) (-299257.90146488,-278925.958661323,109542.654294546) (-232558.916375011,-246175.767711951,237094.210498447) (7.31563993425547e-05,3.93594680669545e-05,1.27098317851918e-05) (-411287.971551287,-514853.062956172,-509948.93460833) (-294572.778879485,-348991.725637367,-537974.125817185) (-149024.555770057,-159945.709172491,-532984.965014497) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-282650.333400696,-395775.444737717,3023.01695108146) (-281053.536821566,-397078.236744901,8060.78575501012) (-277194.504512972,-400562.083331003,19392.2955000927) (-270634.719931445,-409336.764768143,49585.1873905557) (-266161.256859373,-434904.551681886,142429.241747187) (-302416.766217226,-526271.341586967,483446.016765239) (-626291.229935384,-930631.97076483,-514862.124018401) (-307201.668862892,-544038.604577285,-344170.239452793) (-203941.497221538,-351705.925508578,-349079.602302909) (-110463.395487854,-177274.215116321,-373235.467870653) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-161809.134770594,-479711.155998192,1735.58857319358) (-161102.398865431,-481513.929842814,4613.98492516921) (-159444.494574067,-486189.266677347,10629.5555128572) (-156921.18948264,-496852.488481556,24001.1968730705) (-155866.524771714,-520864.810901344,51077.0033998377) (-166334.33802318,-571968.468603012,79115.1032523713) (-208766.471377004,-651144.448953187,-128260.467510216) (-153362.956213885,-522897.16942033,-151888.386666923) (-111388.93925516,-370987.174830501,-174747.479435671) (-62300.8253078687,-196161.983969723,-196068.898642704) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-368272.677875956,503.90318881038,914.848690240614) (-368724.738583064,1023.02145702373,407.091902121844) (-369124.943197421,2520.92759389469,-3455.23000717614) (-368406.833773765,5995.75774038114,-13677.9257760026) (-364613.790117175,13340.2289260199,-35226.4639493981) (-354566.960850493,26625.7023622906,-75520.3687563757) (-333101.61771238,43140.5762461831,-140752.057359378) (-291352.596870567,40396.2306546762,-216850.607503968) (-221495.661293722,28432.9885064016,-287966.560926577) (-121338.752050788,13994.3933188637,-333127.93129779) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-369384.493520679,-1199.29900235979,1448.20880891301) (-369710.872517153,-180.860738556721,1904.68794440312) (-369839.485492385,2841.07502881759,47.4935974934051) (-368761.642655234,10284.9545950291,-6325.71064085232) (-364938.611532302,27714.6343981397,-21997.2385968423) (-356505.055818332,65896.910347163,-59109.8527214663) (-339948.561262403,133104.379324964,-143630.846454773) (-298919.668924328,109559.586767352,-228984.741572949) (-227335.315575721,70711.2781283073,-302597.734569613) (-124271.298949783,32679.1736129249,-347325.622866029) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-370921.469236107,-7745.76185429951,2490.15443377698) (-371015.973533762,-6387.4019934011,4927.31755846028) (-370625.25062456,-2288.26110383189,7557.3573190404) (-368905.878979244,8429.40432297807,11196.0127896545) (-365444.670233669,36777.0046850669,16157.8465667922) (-363598.850649796,119530.603694307,7984.07758008844) (-374547.272346283,417343.13257218,-167365.502982429) (-327740.994718359,241278.676988508,-268106.87620936) (-246653.872633116,135008.839136659,-340940.63477086) (-133017.232194214,56142.9858040954,-380360.55391585) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-371659.532615502,-22177.6598706112,3871.2172511247) (-371401.209366373,-20866.4620527795,9038.81360109677) (-370283.048971893,-17015.7948994963,18345.656738516) (-367397.198015454,-7659.85920128945,39685.4338416368) (-363573.731817909,12602.8579532157,98937.9247501193) (-376880.316429287,44569.2583833759,305736.163589274) (-555355.285007413,480.830418704235,-343659.2967704) (-415806.311388884,344506.712488921,-374723.012053836) (-296525.071472467,182602.339988804,-420230.946565359) (-152533.977352444,66189.1162222302,-436934.062973783) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-369110.654492439,-47868.1113915162,5208.98616723323) (-368529.938660358,-46909.3914697129,12888.0992806818) (-366592.271064843,-44211.735872178,27722.580909109) (-361084.004858025,-38023.4144643285,60047.7555262115) (-345149.141093736,-25765.8561692986,130919.494108377) (-287546.809612814,-7507.13942176239,261580.76977223) (4.01244178344778e-05,-1.91194140011361e-05,-3.31788235413539e-05) (-550397.139840131,418.376162089334,-537033.291885275) (-383111.430769951,28586.7645015384,-537080.950118263) (-181396.930772409,14632.0269020165,-503532.415205237) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-359309.409372912,-87806.0016257624,6156.39030805879) (-358629.853504293,-87435.5951905944,15588.5507831015) (-356567.606952349,-86331.2834314632,33961.5392984031) (-350810.625060787,-83528.4057465111,72407.867522229) (-333450.552528041,-76436.4665543724,149227.511289704) (-270565.265895607,-56727.1869044986,269161.728549088) (3.04346951151782e-05,-3.04803952284381e-05,-2.39529637405969e-05) (-518132.069523361,161.403851231627,-509291.505801478) (-389972.035531757,-48965.0658743257,-551404.429582017) (-187146.841328433,-32274.3968180561,-518526.778928355) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-336466.986200042,-142991.39542558,6514.9644599269) (-335978.363649857,-143445.782592087,16698.3999880008) (-334701.570709692,-144579.152795103,36845.3466526524) (-331425.491079515,-146890.874068044,79652.8938056791) (-321304.065790777,-150354.127926819,169083.241036488) (-275782.418907071,-143340.459856505,326109.556690304) (4.06334307671608e-05,-4.02869198855954e-05,-3.10131491528303e-05) (-571133.916958421,-411158.62158848,-558640.373494036) (-386067.078555274,-245474.203018344,-534947.180784976) (-178812.470902162,-102715.059558988,-486519.323505499) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-293005.389478199,-209443.594786509,6049.56997025213) (-292939.058479463,-210839.343491357,15591.9237624355) (-293058.967915701,-214536.33473795,34623.8943572482) (-294607.531568969,-223281.004500271,76336.6752184474) (-303937.388387961,-245640.367345643,176302.401560355) (-353458.752516975,-315894.065744231,469755.843590051) (-639177.087561644,-626137.649078711,-411230.072596203) (-429862.752384432,-410685.19207234,-393128.72127919) (-282489.642199705,-258308.072028085,-392377.988949223) (-138784.202212305,-121361.701199317,-383971.700866656) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-221996.082768954,-274752.610062525,4654.7646442756) (-222229.68076572,-276939.770684894,11931.335781969) (-223142.955970714,-282597.126404252,25940.5789060165) (-226646.613697091,-295401.255156738,54072.7233281322) (-239510.924266206,-324425.562988734,106207.586378056) (-281665.537259529,-390071.763051054,159634.05472718) (-384013.938262467,-513030.81659011,-195750.069434338) (-282656.692057529,-390129.895714246,-240850.342597801) (-188457.49775686,-259080.436648329,-255561.977442233) (-95575.3606002037,-129054.118126281,-262757.595402917) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-121394.743120636,-317663.70978596,2496.70807347996) (-121626.29287122,-320204.281892196,6285.11328656971) (-122328.434477495,-326545.960895524,13117.8876812672) (-124518.139652025,-339736.013365565,25049.5960594833) (-131022.602543205,-364841.347139693,40621.4579819355) (-146969.356352483,-405531.02920078,36715.7424609638) (-169932.942852187,-442314.464708438,-72834.1379455319) (-137010.438118188,-369452.634404385,-109863.917351092) (-95227.1439587324,-259474.523169565,-125631.626126282) (-49451.9444389444,-133757.460923563,-133777.164197926) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-368189.583397417,-510.329248131537,427.234769588758) (-368424.062096718,178.878487164208,-52.3202039207127) (-368448.452926134,2005.28955800481,-2734.10003320659) (-367178.492267664,5840.72637717811,-9803.16791648706) (-362465.340349353,13171.2989400661,-25122.9166243784) (-350432.364767159,24800.6188784815,-54058.1315861917) (-324555.240002879,36396.8106511817,-99001.3199468749) (-276289.220485397,32902.3886943347,-146967.085026375) (-203296.080537052,22637.6729549295,-187804.338737979) (-108381.849874195,11080.5630346892,-211841.803949259) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-368345.121074318,-2657.58287971081,1107.88118521869) (-368811.874143657,-1345.31570832818,1733.07700721092) (-369477.002393166,2254.84950962736,1121.03395636864) (-369728.765796046,10368.781899858,-2439.89842549679) (-368157.495048516,27447.1923870868,-13496.9083563047) (-361682.622867435,59013.0587406318,-42531.7811693525) (-342184.221561669,98698.1679010767,-102597.478119978) (-292125.659632757,80888.3523299894,-157377.451047206) (-214113.617571012,51546.6255488761,-199508.101645865) (-113643.961327562,24041.5586247662,-223096.434858166) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-367685.964714066,-8306.74889717656,2413.66149542259) (-368644.61575712,-6590.39675892899,5287.38476938106) (-370626.641832137,-1727.70432354143,9271.329810127) (-374154.820426142,10185.4383071451,14703.6148497369) (-380282.673473661,38922.7493850938,18066.0610917213) (-390121.055886381,106516.996959681,-2915.6718907415) (-395037.108153781,236810.363747317,-120538.031929482) (-333888.961916664,153460.119383495,-186961.83178469) (-240161.728079718,85344.0981769719,-227251.448966179) (-125600.144117623,36739.8893542907,-247366.867772294) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-364634.503276599,-19460.5241420092,4128.74590593083) (-366178.804986569,-17825.3509429838,10141.2957101803) (-369970.170728635,-13129.6319434365,21230.3450868164) (-378405.1913331,-1117.32965147562,43541.1063630888) (-398095.16103726,31302.4689506295,85682.8160169057) (-446219.057511552,134192.762830776,127345.791228075) (-543317.296698185,556161.442146695,-204043.275480522) (-421230.291703074,210192.945235764,-255352.121018596) (-286597.97467499,96225.9041918417,-276161.023830944) (-145014.920002278,37439.7293248945,-284379.921151716) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-356441.827826521,-37904.5450565824,5775.19424865508) (-358565.113396487,-36852.7282791134,14837.746320915) (-364121.628658348,-34019.2304378746,33256.7024088608) (-377440.14984724,-27541.6633480571,76037.1810946568) (-412532.880135458,-13856.4758998844,188579.864986894) (-523712.569030473,9697.41614720111,549240.971088134) (-966508.830721888,327.94208630452,-550221.483109363) (-553821.446917568,32992.0009201888,-369596.231716348) (-343150.352206495,21946.5700966916,-335277.976184655) (-166138.159813985,8999.15103510891,-322096.168853296) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-339275.554612779,-64739.6530233533,6801.25320664028) (-341777.018838553,-64567.2629393208,17662.9532011091) (-348466.461654813,-64225.6836358836,39768.261101582) (-364502.652505081,-63898.3887237344,89817.0139215513) (-405556.142339711,-64085.2338928996,212151.361726234) (-526780.474972401,-61735.5662747514,539799.553224987) (-947074.533555037,318.920579837932,-517747.972814459) (-569396.557884955,-52629.32754309,-380862.155989581) (-355480.156852064,-44943.5801129893,-348463.884459589) (-171425.831864643,-23864.0738874174,-331321.669000846) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-308733.063382065,-99417.7527171052,6944.17687577501) (-311342.566533997,-100246.217758279,17987.3345788757) (-318377.034979487,-102725.581436237,40162.6966490263) (-335082.630596303,-109861.389092068,89782.8365341499) (-377418.356970934,-132790.28619188,214602.180013285) (-504042.358734667,-220768.914738429,601895.468304564) (-985499.289299956,-638681.214044303,-570770.034172408) (-551535.204378502,-269682.387648426,-373315.686647001) (-334968.174755781,-141809.871042596,-327548.299516885) (-159933.14173716,-62644.5852280157,-307647.11734129) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-260211.115199212,-138320.566932186,6108.53993609319) (-262617.194109819,-139964.048436181,15504.5062443504) (-268968.950139783,-144412.723150027,33101.6301822243) (-283276.674116943,-155104.238056905,67013.6216950343) (-315463.967499119,-181030.737507101,126780.652121412) (-387591.815076414,-243930.083462255,184074.883404678) (-521229.794550165,-370739.816087215,-201813.807563889) (-392465.051888238,-263293.64476335,-245600.250945162) (-257208.39109904,-164137.536970541,-248553.836117885) (-126747.048340104,-78081.4839993042,-245154.091218789) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-190805.82680491,-173982.289462677,4471.46656644916) (-192656.775005363,-176128.068679528,11062.5810494381) (-197382.518931851,-181558.28019517,22447.7010557163) (-207439.194073844,-193054.772696439,41190.8160720015) (-227629.798155888,-215740.346829086,64019.2992836678) (-263719.87192109,-255172.368565275,57315.9190482484) (-304363.331146107,-298721.38898334,-94353.1151719886) (-249479.113170581,-244278.62162276,-146545.717199524) (-170803.352852785,-165716.387758555,-162621.011315582) (-86246.9353642567,-82863.7110228299,-167167.209528004) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-101667.395018801,-196042.874287076,2333.23672256492) (-102669.641667772,-198373.061096987,5621.57793657454) (-105139.410573234,-204051.704127038,10925.9779641829) (-110123.597319643,-215061.893586362,18538.5565217211) (-119237.731327932,-233648.036317168,24661.374794528) (-132902.15295878,-258359.303621227,13781.1064567752) (-142787.686857113,-272200.741804118,-39884.7967175205) (-120846.106028309,-232311.289976371,-68016.4604537876) (-84926.5008351584,-164197.659445514,-79835.8318904028) (-43555.1223306766,-84272.2220447656,-84324.1429767344) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-367916.690600032,-484.029150720659,211.136353334769) (-368159.007206251,-26.9191340282238,-26.9994031033733) (-368230.561827405,1138.99098028175,-1383.88148211367) (-367000.155699586,3474.8668437482,-5037.08489394104) (-362083.591325439,7662.49265137512,-13081.3265692274) (-349042.373269818,13705.9819459196,-28177.3000124872) (-320921.686392417,18905.6007370151,-50716.4543599667) (-270238.245869823,17170.2310714555,-73937.6600469948) (-196313.565919988,11882.6220580137,-92802.7967220719) (-103571.376824715,5844.5131469025,-103457.782918457) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-367631.937478698,-1849.08549130789,651.872744966711) (-368309.484967481,-976.783312394804,1099.34774715615) (-369499.821838623,1306.28114551268,954.877027384202) (-370637.750835517,6167.74151614973,-829.012605547926) (-369895.648955533,15600.6150529845,-7028.98110013851) (-362867.43258729,30870.4627736292,-23008.652207992) (-339924.680396152,46121.9987903367,-52484.591426832) (-287506.989271363,39361.8682915858,-79294.8990083525) (-208274.98335899,25680.7247486898,-98931.6359110463) (-109460.904275454,12172.7860278044,-109442.965844052) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-365990.39741459,-5038.91047884585,1494.25768806332) (-367557.31104657,-3900.16792142438,3330.33758654428) (-370980.801513574,-837.862173532578,5828.6405870261) (-377005.364807084,6195.89296403661,8651.03352008246) (-385735.942782457,21444.3730792154,8260.54480264995) (-394009.851830938,50792.5530954179,-7772.74957458125) (-386314.474886363,88906.8070441605,-59280.1910958235) (-327148.456963818,66445.2508446455,-93104.0786017276) (-234145.101414227,39135.8784032693,-112575.858921802) (-121684.117882156,17427.1672737954,-121746.266403259) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-361258.175986929,-11008.6461482673,2593.40837975177) (-363902.516351266,-9941.87257958411,6358.82440260743) (-370343.770647242,-6995.41199881572,12889.9741464988) (-383441.39462122,151.08229943729,23970.9880992163) (-407508.3109819,17202.6255349292,37625.8855881448) (-445181.556074198,57055.685718877,30325.2515273309) (-475602.371658645,133332.606469531,-81815.4729375821) (-393942.416279076,77916.596833757,-120574.694350691) (-273514.745017265,39924.7715807866,-134446.817185936) (-139195.002961981,16452.9399539359,-139292.506906372) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-350540.075001043,-20574.8758663079,3664.47689256188) (-354234.477349862,-19926.989771933,9318.95803828502) (-363626.377621427,-18226.6491745634,20054.9441771116) (-383880.251069677,-14423.5755552116,41069.7032541965) (-425053.442962247,-6677.47570403154,77470.3673199454) (-502610.06038736,6871.43843788209,106552.105957826) (-609323.649501605,20046.5271538715,-137346.995946803) (-472206.360035377,17694.1262691655,-158739.612264396) (-313702.424413225,9846.33930303766,-158109.107779922) (-155775.52504666,3841.0336949765,-155859.836288286) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-330147.066161399,-34002.0076214324,4298.64330374177) (-334468.340380053,-33966.2427765397,11029.2178498482) (-345572.395504822,-33965.4614690071,23873.9639942996) (-369638.304088782,-34292.4936226305,48878.5336454188) (-418628.838747943,-35742.099690578,91015.8540401997) (-509802.29173129,-38756.6861913035,119665.795428269) (-629723.6536477,-37841.1537771111,-139797.403548074) (-490217.454182473,-34569.9910440917,-166712.389937296) (-323780.83683073,-24307.4841974529,-164257.886458144) (-159727.116602914,-12289.4392344221,-159826.128790479) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-296367.102176732,-50688.0303195568,4320.06149279081) (-300717.803093536,-51298.1249085993,11027.1801843897) (-311827.406702779,-53059.8567537672,23571.9471924392) (-335534.939556376,-57785.415884589,47517.1784144726) (-383141.187484626,-70547.5694050305,88045.4786426171) (-471343.003339206,-103985.153228548,120574.590284397) (-592141.20811121,-174058.799536368,-136565.845145074) (-455806.397095455,-110357.982298016,-156506.661174201) (-299574.982125834,-63891.1583096084,-152316.17969199) (-147514.043498343,-29384.4427214065,-147640.274443823) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-245944.833642556,-68668.1269117354,3713.81503552295) (-249718.429459858,-69743.764666794,9260.69014375663) (-259089.591307499,-72552.9420606643,18874.4166183694) (-278055.717783402,-78970.7555964574,34838.7999966978) (-312940.472426595,-92896.458242107,54664.1937612515) (-367689.478203115,-119736.481309904,50513.1849693059) (-418327.725992802,-153554.98422176,-72892.6989026608) (-345604.874699366,-120014.82026835,-110096.038121192) (-235798.527089743,-77523.4200217601,-117873.640418341) (-118181.579956616,-37497.6402017685,-118325.911321467) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-177614.389377093,-84522.9533537021,2663.38901414844) (-180360.597000424,-85828.7710703583,6452.21741277484) (-186918.488591027,-89027.8705195961,12463.1155308826) (-199447.960898728,-95460.7577896348,20961.8845489445) (-220401.380176173,-107042.821596473,27879.8299235945) (-248291.81893086,-123996.120800154,16711.4164236131) (-265057.369314343,-136795.997769969,-39353.531859944) (-225841.623074292,-115342.190165219,-67663.6520593658) (-158423.573694713,-79656.2097055863,-77910.6415336134) (-80704.6619241383,-40108.7827825644,-80841.7723929362) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (0,0,0) (-93529.4354253212,-94029.3858750688,1368.47292788601) (-94956.7116312778,-95401.8421824745,3228.61400350862) (-98271.6764024392,-98659.9578209255,5992.96713404291) (-104325.224251085,-104678.235168981,9412.07144483217) (-113731.579814568,-114115.598318673,10978.6966536675) (-124712.086332835,-125127.871456508,3920.38068407725) (-128658.848619177,-129106.205179783,-17898.2501440444) (-110845.109480942,-111227.177919688,-32014.2589369429) (-78981.1144726432,-79194.2366296904,-38421.6183753533) (-40650.039220905,-40705.6625161021,-40729.8217515873) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (0,0,0) (0,0,0) ) ; boundaryField { fuel { type fixedValue; value uniform (0.1 0 0); } air { type fixedValue; value uniform (-0.1 0 0); } outlet { type zeroGradient; } frontAndBack { type empty; } } // ************************************************************************* //
c4ba376ce0c6efcf332be4169917615c4b9e14d6
7c79637c2579fff3d43b05840a8ded828a6d57fb
/RoadGenerator.h
d8e8c6e08aa7c748ca1ff31d72a2a48e2d61c46c
[]
no_license
okaresz/awts
b06c07df3a24c2864748374087934d2052709acb
74d297ac54938dd0bf58db78d36f31bd30d72f1b
refs/heads/master
2021-01-20T17:14:51.136006
2016-07-13T16:50:36
2016-07-13T16:50:36
62,257,367
0
0
null
null
null
null
UTF-8
C++
false
false
1,791
h
RoadGenerator.h
#ifndef ROADGENERATOR_H #define ROADGENERATOR_H #include <QObject> #include <QQueue> #include "RoadSegment.h" #include "RoadObstacle.h" class RoadGenerator : public QObject { Q_OBJECT public: explicit RoadGenerator(double roadVisibility, QObject *parent = 0); void setRoadGenerationHorizon(double roadGenerationHorizon) { mRoadGenerationHorizon = roadGenerationHorizon; } signals: public slots: /** Simulation update. * Generate more road if necessary.*/ void simUpdate(const quint64 simTime, const double travel); /** Get visible road. * Get segments which start param < travel, but limit their length to the extent the visibility allows. * So segments startRoadLoc is unchanged, but their length may be truncated. * @return A the visible portion (copy) of the segmentQueue.*/ QQueue<RoadSegment> visibleRoad(const double travel) const; /** Get visible obstacles. * @return A copy of the obstacleQueue with only the visible obstacles.*/ QQueue<RoadObstacle> visibleObstacles(const double travel) const; const QQueue<RoadSegment*> *segments() const { return &mSegmentQueue; } const QQueue<RoadObstacle*> *obstacles() const { return &mObstacleQueue; } const RoadSegment *segmentAt(double roadParam ) const; /// Get road location at specified parameter value. RoadSegment::roadLocation_t location( double roadParam ) const; private: /// Return next bend segment ahead of given odometer value. const RoadSegment *nextBend( double travel ); /// Get the generated road length ahead in meters. double lengthAhead(double travel ) const; void deleteObstaclesBefore(double travel); double mRoadGenerationHorizon; double mRoadVisibility; QQueue<RoadSegment*> mSegmentQueue; QQueue<RoadObstacle*> mObstacleQueue; }; #endif // ROADGENERATOR_H
16d149f6e80226e9754ccdc5906eba84a1f151e1
afb7006e47e70c1deb2ddb205f06eaf67de3df72
/third_party/libwebrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h
4b05491023baef5cf144c12a597d3becbb76541a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
marco-c/gecko-dev-wordified
a66383f85db33911b6312dd094c36f88c55d2e2c
3509ec45ecc9e536d04a3f6a43a82ec09c08dff6
refs/heads/master
2023-08-10T16:37:56.660204
2023-08-01T00:39:54
2023-08-01T00:39:54
211,297,590
1
0
null
null
null
null
UTF-8
C++
false
false
2,576
h
sender_report.h
/ * * Copyright ( c ) 2016 The WebRTC project authors . All Rights Reserved . * * Use of this source code is governed by a BSD - style license * that can be found in the LICENSE file in the root of the source * tree . An additional intellectual property rights grant can be found * in the file PATENTS . All contributing project authors may * be found in the AUTHORS file in the root of the source tree . * / # ifndef MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SENDER_REPORT_H_ # define MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SENDER_REPORT_H_ # include < vector > # include " modules / rtp_rtcp / source / rtcp_packet . h " # include " modules / rtp_rtcp / source / rtcp_packet / report_block . h " # include " system_wrappers / include / ntp_time . h " namespace webrtc { namespace rtcp { class CommonHeader ; class SenderReport : public RtcpPacket { public : static constexpr uint8_t kPacketType = 200 ; static constexpr size_t kMaxNumberOfReportBlocks = 0x1f ; SenderReport ( ) ; SenderReport ( const SenderReport & ) ; SenderReport ( SenderReport & & ) ; SenderReport & operator = ( const SenderReport & ) ; SenderReport & operator = ( SenderReport & & ) ; ~ SenderReport ( ) override ; / / Parse assumes header is already parsed and validated . bool Parse ( const CommonHeader & packet ) ; void SetNtp ( NtpTime ntp ) { ntp_ = ntp ; } void SetRtpTimestamp ( uint32_t rtp_timestamp ) { rtp_timestamp_ = rtp_timestamp ; } void SetPacketCount ( uint32_t packet_count ) { sender_packet_count_ = packet_count ; } void SetOctetCount ( uint32_t octet_count ) { sender_octet_count_ = octet_count ; } bool AddReportBlock ( const ReportBlock & block ) ; bool SetReportBlocks ( std : : vector < ReportBlock > blocks ) ; void ClearReportBlocks ( ) { report_blocks_ . clear ( ) ; } NtpTime ntp ( ) const { return ntp_ ; } uint32_t rtp_timestamp ( ) const { return rtp_timestamp_ ; } uint32_t sender_packet_count ( ) const { return sender_packet_count_ ; } uint32_t sender_octet_count ( ) const { return sender_octet_count_ ; } const std : : vector < ReportBlock > & report_blocks ( ) const { return report_blocks_ ; } size_t BlockLength ( ) const override ; bool Create ( uint8_t * packet size_t * index size_t max_length PacketReadyCallback callback ) const override ; private : static constexpr size_t kSenderBaseLength = 24 ; NtpTime ntp_ ; uint32_t rtp_timestamp_ ; uint32_t sender_packet_count_ ; uint32_t sender_octet_count_ ; std : : vector < ReportBlock > report_blocks_ ; } ; } / / namespace rtcp } / / namespace webrtc # endif / / MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SENDER_REPORT_H_
498c1e9684523a38fc441aab8773022ed5d62131
81bfcc517f000101148685239774f8c3cce4c268
/Script.h
7fead97726286c6f210a4ea817a119e18fd61368
[]
no_license
AlexOpenSourceCode/2D-Sidescroller-Game
b800d6b7a98d6a1ed1f584684d62dbf45e05247e
44e63dc326c07c224626cd00ded9088ae24b27f8
refs/heads/master
2020-04-04T16:08:05.632920
2018-11-04T13:14:40
2018-11-04T13:14:40
156,065,962
1
0
null
null
null
null
UTF-8
C++
false
false
541
h
Script.h
#ifndef SCRIPT_H #define SCRIPT_H #include <vector> #include <unordered_map> #include <math.h> #include <algorithm> //std::remove_if #include <iostream> #include <memory> //#include "GameObject.h"; class GameObject; class App; class Script { public: std::shared_ptr<App> app; GameObject* obj = NULL; Script(); Script(GameObject* go); float last_check = 0; virtual void update(); virtual void on_event(const std::string& event_name); void set_game_object(GameObject* go_); void set_app(std::shared_ptr<App> app_); }; #endif
d2521e50b0bd90a58fe6936df292af2add520ee9
c330ff20fae575aaa3cc2cef4997f544477a1f48
/tools/FMM_3DSMAX_ExportPlugin/FMMExporter.h
0b1321374cf28d0179374c5ea35a915e29c99866
[]
no_license
sunnycase/fancy2d
cffd575ead82df42ee645c20c34b6354fa3b510c
d2403cfd3a52508e434beee3e3c0776d07e22050
refs/heads/master
2021-01-13T03:33:39.265125
2016-12-05T16:32:05
2016-12-05T16:32:05
77,521,117
2
1
null
2016-12-28T09:36:09
2016-12-28T09:36:09
null
GB18030
C++
false
false
3,715
h
FMMExporter.h
//////////////////////////////////////////////////////////////////////////////// /// @file FMMExport.h /// @brief FMM模型导出插件实现 /// @note 实现SceneExport //////////////////////////////////////////////////////////////////////////////// #pragma once #include <limits> #include <unordered_map> #include <string> #include <Max.h> #include <istdplug.h> #include <iparamb2.h> #include <iparamm2.h> #include <IGame\IGame.h> #include <IGame\IGameFX.h> #include <IGame\IGameError.h> #include <fcyParser\fcyXml.h> #include <fcyMisc\fcyHash.h> #include <fcyFile\fcyModelMeshFile.h> #include <fcyMath.h> #include "resource.h" struct Vertex { fcyVec3 Position; fcyVec3 Normal; fcyColor Diffuse; fcyVec2 TexCoord; }; namespace std { template<> struct hash<Vertex> { inline size_t operator()(const Vertex& v) const { return fcyHash::SuperFastHash(v); } }; template<> struct equal_to<Vertex> : public binary_function<Vertex, Vertex, bool> { // functor for operator== bool operator()(const Vertex& _Left, const Vertex& _Right) const { if(memcmp(&_Left, &_Right, sizeof(Vertex))!=0) return false; return true; } }; }; class CFMMExporter : public SceneExport { public: /// @brief 返回类ID /// @note 使用help/gencid.exe产生 static Class_ID GetClassID() { return Class_ID(0x58cc7c23, 0xcd63d85); } /// @brief 导出过程的进度条函数 static DWORD WINAPI ProgressFunc(LPVOID arg) { return 0; } protected: // 导出用上下文 struct OutputContext { fcyModelMeshFile MeshData; ///< @brief 模型数据 fcyRefPointer<fcyModelVertexLabel> VertexLabel; ///< @brief 顶点标签 fcyRefPointer<fcyModelIndexLabel> IndexLabel; ///< @brief 索引标签 fcyRefPointer<fcyModelBoundingBoxLabel> BoundingBoxLabel; ///< @brief 包围盒标签 fcyVec3 CoordMin, CoordMax; ///< @brief 用于计算包围盒 std::unordered_map<int, std::wstring> MatCache; ///< @brief 缓存 <材质ID, 材质名> std::unordered_map<Vertex, fuInt> IndexCache; ///< @brief 缓存所有顶点的索引 OutputContext(); }; protected: void FillFaceVertex(IGameMesh* pMesh, FaceEx* pFace, Vertex Out[]); std::wstring ExportProperty(IGameProperty* pProp); void ExportFXProperty(fcyXmlElement& Node, IGameFXProperty* pProp); void ExportMaterial(OutputContext* pContext, IGameMaterial* pMat, int ID = -1); void ExportSubNode(OutputContext* pContext, IGameNode* pNode); void ExportMesh(OutputContext* pContext, IGameNode* pParent, IGameMesh* pObj); public: // 接口实现 /// @brief 返回支持的扩展名数量 int ExtCount() { return 1; } /// @brief 返回扩展名(不带'.') const char* Ext(int n) { return "FMM"; } /// @brief 返回扩展名说明 const char* LongDesc() { return "fancy Model Mesh File"; } /// @brief 返回短说明 const char* ShortDesc() { return "fancy Model"; } /// @brief 返回作者 const char* AuthorName() { return "Chu"; } /// @brief 返回版权信息 const char* CopyrightMessage() { return "Copyright Chu"; } /// @brief 返回其他信息1 const char* OtherMessage1() { return ""; } /// @brief 返回其他信息2 const char* OtherMessage2() { return ""; } /// @brief 返回版本 /// @note v3.01 = 301 unsigned int Version() { return 100; } /// @brief 显示关于对话框 /// @note 可选 void ShowAbout(HWND hWnd) { } /// @brief 后缀支持度检测 BOOL SupportsOptions(int ext, DWORD options) { return TRUE; } /// @brief 开始导出 int DoExport(const MCHAR *name,ExpInterface *ei,Interface *i, BOOL suppressPrompts=FALSE, DWORD options=0); public: CFMMExporter(void); ~CFMMExporter(void); };
810387a72e884a4a0d7c37779592c14512f49663
aac4b0cfbdfd57d9c57ee1bbdd0e425f4bcdb98a
/hamming/sol_dfs.cpp
27dca935ae59a9de15a70415eef22412d009889a
[]
no_license
GuangLightman/Cainiao-USACO-fly
f615b57476e4dfe31d7260a77aa109f649167a0a
415ba64157f6f4c4b430f3d286c0feb89d267b37
refs/heads/master
2021-01-10T17:41:19.791266
2016-04-16T12:31:49
2016-04-16T12:31:49
53,666,389
0
0
null
null
null
null
UTF-8
C++
false
false
1,473
cpp
sol_dfs.cpp
/* ID: your_id_here PROG: hamming LANG: C++ */ #include <cstdio> #include <cstring> using namespace std; int n,b,d,ans[65],num,ready[255],rn,t,tt,tmp,mx; bool isLegal(int x,int y) { x^=y,tmp=0; for(t=0;t<b;++t) if(x&(1<<t)) ++tmp; return tmp>=d; } inline bool choose(int index) { for(tt=1;tt<num;++tt)//再也不敢滥用全局变量了,查错好辛苦,我还是按规范来吧,谨慎点好 if(!isLegal(ans[tt],ready[index])) return false; return true; } bool dfs(int index) { if(num==n)//找到结果 return true; do { while(index<rn&&!choose(index)) ++index; if(index==rn) {//无法找到答案,数字个数-1 --num; return false; } ans[num++]=ready[index++]; if(dfs(index)) return true; }while(index<rn); --num;//无法找到答案,数字个数-1 return false; } int main() { int i; freopen("hamming.in","r",stdin); freopen("hamming.out","w",stdout); while(3==scanf("%d%d%d",&n,&b,&d)) { ans[0]=rn=0,num=1,mx=1<<b; for(i=1;i<mx;++i) if(isLegal(0,i)) ready[rn++]=i; dfs(0); for(--num,i=0;i<=num;++i) printf("%d%c",ans[i],(i+1)%10==0||i==num?'\n':' '); } return 0; }
3122b1ba5c0f5759ecafd47a700a55c343ed4aea
a3c2787f52301dee40a9064e084bb8a157967e83
/c++/第二次练习/课前练习/调用合法.cpp
2f63ad897e5ae1d4580675227cc794d5eb2add1d
[]
no_license
welkin-qing/C
509ea3807d84fe983be38c8c1c178bc7370008f7
a812e1e1688b421a36f5645c1c1e37166bf5210c
refs/heads/master
2020-03-17T20:49:34.799686
2018-07-17T06:35:50
2018-07-17T06:35:50
133,930,240
0
1
null
null
null
null
UTF-8
C++
false
false
189
cpp
调用合法.cpp
#include<iostream> using namespace std; void f1(int * m,long & n); int main() { int a; long b; cin>>a>>b; f1(&a,b); } void f1(int * m,long & n) { cout<<m<<n<<endl; }
a20e84c6c90e96f3f43e140ea5c9a3ea4238b648
e0e9a7b63dd1b9ace628a47172925918ee36f862
/Codeforces/520A.cpp
8efccdbf1a8efe5d56c0d94478119e5d8e929e4a
[]
no_license
sowmenappd/code-box
01cc4d2049b296237a7ddaf5a0873c3369f87eaa
f5e66b908feac8632e4d2d6db00d0c28c620316c
refs/heads/master
2021-09-11T13:42:26.060962
2018-04-08T05:49:00
2018-04-08T05:49:00
93,412,638
1
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
520A.cpp
#include <iostream> #include <ctype.h> using namespace std; bool alphabets[26] = { false }; int main() { int n; cin >> n; char a[101]; cin >> a; int i = 0; if (n < 26) { cout << "NO" << endl; return 0; } else { while (i < n) { alphabets[tolower(a[i]) - 97] = true; i++; } for (int i = 0; i < 26; i++) { if (alphabets[i] == false) { cout << "NO" << endl; return 0; } } } cout << "YES" << endl; return 0; }
4a60b44b802916973117d8f054aa6b8767a718be
ddffdccbc1cb2f45348cd564cb2b0d631877a977
/Framework flou/Framework flou/ExceptionTargetAndOperator.h
202991f187ce9d246c493f70e8e791f6cec563bc
[]
no_license
rachelnoireau/projetFramework
cb3a08c191e0892cc71efdfbff0ae77a4da1e05c
b2bafe03965cbda2f1c4ec5ea963c72292c9121a
refs/heads/master
2020-03-13T23:49:43.087636
2018-06-17T16:51:46
2018-06-17T16:51:46
131,343,628
0
0
null
null
null
null
UTF-8
C++
false
false
233
h
ExceptionTargetAndOperator.h
#ifndef EXCEPTIONTARGETANDOPERATOR_H #define EXCEPTIONTARGETANDOPERATOR_H #include <exception> using namespace std; class ExceptionTargetAndOperator : public exception { public : ExceptionTargetAndOperator() throw() {} }; #endif
ce27bc9893c6755dfb946f789da268a26a9b5b21
067ce10df08c4328c2a20017888022f13c67cb9e
/Find the Difference.cpp
feee0f7b3f6cfbe11c6a88aec5d4463a6b97adf7
[]
no_license
hxchengtj/leetcode
85c23bd167b68e61aa09a459cd43cf943715ea7d
b5d2bcffebab394c0fe7f8e46e8192c9b82c597a
refs/heads/master
2021-01-11T02:30:26.061334
2016-10-13T07:49:50
2016-10-13T07:49:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
319
cpp
Find the Difference.cpp
class Solution { public: char findTheDifference(string s, string t) { int dict[26]; memset(dict, 0, sizeof(dict)); for(char c:s) dict[c-'a']++; for(char c:t) dict[c-'a']--; for(int i = 0; i < 26; i++) if(dict[i] == -1) return i+'a'; return '\0'; } };
5a472f2db8e30edc5cb51a32616f6daf6445442a
4d0cfe9623423eb8be213344d52353e99a411f51
/Systematics/interface/THHardProcess.h
5fcc5fd7dcd642c31a0b5422c9859ad8d2a47ec3
[]
no_license
hbakhshi/flashgg
024ed7428c1c45507c0ac300a2accc7d339b57cc
c56e24d949de01e95ccd91e6ca964c43ae659b35
refs/heads/master
2020-04-05T11:45:22.471072
2018-03-14T14:36:48
2018-03-14T14:36:48
59,016,696
0
1
null
2017-07-13T13:16:23
2016-05-17T11:31:59
C
UTF-8
C++
false
false
4,158
h
THHardProcess.h
#ifndef THHARDPROCESS_h #define THHARDPROCESS_h // -*- C++ -*- // // Package: THHardProcess // Class: THHardProcess // // system include files #include <memory> #include <map> #include "TCanvas.h" #include "TH1.h" // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDFilter.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/HepMCCandidate/interface/GenParticle.h" #include "DataFormats/PatCandidates/interface/PackedGenParticle.h" #include "SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h" #include "SimDataFormats/GeneratorProducts/interface/LHEEventProduct.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "CommonTools/UtilAlgos/interface/TFileService.h" // // class decleration // using namespace std; using namespace edm; class CTCVWeightedVariable { public: CTCVWeightedVariable( string name , string title , int nBins , double min , double max ){ Name = name; edm::Service<TFileService> fs; Directory = fs->mkdir( name ) ; for (uint i = 0 ; i < 70 ; i++){ Histos.push_back( Directory.make< TH1D >( ("ctcv_"+to_string(i)).c_str() , (title + "," + to_string(i)).c_str() , nBins , min, max ) ); } }; void Fill( double value , std::vector<double> weights){ Histos[0]->Fill( value ); for( uint i = 0 ; i < weights.size() ; i++) Histos[i+1]->Fill( value , weights[i] ); }; void Write(){ Directory.make< TCanvas >( ("Canvas_"+Name).c_str() ); map< int , int > colors ; colors[0] = 2; colors[1] = 4; colors[12] = 8; /*for( auto h : Histos ) if( h->Integral() > 0 ) h->DrawNormalized();*/ Histos[0]->SetTitle("ct/cv = -1"); Histos[0]->SetLineColor( colors[0] ); Histos[0]->SetMarkerColor( colors[0] ); Histos[0]->DrawNormalized(); Histos[1]->SetTitle("ct/cv = -3"); Histos[1]->SetLineColor( colors[1] ); Histos[1]->SetMarkerColor( colors[1] ); Histos[1]->DrawNormalized("same"); Histos[12]->SetTitle("ct/cv = 1"); Histos[12]->SetLineColor( colors[12] ); Histos[12]->SetMarkerColor( colors[12] ); Histos[12]->DrawNormalized("same"); } TFileDirectory Directory; vector< TH1* > Histos ; string Name; }; class THHardProcess : public edm::EDFilter { public: map< string , CTCVWeightedVariable* > CTCVWeightedVariables; explicit THHardProcess(const edm::ParameterSet&); ~THHardProcess(); virtual void endJob() override; virtual bool filter(edm::Event&, const edm::EventSetup&); private: // ----------member data --------------------------- EDGetTokenT<View<reco::GenParticle> > genParticleToken_; EDGetTokenT<vector<pat::PackedGenParticle> > packedGenParticleToken_; EDGetTokenT<GenEventInfoProduct> genInfoToken_; bool usePacked_; bool debug_; edm::EDGetTokenT< LHEEventProduct > token_lhe; int npass,nfail,ntot; float wpass,wfail,wtot; virtual void beginJob() override; const reco::GenParticle* GetMother( const reco::GenParticle* gen ){ if( gen == NULL ) return NULL; if( gen->numberOfMothers() == 0 ) return NULL; const reco::GenParticle* mom = dynamic_cast<const reco::GenParticle*>(gen->mother()); while( true ){ if( mom == NULL ){ cout << "ERROR : mom is not convertible to GenParticle*" << endl; return NULL; } if( mom->pdgId() != gen->pdgId() ){ return mom; } if( mom->numberOfMothers() == 0 ){ return NULL; } mom = dynamic_cast<const reco::GenParticle*>( mom->mother() ); } } const reco::GenParticle* GetStableParticle( const reco::GenParticle* input ){ if( input == NULL ) return NULL; if( input->isLastCopy() ) return input ; for( unsigned int i =0 ; i < input->numberOfDaughters() ; i++){ const reco::GenParticle* gen = dynamic_cast< const reco::GenParticle*>( input->daughter(i) ); if( gen->pdgId() == input->pdgId() ) return GetStableParticle( gen ); } return NULL; } }; #endif
b71036707563739a5b739a3a089ca27650c74d43
ee80ddf7d1de919847f1072f83c9ee3e3deeae02
/gwell/source/modeller/dialogs/hierlistviewitem.cpp
489ccf9c2d9a6290f7f0fcc61f7030391e2db6ee
[]
no_license
pjakwert/gwell3d
8bef1d3616810e6a79aff12869f164cdff0ac8b5
798b928d91864ba7f2ed5b9ccd46b3d6a693908c
refs/heads/master
2020-03-26T00:42:58.091397
2018-08-10T21:48:12
2018-08-10T21:48:12
144,333,776
0
0
null
null
null
null
ISO-8859-2
C++
false
false
1,336
cpp
hierlistviewitem.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////////////// /// /// class: HierListViewItem (.h) /// /// dziedziczony od QListViewItem element listy QListView, zawierajacy dodatkowo wskaznik i adres obiektu /// //////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "hierlistviewitem.h" /*! Konstruktor - rodzicem tak utworzonego węzła jest główna lista QListView. */ HierListViewItem::HierListViewItem(QListView *parent, QString label, const ViNTreeNode *hier) : QListViewItem(parent, label) { _hier = hier; _address = hier->GetNodeAddress(); } /*! Konstruktor - rodzicem tak utworzonego węzła jest inny węzeł HierListViewItem. */ HierListViewItem::HierListViewItem(HierListViewItem *parent, QString label, const ViNTreeNode *hier) : QListViewItem(parent, label) { _hier = hier; _address = hier->GetNodeAddress(); } // destruktor HierListViewItem::~HierListViewItem() { } /*! Metoda zwraca wskaźnik na obiekt ViNTreeNode reprezentowany przez ten węzeł. */ const ViNTreeNode* HierListViewItem::hier() { return _hier; } /*! Metoda zwraca adres (ścieżkę) obiektu ViNTreeNode reprezentowanego przez ten węzeł. */ const ViNodeAddress HierListViewItem::address() { return _address; }
cb0e545530aee21ff718cff488ccb3ba1029fa17
da33f708eed654216417e095373fdfa640c36f0a
/Game/GameObjectState/Enemy/Walking/WalkingEnemy.cpp
b729211decdc23dc93d333cb8c2e61a680f9df8a
[]
no_license
Ryu-armour/employed
5f246867fddb02f2d2ccfb0ca02413f24ac18759
b9f2df4ed5df78aeb040a635fa058b14fc9234b0
refs/heads/master
2022-09-25T05:04:25.283239
2020-06-03T08:59:32
2020-06-03T08:59:32
269,035,451
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,289
cpp
WalkingEnemy.cpp
#include "WalkingEnemy.h" #include "Game\Camera\FollowCameraClass.h" #include "Game\GameObject\Enemy\Enemy.h" WalkingEnemy::WalkingEnemy(Enemy* enemy) { m_enemy = enemy; m_stateName = L"WalkingEnemyState"; } WalkingEnemy::~WalkingEnemy() { Finalize(); } void WalkingEnemy::Initialize() { //ターゲットの位置を入れる m_targetPos = &m_enemy->GetPlayer()->GetPos(); } void WalkingEnemy::Update() { //ターゲットの方向に向く LookAtThePlayer(); //ターゲットと現在の座標の距離 DirectX::SimpleMath::Vector3 length = *m_targetPos - m_enemy->GetPos(); float llength = length.Length(); //ターゲットから一定距離離れるまで移動 if (1.0f < llength && llength < m_enemy->SIGHT) { //目的地に進む DirectX::SimpleMath::Vector3 n = length; n.Normalize(); m_enemy->SetVel(n * MOVEMENT); m_enemy->Move(); } else { //目的地に着いたら次の目的地を探す m_enemy->ChangeState(m_enemy->GetSearchState()); } } void WalkingEnemy::Render(DirectX::Model* model) { ResourceManager* resourceManager = ResourceManager::GetInstance(); //モデルの描画 model->Draw(resourceManager->GetContext(), *resourceManager->GetCommonStates(), m_enemy->GetWorld(), FollowCamera::GetInstance()->GetViewMatrix(), FollowCamera::GetInstance()->GetProjMatrix()); } void WalkingEnemy::Finalize() { } void WalkingEnemy::LookAtThePlayer() { //プレイヤーとの距離 DirectX::SimpleMath::Vector3 relativePos = m_enemy->GetPlayer()->GetPos() - m_enemy->GetPos(); //向いている方向 DirectX::SimpleMath::Vector3 direction = { 0.0f, 0.0f, 1.0f }; float angle1 = atan2(relativePos.z, relativePos.x); float angle2 = atan2(direction.z, direction.x); //cosθからθを算出(デグリー角) float theta = DirectX::XMConvertToDegrees(angle1 - angle2); //向きをセット m_enemy->SetAngle(-theta); //if (distance.Length() != 0.0f || direction.Length() != 0.0f) //{ // //内積とベクトルの長さを使ってcosθを求める // float cosTheta = distance.Dot(direction) / (distance.Length() * direction.Length()); // //cosθからθを算出(デグリー角) // float sita = DirectX::XMConvertToDegrees(acos(cosTheta)); // //向きをセット // m_enemy->SetAngle(sita); //} }
dcc3e5b76e73722347dbc48a5982c5e9d8af1e50
27c2e5277bac7ba627f461d52e6c59dd23731e86
/sugar/core/mem/su_mcursori.h
4d0342b4009fbed7c1ade68efa9b9f5cfd66b1b4
[]
no_license
magicfoo/atonce
4c70fbc753fbc9bc1e32b14317ddf4bc61cafd66
7561af1c477e107ee9cdd1bcb82a8f7b753bc6ab
refs/heads/master
2022-12-23T10:10:42.602545
2020-09-23T20:18:42
2020-09-23T20:18:42
298,083,714
0
0
null
null
null
null
UTF-8
C++
false
false
4,907
h
su_mcursori.h
/*LIC-HDR******************************************************************** ** ** Copyright (C) 2001-2010 AtOnce Technologies ** ** This file is part of the Sugar Framework. ** ** This file and the associated product may be used and distributed ** under the terms of a current License as defined by AtOnce Technologies ** and appearing in the file LICENSE.TXT included in the packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.atonce-technologies.com or email info@atonce-technologies.com ** for informations about Sugar Framework and AtOnce Technologies others products ** License Agreements. ** ** Contact info@atonce-technologies.com if any conditions of this license ** are not clear to you. ** *****************************************************************LIC-HDR*/ #ifndef _su_mcursori_h_ #define _su_mcursori_h_ namespace su { template <typename T> inline T* MCursor::tpointer<T>::operator () ( ) { SU_ASSERT( ptr ); return ptr; } template <typename T> inline T& MCursor::tpointer<T>::operator * ( ) { SU_ASSERT( ptr ); return *ptr; } template <typename T> inline T& MCursor::tpointer<T>::operator [] ( int i ) { SU_ASSERT( ptr ); return ptr[i]; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator << ( const T& v ) { SU_ASSERT( ptr ); *ptr++ = v; return *this; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator >> ( T& v ) { SU_ASSERT( ptr ); v = *ptr++; return *this; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator = ( T* v ) { ptr = v; bit = 0; return *this; } template <typename T> inline bool MCursor::tpointer<T>::operator == ( T* v ) { return (ptr==v); } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator ++ ( ) { SU_ASSERT( ptr ); ptr++; return *this; } template <typename T> inline MCursor::tpointer<T> MCursor::tpointer<T>::operator ++ ( int ) { SU_ASSERT( ptr ); MCursor::tpointer<T> p = *this; p.ptr++; return p; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator -- ( ) { SU_ASSERT( ptr ); ptr--; return *this; } template <typename T> inline MCursor::tpointer<T> MCursor::tpointer<T>::operator -- ( int ) { SU_ASSERT( ptr ); MCursor::tpointer<T> p = *this; p.ptr--; return p; } template <typename T> inline MCursor::tpointer<T> MCursor::tpointer<T>::operator + ( int i ) const { SU_ASSERT( ptr ); MCursor::tpointer<T> p = *this; p.ptr += i; return p; } template <typename T> inline MCursor::tpointer<T> MCursor::tpointer<T>::operator - ( int i ) const { SU_ASSERT( ptr ); MCursor::tpointer<T> p = *this; p.ptr -= i; return p; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator += ( int i ) { SU_ASSERT( ptr ); ptr += i; return *this; } template <typename T> inline MCursor::tpointer<T>& MCursor::tpointer<T>::operator -= ( int i ) { SU_ASSERT( ptr ); ptr -= i; return *this; } template <typename T> inline int MCursor::tpointer<T>::operator - ( T* r ) { SU_ASSERT( ptr ); return ptr - r; } template <typename T> inline MCursor::tpointer<T>::operator T* ( ) { SU_ASSERT( ptr ); return ptr; } template <typename T> inline void MCursor::align ( ) { align( sizeof(T)*8 ); } template <typename T> inline T MCursor::readmsb ( ) { T t; readB( (byte*)&t, sizeof(t) ); return util::MSBToNative(t); } template <typename T> inline T MCursor::readlsb ( ) { T t; readB( (byte*)&t, sizeof(t) ); return util::LSBToNative(t); } template <typename T> inline void MCursor::writemsb ( const T& t ) { T tt = util::NativeToMSB(t); writeB( (byte*)&tt, sizeof(tt) ); } template <typename T> inline void MCursor::writelsb ( const T& t ) { T tt = util::NativeToLSB(t); writeB( (byte*)&tt, sizeof(tt) ); } template <typename T> inline T MCursor::readB ( ) { T t; readB( (byte*)&t, sizeof(t) ); } template <typename T> inline void MCursor::writeB ( const T& t ) { writeB( (byte*)&t, sizeof(t) ); } template <typename T> inline void MCursor::readstring ( T& outString ) { outString.clear(); align( 8 ); uint64 p, eos; p = pos(); if( findB(eos,0) ) { SU_ASSERT( eos >= p ); outString.copy( (char*)by() ); seek( eos+8 ); } } template <typename T> inline void MCursor::readstring ( T& outString, uint incapacity ) { SU_ASSERT( incapacity < 256 ); outString.clear(); char tmp[256]; if( incapacity < 256 ) { readB( (byte*)tmp, incapacity ); tmp[ incapacity ] = 0; outString.copy( tmp ); } } } #endif // _su_mcursori_h_
ed18a1a95c2dfc0bc58c5dd5bb3ad6b2ee658cb7
2e45720a8747bbcd06213a3dfc2b3a5c668052d6
/org.glite.wms.core/interface/glite/wms/ism/purchaser/ism-file-purchaser.h
d56207c5c8c81d79aefb6de8686c16c6de36aa16
[ "Apache-2.0" ]
permissive
italiangrid/org.glite.wms
df0616a06b034b875b3c93e16995fc022a206685
0fc86edb5b0395c5400023a4cfb29b5273eba729
refs/heads/master
2021-01-10T20:25:56.444145
2015-01-23T15:09:44
2015-01-23T15:09:44
5,776,443
2
0
null
null
null
null
UTF-8
C++
false
false
2,407
h
ism-file-purchaser.h
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners for details on the copyright holders. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // File: ism-file-purchaser.h // Author: Salvatore Monforte <Salvatore.Monforte@ct.infn.it> // Copyright (c) 2004 EU DataGrid. // $Id: ism-file-purchaser.h,v 1.3.8.1.2.1.4.2 2010/04/08 13:54:43 mcecchi Exp $ #ifndef GLITE_WMS_ISM_PURCHASER_ISM_FILE_PURCHASER_H #define GLITE_WMS_ISM_PURCHASER_ISM_FILE_PURCHASER_H #include <string> #include <vector> #include "glite/wms/ism/purchaser/common.h" #include "glite/wms/ism/purchaser/ism-purchaser.h" #include "glite/wms/ism/purchaser/ism-ii-purchaser.h" #include "glite/wms/ism/purchaser/ism-cemon-purchaser.h" #include "glite/wms/ism/purchaser/ism-rgma-purchaser.h" namespace glite { namespace wms { namespace ism { namespace purchaser { class ism_file_purchaser : public ism_purchaser { public: ism_file_purchaser( std::string const& file, exec_mode_t mode = once, size_t interval = 30, exit_predicate_type exit_predicate = exit_predicate_type(), skip_predicate_type skip_predicate = skip_predicate_type() ); void operator()(); private: std::string m_filename; }; namespace file { // the types of the class factories typedef ism_file_purchaser* create_t( std::string const& file, exec_mode_t mode = once, size_t interval = 30, exit_predicate_type exit_predicate = exit_predicate_type(), skip_predicate_type skip_predicate = skip_predicate_type() ); typedef void destroy_t(ism_file_purchaser*); // the type of the set entry update factory function typedef void set_purchaser_entry_update_fns_t( ii::create_entry_update_fn_t*, cemon::create_entry_update_fn_t*, rgma::create_entry_update_fn_t* ); } } // namespace purchaser } // namespace ism } // namespace wms } // namespace glite #endif
2837a80a606a3f4ef21c524f79e4d79275757d6d
66cc722357e79b8068f4a887b47b46cda309f8bd
/NARODMON/narodmon-ds18b20.ino
25b6af9fac6a081fe08d0ad6e63b8b0f318f437e
[]
no_license
LuckyLiski/MyArduino
ba6319881822bca29b7c83147f6ff49b01faeafa
f994c27015e8e2c6f995e11858c0f3cd79c69516
refs/heads/master
2021-01-01T16:45:07.351319
2016-10-18T10:34:32
2016-10-18T10:34:32
11,216,704
2
0
null
null
null
null
UTF-8
C++
false
false
7,189
ino
narodmon-ds18b20.ino
// Скетч для Arduino для отправки данных о температуре на Народный мониторинг. // Версия 1.3 (16.07.2014) // // Автор: Гладышев Дмитрий (2012-2014) // http://student-proger.ru/2012/06/podklyuchenie-arduino-k-otechestvennomu-proektu-narodnogo-monitoringa/ #include <SPI.h> #include <Ethernet.h> #include <OneWire.h> bool Debug = true; //режим отладки //**************************************************************************************** byte mac[] = { 0xDE, 0xAD, 0xBE, 0x13, 0x04, 0x84 }; //MAC-адрес Arduino OneWire ds(2); //пин подключения термодатчика const unsigned long postingInterval = 300000; // интервал между отправками данных в миллисекундах (5 минут) //**************************************************************************************** IPAddress server(94,19,113,221); // IP сервера EthernetClient client; unsigned long lastConnectionTime = 0; // время последней передачи данных boolean lastConnected = false; // состояние подключения int HighByte, LowByte, TReading, SignBit, Tc_100, Whole, Fract; char replyBuffer[160]; int CountSensors; void setup() { if (Debug) { Serial.begin(9600); } delay(1000); // Ethernet connection: if (Ethernet.begin(mac) == 0) { if (Debug) { Serial.println("Failed to configure Ethernet using DHCP"); } // ничего не делаем for(;;); } // секунда для инициализации Ethernet delay(1000); //Узнаём количество термодатчиков CountSensors = DsCount(); if (Debug) { Serial.print("Found "); Serial.print(CountSensors); Serial.println(" sensors."); } lastConnectionTime = millis()-postingInterval+15000; //первое соединение через 15 секунд после запуска } void loop() { //Если вдруг нам случайно приходят откуда-то какие-то данные, //то просто читаем их и игнорируем, чтобы очистить буфер if (client.available()) { client.read(); } if (!client.connected() && lastConnected) { if (Debug) { Serial.println(); Serial.println("disconnecting."); } client.stop(); } //если не подключены и прошло определённое время, то делаем замер, //переподключаемся и отправляем данные if (!client.connected() && (millis() - lastConnectionTime > postingInterval)) { //формирование HTTP-запроса memset(replyBuffer, 0, sizeof(replyBuffer)); strcpy(replyBuffer,"ID="); //Конвертируем MAC-адрес for (int k=0; k<6; k++) { int b1=mac[k]/16; int b2=mac[k]%16; char c1[2],c2[2]; if (b1>9) c1[0]=(char)(b1-10)+'A'; else c1[0] = (char)(b1) + '0'; if (b2>9) c2[0]=(char)(b2-10)+'A'; else c2[0] = (char)(b2) + '0'; c1[1]='\0'; c2[1]='\0'; strcat(replyBuffer,c1); strcat(replyBuffer,c2); } //Сбрасываем поиск датчиков (кол-во нам уже известно) ds.reset_search(); //Теперь в цикле опрашиваем все датчики сразу for (int j=0; j<CountSensors; j++) { byte i; byte present = 0; byte data[12]; byte addr[8]; if ( !ds.search(addr)) { ds.reset_search(); return; } ds.reset(); ds.select(addr); ds.write(0x44,1); delay(1000); present = ds.reset(); ds.select(addr); ds.write(0xBE); for ( i = 0; i < 9; i++) // we need 9 bytes { data[i] = ds.read(); } LowByte = data[0]; HighByte = data[1]; TReading = (HighByte << 8) + LowByte; SignBit = TReading & 0x8000; // test most sig bit if (SignBit) // negative { TReading = (TReading ^ 0xffff) + 1; // 2's comp } Tc_100 = (6 * TReading) + TReading / 4; // multiply by (100 * 0.0625) or 6.25 Whole = Tc_100 / 100; // separate off the whole and fractional portions Fract = Tc_100 % 100; char temp[3]; itos(Whole,temp); strcat(replyBuffer,"&"); //конвертируем адрес термодатчика for (int k=7; k>=0; k--) { int b1=addr[k]/16; int b2=addr[k]%16; char c1[2],c2[2]; if (b1>9) c1[0]=(char)(b1-10)+'A'; else c1[0] = (char)(b1) + '0'; if (b2>9) c2[0]=(char)(b2-10)+'A'; else c2[0] = (char)(b2) + '0'; c1[1]='\0'; c2[1]='\0'; strcat(replyBuffer,c1); strcat(replyBuffer,c2); } strcat(replyBuffer,"="); if (SignBit) //если температура отрицательная, добавляем знак минуса { strcat(replyBuffer,"-"); } strcat(replyBuffer,temp); strcat(replyBuffer,"."); if (Fract<10) { strcat(replyBuffer,"0"); } itos(Fract,temp); strcat(replyBuffer,temp); } strcat(replyBuffer,'\0'); if (Debug) { Serial.println(replyBuffer); Serial.print("Content-Length: "); Serial.println(len(replyBuffer)); } //отправляем запрос httpRequest(); } //храним последнее состояние подключения lastConnected = client.connected(); } void httpRequest() { if (client.connect(server, 80)) { if (Debug) { Serial.println("connecting..."); } // send the HTTP POST request: client.println("POST http://narodmon.ru/post.php HTTP/1.0"); client.println("Host: narodmon.ru"); //client.println("User-Agent: arduino-ethernet"); //client.println("Connection: close"); client.println("Content-Type: application/x-www-form-urlencoded"); client.print("Content-Length: "); client.println(len(replyBuffer)); client.println(); client.println(replyBuffer); client.println(); lastConnectionTime = millis(); } else { if (Debug) { Serial.println("connection failed"); Serial.println("disconnecting."); } client.stop(); } } //Количество термодатчиков на шине int DsCount() { int count=0; bool thatsall = false; byte addr[8]; do { if ( !ds.search(addr)) { ds.reset_search(); thatsall = true; } count++; } while(!thatsall); return (count-1); } int len(char *buf) { int i=0; do { i++; } while (buf[i]!='\0'); return i; } void itos(int n, char bufp[3]) //int to string { char buf[3]={'0','0','\0'}; int i = 1; while (n > 0) { buf[i] = (n % 10)+48; i--; n /= 10; } for (i=0; i<3; i++) bufp[i]=buf[i]; }
1f1821a7103da3977c5c4acee6ac9ae3a600b8ae
06bed8ad5fd60e5bba6297e9870a264bfa91a71d
/LayoutEditor/generated_cpp/test/test0.h
9484bbb5e83fe7ec9503dc9b9e53806d61f06de5
[]
no_license
allenck/DecoderPro_app
43aeb9561fe3fe9753684f7d6d76146097d78e88
226c7f245aeb6951528d970f773776d50ae2c1dc
refs/heads/master
2023-05-12T07:36:18.153909
2023-05-10T21:17:40
2023-05-10T21:17:40
61,044,197
4
3
null
null
null
null
UTF-8
C++
false
false
4,657
h
test0.h
#include <PythonQt.h> #include <QObject> #include <QVariant> #include <qbytearray.h> #include <qlist.h> #include <qobject.h> #include <test/testbase.h> class PythonQtShell_TestBase : public TestBase { public: PythonQtShell_TestBase(QObject* parent = nullptr):TestBase(parent),_wrapper(NULL) {} ~PythonQtShell_TestBase(); virtual QString base3(); virtual QString base4(); virtual void childEvent(QChildEvent* event); virtual void customEvent(QEvent* event); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* watched, QEvent* event); virtual void timerEvent(QTimerEvent* event); const QMetaObject* metaObject() const; int qt_metacall(QMetaObject::Call call, int id, void** args); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_TestBase : public TestBase { public: inline QString py_q_base3() { return TestBase::base3(); } inline QString py_q_base4() { return TestBase::base4(); } }; class PythonQtWrapper_TestBase : public QObject { Q_OBJECT public: public slots: TestBase* new_TestBase(QObject* parent = nullptr); void delete_TestBase(TestBase* obj) { delete obj; } QString base1(TestBase* theWrappedObject); QString base2(TestBase* theWrappedObject); QString base3(TestBase* theWrappedObject); QString py_q_base3(TestBase* theWrappedObject){ return (((PythonQtPublicPromoter_TestBase*)theWrappedObject)->py_q_base3());} QString base4(TestBase* theWrappedObject); QString py_q_base4(TestBase* theWrappedObject){ return (((PythonQtPublicPromoter_TestBase*)theWrappedObject)->py_q_base4());} QWidget* getWidget(TestBase* theWrappedObject); }; class PythonQtShell_TestIntermediate : public TestIntermediate { public: PythonQtShell_TestIntermediate(QObject* parent = nullptr):TestIntermediate(parent),_wrapper(NULL) {} ~PythonQtShell_TestIntermediate(); virtual QString base3(); virtual QString base4(); virtual void childEvent(QChildEvent* event); virtual void customEvent(QEvent* event); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* watched, QEvent* event); virtual QString intermediate3(); virtual void timerEvent(QTimerEvent* event); const QMetaObject* metaObject() const; int qt_metacall(QMetaObject::Call call, int id, void** args); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_TestIntermediate : public TestIntermediate { public: inline QString py_q_base3() { return TestIntermediate::base3(); } inline QString py_q_intermediate3() { return TestIntermediate::intermediate3(); } }; class PythonQtWrapper_TestIntermediate : public QObject { Q_OBJECT public: public slots: TestIntermediate* new_TestIntermediate(QObject* parent = nullptr); void delete_TestIntermediate(TestIntermediate* obj) { delete obj; } QString py_q_base3(TestIntermediate* theWrappedObject){ return (((PythonQtPublicPromoter_TestIntermediate*)theWrappedObject)->py_q_base3());} QMenu* getMenu(TestIntermediate* theWrappedObject); QString intermediate1(TestIntermediate* theWrappedObject); QString intermediate2(TestIntermediate* theWrappedObject); QString intermediate3(TestIntermediate* theWrappedObject); QString py_q_intermediate3(TestIntermediate* theWrappedObject){ return (((PythonQtPublicPromoter_TestIntermediate*)theWrappedObject)->py_q_intermediate3());} }; class PythonQtShell_TestPrimary : public TestPrimary { public: PythonQtShell_TestPrimary(QObject* parent = nullptr):TestPrimary(parent),_wrapper(NULL) {} ~PythonQtShell_TestPrimary(); virtual QString base3(); virtual QString base4(); virtual void childEvent(QChildEvent* event); virtual void customEvent(QEvent* event); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* watched, QEvent* event); virtual QString intermediate3(); virtual void timerEvent(QTimerEvent* event); const QMetaObject* metaObject() const; int qt_metacall(QMetaObject::Call call, int id, void** args); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_TestPrimary : public TestPrimary { public: inline QString py_q_base4() { return TestPrimary::base4(); } }; class PythonQtWrapper_TestPrimary : public QObject { Q_OBJECT public: public slots: TestPrimary* new_TestPrimary(QObject* parent = nullptr); void delete_TestPrimary(TestPrimary* obj) { delete obj; } QString py_q_base4(TestPrimary* theWrappedObject){ return (((PythonQtPublicPromoter_TestPrimary*)theWrappedObject)->py_q_base4());} int getInt(TestPrimary* theWrappedObject); QString primary1(TestPrimary* theWrappedObject); QString primary2(TestPrimary* theWrappedObject); };
7fccefac0180d1c186c3bee42a7f9ebc53fe5ef9
0e2af594c166bde94bfa338860befc417c63d857
/StellaCharta/Game/Entities/Collisions/Polygon.cpp
fe23fe298ab684bfadfc0924d346549764f54584
[]
no_license
ZachPerkins1/StellaCharta
c3c9d8a4bc208159f604ed7b25e7b10fa76d3ca7
68b150af4985dc2ecf4508b9a039f1e21990a4db
refs/heads/master
2021-01-17T17:57:25.809378
2016-07-16T02:25:34
2016-07-16T02:25:34
59,330,123
0
0
null
null
null
null
UTF-8
C++
false
false
3,057
cpp
Polygon.cpp
#include "Polygon.h" Polygon::Polygon() { points = new std::vector<Vector>; } Polygon::~Polygon() { } Polygon Polygon::createFromPoints(std::vector<Vector> points) { Polygon p; for (int i = 0; i < points.size(); i++) { p.addPoint(points[i]); } return p; } Polygon Polygon::convexHull() { std::vector<Vector> points = *(this->points); int n = points.size(); if (n < 3) return Polygon(); std::vector<Vector> hull; //Find point w/ lowest x and y int lowest = 0; for (int i = 1; i < n; i++) { Vector l = points[lowest]; Vector p = points[i]; if (p.y > l.y) { lowest = i; } else if (p.y == l.y) { if (p.x < l.x) { lowest = i; } } } Vector tmp = points[0]; points[0] = points[lowest]; points[lowest] = tmp; //Sort points based on polar angle from point 0 for (int i = 1; i < n; i++) { for (int q = 1; q < n; q++) { Vector a = points[i]; Vector b = points[q]; float islopea = (a.x - points[0].x) / (a.y - points[0].y); float islopeb = (b.x - points[0].x) / (b.y - points[0].y); if (islopea > islopeb) { points[q] = a; points[i] = b; } } } hull.push_back(points[0]); int s = 2; for (int i = 1; i < n; i++) { if (utility::getOrientation(hull[0], points[i], points[i + 1]) == utility::COUNTER_CLOCKWISE) { hull.push_back(points[i]); hull.push_back(points[i + 1]); s = i + 2; break; } } n = points.size(); int hi = 2; for (int i = s; i < n; i++) { sf::Vector2f a = hull[hi - 1]; sf::Vector2f b = hull[hi]; sf::Vector2f c = points[i]; while (utility::getOrientation(hull[hi - 1], hull[hi], points[i]) != utility::COUNTER_CLOCKWISE) { hull.pop_back(); hi--; } hull.push_back(points[i]); hi++; } return Polygon::createFromPoints(hull); } Polygon Polygon::add(Polygon p) { Polygon sum; for (int a = 0; a < this->vertexCount(); a++) { for (int b = 0; b < p.vertexCount(); b++) { sum.addPoint(getPoint(a) + p.getPoint(b)); } } return sum.convexHull(); } Polygon Polygon::subtract(Polygon p) { Polygon diff; for (int a = 0; a < this->vertexCount(); a++) { for (int b = 0; b < p.vertexCount(); b++) { diff.addPoint(getPoint(a) - p.getPoint(b)); } } return diff.convexHull(); } Polygon Polygon::combine(Polygon p) { Polygon com; for (int i = 0; i < this->vertexCount(); i++) { com.addPoint(this->getPoint(i)); } for (int i = 0; i < p.vertexCount(); i++) { com.addPoint(p.getPoint(i)); } return com; } sf::Vector2f Polygon::support(Vector vector) { int index = 0; if (points->size() > 0) { float maxDot = vector * Vector((*points)[0]); for (int i = 1; i < points->size(); i++) { double dot = vector * Vector((*points)[i]); if (dot > maxDot) { maxDot = dot; index = i; } } } return (*points)[index]; } void Polygon::addPoint(Vector point) { points->push_back(point); } std::vector<Vector>* Polygon::getPointList() { return points; } Vector Polygon::getPoint(int index) { return (*points)[index]; } int Polygon::vertexCount() { return points->size(); }