blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4071f2fe4cfb8901e290ec2a851b58dcb156dda9 | 2f932624c3f6a0f88056d6f9ff9d9c3636eb3774 | /CG_HW/CG/math/intersectionTest.cpp | 6d25297a64f912a0d400e347709bdbc5987e9f15 | [] | no_license | Sikurity/homeworks | 4046dfedebc3ec15f9e8a1a9da07771a07f5e58c | f5dcc953c591524f5f6fceeb58ad3b32b6aae680 | refs/heads/master | 2020-06-27T16:14:00.066899 | 2017-12-07T09:28:46 | 2017-12-07T09:28:49 | 97,064,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,580 | cpp | #include "mathclass.h"
#include "intersectionTest.h"
#include "interval.h"
Plane::Plane ()
:normal(0,0,0),
d(0.0)
{
}
Plane::Plane (const vector3& vNormal, double offset)
{
normal = vNormal;
d = -offset;
}
Plane::Plane (const vector3& vNormal, const vector3& vPoint)
{
setPlane(vNormal, vPoint);
}
Plane::Plane (const vector3& vPoint0, const vector3& vPoint1,
const vector3& vPoint2)
{
setPlane(vPoint0, vPoint1, vPoint2);
}
double Plane::distance(const vector3& vPoint) const
{
return normal%vPoint + d;
}
void Plane::setPlane(const vector3& vPoint0, const vector3& vPoint1,
const vector3& vPoint2)
{
vector3 kEdge1 = vPoint1 - vPoint0;
vector3 kEdge2 = vPoint2 - vPoint0;
normal.cross(kEdge1, kEdge2);
normal.normalize();
d = -normal%vPoint0;
}
void Plane::setPlane(const vector3& vNormal, const vector3& vPoint)
{
normal = vNormal;
normal .normalize();
d = -vNormal%vPoint;
}
bool Sphere::isInside(std::vector<Plane>& vol) const
{
if(vol.size())
{
bool bInside=true;
for(int j=0; j<vol.size(); j++)
{
// dist= -1
// -------------- dist=0
// | dist=1
// inside | dist=2
if(vol[j].distance(center)<radius)
{
bInside=false; break;
}
}
if(bInside) return true;
}
return false;
}
std::pair<bool, double> Ray::intersects(const vector3& a,
const vector3& b, const vector3& c, bool bCCW) const
{
vector3 normal;
normal.cross(b-a, c-a);
normal.normalize();
if(!bCCW) normal*=-1;
return Ray::intersects(a,b,c,normal, true, false);
}
std::pair<bool, double> Ray::intersects(const vector3& a,
const vector3& b, const vector3& c, const vector3& normal,
bool positiveSide, bool negativeSide) const
{
const Ray& ray=*this;
//
// Calculate intersection with plane.
//
double t;
{
double denom = normal%ray.direction();
// Check intersect side
if (denom > + std::numeric_limits<double>::epsilon())
{
if (!negativeSide)
return std::pair<bool, double>(false, 0);
}
else if (denom < - std::numeric_limits<double>::epsilon())
{
if (!positiveSide)
return std::pair<bool, double>(false, 0);
}
else
{
// Parallel or triangle area is close to zero when
// the plane normal not normalised.
return std::pair<bool, double>(false, 0);
}
t = normal%(a - ray.origin()) / denom;
if (t < 0)
{
// Intersection is behind origin
return std::pair<bool, double>(false, 0);
}
}
//
// Calculate the largest area projection plane in X, Y or Z.
//
int i0, i1;
{
double n0 = ABS(normal[0]);
double n1 = ABS(normal[1]);
double n2 = ABS(normal[2]);
i0 = 1; i1 = 2;
if (n1 > n2)
{
if (n1 > n0) i0 = 0;
}
else
{
if (n2 > n0) i1 = 0;
}
}
//
// Check the intersection point is inside the triangle.
//
{
double u1 = b[i0] - a[i0];
double v1 = b[i1] - a[i1];
double u2 = c[i0] - a[i0];
double v2 = c[i1] - a[i1];
double u0 = t * ray.direction()[i0] + ray.origin()[i0] - a[i0];
double v0 = t * ray.direction()[i1] + ray.origin()[i1] - a[i1];
double alpha = u0 * v2 - u2 * v0;
double beta = u1 * v0 - u0 * v1;
double area = u1 * v2 - u2 * v1;
// epsilon to avoid float precision error
const double EPSILON = 1e-3f;
double tolerance = - EPSILON * area;
if (area > 0)
{
if (alpha < tolerance || beta < tolerance || alpha+beta > area-tolerance)
return std::pair<bool, double>(false, 0);
}
else
{
if (alpha > tolerance || beta > tolerance || alpha+beta < area-tolerance)
return std::pair<bool, double>(false, 0);
}
}
return std::pair<bool, double>(true, t);
}
std::pair<bool, double> Ray::intersects(const Plane& plane) const
{
Ray const& ray=*this;
double denom = plane.normal%ray.direction();
if (ABS(denom) < std::numeric_limits<double>::epsilon())
{
// Parallel
return std::pair<bool, double>(false, 0);
}
else
{
double nom = plane.normal%ray.origin() + plane.d;
double t = -(nom/denom);
return std::pair<bool, double>(t >= 0, t);
}
}
std::pair<bool, double> Ray::intersects(const std::vector<Plane>& planes) const
{
const Ray& ray=*this;
std::vector<Plane>::const_iterator planeit, planeitend;
planeitend = planes.end();
std::pair<bool, double> ret;
ret.first = false;
ret.second = -100000;
interval overlap(-100000, 100000);
for (planeit = planes.begin(); planeit != planeitend; ++planeit)
{
const Plane& plane = *planeit;
{
// Test single plane
std::pair<bool, double> planeRes =
ray.intersects(plane);
//if (planeRes.first)
{
// is origin outside?
if (plane.distance(ray.origin())>0)
overlap&=interval(planeRes.second,100000);
else
overlap&=interval(-100000, planeRes.second);
}
}
}
//printf(">> %f %f:", overlap.start_pt(), overlap.end_pt());
if (overlap.len()>0)
{
ret.first = true;
ret.second = overlap.start_pt();
}
else
{
ret.first=false;
}
return ret;
}
std::pair<bool, double> Ray::intersects(const Sphere& sphere) const
{
const Ray& ray=*this;
const vector3& raydir = ray.direction();
// Adjust ray origin relative to sphere center
const vector3& rayorig = ray.origin() - sphere.center;
double radius = sphere.radius;
// Mmm, quadratics
// Build coeffs which can be used with std quadratic solver
// ie t = (-b +/- sqrt(b*b + 4ac)) / 2a
double a = raydir%raydir;
double b = 2 * rayorig%raydir;
double c = rayorig%rayorig - radius*radius;
// Calc determinant
double d = (b*b) - (4 * a * c);
if (d < 0)
{
// No intersection
return std::pair<bool, double>(false, 0);
}
else
{
// BTW, if d=0 there is one intersection, if d > 0 there are 2
// But we only want the closest one, so that's ok, just use the
// '-' version of the solver
double t = ( -b - sqrt(d) ) / (2 * a);
if (t < 0)
t = ( -b + sqrt(d) ) / (2 * a);
return std::pair<bool, double>(true, t);
}
}
| [
"leejk9592@naver.com"
] | leejk9592@naver.com |
2af692bc361f260f3f429f77ac2dd5c0686518d2 | 04d4ec18056c69659d370ce8e4f3c330e48cbe94 | /dialog2.h | 53d75151d8d5c51afd66902731f9e72c179ee7b2 | [] | no_license | javosmar/limpio | c2c8c6bae921e15790b24300fc282fe838133452 | 1111982764e316b2bff066df3f4687ade29b14b2 | refs/heads/master | 2021-04-29T14:39:45.319531 | 2018-02-20T18:41:55 | 2018-02-20T18:41:55 | 121,779,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #ifndef DIALOG2_H
#define DIALOG2_H
#include <QDialog>
namespace Ui {
class Dialog2;
}
class Dialog2 : public QDialog
{
Q_OBJECT
public:
explicit Dialog2(QWidget *parent = 0);
~Dialog2();
QString pedido() const;
signals:
void senal();
private slots:
void on_buttonBox_accepted();
private:
Ui::Dialog2 *ui;
QString texto;
};
#endif // DIALOG2_H
| [
"javosmar@gmail.com"
] | javosmar@gmail.com |
c72dbda744be7d7aeaf051aff56d98c4ed5602db | dbe769fe5497f051859c20dd2fea662d4cffd47d | /handle_detector/src/cylindrical_shell.cpp | b7ceae8e192f2d468790647e69b06bd5af796bd9 | [
"BSD-2-Clause"
] | permissive | TaraBrshk/pr2_eih_ros | 29fd8d549d1638641a401c99b6b7b65cd8fd1705 | bb2c9e431172ba0e88e5656bbdc8b9c647428027 | refs/heads/master | 2021-02-19T01:48:35.562895 | 2014-11-30T21:13:16 | 2014-11-30T21:13:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,380 | cpp | #include <handle_detector/cylindrical_shell.h>
void
CylindricalShell::fitCylinder(const PointCloud::Ptr &cloud, const std::vector<int> &indices,
const Eigen::Vector3d &normal, const Eigen::Vector3d &curvature_axis)
{
// rotate points into axis aligned coordinate frame
int n = indices.size();
Eigen::Matrix3d R;
R.col(0) = normal;
R.col(1) = curvature_axis;
R.col(2) = normal.cross(curvature_axis);
Eigen::Matrix<double,3,Eigen::Dynamic> pts(3, n);
for (int i = 0; i < n; i++)
pts.col(i) << cloud->points[indices[i]].x, cloud->points[indices[i]].y, cloud->points[indices[i]].z;
Eigen::MatrixXd Rpts = R.transpose() * pts;
// fit circle
Eigen::RowVectorXd x = Rpts.row(0);
Eigen::RowVectorXd y = Rpts.row(1);
Eigen::RowVectorXd z = Rpts.row(2);
Eigen::RowVectorXd x2 = x.cwiseProduct(x);
Eigen::RowVectorXd z2 = z.cwiseProduct(z);
Eigen::RowVectorXd one = Eigen::MatrixXd::Ones(1,n);
Eigen::MatrixXd l(3,n);
l << x, z, one;
Eigen::RowVectorXd gamma = x2 + z2;
Eigen::Matrix3d Q = l * l.transpose();
Eigen::Vector3d c = ((gamma.replicate(3,1)).cwiseProduct(l)).rowwise().sum();
Eigen::Vector3d paramOut = -1 * Q.inverse() * c;
// compute circle parameters
Eigen::Vector2d circleCenter = -0.5 * paramOut.segment(0,2);
double circleRadius = sqrt(0.25 * (paramOut(0)*paramOut(0) + paramOut(1)*paramOut(1)) - paramOut(2));
double axisCoord = y.sum() / n;
// get cylinder parameters from circle parameters
Eigen::Vector3d centroid_cyl_no_rot;
centroid_cyl_no_rot << circleCenter(0), axisCoord, circleCenter(1);
this->centroid = R * centroid_cyl_no_rot;
this->radius = circleRadius;
this->extent = y.maxCoeff() - y.minCoeff();
this->curvature_axis = curvature_axis;
this->normal = normal;
}
//bool
//CylindricalShell::hasClearance(const PointCloud::Ptr &cloud, double maxHandAperture,
// double handleGap)
//{
// int min_points_inner = 40; // min number of points required to be within the inner cylinder
// int gap_threshold = 5; // threshold below which the gap is considered to be large enough
// double outer_sample_radius = 1.5 * (maxHandAperture + handleGap); // outer sample radius
//
// // set-up an Organized Neighbor search
// if (cloud->isOrganized())
// {
// pcl::search::OrganizedNeighbor<pcl::PointXYZ>::Ptr organized_neighbor
// (new pcl::search::OrganizedNeighbor<pcl::PointXYZ>());
// organized_neighbor->setInputCloud(cloud);
// pcl::PointXYZ searchPoint;
// std::vector<int> nn_indices;
// std::vector<float> nn_dists;
// searchPoint.x = this->centroid(0);
// searchPoint.y = this->centroid(1);
// searchPoint.z = this->centroid(2);
//
// // find points that lie inside the cylindrical shell
// if (organized_neighbor->radiusSearch(searchPoint, outer_sample_radius, nn_indices, nn_dists) > 0 )
// {
// std::vector<int> cropped_indices;
//
// for (int i = 0; i < nn_indices.size(); i++)
// {
// Eigen::Vector3d cropped = cloud->points[nn_indices[i]].getVector3fMap().cast<double>();
// double axialDist = this->curvature_axis.dot(cropped - centroid);
// if (fabs(axialDist) < this->extent / 2)
// {
// cropped_indices.push_back(i);
// }
// }
//
// Eigen::Matrix<double,3,Eigen::Dynamic> croppedPts(3,cropped_indices.size());
// for (int i = 0; i < cropped_indices.size(); i++)
// croppedPts.col(i) = cloud->points[nn_indices[cropped_indices[i]]].getVector3fMap().cast<double>();
//
// Eigen::MatrixXd normalDiff = (Eigen::MatrixXd::Identity(3,3) - curvature_axis * curvature_axis.transpose()) * (croppedPts - centroid.replicate(1, croppedPts.cols()));
// Eigen::VectorXd normalDist = normalDiff.cwiseProduct(normalDiff).colwise().sum().cwiseSqrt();
//
// /* increase cylinder radius until number of points in gap is smaller than <gap_threshold> and
// * number of points within the inner cylinder is larger than <min_points_inner> */
// for (double r = this->radius; r <= maxHandAperture; r += 0.001)
// {
// //~ int numInGap = (normalDist.array() > r && normalDist.array() < r + handleGap).count();
// int numInGap = ((normalDist.array() > r) * (normalDist.array() < r + handleGap) == true).count();
// int numInside = (normalDist.array() <= r).count();
// //~ printf("numInGap: %i, numInside: %i, \n", numInGap, numInside);
//
// if (numInGap < gap_threshold && numInside > min_points_inner)
// {
// this->radius = r;
// return true;
// }
// }
// }
// }
// else
// {
// pcl::KdTreeFLANN<pcl::PointXYZ> tree;
// tree.setInputCloud(cloud);
// pcl::PointXYZ searchPoint;
// std::vector<int> nn_indices;
// std::vector<float> nn_dists;
// searchPoint.x = this->centroid(0);
// searchPoint.y = this->centroid(1);
// searchPoint.z = this->centroid(2);
//
// // find points that lie inside the cylindrical shell
// if (tree.radiusSearch(searchPoint, outer_sample_radius, nn_indices, nn_dists) > 0 )
// {
// std::vector<int> cropped_indices;
//
// for (int i = 0; i < nn_indices.size(); i++)
// {
// Eigen::Vector3d cropped = cloud->points[nn_indices[i]].getVector3fMap().cast<double>();
// double axialDist = this->curvature_axis.dot(cropped - centroid);
// if (fabs(axialDist) < this->extent / 2)
// {
// cropped_indices.push_back(i);
// }
// }
//
// Eigen::Matrix<double,3,Eigen::Dynamic> croppedPts(3,cropped_indices.size());
// for (int i = 0; i < cropped_indices.size(); i++)
// croppedPts.col(i) = cloud->points[nn_indices[cropped_indices[i]]].getVector3fMap().cast<double>();
//
// Eigen::MatrixXd normalDiff = (Eigen::MatrixXd::Identity(3,3) - curvature_axis * curvature_axis.transpose()) * (croppedPts - centroid.replicate(1, croppedPts.cols()));
// Eigen::VectorXd normalDist = normalDiff.cwiseProduct(normalDiff).colwise().sum().cwiseSqrt();
//
// /* increase cylinder radius until number of points in gap is smaller than <gap_threshold> and
// * number of points within the inner cylinder is larger than <min_points_inner> */
// for (double r = this->radius; r <= maxHandAperture; r += 0.001)
// {
// //~ int numInGap = (normalDist.array() > r && normalDist.array() < r + handleGap).count();
// int numInGap = ((normalDist.array() > r) * (normalDist.array() < r + handleGap) == true).count();
// int numInside = (normalDist.array() <= r).count();
// //~ printf("numInGap: %i, numInside: %i, \n", numInGap, numInside);
//
// if (numInGap < gap_threshold && numInside > min_points_inner)
// {
// this->radius = r;
// return true;
// }
// }
// }
// }
//
// return false;
//}
bool
CylindricalShell::hasClearance(const PointCloud::Ptr &cloud, double maxHandAperture, double handleGap)
{
int min_points_inner = 40; // min number of points required to be within the inner cylinder
int gap_threshold = 5; // threshold below which the gap is considered to be large enough
double outer_sample_radius = 1.5 * (maxHandAperture + handleGap); // outer sample radius
pcl::PointXYZ searchPoint;
std::vector<int> nn_indices;
std::vector<float> nn_dists;
searchPoint.x = this->centroid(0);
searchPoint.y = this->centroid(1);
searchPoint.z = this->centroid(2);
int num_in_radius = 0;
// set-up an Organized Neighbor search
if (cloud->isOrganized())
{
pcl::search::OrganizedNeighbor<pcl::PointXYZ>::Ptr organized_neighbor
(new pcl::search::OrganizedNeighbor<pcl::PointXYZ>());
organized_neighbor->setInputCloud(cloud);
num_in_radius = organized_neighbor->radiusSearch(searchPoint, outer_sample_radius, nn_indices, nn_dists);
}
else
{
pcl::KdTreeFLANN<pcl::PointXYZ> tree;
tree.setInputCloud(cloud);
num_in_radius = tree.radiusSearch(searchPoint, outer_sample_radius, nn_indices, nn_dists);
}
// find points that lie inside the cylindrical shell
if (num_in_radius > 0 )
{
std::vector<int> cropped_indices;
for (int i = 0; i < nn_indices.size(); i++)
{
Eigen::Vector3d cropped = cloud->points[nn_indices[i]].getVector3fMap().cast<double>();
double axialDist = this->curvature_axis.dot(cropped - centroid);
if (fabs(axialDist) < this->extent / 2)
{
cropped_indices.push_back(i);
}
}
Eigen::Matrix<double,3,Eigen::Dynamic> croppedPts(3,cropped_indices.size());
for (int i = 0; i < cropped_indices.size(); i++)
croppedPts.col(i) = cloud->points[nn_indices[cropped_indices[i]]].getVector3fMap().cast<double>();
Eigen::MatrixXd normalDiff = (Eigen::MatrixXd::Identity(3,3) - curvature_axis * curvature_axis.transpose()) * (croppedPts - centroid.replicate(1, croppedPts.cols()));
Eigen::VectorXd normalDist = normalDiff.cwiseProduct(normalDiff).colwise().sum().cwiseSqrt();
/* increase cylinder radius until number of points in gap is smaller than <gap_threshold> and
* number of points within the inner cylinder is larger than <min_points_inner> */
for (double r = this->radius; r <= maxHandAperture; r += 0.001)
{
//~ int numInGap = (normalDist.array() > r && normalDist.array() < r + handleGap).count();
int numInGap = ((normalDist.array() > r) * (normalDist.array() < r + handleGap) == true).count();
int numInside = (normalDist.array() <= r).count();
//~ printf("numInGap: %i, numInside: %i, \n", numInGap, numInside);
if (numInGap < gap_threshold && numInside > min_points_inner)
{
this->radius = r;
return true;
}
}
}
return false;
}
bool
CylindricalShell::fitRadius(const PointCloud::Ptr& cloud, double maxHandAperture, double handleGap, const std::vector<int>& nn_indices,
int min_points_inner, int gap_threshold)
{
// find points that lie inside the cylindrical shell
std::vector<int> cropped_indices;
for (int i = 0; i < nn_indices.size(); i++)
{
Eigen::Vector3d cropped = cloud->points[nn_indices[i]].getVector3fMap().cast<double>();
double axialDist = this->curvature_axis.dot(cropped - centroid);
if (fabs(axialDist) < this->extent / 2)
{
cropped_indices.push_back(i);
}
}
Eigen::Matrix<double,3,Eigen::Dynamic> croppedPts(3,cropped_indices.size());
for (int i = 0; i < cropped_indices.size(); i++)
croppedPts.col(i) = cloud->points[nn_indices[cropped_indices[i]]].getVector3fMap().cast<double>();
Eigen::MatrixXd normalDiff = (Eigen::MatrixXd::Identity(3,3) - curvature_axis * curvature_axis.transpose()) * (croppedPts - centroid.replicate(1, croppedPts.cols()));
Eigen::VectorXd normalDist = normalDiff.cwiseProduct(normalDiff).colwise().sum().cwiseSqrt();
/* increase cylinder radius until number of points in gap is smaller than <gap_threshold> and
* number of points within the inner cylinder is larger than <min_points_inner> */
for (double r = this->radius; r <= maxHandAperture; r += 0.001)
{
//~ int numInGap = (normalDist.array() > r && normalDist.array() < r + handleGap).count();
int numInGap = ((normalDist.array() > r) * (normalDist.array() < r + handleGap) == true).count();
int numInside = (normalDist.array() <= r).count();
//~ printf("numInGap: %i, numInside: %i, \n", numInGap, numInside);
if (numInGap < gap_threshold && numInside > min_points_inner)
{
this->radius = r;
return true;
}
}
return false;
}
| [
"gkahn13@gmail.com"
] | gkahn13@gmail.com |
82743939a51085d8bdfc87a6bb4097675817c956 | 602a895c5835d59934385710910c98c17610b5f5 | /src/calc/engine/proc/base/ElementInteger.cpp | 9e0462cb9ca64b62f97f0f6c687a8359dc1c458e | [
"MIT"
] | permissive | yuishin-kikuchi/eckert | ebb73dc960ec07e2ecb83a02898e69d15c70e9ab | bb7ac85173dc7f3d895764a5df51adbdbfd76024 | refs/heads/master | 2022-11-27T04:30:34.313614 | 2022-11-05T12:13:33 | 2022-11-05T12:13:33 | 76,098,919 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | #include "ElementInteger.h"
namespace engine {
////==--------------------------------------------------------------------====//
// ECKERT ELEMENT - INTEGER / Constructor
// [ description ]
// Constructor using integer_t.
// [ Update ]
// Nov 13, 2016
//====--------------------------------------------------------------------==////
Integer::Integer(const integer_t &num) {
_data = num;
}
////==--------------------------------------------------------------------====//
// ECKERT ELEMENT - INTEGER / Clone
// [ description ]
// Generate its clone and return the shared pointer that points.
// [ Update ]
// Nov 13, 2016
//====--------------------------------------------------------------------==////
SpElement Integer::clone() const {
return SpElement(new Integer(_data));
}
} // namespace engine
| [
"only.my.truth@gmail.com"
] | only.my.truth@gmail.com |
8cca23b8e4864614eecf54522c94e17a0c5788f1 | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/test/test_lowRe/wedge/wedge1/4/phi | 48d7b0f873382928075f04f7e85e3646b3b8c00d | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377,392 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "4";
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>
44730
(
-595.34
664.866
-69.5265
1060.34
-1070.94
10.605
-335.301
382.877
-47.576
229.503
-260.465
30.9623
-498.707
498.707
223.115
-265.631
42.5156
-364.514
368.671
-4.15678
22.8815
-560.318
537.437
663.223
-833.296
170.073
-1009.25
1102.23
-92.9766
551.932
-139.974
-411.958
-530.766
537.179
-6.4124
-687.917
582.706
105.211
-859.818
868.88
-9.06242
246.085
54.2427
-300.328
386.267
-10.5792
-375.688
814.684
-666.847
-147.837
-384.772
392.495
-7.72292
161.452
314.771
-476.223
291.135
-357.893
66.7578
-594.121
81.6458
512.475
724.268
-61.0446
50.2595
-385.56
136.619
-489.682
353.063
249.597
-148.245
-101.352
1065.4
-5.06157
659.908
-681.062
21.1537
-269.457
-20.0476
289.505
279.979
-33.894
-440.977
543.922
-102.945
950.245
-250.099
-700.146
-664.652
754.04
-89.3879
245.022
-228.522
-16.4996
477.868
-67.67
-410.198
149.964
-419.421
270.281
-432.205
161.924
420.056
-569.097
149.04
292.396
-37.0173
-255.378
823.759
-977.939
154.18
1060.82
-237.066
-1018.03
1035.61
-17.5793
405.099
-94.7257
-310.374
704.01
110.674
196.42
-310.356
113.936
1228.47
-777.7
-450.767
-591.373
150.396
539.912
-538.87
-1.04273
230.516
645.509
-876.025
223.745
537.327
-761.072
-110.363
530.419
-367.238
157.433
209.805
-15.7921
-225.363
241.155
-660.679
-3.97225
240.914
-17.7986
424.608
-38.3414
-254.459
-50.7519
305.211
525.161
-500.082
-25.0793
-34.2346
-559.886
-462.589
39.9411
422.648
-301.598
-23.1849
324.783
799.517
17.5773
-817.094
-409.169
570.621
2.17127
-228.209
226.037
-213.457
483.737
-300.028
421.751
-121.723
265.447
254.678
-520.125
497.967
-128.358
-369.609
428.441
-46.473
-381.968
-459.525
-35.9212
495.446
-986.579
-31.449
1057.1
8.29527
281.128
303.837
-584.965
-241.336
546.039
-304.702
161.934
99.5782
-261.512
-432.629
382.272
50.3567
-358.079
375.054
-16.9746
260.154
-142.196
-117.958
-251.602
-62.0288
313.63
-699.306
16.5462
682.76
409.926
-95.8193
-314.107
-256.124
256.124
96.7694
-763.132
666.363
-661.238
65.8986
-947.225
848.22
99.0048
-316.077
-48.4373
-18.1353
203.443
-185.308
517.69
-150.922
-366.768
-644.599
-43.3183
652.539
-69.8336
102.173
80.7908
-182.964
-355.04
87.481
267.559
-311.451
59.8499
845.283
-621.538
554.311
-587.043
32.7318
228.85
-97.3458
-131.504
-342.867
115.504
227.363
-17.444
250.697
-233.253
-846.678
847.33
-0.651852
-28.3034
-163.281
191.584
247.458
10.3195
-257.777
-711.456
12.1501
-267.916
284.6
-16.6836
778.747
20.7702
427.87
-626.227
198.357
203.255
-219.047
-749.288
808.529
-59.2412
629.172
-719.889
90.7163
74.7107
577.829
943.854
-846.971
-96.8827
-223.304
240.909
-17.605
202.8
42.2211
355.119
113.4
-468.519
1009.09
-256.884
-752.207
19.3572
563.291
-582.648
-13.2748
-587.104
600.379
538.297
-257.17
92.3757
426.328
-518.704
-303.524
408.749
-105.225
76.7589
-814.831
738.072
-697.542
456.206
9.02542
-201.344
192.319
15.7322
-851.964
836.232
-308.366
305.74
2.62569
-45.6162
311.064
24.1596
-890.628
866.469
-334.353
331.29
3.0635
-74.8099
-309.962
5.85174
-282.436
276.584
702.796
-786.212
83.4159
726.217
-860.268
134.051
-143.197
339.617
160.294
99.8597
185.823
-206.309
20.4857
287.408
-293.249
5.84089
-122.482
550.352
622.652
327.593
155.744
54.0937
-209.838
278.169
-317.848
39.6785
216.08
-240.602
24.522
-28.5752
276.033
-339.037
4.68375
1.44868
-189.337
187.888
226.335
-63.8973
-162.438
181.122
827.969
-198.077
-739.276
937.352
-101.193
-397.514
522.86
17.0528
226.922
-227.955
1.03294
257.84
-217.379
-40.4613
25.3434
-209.403
184.06
-395.837
628.858
-233.021
55.6084
504.6
-560.209
984.045
-886.325
-97.7203
790.958
-787.099
-3.85889
-575.015
-236.368
811.383
-146.254
722.161
-575.907
456.801
-444.135
-12.6665
-193.616
-16.3672
209.984
48.0019
-770.26
722.258
-156.389
-210.849
-249.422
235.358
14.0645
242.267
-12.7642
25.5205
1020.89
-572.444
-448.443
735.195
-933.272
-400.727
97.2031
16.6722
209.663
16.4254
-778.199
761.773
-90.3987
-856.826
418.384
-452.855
34.471
-106.589
832.806
55.3273
-736.227
680.9
-200.16
6.54361
278.169
-4.30137
248.797
-244.496
-433.123
433.123
83.2101
678.941
-762.151
-316.372
48.4561
-579.032
598.39
310.018
-296.922
-13.0963
-777.834
-63.2729
841.106
-140.541
444.814
-304.273
419.95
97.7399
428.396
-443.799
15.4029
250.545
-34.4654
-219.307
-313.54
532.847
502.012
-381.74
-120.272
-328.978
16.774
312.204
784.861
-82.0655
-521.592
-78.301
599.893
-661.118
661.118
-123.844
500.778
-376.933
94.0321
-356.069
262.037
-920.05
345.035
307.341
-359.51
52.1689
437.079
19.7225
819.482
-509.849
-309.633
906.681
-55.9366
-850.745
78.5379
150.312
-847.038
614.022
233.015
-14.9818
259.96
-244.978
-214.548
222.979
-8.43115
-41.1376
-489.629
874.674
-890.026
15.352
-44.4156
430.142
-11.7577
787.641
-790.168
2.5273
247.304
-20.3825
16.4041
-239.708
822.135
-963.825
141.689
232.899
-346.048
113.149
570.786
-570.786
899.947
-93.2491
-806.698
594.336
73.0627
-667.398
53.3386
-327.016
273.678
-173.357
250.011
-76.6537
-470.203
329.663
54.4489
733.192
-393.184
529.803
258.989
-180.452
-683.917
-176.351
484.276
-630.529
453.777
-501.412
47.6348
-890.654
1024.01
-133.352
-581.134
555.882
25.2525
505.509
-582.633
77.1247
128.557
727.537
-856.094
211.364
530.643
-742.007
723.338
505.129
321.822
739.003
327.578
-232.987
-94.5913
-296.858
296.858
371.422
-402.493
31.0704
-28.7951
1085.9
270.677
-324.629
53.9521
530.421
-474.813
-297.429
-562.389
551.853
-566.101
14.2487
-29.5684
904.242
258.646
-273.628
-215.324
199.389
15.9341
499.124
-587.93
88.8064
-197.769
958.999
-761.231
588.915
-83.4063
771.433
-384.418
-387.014
339.823
-48.6881
472.008
548.878
-193.805
175.67
-743.854
59.9369
-926.619
35.9658
477.907
47.2545
-679.798
891.162
-685.409
-63.8794
191.723
-202.597
10.874
-74.0141
915.166
-841.151
-38.0487
-817.795
855.844
185.746
-184.297
34.4885
173.823
-208.311
-9.88199
-366.109
375.991
320.364
-314.513
-601.535
205.697
-220.204
430.92
-210.716
908.545
-678.029
304.193
23.3855
287.62
-8.06192
-279.558
-569.285
152.325
416.96
461.407
-33.0108
507.66
-726.967
-358.642
0.563072
647.325
-746.158
98.8329
-244.988
163.196
81.7924
-656.334
639.007
17.3265
214.621
-218.922
75.6534
183.336
-742.419
825.629
-296.408
306.806
-10.3973
68.0947
-363.974
295.879
227.384
-212.517
-14.8666
526.895
-328.871
-198.024
7.2203
-347.346
340.126
-497.615
484.34
-59.1207
259.752
-200.632
-660.138
155.987
504.151
-344.104
1.23695
653.871
6.03688
446.197
-21.5888
-154.592
0.138462
154.454
-22.3494
718.928
-696.579
-847.524
976.08
322.508
-149.327
-173.181
677.343
-775.141
97.7979
422.954
348.479
706.509
59.4678
-765.977
818.095
81.8516
542.451
-517.773
-24.6788
1093.71
-1012.3
-81.4042
5.69452
-297.75
292.056
272.035
15.5853
107.612
141.985
212.23
-26.407
195.701
-202.673
6.97267
146.59
147.84
-294.43
-306.118
285.629
20.4894
-156.298
-299.405
455.702
421.749
-545.594
-321.758
197.074
-197.074
0.000140515
199.746
1008.77
-566.655
-442.116
526.035
-109.175
-416.86
116.955
512.217
78.8953
463.556
1.65204
-688.537
711.299
-22.7623
48.3996
-549.067
500.668
-81.6501
-250.936
332.587
-449.512
39.3906
410.122
-140.658
-336.165
476.823
780.012
-1.26582
22.3301
192.907
-370.851
177.944
156.979
-216.099
-920.621
848.898
71.7232
-298.506
306.609
-8.10347
666.088
-81.1383
-584.95
1047.02
-603.809
-443.213
195.201
-195.625
0.424071
275.546
-107.556
-167.989
-422.411
418.584
3.82678
663.908
-32.1927
-631.716
-692.752
4.21568
372.994
36.9323
-548.765
433.932
114.833
582.283
-578.536
-3.74704
-855.76
44.3871
811.373
856.369
33.1992
-889.568
-424.888
284.23
-202.717
48.1254
-325.359
524.903
-199.544
-180.235
-35.0888
754.997
-793.045
-151.87
186.359
525.196
-165.733
-359.464
-123.677
-309.445
222.878
-224.138
1.25925
619.561
44.3477
683.523
-608.812
19.5784
-302.443
282.865
837.191
-876.263
39.0718
-292.205
-4.71658
953.103
-956.493
3.39023
48.6293
189.321
-237.95
680.296
-32.9706
567.172
-593.312
26.1399
-830.69
846.423
191.434
-182.409
786.277
212.203
746.796
138.078
205.881
-343.959
-301.702
-9.09066
813.739
-57.5424
-756.197
600.287
-126.545
-473.742
241.04
-83.6075
86.824
411.143
77.1963
-250.554
473.904
-503.978
30.0742
143.151
-349.613
206.461
137.806
389.089
44.621
862.06
652.994
-773.332
120.338
-23.1137
976.217
-269.661
-13.2383
282.9
-225.027
204.05
20.977
-17.6159
179.55
48.7995
453.213
335.392
-345.274
-346.741
46.7132
-337.95
36.352
838.355
-58.3424
71.1093
-215.952
144.843
-949.35
22.7306
-912.804
-36.5457
-486.283
55.3573
430.926
-728.943
897.467
-168.524
-189.442
-74.4478
263.89
-107.848
-89.1502
196.998
-166.805
-33.8775
200.683
-117.949
227.079
-109.13
853.455
405.906
-212.999
149.992
-12.9659
-568.169
-878.891
-41.73
454.971
145.316
185.343
-510.702
200.725
-1106.97
906.248
30.4198
201.766
-232.186
-13.0725
-201.476
419.185
27.0122
89.1977
701.76
282.932
-3.85775
-279.074
-471.431
563.806
728.706
72.9229
-801.629
-777.443
-8.76904
799.715
-854.618
54.9028
281.708
-266.963
-14.745
82.0017
240.507
850.702
-864.989
14.2875
978.831
-862.151
-116.68
938.999
-943.586
4.58646
-382.722
-166.043
-6.11038
-873.322
539.324
333.998
-186.858
162.993
23.8649
-243.751
390.341
141.369
92.1518
-233.521
757.802
248.959
-246.788
431.767
94.268
782.047
-694.661
-87.3861
-52.8351
-94.0491
-102.073
196.122
-310.149
261.056
49.093
862.377
-838.217
-22.0703
380.4
-358.33
-315.685
-23.352
569.642
-584.161
14.519
369.796
-327.57
-42.2257
-828.45
731.191
97.2592
-905.757
831.743
142.065
133.48
-407.031
277.48
129.552
469.054
-454.383
-14.6709
621.568
-622.692
1.12345
518.189
-44.2848
-295.829
-145.182
441.01
4.26493
-273.926
-75.1784
-246.241
321.419
544.286
563.927
-1108.21
-900.87
849.212
51.6574
-3.53939
-405.529
419.629
-14.1007
432.541
-400.098
-32.4429
671.118
-842.819
171.701
710.856
-880.673
169.817
-504.328
-155.81
-419.943
62.478
357.465
306.579
-6.70589
-299.873
-328.251
161.445
474.913
77.019
-719.677
-108.774
5.06763
190.633
-305.048
301.169
3.87899
32.0284
-323.177
291.149
491.083
38.9379
-530.021
-230.257
302.272
-72.0147
-896.198
-19.6404
915.838
-214.164
-24.5233
238.687
6.97887
-843.343
836.364
804.71
-118.467
-686.243
348.71
140.625
-215.804
-874.881
-21.3165
808.445
40.453
-7.47252
538.418
-183.299
-499.97
-19.029
518.999
-801.994
913.795
-111.801
314.31
-246.216
-394.588
312.938
-30.3276
590.761
63.1098
384.714
-241.563
313.606
505.876
-15.3577
27.5088
342.287
-779.236
90.7755
688.46
457.109
94.7435
-141.422
-17.6877
159.11
-851.809
-23.0719
72.9483
332.151
-201.996
229.745
-27.7485
51.4383
-281.696
-266.531
261.566
4.96492
-19.3427
31.9042
-514.685
482.781
-610.82
-135.338
-24.3116
304.091
-279.779
-333.157
446.557
599.389
447.633
-1102.77
430.486
672.288
329.842
0.381467
-330.224
-252.761
-151.055
403.816
-525.866
548.747
-661.218
-17.8382
679.056
99.6661
90.3645
-190.031
-44.2475
799.244
838.604
-862.428
23.8241
807.548
-154.554
41.6636
-601.982
-327.143
-20.2028
556.825
57.8468
-614.672
441.329
20.0774
-349.922
394.07
-44.1478
-853.436
-3.82676
857.263
-27.8167
-823.993
266.885
-267.514
0.629783
625.224
-3.65566
555.559
-402.872
-152.686
-226.121
271.023
-44.9016
-99.2472
-247.494
-422.239
-40.3501
893.631
-182.774
-817.89
88.9473
-629.384
18.5639
-540.994
51.9051
489.089
820.553
-39.631
-780.922
-252.696
134.747
-1.22534
-356.301
357.527
856.632
-185.514
308.721
-2.14119
636.815
-69.6428
494.206
-3.1231
801.419
-712.221
-1045.13
-57.6413
445.273
23.7809
523.248
31.0633
735.637
-687.635
795.793
-38.372
-757.421
196.98
-225.283
276.822
-15.7663
-118.318
193.72
-168.376
474.994
15.7092
-490.703
577.102
-99.9897
-477.113
-460.08
422.283
37.7972
128.925
672.494
1.44905
-104.165
-757.031
861.196
90.0179
-666.059
576.042
228.705
-305.596
76.8903
-745.138
640.973
91.7955
712.915
-504.406
1048.69
214.163
-143.054
-264.38
-171.567
261.698
-90.1312
214.713
-264.641
49.9278
-180.825
322.195
6.38214
-322.067
-51.2446
5.85282
-411.517
405.665
-47.58
-162.363
-195.53
-31.3
369.258
-337.958
-870.85
944.469
-73.6193
45.5147
-528.217
482.703
15.8332
-240.86
-755.934
106.305
649.629
364.112
-214.148
819.404
1.14871
-26.9636
209.827
-182.864
427.61
127.948
-103.15
-316.793
815.77
-201.748
-95.1952
-914.059
620.396
-316.559
122.324
45.3079
652.985
-556.215
496.267
-18.399
343.428
-36.087
339.35
-421.821
82.4711
192.326
-223.35
31.0249
46.284
251.959
-298.243
338.698
-494.996
-2.80563
761.958
-806.206
537.872
-62.8779
-104.504
736.23
-631.726
-270.027
305.318
-35.2906
-68.1588
296.864
207.738
-191.065
-283.001
12.9739
-1053.94
583.795
470.144
-35.9046
-76.6275
178.801
-310.577
295.895
14.6826
-676.05
692.476
269.072
-274.015
4.94321
-472.813
173.409
-499.679
-554.26
242.417
-279.434
847.166
-946.597
99.431
-344.458
17.3149
484.742
-627.649
142.908
-2.22093
810.666
246.763
-261.72
14.9565
-324.694
-548.629
-37.6585
294.443
-25.3709
345.971
-125.941
-220.03
-20.0507
-834.87
854.921
-877.24
495.35
381.89
-56.5546
735.495
-456.78
34.5411
-149.177
-108.128
257.305
873.497
-810.238
-63.2585
395.262
-322.314
796.381
3.33405
105.718
87.8584
-193.576
-580.556
1024.4
-443.842
147.126
-196.113
48.9869
-758.953
-145
903.954
139.6
206.371
853.517
-31.3815
813.475
-736.716
505.075
-418.251
-9.56375
-218.645
26.6195
156.049
-182.669
310.824
227.594
-26.6638
-1098.2
619.198
479.001
7.73087
891.683
-60.5478
-831.135
-430.674
623.374
-192.7
57.1614
756.313
27.426
-527.396
-590.544
-18.3743
608.918
396.041
149.705
-545.746
-264.696
-522.403
279.325
64.1029
-179.667
-76.457
-406.739
353.082
53.6568
-794.936
285.087
201.799
-263.155
61.3564
228.19
-252.883
24.6926
430.802
-424.949
722.627
50.8442
-773.471
-204.793
41.5121
817.048
20.9036
-837.952
-351.563
10.1567
341.406
118.64
860.191
-411.397
451.338
411.81
-72.4592
-954.427
99.6761
854.751
789.089
102.594
-21.1663
213.492
50.8348
381.706
891.191
132.815
29.8403
-486.621
28.6329
-826.704
798.071
695.462
-761.516
66.0541
636.285
465.946
769.015
-56.0332
-712.981
197.209
-50.0831
76.5899
339.585
-416.175
-735.235
792.397
244.172
177.579
-291.154
168.504
122.65
-111.15
-426.887
538.037
-32.4045
-217.018
1004.41
-573.926
104.913
-294.355
175.011
-201.974
-102.711
-157.754
30.5437
820.158
-158.289
496.987
-596.899
748.571
-151.672
677.097
-699.446
-389.723
370.694
-442.44
-180.252
39.6618
349.103
-10.8791
-338.224
-46.2863
808.245
-505.246
-623.366
1128.61
288.701
-235.68
218.236
9.50286
198.235
-262.67
114.425
-885.27
908.926
-23.6558
-269.787
258.571
11.2153
74.938
707.109
3.36498
765.65
636.291
-16.7304
-15.148
-513.424
470.729
42.6945
933.071
17.1548
-950.226
-314.099
-37.4644
-0.84148
-235.471
790.876
-68.2495
529.021
-623.174
94.1529
-761.853
-84.8242
13.1202
268.588
880.902
10.2891
-491.137
441.135
50.0026
-950.453
-94.6797
53.9033
-373.681
319.778
-208.441
223.502
-15.0607
248.109
-33.3959
-39.9002
1050.3
-313.225
-737.078
579.636
-50.615
42.1042
-266.947
-60.0692
-686.246
762.473
-76.2264
-95.3518
-2.99598
231.186
504.917
-5.793
92.7923
-870.626
-94.3599
215.367
-121.007
-195.325
219.418
-24.0927
-681.806
570.656
-448.094
479.999
342.61
52.6529
-461.174
425.147
36.0276
585.073
423.698
498.641
-460.075
-38.5654
474.363
-312.715
-161.648
-175.729
33.5328
351.28
-21.7864
-329.494
-263.906
92.3399
-343.634
298.018
-219.028
-636.732
-691.504
-81.8286
260.679
-58.8804
658.943
197.689
6.96846
228.389
815.778
-85.6418
-730.137
329.21
-142.198
647.138
-504.94
229.341
-303.789
-104.198
500.239
-750.671
8.25237
-135.605
-109.383
500.005
-92.8261
777.047
-684.221
-203.572
221.506
-17.9338
-24.0762
-245.71
829.593
-737.797
223.719
-427.046
-402.616
829.661
859.703
-200.76
-42.3748
781.521
-739.146
597.44
-6.67866
17.8199
-608.364
284.287
132.53
-416.817
-404.337
480.927
-21.1372
-319.274
340.411
-617.505
66.4179
551.087
-140.611
497.71
-357.099
-479.067
410.493
-483.71
73.2165
105.919
-180.382
74.4632
-194.549
332.627
-186.363
-172.279
724.805
-29.3425
102.327
581.196
-611.081
648.97
-37.8885
269.543
-293.855
-810.095
-52.3335
97.2468
-433.412
590.119
460.184
-615.824
173.385
413.693
-840.739
367.636
-681.906
28.6561
653.25
-187.702
223.196
-35.4944
-816.292
886.707
-70.4144
-48.7116
-432.308
481.02
1005.36
-405.603
-599.757
-69.5774
-785.041
-12.3076
279.192
-950.468
207.418
743.05
-857.721
-92.7464
-174.463
-12.3948
-777.766
731.48
-125.319
-296.51
421.829
-18.6462
-265.98
284.626
160.466
647.082
218.65
153.138
-371.788
-902.872
154.582
748.29
541.22
-581.001
39.7816
604.546
58.604
-663.15
-43.8899
674.079
-639.873
-34.2061
353.617
-23.7751
-19.0108
224.695
-205.684
608.335
65.7441
14.6245
-792.067
721.541
-777.574
-181.644
208.264
326.153
148.21
126.125
-312.488
204.84
-209.098
4.2574
343.203
-200.254
-142.949
592.104
44.1872
-746.826
800.737
-53.911
-381.483
-112.101
493.583
-15.5067
-289.542
239.254
44.8628
-284.117
252.042
-101.284
-150.759
418.443
-467.154
-61.7171
-740.277
-411.28
74.8235
152.561
485.065
-431.634
-53.4312
-229.279
259.699
-205.027
196.961
8.0653
1.17502
-207.858
206.683
-323.17
380.001
-56.8315
213.116
-6.85383
-206.262
450.434
554.926
-264.887
555.613
-473.967
142.994
-251.185
108.191
-205.229
-9.14114
214.37
701.293
-96.7471
246.186
-170.532
-358.894
279.326
79.5686
-431.919
-2.19091
434.11
-352.171
449.418
314.562
-324.415
9.85325
-18.1348
35.2465
469.829
462.895
35.7454
20.0145
-451.933
189.387
10.0025
-340.242
-4.21579
-371.64
297.464
74.176
343.07
-63.745
672.3
221.331
-232.946
234.121
-290.632
307.406
86.3431
660.564
-746.907
-735.901
-26.2081
762.109
5.50344
149.947
16.78
-339.95
-690.725
621.133
69.5919
135.091
-162.602
173.807
-11.2052
426.102
-141.815
-246.702
-164.641
411.342
-167.118
-346.305
222.307
-17.4662
-246.99
97.8133
91.9116
-186.271
-1009.54
696.318
-348.413
348.413
851.459
242.25
-35.3169
-509.102
-500.441
211.158
326.021
528.217
42.5692
546.471
-52.2657
254.424
-252.677
-1.74728
-629.453
662.402
-32.9495
-50.2629
-532.994
-46.038
-638.591
702.671
-64.0804
84.5506
-493.72
-353.331
539.55
6.92136
521.637
12.1169
-533.754
746.201
-647.611
7.73829
-124.132
-52.8699
177.002
-425.618
81.9838
313.846
-34.2431
-279.603
-163.369
-39.348
-303.328
290.27
13.0581
-286.659
60.5373
868.344
-196.044
-334.814
52.3781
767.329
-0.876253
-766.452
584.204
-659.104
74.8998
-922.853
830.373
92.4802
-24.1851
-637.033
110.009
298.741
-24.0995
-261.92
286.02
-773.616
10.4842
-204.706
-292.269
268.17
-466.217
511.732
-247.417
250.216
-2.79918
-305.743
300.243
5.49959
-808.943
704.439
995.981
-148.815
-161.989
274.304
-225.674
364.546
-158.665
403.464
-311.646
-91.8177
288.639
54.4305
809.434
-96.6662
-712.768
184.059
-681.674
-750.023
664.997
85.026
5.39286
-617.587
623.812
-6.22526
65.7566
180.429
-95.5371
517.287
-275.759
284.046
-8.28746
379.326
-458.503
79.1774
-608.695
649.301
-40.6053
585.402
44.7391
-630.141
244.533
-225.264
-19.2688
555.942
-23.2614
-532.68
252.221
-140.112
-112.108
-141.37
-52.0044
193.375
952.947
-944.086
-8.86131
-575.5
-388.325
-46.839
-754.934
801.773
-897.644
834.371
-569.577
356.521
213.056
605.118
-623.492
-17.1905
671.567
-654.377
7.36914
159.676
-167.045
-53.7346
-269.443
-855.974
-66.8789
15.4615
366.81
334.099
-739.702
205.677
-16.2896
-230.688
230.688
418.503
-161.769
-256.734
-911.22
25.9502
-3.54607
-29.5826
-474.872
504.455
-753.702
-80.7305
487.306
-406.575
-252.414
-408.704
433.02
-10.7377
-59.2609
261.027
156.472
186.731
-539.767
399.793
-169.709
388.359
340.414
-51.7748
762.294
-706.966
-284.937
-8.89395
271.537
-946.892
-3.56067
5.60804
927.463
533.326
-448.776
-832.082
572.796
259.286
-1.67316
263.931
-262.258
350.481
-5.51717
-344.964
-462.448
31.7744
-834.568
748.317
86.2509
-137.232
-176.867
188.57
25.0445
-213.614
213.195
127.219
-800.993
17.8518
-595.515
318.779
276.736
55.8924
231.515
363.196
-325.961
-37.2345
-363.255
380.868
-17.6132
847.422
-513.323
-455.087
312.889
-324.629
192.791
131.838
423.385
-720.813
568.451
-27.2313
811.25
-807.885
77.9773
174.244
-827.922
809.766
18.1563
-794.328
47.5029
-472.163
-527.845
1042.65
-186.281
931.103
-835.175
-95.9277
-521.12
-463.316
984.436
-48.902
-257.216
64.4777
227.127
-235.16
8.03308
-22.3869
-56.0752
733.418
467.836
-31.5437
-436.292
-379.811
-189.474
16.5784
-107.51
-238.539
-141.281
409.526
-268.245
-926.304
926.304
93.1914
-809.249
499.616
-511.1
69.2618
441.838
-212.135
-194.896
159.205
-159.702
-380.065
-550.357
390.655
597.678
58.9119
193.131
417.304
-928.885
511.581
-9.69252
292.624
-222.072
-264.211
-218.269
411.656
-85.5036
-182.589
-142.04
-65.4955
-835.374
452.569
-518.191
65.6225
16.6574
-687.298
769.295
-81.9965
415.859
-421.672
5.81351
247.956
-568.697
529.793
38.904
123.976
107.282
-231.258
201.225
-220.236
378.932
-708.789
329.857
110.543
758.337
182.199
236.304
-68.739
-493.185
463.602
293.412
-308.147
14.7344
416.697
-37.3714
354.319
-385.62
-23.4359
-367.776
391.212
-18.356
-274.893
294.039
18.9169
-312.956
-412.337
271.056
-389.545
41.6882
631.072
-749.539
-410.339
533.141
-313.899
-91.63
976.654
-866.111
-492.714
-312.319
805.033
297.179
40.5612
290.488
-331.05
-459.937
135.707
-272.939
-51.9242
451.465
-564.076
112.611
47.4309
613.687
-180.399
56.2663
325.874
-269.982
708.749
-329.817
269.397
-181.916
24.2866
365.015
-389.301
-29.1468
-298.668
-3.77532
-258.533
252.549
5.98389
0.0027708
549.53
-522.104
37.3365
-891.59
113.391
797.834
-1.45261
330.505
-117.31
525.487
328.709
-854.196
598.403
239.952
666.314
-759.14
-739.695
104.001
635.694
280.029
42.6679
-322.697
188.878
-181.785
-7.09264
24.5162
274.433
572.897
-191.815
21.6439
170.171
-157.008
-606.829
763.836
-342.649
360.277
-17.6286
-239.672
299.046
-59.3735
-148.988
-175.641
-256.662
214.309
42.3526
920.091
-920.091
-87.4654
727.078
-639.613
295.594
-213.593
345.624
-68.1443
-657.613
191.23
28.3231
-219.553
60.048
-585.359
525.311
16.6432
-212.425
195.781
908.14
-913.879
5.73863
300.81
-674.431
373.62
332.343
-278.44
52.2575
310.938
-350.75
876.236
557.197
-105.732
-73.2108
-244.637
-401.228
325.43
75.7989
218.295
-346.653
335.017
-500.466
165.449
-220.876
33.1743
-873.293
-73.5994
34.348
-721.646
305.745
-190.24
796.388
-773.233
-23.1555
433.147
45.4985
-478.645
-685.653
610.705
74.948
-247.724
215.274
32.4497
321.647
-28.2351
-426.161
-254.901
873.941
-830.981
-42.9602
-357.823
658.633
139.378
-520.861
-864.533
11.0976
-58.2699
-596.81
655.08
32.6131
-134.892
-156.262
-915.254
422.989
492.265
194.321
2.64019
450.759
-34.9007
543.446
243.841
-254.982
11.1406
-335.302
-6.19869
341.5
-537.654
427.291
-21.9835
-179.88
201.863
233.218
-41.988
-81.6249
347.628
-266.003
-356.867
6.94425
435.447
-10.3004
65.9242
-806.832
740.908
-664.311
664.311
35.0969
194.244
-85.5179
-506.051
591.569
-854.469
938.101
-83.6321
741.114
55.274
-14.156
-834.51
848.666
324.901
-342.401
17.4998
325.72
15.1135
-340.834
583.937
-637.009
53.0719
30.8913
299.853
-330.744
-203.339
-113.628
316.967
198.134
-9.25665
105.51
-710.17
604.66
-760
267.286
352.651
-312.089
793.741
59.7759
-77.45
-433.65
343.72
-390.193
-680.766
100.611
580.155
308.582
-257.596
-50.9863
-532.06
613.877
-81.8168
-82.0968
-363.064
445.16
410.259
-382.75
-588.218
-327.036
588.028
-726.405
138.377
-407.117
-424.965
837.854
-39.7687
-645.884
138.883
439.848
-578.731
563.572
-644.843
81.2715
20.9881
-238.367
11.1084
-693.015
-322.905
321.68
7.47502
570.612
-692.74
122.128
-344.518
-430.622
-4.57371
-684.305
698.313
-14.0078
763.079
-164.676
645.761
-103.058
-542.704
198.896
286.169
292.056
-298.715
6.65886
807.722
-935.889
128.167
-643.011
-96.6838
-278.303
2.54389
-329.845
98.5147
231.33
-56.8429
640.78
74.9548
-252.563
177.608
358.349
-336.218
-22.1315
-324.502
-271.014
-12.9685
204.691
-25.816
-176.781
235.056
131.009
-366.065
-272.391
320.268
-47.8773
587.658
-673.176
24.6749
289.171
-252.632
-77.2131
-279.511
-290.066
-711.35
540.674
170.675
-111.509
-154.122
-164.389
67.0431
-578.979
536.529
42.4494
576.957
-1098.08
-25.4008
-1015.6
-140.737
367.836
43.8208
-23.0967
-51.4095
-757.616
125.89
848.879
-841.9
617.415
-76.7408
1.86124
589.25
-591.112
-279.939
-167.613
447.552
-36.203
-211.521
5.52464
201.27
-213.247
11.977
-992.62
222.36
448.573
-113.556
19.7187
-628.024
608.306
299.055
-365.363
25.4532
339.91
58.3267
573.737
-632.064
-104.251
770.636
-666.384
-669.386
-195.604
-722.332
39.7876
682.544
-38.0133
561.16
-523.147
920.865
-912.68
-8.18437
559.39
-617.66
-611.191
-23.7409
634.931
-396.762
124.371
242.924
-258.176
15.2524
801.139
-772.506
-96.1966
730.95
-634.754
460.788
9.94118
-434.268
-669.985
604.145
65.8399
399.077
-92.2799
-564.054
-34.7807
-11.601
-399.916
-19.1314
216.143
-197.012
24.8831
327.768
-361.139
364.922
-3.78291
744.519
-791.358
140.396
123.494
215.351
-227.391
12.0399
684.143
-775.315
91.1714
-313.899
-665.436
-20.8101
794.491
73.8526
291.249
120.561
810.493
-16.0022
-12.1766
-1030.45
178.487
3.94545
17.9696
-567.037
162.804
-155.435
-1081.72
-241.139
219.156
70.1408
225.453
-107.822
-467.142
574.965
-2.53117
-477.557
480.089
838.934
-31.2119
570.119
75.6429
-19.3312
-202.357
221.689
736.649
-779.024
-144.755
379.811
-400.956
444.398
-43.4424
-679.236
723.283
-44.0476
287.384
-375.589
19.5204
398.538
-163.877
-234.661
172.396
-511.819
466.276
45.5431
4.98427
-462.808
460.235
2.57318
613.868
-596.048
30.3452
-156.639
589.786
-296.163
57.5341
441.173
41.8836
606.998
-648.882
-84.2748
-144.247
193.606
21.6679
30.5981
-393.39
28.0273
-413.477
12.5213
251.972
-254.122
2.14909
711.269
-682.613
-485.836
84.6688
401.167
-42.3276
626.532
0.805427
-208.663
914.269
-141.79
-772.48
518.882
537.485
-1056.37
-287.8
-22.5557
291.734
4.16042
10.2716
275.357
-688.678
-0.768819
689.447
592.046
-749.054
-213.635
197.715
15.92
-515.043
-36.8865
-629.173
-8.26201
151.256
-137.734
-428.367
-119.564
194.519
13.7291
-630.677
616.948
-39.1243
-497.724
536.848
-250.895
281.786
-69.3493
626.174
-726.334
753.079
-26.7453
217.745
-482.441
218.711
-248.098
29.3869
-12.5391
-837.76
28.8168
231.975
-435.313
903.378
-912.769
9.39109
636.319
14.3418
-650.661
-55.531
-537.781
-807.249
840.448
106.141
-208.214
897.675
-78.2706
243.073
-15.946
-60.3497
-715.973
776.323
-87.0465
-597.259
-11.2685
532.906
-664.144
21.1327
212.309
-235.217
22.9086
-238.556
2.93719
235.619
-559.297
533.573
25.724
-233.388
92.0181
63.6773
87.4351
-151.112
-880.25
314.842
20.9057
-335.747
54.9936
637.875
-692.869
-344.346
365.956
-21.6104
-642.592
-21.5523
-670.565
756.908
-896.497
127.426
769.071
-147.073
-169.299
-446.078
64.3385
-456.909
-614.035
234.316
14.6426
-291.851
292.041
-0.19005
183.997
-60.0214
-423.495
394.194
29.3007
-954.872
972.027
-302.704
117.799
184.905
154.052
8.75245
521.571
850.524
-870.575
277.808
-37.3014
354.015
-494.626
-789.143
811.172
-22.0288
-349.251
-177.841
527.092
133.805
-176.13
42.3251
427.53
-523.068
739.835
-678.7
-61.1357
-263.42
-24.3801
305.97
-66.7159
317.356
-292.681
333.182
-652.05
-17.9342
5.48036
633.527
-382.325
168.177
20.6583
-891.508
547.493
-391.505
608.145
368.509
423.981
9.03901
744.624
-804.974
-40.5628
-28.2788
827.283
70.3919
421.177
-499.913
78.7361
201.89
-176.009
-25.8812
-199.091
213.116
-14.0249
-13.3446
345.081
-331.736
-617.066
658.95
433.345
250.98
-223.073
-27.9074
370.619
502.878
313.399
-335.185
699.791
109.643
75.144
-599.042
523.898
639.892
-35.7478
14.1496
-930.286
113.825
816.461
228.303
-252.827
-253.389
-793.32
732.258
61.0622
5.31106
814.043
-819.355
925.257
-925.257
-378.675
17.5355
602.829
37.0638
-109.177
-19.185
-198.148
217.333
437.682
27.9187
-465.601
-436.342
22.3128
414.029
188.198
972.167
-453.285
-231.708
40.6164
191.092
-627.014
630.888
-3.87435
411.253
-470.176
58.9225
-431.035
-5.3074
51.5701
-760.873
709.303
-637.174
-60.3682
-549.951
518.573
31.3778
-362.432
263.184
19.3687
-238.858
219.49
-151.491
-151.213
-29.5037
228.262
-34.6557
58.2508
273.838
-277.696
-71.8603
791.61
367.911
-53.0693
-769.049
33.1483
-890.03
814.422
75.6077
126.294
266.202
392.293
146.005
-752.984
858.55
333.94
183.792
-517.732
-165.951
594.458
-644.054
49.596
470.392
57.8529
-528.245
631.642
-336.889
-294.752
-467.91
-119.133
-780.6
676.349
29.5814
-684.174
654.593
-711.355
108.521
602.834
-765.617
-2.46066
24.4109
508.657
-87.4804
-514.784
356.496
542.869
-580.883
-35.4455
-67.989
233.038
-165.049
31.3767
-669.967
-237.353
-236.729
168.74
-30.5836
276.378
-120.511
-155.867
156.814
-10.188
-633.53
724.305
-23.3294
198.107
-174.778
869.871
-628.924
11.3375
148.795
177.079
1.01134
397.647
-398.659
-226.485
-191.664
418.149
180.941
763.529
380.005
-355.718
-842.065
7.49664
626.414
-609.867
0.185599
-806.917
806.731
589.56
16.1147
-605.675
839.609
45.1151
-884.724
312.8
-12.5566
127.126
-407.065
426.232
9.2147
-255.598
335.437
-79.8389
197.163
381.875
-90.6265
611.553
-55.8416
-555.712
-755.059
779.634
-24.5745
14.6956
640.186
-654.881
-645.34
113.28
-7.25108
-442.557
601.387
34.6139
323.735
-31.1465
191.248
-91.5821
-337.317
2.01527
95.9706
742.964
4.15165
-278.559
274.408
-424.459
-504.426
-57.4538
-757.746
815.2
233.609
-44.2884
199.454
-264.956
65.5018
206.86
-96.5189
-223.719
-516.878
-581.322
-791.882
-18.213
-171.414
-815.76
776.447
39.3128
-34.573
469.95
-435.377
59.7824
821.339
-881.122
201.302
-137.625
774.1
26.6362
-223.711
204.526
20.7127
-308.016
287.303
575.733
-573.871
-645.305
149.023
496.283
-540.49
588.377
-47.8866
32.8129
259.243
-665.176
-441.797
608.545
45.8297
-654.375
-721.931
606.762
-679.217
72.4551
-163.831
-27.9847
450.149
-484.383
-846.235
851.546
104.644
-307.676
-588.822
-642.481
593.307
49.1742
183.701
-77.7825
-43.9821
458.356
173.285
-568.912
54.2269
514.211
-527.471
13.2604
73.0689
-717.68
644.611
268.546
-16.5736
-315.055
167.092
147.963
-562.439
574.556
-120.869
451.173
-330.304
681.437
-86.979
1.58737
-318.93
317.342
-446.812
-442.781
889.593
-160.37
250.246
-89.8763
-100.891
-579.875
-556.197
406.768
149.429
401.466
-33.6187
-367.848
-3.39526
166.591
-256.405
352.995
-96.5902
-446.893
339.07
26.2392
-345.481
360.595
86.6539
324.599
-154.841
-160.214
-212.728
-165.946
286.12
34.1484
-23.2212
539.091
-495.446
-43.6448
-881.595
723.213
158.382
397.539
33.2627
379.451
-31.5243
-347.927
191.071
52.0018
-473.914
11.5747
-270.108
253.302
-266.995
13.6931
-193.767
-732.537
-648.949
592.092
56.8565
-490.875
339.953
-139.194
-331.009
-210.043
-38.2442
75.975
564.038
151.006
-715.044
296.492
129.61
-18.6679
252.147
-233.479
-59.6027
-9.87715
-821.104
704.798
14.1303
-619.125
-7.88897
-646.39
-131.436
-130.076
-300.633
-167.902
468.536
-237.567
-390.082
-646.298
629.107
-502.938
319.639
87.5372
-833.153
745.616
75.7248
-236.095
-22.5373
-210.083
190.952
-389.19
-514.856
-205.033
-23.2971
-265.53
265.277
0.252853
-663.924
272.058
126.48
59.4642
173.574
241.083
-375.505
134.421
-801.251
39.269
761.982
43.0838
-769.149
726.065
-12.1485
267.752
-342.179
86.5809
141.037
-169.446
257.689
-88.2434
306.334
-285.621
-802.86
97.0986
-320.532
223.433
-8.12505
-230.431
-209.435
-41.2501
250.685
797.645
-728.266
-69.3787
299.672
21.9756
-74.2087
680.971
9.4524
-299.442
289.989
742.392
-707.2
-35.1919
259.625
-256.688
-91.2655
842.478
-751.212
-443.878
-258.227
258.227
-557.413
870.977
-313.564
31.5454
209.368
-5.04838
-439.657
444.705
-310.232
314.383
190.34
-84.6221
-523.612
-558.113
-393.1
358.584
34.5153
-309.823
313.519
-3.69679
-231.215
-28.5729
259.788
289.287
23.5128
-58.666
693.17
-634.504
826.005
-738.468
-563.345
521.521
41.8239
-792.576
235.163
132.896
-23.6731
573.503
-59.292
-32.8063
881.027
502.301
-405.306
-96.995
-164.626
-629.703
727.615
-73.1841
-654.431
627.618
-720.419
92.8018
376.396
-456.705
80.3092
253.49
-272.157
-185.554
84.27
-246.707
225.081
21.6264
-851.323
767.318
84.0041
-751.661
501.562
738.986
-313.092
-425.895
61.813
-878.105
355.399
-3.54385
-351.855
619.477
27.6606
489.303
-51.6204
-728.107
-445.352
14.3178
8.09647
151.579
440.124
-301.241
202.616
-193.113
-630.166
89.676
596.305
-537.978
-95.145
407.411
-312.266
-814.609
773.421
41.1874
-64.3387
263.793
-80.3684
486.542
-406.174
-257.249
231.186
26.0628
212.832
-37.2954
-175.537
452.353
630.626
-677.841
47.2146
-368.735
-54.7604
-858.077
99.1233
-453.626
392.354
61.2721
571.611
25.8286
-112.921
-124.158
237.08
-47.9154
656.46
595.825
-25.7061
-925.461
104.527
-729.199
624.672
-56.6743
-205.046
-79.2154
-566.09
-685.281
179.23
-541.984
501.514
40.4701
11.3434
-277.323
-359.923
3.62144
7.86426
-855.388
-105.441
471.998
46.1905
-206.446
185.411
21.0353
-186.521
543.257
-209.317
220.615
-5.26339
403.161
-412.919
9.75842
-118.726
404.524
-285.798
432.361
48.9251
-481.286
-768.352
-46.4788
19.3238
-599.258
579.934
-104.604
732.221
-805.616
805.801
-605.601
732.048
188.042
-834.783
45.64
644.594
-41.7658
447.618
386.955
23.3038
-106.113
390.566
-284.452
1096.72
-591.863
-504.856
-239.583
335.879
-96.2959
336.98
75.381
722.264
-101.382
342.466
323.287
-353.093
29.8061
-678.944
578.052
-55.283
-772.5
-864.931
872.462
-7.53125
455.312
5.47611
191.045
24.3222
-231.03
-7.7312
238.761
506.347
-536.337
29.9902
171.113
-266.932
437.404
-179.293
-258.111
-375.652
376.663
274.551
510.31
288.299
-2.17959
499.896
-0.17314
502.674
478.913
-46.5514
284.106
-25.13
-258.976
94.6856
-264.131
-285.605
-167.25
-449.375
-13.433
656.75
787.594
-758.811
-28.783
-773.224
747.016
453.916
-157.424
551.411
-582.204
19.519
544.519
284.293
53.3891
-337.682
254.2
-33.8977
-220.303
-797.717
-3.53339
-13.4217
-16.0674
-420.097
436.165
713.778
-670.142
-43.6363
34.7129
394.715
-429.428
33.4038
333.04
-472.234
-16.9972
664.765
-647.767
-84.2764
-582.959
667.235
175.652
-51.8839
-83.6792
821.211
692.352
-587.825
-639.316
-296.573
-293.445
304.788
7.82836
779.766
-325.821
312.476
-694.294
-9.42644
-218.39
-37.5188
255.909
-949.098
320.796
628.302
626.56
54.001
-680.561
-29.7724
-44.7537
338.792
763.728
81.838
-845.566
811.878
437.732
-484.221
46.489
727.786
42.8171
-770.603
356.883
-59.4185
291.651
-308.334
-196.65
471.352
-274.703
481.282
-15.0055
-812.288
772.941
39.3462
873.731
-870.688
-3.04258
-7.51325
649.228
62.0418
-73.16
5.80942
256.38
-262.189
38.2421
500.849
42.5536
390.569
906.241
0.00664989
-223.107
242.475
955.872
-955.872
920.811
-409.23
-399.32
25.6394
394.218
-550.586
156.368
-333.784
-573.433
505.122
-544.247
506.355
-334.487
78.0817
14.0375
-826.956
812.918
-286.612
340.855
-159.994
-254.366
414.36
-757.839
185.295
-94.9306
398.456
212.96
-611.416
-2.3257
-307.497
-346.723
292.988
263.935
-205.023
379.017
-535.656
110.035
-451.555
341.52
80.8176
338.812
-412.692
68.7331
-77.7413
-551.711
-332.951
115.366
83.0587
-198.424
696.733
-721.626
24.8933
71.5096
577.46
814.411
-20.6702
-333.993
-78.6998
-28.1773
688.302
-783.588
95.286
-11.2274
326.044
-314.817
490.075
601.102
-625.31
24.2083
-228.96
353.331
-279.184
222.413
56.7708
-602.581
-55.8633
658.444
-94.0434
-632.291
7.36586
299.384
-306.75
-617.808
581.175
36.6336
433.519
7.6154
-535.633
150.162
648.523
-734.71
86.1872
-864.453
8.47905
22.9473
20.3017
335.097
215.026
50.9883
-266.014
330.964
-627.462
296.498
-451.883
-652.285
666.981
-663.324
769.629
649.19
-736.237
-132.645
-104.084
23.1618
256.007
-279.169
-271.96
40.7451
500.004
65.41
662.205
-256.663
-136.284
392.947
-2.70928
-627.968
477.318
-474.581
-2.73746
46.0322
-259.995
435.803
-963.648
-247.263
227.795
19.4683
297.208
-445.583
148.375
27.5351
-395.311
-377.512
405.047
-87.0377
485.837
-945.774
488.182
160.939
-649.121
-718.409
784.333
-7.73398
-577.625
-373.367
37.1489
-338.702
22.6254
-41.8924
332.303
-290.411
242.369
195.035
894.389
258.359
-16.6686
-415.996
432.665
634.478
-730.674
-729.212
679.417
49.7951
103.424
-572.019
468.595
413.332
124.54
590.127
444.213
-64.7618
-4.01568
-228.93
330.955
-286.092
-818.788
878.57
-17.7462
22.1165
286.466
64.4029
-696.934
632.532
-48.4367
-606.913
655.35
538.761
-144.543
104.062
-343.644
-296.141
19.4568
276.685
249.155
-195.062
-352.317
6.8359
432.722
-427.313
-5.40946
-338.288
822.557
-802.251
-20.3058
729.526
-740.84
11.3146
618.238
-649.782
31.5442
-338.476
-280.671
62.2809
103.525
-389.66
286.135
-148.768
-263.568
244.415
6.28216
331.359
-47.0668
-196.769
212.08
-15.3106
498.565
-579.703
14.0716
228.196
812.458
-12.0581
290.128
-340.879
-57.1405
-588.051
645.191
647.403
-57.484
-589.919
267.335
-388.204
-82.265
730.788
97.8795
780.889
-737.805
-867.981
-184.322
204.834
-20.5116
-8.27347
408.126
-4.96493
-250.955
110.843
52.6424
149.054
-201.696
-30.7386
258.24
25.8652
-77.8139
413.046
-819.597
406.551
-481.257
817.345
-336.088
-246.707
-728.891
5.04215
723.848
-87.989
-250.713
-13.8124
167.864
-798.415
0.697659
256.533
-581.034
411.507
-427.574
-689.188
73.1765
616.011
-264.968
-72.9817
99.6619
-241.647
141.985
-467.362
-410.521
431.228
-20.707
380.317
70.4419
-59.393
505.584
-446.191
-9.44196
-519.916
200.442
319.474
-560.648
164.834
395.814
-894.311
816.418
77.8937
-175.205
673.77
-56.3482
464.769
-408.421
651.664
19.9035
570.122
852.498
-857.321
4.82329
414.553
-117.344
-645.326
58.6489
586.677
281.088
339.785
-620.873
-322.071
123.812
198.259
355.161
-668.574
313.414
46.411
217.524
-23.86
744.906
84.6869
197.294
15.5388
172.896
157.751
-562.805
405.053
755.723
-67.4206
-177.571
-75.3113
-505.635
-390.797
896.432
666.991
-178.809
211.913
-437.713
225.8
-823.029
827.445
542.561
-79.6657
7.22725
425.495
342.373
-726.689
384.316
147.58
-356.249
208.669
-458.403
209.792
248.611
-828.513
734.469
-296.703
627.667
-85.1163
511.444
1032.78
-710.955
164.214
353.075
-517.288
-394.343
365.013
29.3299
-83.8451
-871.027
-67.8036
-474.181
-24.1497
-15.8939
-587.594
571.283
-144.193
-427.09
-63.7317
690.292
-681.25
95.4461
585.804
-20.7393
212.929
-230.534
-433.572
416.903
-164.673
-37.6452
605.982
61.5878
3.80669
344.606
-755.551
64.8423
690.709
850.66
-739.046
-111.613
-298.027
131.496
166.53
-12.9579
-851.495
54.2427
755.523
-405.85
-53.2088
459.059
24.7108
292.996
-317.707
-263.234
-80.8701
34.1485
-466.457
215.99
4.62463
264.064
-211.422
583.678
-623.181
39.5031
69.4441
951.533
-449.159
-502.374
255.613
-417.382
-451.941
4.23336
391.161
-395.394
-26.5142
-637.797
-313.162
150.973
162.189
146.264
-316.422
170.159
-570.2
545.446
-466.702
-78.7439
773.613
-758.103
-15.5098
-793.504
402.408
391.096
-329.806
24.9241
304.882
-391.644
785.044
-393.4
-152.887
-162.398
177.753
-583.603
-180.839
-543.924
504.435
39.4886
702.414
44.2638
-746.678
320.329
-301.413
319.902
251.365
-60.2936
-685.21
714.792
175.017
-336.145
161.128
413.254
-130.188
-283.066
146.462
32.7686
-179.23
-132.572
132.71
39.6891
607.714
-181.608
681.224
-21.793
68.1502
519.878
444.301
26.0908
-441.963
476.111
359.237
-537.079
-7.49822
-838.737
-768.064
25.4116
742.653
173.051
-92.2603
-9.38967
-288.966
265.456
23.5102
246.968
-276.098
29.1307
-102.902
182.056
-522.697
340.641
675.252
-336.181
293.588
-10.7469
-282.841
307.14
21.9432
405.596
-427.539
-202.716
1.37158
-706.063
918.266
-537.945
42.4988
-289.568
0.601914
-30.9057
495.531
-464.626
-35.4668
-632.719
668.185
344.888
-10.3958
-334.493
641.759
-49.6671
-878.746
871.247
-510.308
276.147
234.161
632.193
-270.278
107.915
0.556628
190.488
-292.68
-5.07026
3.96065
5.01309
219.682
357.001
-937.557
-87.0531
-602.134
298.001
-443.183
6.93698
-848.86
-18.5471
248.911
-230.364
663.821
-11.993
-651.828
-200.222
190.322
9.90002
272.766
-885.438
15.4714
869.967
102.293
440.268
7.9706
222.717
114.988
-373.077
176.428
596.726
45.0332
-219.42
17.0211
336.167
-353.188
144.849
-270.098
125.249
687.85
-623.447
-43.429
-519.212
562.641
-107.483
222.849
16.881
896.914
393.336
-360.53
-32.8065
-6.50748
-696.328
702.836
-769.744
342.858
-912.092
38.7996
-197.056
-247.376
444.432
534.128
-455.233
417.51
-923.145
-298.332
-369.066
-244.378
-241.535
485.913
-18.069
282
639.147
113.932
39.1057
557.199
51.1109
288.712
158.157
779.944
-195.559
212.202
-737.737
290.925
-34.1305
-606.679
675.42
-709.963
757.967
-48.0036
629.849
81.9771
-684.558
444.7
-479.273
327.718
-447.99
-456.919
508.824
-32.5107
-44.006
-3.10342
259.483
-14.7824
-335.024
-450.875
391.25
59.6254
593.053
-652.281
59.2274
373.464
301.788
41.7534
492.375
-578.981
-355.709
359.942
397.751
-147.309
-250.442
-29.3809
215.375
-185.994
15.2152
474.731
-489.946
-38.9494
-715.978
-9.18655
725.164
686.071
-49.7511
-32.4342
-330.821
746.397
-49.664
442.029
590.748
15.5609
332.067
-339.365
-441.235
366.392
41.0181
6.30917
799.5
-805.81
912.495
-72.8944
-839.601
6.78512
-487.728
480.943
-725.212
652.028
718.575
-35.2018
-683.373
478.177
-501.438
-359.729
-82.8512
380.939
-298.087
339.536
-298.543
-40.9936
258.369
139.383
560.932
-162.476
-526.194
-451.745
223.205
-222.172
108.098
-633.964
230.535
-265.999
-562.514
-946.469
-65.8359
-285.164
-303.412
588.577
-436.028
387.939
48.0893
53.6558
-168.666
250.241
-81.5749
140.342
-247.899
-316.322
89.1392
-340.034
1014.95
-672.55
-342.399
236.699
414.587
-441.686
27.0987
338.526
-344.043
-582.484
385.428
420.475
39.4467
-36.1213
-229.408
-10.2289
986.309
-605.76
-39.0808
644.841
20.1952
-750.425
730.23
518.251
349.789
-868.04
725.729
-674.159
-30.5675
-502.543
533.11
-283.919
-47.1306
-3.12819
-725.762
406.05
-30.1409
-375.909
-140.405
281.578
10.1561
-801.151
32.7983
-55.7184
-647.457
703.175
-297.665
-67.1028
364.767
-27.9145
673.315
-618.322
277.683
16.5701
-294.253
18.4359
326.453
163.076
-389.561
-350.571
545.948
-594.385
445.164
506.368
25.5917
-699.391
673.799
-245.375
4.23581
-347.008
-52.3123
457.029
24.2524
178.145
-31.683
19.5023
-292.809
273.307
-210.557
-120.529
331.086
19.9506
4.66014
269.643
-797.328
172.3
238.706
-411.006
-309.564
-246.633
-774.748
687.362
-678.639
286.995
880.421
-133.625
-409.606
-698.607
662.191
-622.502
-33.667
543.956
-510.289
129.234
-260.67
-791.025
880.349
-872.485
854.881
-868.951
14.0702
-50.8121
652.76
-601.948
-38.3395
178.735
-125.462
-137.208
-16.5161
-545.923
389.131
-247.019
249.917
-2.89816
-816.83
-563.24
-402.03
33.2954
841.839
-323.589
436.376
-495.769
-18.5539
-195.399
213.953
-577.389
-178.162
-526.587
541.106
117.757
159.611
-277.368
355.726
24.6745
985.99
-238.43
-747.56
179.831
-367.26
187.429
-602.805
628.397
42.9287
210.162
-253.091
221.896
-134.037
44.612
551.213
-30.7017
231.927
589.778
-637.222
47.4438
9.95647
280.171
-757.915
196.845
-407.402
27.0455
-891.579
-533.461
-195.751
582.707
51.9602
-634.667
603.863
53.8166
-657.68
35.9082
199.439
3.17722
874.444
50.8129
621.779
42.9854
297.36
156.556
-321.599
850.916
61.5793
167.483
1.02059
-615.215
59.3675
555.847
-102.477
203.279
-100.802
791.76
-18.3384
-12.5085
869.771
859.899
-853.59
-724.873
745.068
158.122
-16.4238
-183.412
828.92
-540.155
80.6241
-744.477
700.955
43.5225
-4.03376
-869.62
873.654
19.3827
-317.047
247.126
11.4448
491.225
177.497
-668.722
768.081
-837.441
69.3597
-10.4911
-869.65
880.141
-200.141
20.261
-443.432
-431.585
11.4881
157.954
-292.846
442.924
-21.6422
-421.282
-14.5634
-445.726
-264.444
265.157
-412.466
24.3234
232.707
-257.03
-14.0623
438.044
-954.052
365.307
-846.564
637.942
4.09757
-642.039
875.444
-887.952
288.872
116.364
285.944
20.3894
278.854
-259.351
-576.595
306.236
270.359
-795.702
-31.0015
-796.076
738.622
896.285
-168.748
324.044
-454.232
-74.3286
888.75
-6.62483
432.857
635.24
-88.2467
-587.573
-471.8
-528.198
3.95785
208.351
25.0366
-182.284
-30.1166
212.401
-714.111
707.603
-148.301
-733.294
-55.0939
788.286
368.631
202.652
308.206
-565.376
321.757
-44.334
-277.423
1016.06
-628.166
-387.899
-0.705769
166.319
714.102
-38.6924
-889.346
38.0231
-42.0892
615.827
-327.049
-167.022
494.071
-149.11
-62.3539
211.464
-199.665
1.66422
195.315
470.205
68.9904
-539.196
29.6835
363.653
-619.768
-320.882
641.29
-699.956
-781.719
-25.1135
-320.069
-558.822
-86.3088
325.192
-238.883
-2.35354
291.641
470.481
553.918
-550.957
428.475
-704.921
879.908
134.655
580.069
-714.725
151.763
-308.025
-171.515
318.243
-146.728
229.824
-913.292
844.15
69.142
-4.01485
-282.597
-575.541
-207.472
783.013
342.821
-510.506
167.685
502.202
-495.417
-377.099
416.489
322.024
-396.834
276.375
-176.713
296.067
21.2884
748.592
-785.429
36.8379
413.249
175.666
-199.415
195.748
3.66699
-165.83
-247.714
459.38
-553.105
93.7254
-263.383
691.415
94.4506
750.9
73.6623
-824.562
594.144
77.1192
-671.263
-38.4889
-20.4935
-1.84415
-916.014
837.553
78.4607
-333.759
194.08
-217.409
-54.0625
-162.981
-216.83
-165.625
-422.305
744.257
81.748
17.305
-295.608
-423.049
-537.189
603.607
-253.527
254.157
293.775
-283.819
813.73
676.531
-752.454
75.9238
-370.155
-423.35
455.188
-299.947
-172.141
-75.9575
-225.081
193.713
31.368
9.83152
-250.205
240.373
-219.991
231.566
-260.789
111.679
651.373
77.8293
-729.202
-551.601
518.329
33.2718
245.782
-241.122
-513.359
520.433
48.0175
664.968
-173.743
-257.96
260.197
-424.838
596.484
-538.637
-141.405
870.12
-880.349
192.045
21.3243
-213.369
25.1003
26.1585
416.765
41.6618
-353.895
312.234
363.079
-259.553
506.1
-174.491
349.268
-606.583
636.132
-29.55
-247.788
-1.00812
213.238
633.664
31.2021
312.313
165.005
-10.2159
-359.939
455.919
-448.692
-4.83921
598.146
663.317
-29.6463
-633.67
-265.712
198.41
-8.08756
-349.419
230.546
118.873
-0.73121
605.391
562.193
-247.956
-92.1176
62.0237
549.53
461.877
30.6097
-492.487
-437.449
180.715
-648.91
-365.452
17.7392
347.713
-511.991
478.324
-179.977
-360.477
386.373
-25.8962
5.54838
-417.146
-575.942
941.249
-12.7795
-698.845
711.625
-285.192
299.874
-549.033
87.9755
461.057
2.05503
205.347
-207.402
-106.106
-509.87
-596.292
1106.16
156.067
41.2268
12.6637
836.215
541.758
-483.734
-58.0237
147.323
271.576
-418.899
-257.375
262.34
-585.111
-227.657
-156.314
-215.142
12.7846
-326.201
575.446
-210.024
94.2545
756.405
-65.0974
31.3735
-246.909
116.833
855.865
352.618
752.512
137.296
436.207
-266.144
251.399
-286.079
-320.138
621.695
-583.024
-38.6703
-36.6621
396.357
-359.695
213.457
866.641
9.61033
-876.252
-486.568
511.82
-112.143
-729.703
708.473
21.2295
30.3398
252.473
-282.813
199.735
3.70809
605.061
57.1306
-257.583
-198.272
22.2636
261.048
-46.0226
299.95
-302.276
-526.207
141.789
660.119
-70.3404
260.556
-397.235
136.679
-1.61498
-505.44
-96.3489
253.361
-243.392
-9.96962
-483.52
-189.681
673.201
-564.647
48.4353
516.211
-144.336
215.87
-222.724
-182.1
140.185
228.486
16.6046
-143.032
-6.31465
114.597
192.209
-58.0173
640.724
685.058
-360.738
-324.321
162.333
35.8013
-93.4601
-266.049
279.542
-236.614
423.905
-401.962
-264.112
411.435
12.1415
241.22
188.374
6.05107
-194.425
-114.903
75.9249
833.442
-351.08
-9.39648
-427.826
-89.9463
226.716
-232.59
5.87423
-225.704
-812.46
-256.63
648.794
19.1964
-667.99
658.532
87.8654
192.397
-223.099
-162.763
-39.9531
-168.772
190.963
-210.548
19.5851
-90.674
40.8445
335.146
417.591
-150.256
-687.984
204.464
114.036
-294.862
20.62
-204.942
-536.914
571.53
-34.6153
258.195
122.673
391.983
-491.972
731.674
-30.7193
-562.376
600.15
-37.7746
-61.0826
357.821
-332.368
60.6383
-687.348
626.71
-34.0401
-815.075
598.871
164.209
582.042
-662.716
80.6738
-426.037
441.252
241.735
-378.018
-392.605
-605.364
-155.211
-301.466
456.676
-501.602
335.559
-256.787
-182.762
-346.475
529.237
-112.331
-452.316
-86.605
243.077
-778.511
669.333
52.5192
225.289
-532.75
-24.8318
557.581
-569.054
787.549
-218.496
88.3261
-862.498
774.172
-7.33282
306.717
-175.967
433.87
-257.903
-450.2
-495.574
-451.412
573.61
-122.198
-81.7192
-325.912
-521.059
-103.392
-106.016
-444.508
288.361
156.147
284.392
7.64939
-518.885
-499.414
1018.3
-22.4601
-197.776
-60.0366
-287.81
-76.164
-272.097
198.887
342.005
3.07576
366.29
-324.11
-42.1809
-9.61416
216.956
-207.342
-418.823
270.055
-36.8118
641.352
-604.54
-837.898
98.8517
736.618
-6.59245
-730.026
729.13
126.977
258.188
-287.569
-721.589
550.228
171.361
-102.779
21.1709
627.623
-199.81
-10.2729
153.674
-168.95
15.2767
596.59
-653.731
-722.085
-7.61796
-738.742
55.09
683.652
266.817
-374.327
264.524
-816.524
755.648
60.8768
-244.393
-48.2874
-16.9982
653.906
-533.323
-120.582
-179.997
229.054
-49.0576
-236.799
40.376
420.781
-461.157
-189.252
-333.445
368.217
188.981
-131.13
327.975
-424.177
25.5462
398.631
-37.3341
444.833
-407.498
3.445
745.57
-749.015
-752.615
-113.247
865.862
-451.374
81.2433
312.827
6.66918
216.776
-223.445
-160.784
494.719
-333.935
-788.166
865.123
-76.9563
622.444
-441.672
-91.2066
304.185
-462.163
157.977
581.926
-7.39589
261.912
-254.516
192.344
241.588
872.027
-147.923
-303.632
-56.0782
-899.794
1081.03
-345.836
89.4057
130.012
8.64907
-89.9952
-322.7
-29.6169
-22.4015
716.771
-694.369
240.913
-735.926
-243.669
94.6808
442.297
-568.842
792.638
-44.046
7.80161
250.426
-470.48
315.27
-59.3173
-462.567
521.884
-270.004
-302.015
525.109
-486.684
-38.425
-502.413
535.144
-95.5038
-85.7635
181.267
571.531
-518.137
-53.3939
-27.088
-784.231
-7.83688
-605.052
561.007
44.0453
-18.1904
-730.357
161.303
280.963
-261.507
239.601
-257.399
-40.9817
605.127
-564.145
-1.09427
-604.711
605.805
-369.001
3.54898
-41.5656
634.619
111.179
-279.845
4.26014
-194.783
190.523
-2.166
-295.729
333.633
-37.9031
679.207
-75.3433
-202.102
58.5504
546.112
-604.662
-196.415
-6.13837
202.553
0.484456
-583.024
395.856
-327.829
197.582
610.948
-33.7386
-101.037
683.079
-629.321
267.648
-195.079
335.263
-303.82
-265.277
221.055
-5.06469
-59.153
563.753
-218.364
-16.8725
-219.926
238.966
-359.495
54.3391
-525.77
-40.3056
541.82
125.218
12.3953
-263.256
250.86
-327.666
408.484
251.227
8.39807
640.102
-652.882
17.7166
40.8384
27.2487
778.889
-806.138
634.436
-615.239
-339.512
-151.363
54.6627
208.822
13.4841
379.333
-360.898
-31.8299
462.978
-431.148
-427.437
248.145
330.869
-9.11196
-578.788
-237.127
198.905
38.2223
52.5784
215.968
638.578
-624.236
178.098
-203.308
25.21
105.53
-182.158
-741.927
-248.19
258.021
-414.16
-230.062
232.117
-202.17
-6.72995
253.773
-247.043
-215.843
206.229
95.9216
-159.819
-682.987
748.397
-243.522
65.9504
-58.6563
520.533
7.59796
276.794
-0.819315
263.739
-10.2491
-7.50453
-300.42
296.064
4.35609
253.967
52.0038
-283.112
51.0643
232.048
-41.4474
348.093
-24.8064
-443.284
-186.842
630.127
-225.676
-5.10395
230.78
-45.2503
-483.731
528.981
-734.271
-130.66
-2.44099
-269.201
426.037
-156.836
-113.053
45.9779
634.549
-33.4473
708.751
-648.113
467.196
-145.172
-207.575
-7.56687
-508.297
477.391
342.437
-510.339
-20.9862
184.834
-163.848
345.214
-505.998
-348.405
25.7048
-257.561
-14.5968
-150.451
439.507
-289.056
203.602
-222.149
519.952
-489.343
570.608
-812.82
242.212
217.389
-332.292
-587.184
421.559
-328.131
63.1629
-51.7071
710.239
-835.57
787.664
47.9061
733.238
-688.851
204.786
39.6291
-447.479
481.684
-34.2045
-5.6027
219.585
-213.982
-593.093
-34.3686
-3.76291
459.075
-289.084
285.069
-532.175
507.828
24.347
845.001
-5.38958
-839.612
11.5862
-604.68
-13.6019
-379.28
219.238
160.042
718.875
-120.004
-852.623
772.127
80.4957
397.293
-412.102
14.8082
466.638
-138.92
355.547
12.0784
-513.58
-47.2236
560.803
-632.842
590.181
42.6617
17.7144
-746.926
729.212
-548.953
-53.0605
602.014
-47.2375
425.441
191.975
330.538
-470.134
32.5484
437.586
-310.924
-265.671
-264.273
247.4
381.352
5.60338
298.811
-6.50981
-292.301
393.103
-442.066
48.9629
-466.393
-677.209
640.322
549.061
-507.308
-572.534
434.999
137.535
-127.845
-255.074
382.919
625.345
-677.95
52.6056
171.397
402.651
-574.048
-446.034
-24.0996
-73.7133
-780.896
9.40573
-234.768
-108.095
-491.489
599.584
-26.8836
359.62
-396.282
438.895
17.0247
828.743
-752.725
-76.0189
-18.9708
-493.021
-75.7393
430.89
287.985
849.588
-515.479
281.015
-367.324
324.475
-346.606
488.516
-462.358
-1.52673
-227.753
332.618
-290.957
-222.505
229.174
58.3003
-36.846
603.111
-12.18
-561.295
573.476
240.129
-435.208
-63.7314
745.674
-681.942
-10.4176
198.792
938.88
-319.682
-22.7196
-726.595
749.315
-684.378
-14.4675
568.602
-646.973
78.3714
233.324
-119.288
-79.1796
830.079
-444.57
412.74
35.8268
157.091
36.5596
-193.65
542.468
-163.451
209.601
7.33612
-216.937
845.457
-102.493
-58.1496
831.091
70.7665
197.557
-284.162
647.253
601.998
-4.71215
-597.286
-463.991
32.3319
431.659
-259.194
-590.566
2.18927
588.376
-477.264
-184.985
662.249
-266.322
-12.752
-330.817
428.697
-911.052
812.347
98.7047
-769.029
796.278
9.84974
669.567
-593.031
-4.015
-887.685
887.685
-575.332
558.816
-46.3043
226.225
-153.343
-362.136
431.846
32.9228
35.3301
445.69
1.41119
238.189
198.723
-41.6324
-534.256
38.05
-557.262
-490.087
247.021
243.066
840.033
-316.578
271.902
44.6754
3.66132
227.525
601.866
0.132278
-159.133
-268.304
774.172
-770.727
943.446
-542.493
-400.953
-891.337
316.919
574.418
-209.941
13.1723
-4.17702
-199.712
230.737
184.783
-160.137
-24.6466
-129.546
405.447
-275.901
-647.028
644.319
526.975
-21.9824
-504.993
242.537
-233.131
216.401
309.605
-284.894
-273.641
-130.512
404.152
-417.045
257.051
-57.0268
-595.254
520.459
-167.385
534.89
562.667
-96.3164
-466.351
325.391
-314.264
-11.1267
561.812
-517.873
-43.939
759.701
411.256
-381.572
-49.0508
643.195
497.062
-157.109
343.467
341.592
587.127
0.600761
224.282
-356.247
131.965
6.99858
-626.018
619.019
-409.47
140.268
-349.286
-5.35748
428.006
791.581
-777.544
202.937
299.364
816.843
-728.517
-1031.83
201.139
-662.787
204.58
2.17462
-206.755
-2.44033
52.7307
279.738
-332.468
355.882
23.4515
-118.682
-209.45
-203.219
-474.622
286.346
346.971
-322.088
-16.8576
-571.69
588.548
-188.88
-10.5353
38.4933
-301.727
-223.626
190.327
-186.125
-4.20194
760.524
68.2196
379.36
31.8961
38.3872
-558.41
520.023
-369.861
387.6
658.842
-670.835
-1032.92
561.119
159.287
124.759
-524.099
-295.818
-146.585
442.403
-778.476
25.8613
198.524
35.5501
-234.074
314.686
-462.609
-66.9016
-19.8125
540.734
-520.922
14.3941
398.02
-412.414
502.235
24.7398
-307.57
183.412
-533.902
548.413
-14.5118
536.567
-177.33
-231.939
262.279
549.8
860.063
-865.452
-74.3525
348.03
2.75568
-522.512
519.756
-409.542
-223.905
-138.527
593.966
478.44
-538.756
60.3153
-455.477
458.233
243.135
12.8717
-184.817
192.127
-7.31026
-245.22
258.913
-268.786
278.136
-9.35013
-44.5342
860.952
-833.873
776.003
96.459
-195.399
8.99769
186.401
-283.802
334.913
-560.44
733.843
-277.034
229.875
4.24644
-364.497
531.53
-167.033
418.549
26.2835
390.69
586.655
-437.632
327.99
-303.066
9.21322
585.898
-595.111
186.168
280.879
-533.293
-618.347
166.934
663.075
-774.877
656.852
-8.57868
-648.274
-809.891
133.841
540.524
-225.752
235.347
157.6
17.8978
64.9789
-322.915
-237.733
502.261
41.6942
-869.62
-17.4468
382.46
257.599
-295.118
382.052
271.853
203.231
-375.619
172.388
-869.65
262.709
-270.105
-177.346
421.517
-368.158
409.002
-23.8039
387.255
-363.451
261.191
-400.701
139.511
167.67
-425.093
333.276
-388.104
-531.946
-777.927
755.208
-642.679
31.701
610.978
-209.032
-9.33171
-94.1857
210.589
8.56699
63.059
200.693
-263.751
-648.435
662.205
-13.7698
260.603
-240.114
40.5081
325.806
-337.034
-213.526
-210.565
204.963
-506.132
537.51
-166.548
-141.022
983.144
-3.32882
303.182
-545.158
-85.1752
630.333
-546.4
308.7
-304.821
-257.009
-9.31344
-314.202
303.976
10.2252
252.17
-1.54885
-250.621
-10.1788
170.473
-203.314
210.287
306.697
-220.652
136.236
633.649
-689.367
11.4912
-665.399
-3.18983
287.816
26.6912
404.537
40.3225
595.494
-635.817
-583.567
-449.365
263.417
185.949
-452.775
-220.298
12.7232
-239.695
-25.2602
-544.671
-98.0078
-200.062
3.64738
-1047.44
519.239
-381.959
770.169
-388.209
-227.02
-43.2583
512.592
-513.473
0.88103
17.1198
662.556
-679.676
-5.34579
9.10542
238.405
-247.51
156.976
-530.213
524.514
-557.526
33.0119
-511.572
452.255
176.255
12.1149
-188.37
-463.305
-51.937
770.45
43.9607
-490.13
-497.626
987.756
-670.888
617.19
53.6981
-311.131
202.001
-184.678
-10.721
-452.469
4.98973
324.856
216.754
55.672
506.14
-1018.14
499.25
23.0542
-183.031
207.699
-24.6683
1071.91
-654.397
73.6172
-826.342
690.599
-659.222
567.808
-565.618
-778.135
19.3234
67.0195
152.566
-879.124
918.266
-39.1414
-181.873
79.3956
-590.118
649.486
-419.877
460.253
-541.284
-476.851
-14.8867
-287.389
-847.016
8.24743
838.769
-26.521
292.733
-266.212
274.11
11.8484
-285.958
-227.671
-262.416
262.01
-247.089
-14.9205
10.9626
248.79
-650.723
557.884
459.525
540.475
-72.2676
-617.248
658.721
-41.4731
-27.2065
240.445
29.9393
-246.957
234.268
71.0502
-549.608
36.0288
-128.74
-15.5164
263.859
-248.343
-855.848
868.511
230.203
-7.98114
-222.222
-270.019
-22.7899
432.25
-13.6664
-397.247
268.961
128.286
-231.815
-249.748
241.623
41.8343
-640.367
598.533
391.304
-379.813
-250.702
-38.8662
-507.817
-561.157
-588.503
39.5492
247.378
-197.98
-49.3979
-67.146
584.62
-517.474
493.196
-534.177
-7.38667
-215.118
555.1
-633.401
11.7354
198.497
-210.232
-451.936
681.829
-229.893
2.79894
-83.5317
-563.441
-391.408
-220.64
-40.8006
261.441
-92.5979
-528.366
620.964
-650.761
697.31
-46.5497
-843.518
-3.49787
19.9563
852.492
-872.448
301.15
-15.2057
385.084
126.493
-511.577
-8.96084
-288.98
297.941
-61.8855
827.535
-342.818
-21.2536
364.072
-272.861
-11.2567
-248.328
18.1229
-241.61
223.487
446.725
41.7917
476.783
-444.235
212.954
-203.031
-9.92329
-496.483
531.574
-35.0915
-28.8311
-55.2635
-194.333
583.281
-584.375
249.757
518.471
206.813
-571.573
-522.374
41.3241
481.05
321.751
44.5395
421.795
574.186
477.886
392.556
74.0817
-40.8434
466.147
-425.303
-260.736
411.291
-3.16499
207.177
14.5115
56.1823
4.33184
-574.354
-2.08617
-237.609
-169.919
430.167
-260.248
-414.145
22.4562
362.258
39.1556
-459.032
-703.213
694.027
409.227
-386.173
353.476
-90.7671
-14.7721
514.749
-499.976
-202.304
411.541
-357.884
908.151
-842.596
-65.555
688.744
-50.8027
635.116
-38.3902
414.48
693.664
-44.4365
-614.786
656.62
210.737
-12.5026
-11.102
541.518
-530.416
31.529
692.928
-724.457
-319.484
476.599
-133.778
-343.048
239.898
-146.392
-306.39
452.783
485.639
-279.153
52.1329
-24.0491
569.042
-544.993
-285.719
-9.88903
-533.517
37.0342
666.14
-44.3608
516.907
453.914
-546.512
-183.136
3.13934
-878.746
66.0423
-301.575
-21.1183
322.693
-42.5964
555.016
-512.419
184.662
0.171411
23.5501
531.55
-262.058
262.142
-246.79
-15.3514
-574.633
566.899
-347.67
292.718
54.9519
-3.06606
453.559
-450.493
-27.4336
484.463
-257.884
-22.1785
280.062
-548.526
3.50312
-278.122
274.619
292.6
8.54956
221.589
-217.946
-3.64347
185.853
-629.137
233.033
-227.416
-5.6169
6.43519
222.619
-296.227
-457.258
451.901
289.38
2.27024
569.681
-531.294
246.887
-255.848
16.1633
1.98618
174.269
279.094
0.643564
81.1471
-882.929
801.782
-406.554
-21.2642
-527.262
231.228
-232.755
450.217
-141.597
-308.62
503.647
-38.3066
488.572
-450.265
278.414
5.47292
-283.887
-204.275
0.960201
-867.9
-0.52896
868.429
550.841
289.19
0.50489
-575.837
-134.998
370.345
-594.441
594.946
-893.261
481.156
412.105
269.699
-245.375
-247.579
-100.092
-50.4577
-548.584
-9.7094
-1027.23
282.091
-12.3013
-783.081
795.382
252.836
-189.777
10.7553
265.245
-276.001
-145.71
487.23
-297.655
-77.8494
-219.75
200.885
18.8647
292.363
148.647
4.59462
209.568
-8.43991
526.385
-517.945
772.179
44.6647
-139.463
446.603
457.351
-418.196
-696.396
426.33
-133.967
-260.518
-87.3536
335.79
-248.436
-272.483
-32.7365
21.6004
-266.094
244.494
-24.6958
-732.485
757.181
-279.035
-560.964
3.18994
-384.447
381.257
415.998
-150.841
401.253
-4.63384
-628.251
632.885
-403.187
190.347
67.8936
652.457
-47.3963
-956.986
505.05
-234.436
6.41639
228.02
6.91721
238.865
11.6073
277.583
234.11
-144.731
386.466
540.172
-485.833
-84.353
423.938
5.51042
-69.5268
-30.5562
-199.506
-256.507
8.31682
37.9267
-824.839
786.912
-379.432
7.27224
372.16
21.5307
-272.561
-0.299722
290.335
3.43975
-820.919
904.335
73.7595
551.65
-567.187
51.4605
642.204
11.2673
-267.371
256.104
-239.087
227.747
11.34
-598.772
576.699
22.0726
631.636
-8.98342
13.2894
218.827
203.85
-5.42261
-198.428
878.211
-797.064
-671.07
765.52
-287.499
-131.78
419.279
479.425
409.665
-148.475
248.374
9.64769
-196.369
199.331
-2.96205
-125.291
-599.075
-674.64
831.67
-157.031
484.442
-449.112
-183.828
852.073
289.621
-268.02
4.11589
225.058
400.957
-140.401
-806.143
783.742
-308.15
63.7572
-231.931
220.852
11.0794
30.6598
592.223
-622.883
5.21418
558.592
10.4091
185.984
-196.394
-334.855
875.444
56.0084
-360.815
326.61
34.205
-146.142
-101.571
410.908
-444.526
215.68
-16.1536
-259.945
233.138
-133.529
-99.6094
-533.194
535.993
7.44932
-123.704
-323.084
446.787
5.11307
-656.941
-652.551
-278.444
284.014
-5.56949
-152.542
-258.211
410.753
265.998
-253.603
178.76
169.571
3.64835
429.871
870.707
-867.317
-292.571
13.4025
-12.0286
-12.0451
-368.131
380.176
-746.719
292.288
589.474
-557.773
-0.119263
-652.166
-129.072
-143.026
545.763
-177.547
-16.2683
705.286
-689.017
718.014
-738.753
354.135
-364.531
-223.057
826.498
-35.6442
-790.854
415.922
-223.578
425.571
-153.995
69.0044
372.492
-60.9976
-311.494
12.3161
228.839
234.813
-12.4
-701.479
195.89
16.3124
-38.5381
258.779
-220.241
-533.282
45.2461
488.036
139.314
-476.204
-253.008
823.616
12.7453
577.367
-590.113
-35.4196
431.159
-395.739
-524.34
-188.795
713.134
-21.6971
342.532
-320.835
-405.306
-60.0149
-771.438
831.453
-176.838
-131.187
-627.109
-54.1406
-2.47952
-347.092
45.5172
-2.31071
-353.398
870.12
30.7701
491.251
-522.021
261.275
-32.6716
876.178
-884.362
-268.823
-8.87251
324.858
-25.7962
-299.062
6.51182
206.442
225.075
557.403
-9.00819
-623.138
-1.05938
870.87
-869.811
-318.884
289.114
29.7696
257.778
-293.711
-19.245
516.731
-103.4
332.688
-515.449
-57.7962
657.84
-600.044
-719.335
-5.53847
33.5395
-680.997
686.69
-748.576
-457.503
311.11
20.6676
742.831
-763.499
344.633
-388.639
-574.919
644.51
228.101
745.152
345.64
-16.2768
-329.363
47.7307
587.386
-150.263
408.632
875.723
-875.723
457.26
-758.368
896.154
-741.572
-275.903
239.782
-201.031
-299.051
147.197
25.4502
-172.648
151.377
51.9022
-595.084
570.252
42.7374
-669.914
627.176
-289.244
0.160005
-120.411
-172.436
-786.925
768.712
214.678
6.3769
-546.846
-143.804
126.116
-13.5105
304.659
233.85
-225.68
-8.16985
-33.5449
-225.799
-294.326
7.80809
224.394
-232.202
75.4519
-715.064
-309.885
24.6933
-30.552
474.728
-444.176
692.381
-516.31
-644.962
-5.79839
-375.533
-70.0502
-64.3306
761.703
-697.372
257.551
-188.863
-68.6878
-285.182
1.36345
-469.274
203.66
265.614
-600.045
20.1716
249.367
-205.868
616.061
-666.873
285.207
-0.137805
875.417
-867.169
855.848
-869.578
13.7302
877.443
-857.487
6.94109
30.9022
-533.315
-499.092
-143.5
421.061
-476.388
-665.541
36.368
495.061
-480.812
530.176
-139.521
625.747
-69.8993
8.96906
295.595
-317.292
354.157
160.8
-514.957
-120.998
-326.993
-364.24
357.765
6.47465
-414.995
173.813
25.9218
-611.896
-403.708
266.492
-6.79244
234.912
-245.593
10.6807
14.8587
333.234
404.31
177.085
-581.394
-204.925
327.598
336.077
-485.832
149.755
-116.102
-393.829
509.931
53.8064
3.17006
195.354
194.132
4.27754
-189.71
-177.549
-233.534
-245.697
4.57545
-525.635
549.185
-22.0113
540.34
-867.9
-119.393
-279.761
320.975
-41.2143
217.417
-304.77
-460.138
-44.4189
504.557
-557.164
-163.278
517.435
-151.114
-237.09
-367.063
273.603
435.779
-416.056
5.83114
204.906
-302.959
302.254
0.704379
195.377
16.7024
226.161
4.04257
-551.811
323.156
228.655
-318.884
241.403
-244.847
-1.51334
-474.872
-95.3279
-680.654
65.8998
614.754
496.877
17.459
-225.93
26.2176
183.687
-442.291
442.291
-295.808
2.09762
251.729
-205.318
-258.204
-147.178
405.382
662.398
-687.093
-404.796
407.986
24.6798
303.311
700.888
289.114
-264.493
-147.973
455.47
-313.003
-142.468
29.9137
433.064
246.255
11.933
-32.1447
293.615
-15.9315
-41.0169
674.666
679.426
-551.745
344.274
467.097
-143.052
-472.727
-145.805
618.532
-699.96
658.943
352.774
3.75163
-248.747
320.673
-71.9256
29.2766
406.156
-509.626
103.47
-162.528
481.392
-318.864
-329.806
-0.938373
226.672
108.765
266.343
148.017
-39.0333
618.23
-579.196
-545.06
502.463
368.252
-98.3994
23.835
-303.535
279.7
207.964
-3.33979
-204.625
-315.845
-12.198
328.043
103.066
669.403
218.592
-206.856
-34.4774
-213.033
-68.2069
449.781
-471.423
259.737
510.431
-265.735
-153.217
418.952
-414.799
429.193
-197.023
-213.983
375.022
-542.055
-447.797
-443.54
-67.053
-881
137.613
743.387
-152.791
450.151
-447.017
273.521
-1.61838
-31.2557
253.95
-264.005
10.0555
52.4749
-646.832
594.357
568.069
-645.81
-150.398
-522.048
-265.09
11.5634
277.942
-25.4687
289.169
-149.102
-324.414
13.9832
325.268
-339.251
-585.991
-494.054
1080.05
463.517
-431.185
-11.1547
-380.477
368.432
-15.9412
189.764
-0.761667
-449.15
449.911
-105.575
442.296
-427.976
-14.32
228.025
-319.623
195.945
-323.177
-309.924
-144.308
10.7852
-236.459
-322.869
-11.7193
334.588
212.996
423.819
429.872
-41.9335
-335.067
-523.146
549.833
-26.6873
-91.1458
497.914
830.945
-70.4211
7.13788
259.421
-54.6348
-325.489
-35.3262
-772.421
793.088
-154.038
-2.92382
-304.573
7.3035
314.115
859.534
-9.8172
-200.454
196.907
3.54699
-194.564
11.4286
-200.897
192.81
361.607
-420.76
-214.807
301.122
-304.312
-62.211
-585.672
598.417
-152.64
485.916
335.377
-15.4756
-23.8598
-130.374
-130.296
84.2197
-598.222
650.697
-210.92
217.273
-6.3531
-227.131
1.74447
225.387
685.212
-642.474
-198.99
366.379
-167.389
-580.445
577.965
-59.2677
654.825
-595.557
-23.0709
-147.878
367.116
750.671
17.6274
-768.298
511.826
30.1677
-541.994
-759.208
-14.6012
-772.324
-232.319
-145.699
-261.595
4.21999
226.738
0.0248104
389.085
-16.5934
341.554
-16.5965
-324.958
637.355
-587.058
-50.2972
-781.068
823.885
-340.061
-9.35844
283.415
-324.216
509.027
32.7669
-541.793
-208.224
81.54
126.684
-215.661
-7.39593
639.409
26.7312
45.2318
-542.956
2.01935
629.616
-25.2136
845.744
-19.7117
416.12
-396.408
236.444
-13.2394
276.513
331.259
-306.579
-15.1506
225.35
-12.9493
-212.401
379.598
-13.642
-441.887
901.413
193.205
11.7836
-204.988
330.749
-237.122
-93.6261
-156.847
185.643
-2.30646
308.221
-461.012
-31.9145
262.461
263.007
-258.797
-4.20909
-60.6272
663.097
-602.47
259.901
-13.2989
-246.602
290.869
-439.971
295.119
-392.502
-118.004
-610.193
5.48225
-44.3543
524.749
-480.395
-266.596
673.564
-639.223
-34.341
-584.191
244.573
16.0302
-63.0763
485.52
18.9352
35.9604
-3.15555
-593.509
596.664
-481.752
443.445
-281.528
-135.289
-121.295
-252.37
373.665
-261.259
-4.88425
-384.948
-7.62659
392.575
-11.4515
-283.666
-220.061
-265.632
-153.267
145.546
-174.063
165.052
9.01133
119.429
2.79542
-20.2842
271.683
-11.5531
-368.924
212.44
-402.935
178.311
1.5287
-179.839
-275.12
-159.962
435.083
248.753
9.02481
-249.589
-13.2335
229.104
312.439
-288.604
42.776
730.707
-675.617
-10.9281
-357.527
368.455
-18.8446
276.626
-257.781
479.644
-449.73
-309.048
-166.81
475.858
170.848
-41.3227
274.03
-396.501
174.646
11.4751
-186.121
-238.079
6.12131
-262.752
458.713
-144.027
-198.035
-12.5307
-250.247
222.34
17.1685
290.595
-307.764
194.562
-143.049
-254.186
230.722
-211.009
-19.7129
-418.26
1.11369
-379.852
-359.837
-8.51792
-305.684
766.473
-826.488
-373.183
140.864
225.716
-20.7534
45.5236
-800.457
-510.983
-10.2543
-198.057
-396.03
-8.76568
-175.892
516.533
-258.05
282.258
-24.2079
256.475
-15.2551
-147.457
-298.17
445.627
299.362
-210.49
224.676
-14.1855
1.29187
-203.086
201.794
-403.657
-201.791
-16.5555
133.786
-506.636
539.997
-33.3614
-259.054
335.873
-347.593
-219.585
-18.3653
-18.4931
209.445
-484.641
331.298
241.037
12.0974
320.791
-332.889
-127.658
-166.697
859.645
-860.704
388.472
-364.364
-24.1077
209.494
-17.0965
-25.8464
-918.155
454.839
-21.8062
-241.673
263.479
-37.2764
598.283
327.634
300.688
-24.5768
-276.111
-19.9882
-242.75
262.739
381.592
-359.136
325.023
-311.04
-21.3369
270.248
-300.182
49.4799
-344.641
217.761
-8.48245
-209.279
228.863
-16.0362
-212.827
265.752
412.809
-146.466
-56.453
305.287
-248.834
-29.0127
277.81
-27.733
218.696
-283.714
-2.37825
236.017
-10.9792
-225.037
-742.413
146.654
-703.982
200.291
362.043
-321.509
-40.5337
-37.0464
-234.914
-216.014
-16.5766
514.034
271.336
-785.37
42.4068
202.056
-3.55885
0.637155
-565.874
565.237
7.20929
471.231
-9.13389
345.007
234.795
-149.282
208.696
1.92839
625.695
-198.428
0.108455
338.645
-338.754
232
261.597
0.743683
206.821
-206.821
-147.587
513.849
174.895
-5.24317
-409.556
-708.339
-74.742
-56.2849
-492.378
470.206
22.1721
-8.58667
834.325
228.424
-15.4954
251.468
-757.236
692.906
677.718
-636.996
-40.7214
20.1512
-288.088
-3.71538
-141.27
392.738
-546.814
537.806
426.531
-457.885
31.3543
229.486
22.2432
314.823
-624.604
587.792
231.043
139.302
496.092
35.4825
195.079
433.779
-7.79398
-559.393
242.629
19.5124
-192.072
-18.4762
10.6572
188.48
-199.137
-75.6773
803.569
-727.892
-6.32161
354.484
-358.267
-237.615
-349.569
-559.577
559.577
-294.837
-149.671
245.475
1.90344
-209.538
-13.1856
-288.6
-555.916
-256.904
-205.9
-17.8112
116.155
32.6868
292.172
-321.87
26.1404
-206.403
-16.6961
1.2554
203.325
8.4399
-110.673
32.8551
-503.605
470.75
-689.189
189.439
5.12321
-549.033
702.053
12.7388
-135.7
366.743
5.03376
215.109
-220.143
284.984
8.63083
259.657
8.90507
-625.27
616.365
493.306
28.6323
-521.938
2.66946
203.067
-194.069
9.0248
808.009
-817.034
20.1018
-19.5061
672.272
-652.766
-597.438
628.098
-33.8342
-557.336
591.17
-255.933
-449.616
546.536
-96.9196
-882.85
801.224
81.626
-18.8565
214.234
-19.1338
325.67
-306.536
999.761
-236.349
-42.4104
278.759
440.829
-152.468
-665.012
742.131
162.441
355.532
-517.973
-239.177
-226.505
-23.7421
-305.845
338.532
48.7795
-561.3
512.521
0.343154
570.921
-571.264
-143.695
-342.28
485.975
527.358
33.9098
-561.268
-542.018
41.5641
486.793
-528.357
-31.3021
533.537
-7.54338
-880.141
292.678
-276.107
330.177
-837.569
-5.94929
539.937
-515.198
641.888
-7.45277
482.851
-374.753
-343.633
252.866
-277.898
274.182
11.7932
-0.665009
-804.951
32.7281
-553.923
521.195
-0.506225
-87.8289
870.284
-782.455
-999.283
413.292
486.747
-151.189
525.643
36.998
-528.115
863.903
-783.279
-331.748
-203.485
152.499
-329.193
230.672
98.521
-727.365
8.02987
744.353
-12.9171
-731.436
355.606
-18.5052
-700
718.505
446.467
30.3156
372.226
-132.096
13.7434
235.627
136.599
-202.629
-242.844
255.16
306.158
134.671
-125.962
-69.6719
344.4
461.094
-156.909
-747.161
785.6
-38.4384
-750.002
599.605
414.525
-423.291
186.047
-185.876
-299.519
-118.088
-257.531
-8.06306
-406.097
-156.005
217.721
48.7702
-119.351
191.91
-494.757
66.9309
205.27
-479.16
512.015
90.6646
511.071
-557.013
45.9418
425.827
16.4694
40.0091
-507.92
850.166
-840.555
-186.005
2.80637
183.198
245.885
16.1243
495.696
50.4157
255.741
-255.561
-0.179901
236.68
-22.8315
-213.848
-113.927
871.13
-757.203
295.575
59.5536
-669.13
609.577
575.908
-554.754
492.618
30.4323
-730.579
-650.385
45.7231
-303.417
455.521
-434.223
-21.2984
344.992
360.672
-382.96
22.288
-345.315
-174.886
520.202
-738.641
-28.7093
767.35
-152.699
387.494
-17.8792
700.14
-682.261
-129.414
-147.954
-215.356
218.761
-3.40456
636.927
-4.25417
-632.673
-207.803
208.277
-0.473528
-27.9642
269.823
-241.858
-7.78224
422.307
205.002
159.368
324.06
-483.428
-161.984
-42.809
19.8914
-250.05
386.729
-285.993
0.0983669
707.505
248.223
15.6356
509.297
-164.305
-266.384
-21.7041
-377.149
542.728
13.5355
-905.114
202.815
2.09132
-431.076
370.697
-336.182
212.833
514.612
-169.398
-486.959
-243.398
663.505
-585.134
-274.231
285.838
-531.468
39.9792
-588.183
167.075
559.948
-35.434
235.823
-207.5
387.648
-353.443
180.001
307.229
503.217
-160.78
-9.43658
499.512
-461.344
530.335
561.549
-168.446
-1.58952
583.644
-582.055
-643.43
-26.5373
-466.173
314.81
375.377
15.9267
550.175
-508.351
-211.122
-71.9902
-215.429
-15.1043
17.2917
393.999
-15.2218
-650.319
638.551
-14.7385
34.339
187.167
85.6531
-529.531
-56.429
-459.897
10.5221
-29.4868
44.0486
-450.624
7.09866
-622.338
-302.913
-14.7941
357.745
-226.297
-131.448
523.736
16.9978
-521.207
21.03
268.591
340.689
-20.2796
-643.817
-10.3565
654.173
-435.206
12.8321
422.374
-820.088
819.436
584.857
-75.8308
436.096
57.6117
-493.708
259.24
-256.445
770.475
-732.549
-423.747
467.795
540.295
22.3715
28.2359
-712.614
3.29478
175.016
11.0991
-739.207
25.2036
-281.136
8.68978
208.583
182.883
3.16431
224.218
8.8144
-147.939
480.98
76.7079
669.602
-746.31
-23.465
347.59
203.386
22.3301
35.8071
-542.443
-305.557
-567.736
-486.254
8.90949
477.344
1.52234
749.148
-860.42
-6.9064
-256.362
263.269
-596.753
-383.951
398.229
-288.221
453.909
-15.0144
22.0113
-250.972
806.699
-767.628
-461.665
-5.04481
466.71
543.373
-501.809
-260.873
1.81828
813.157
-36.7098
-223.794
225.206
8.26335
-293.43
285.166
767.038
59.4602
26.0222
-331.867
41.1639
-874.313
31.7173
-606.001
615.486
-9.48404
847.794
-10.7304
524.284
45.3966
-307.194
-9.51258
316.706
198.237
298.03
-165.309
39.2057
294.427
380.468
-304.352
2.93939
360.39
28.0819
-496.726
527.496
603.276
362.005
-4.98852
862.781
58.2848
-540.019
481.734
-143.761
434.629
391.694
17.533
-9.79587
515.753
-505.957
588.108
-539.329
190.571
19.2559
-19.299
-225.197
-0.306838
25.6893
-70.5034
59.6485
-305.488
245.84
607.096
45.3614
-352.611
-157.728
-734.489
740.663
-6.17408
7.97238
228.707
1.45225
-262.325
15.1373
-444.22
438.977
496.199
23.7534
-247.398
238.6
8.79834
396.996
133.18
401.337
25.1939
89.6732
251.547
-341.22
180.496
-30.1841
-734.315
-12.6115
9.48752
0.503232
-40.7444
-270.386
465.605
-9.20562
-456.4
62.8505
667.857
-7.07921
-622.277
-3.74047
680.37
-620.817
-464.01
-66.2024
-533.23
16.82
516.41
506.208
-307.584
-143.292
-187.497
-238.121
-5.12828
306.25
-448.664
-566.256
4.02084
-418.838
422.486
-14.8745
-666.122
486.268
37.5517
-523.819
-148.429
-293.637
-7.49789
675.716
-8.7352
23.7382
-471.988
448.25
-224.627
229.559
-4.93195
372.072
15.1824
-200.878
-531.075
520.366
10.7091
216.298
-208.962
242.049
-234.077
-807.38
879.104
-534.445
27.8748
506.57
138.016
241.583
-349.619
-235.346
-442.988
-525.316
437.076
88.24
-196.704
544.294
747.586
-2.51762
-146.709
-347.917
-893.254
1028.52
-135.264
342.212
-358.489
644.373
-599.34
-351.94
-176.859
496.498
647.18
-599.449
582.383
-526.711
734.39
-5.17841
-151.922
-272.917
556.827
-131.386
-45.2003
-650.2
29.5567
620.643
12.8218
225.368
321.345
-470.626
280.598
-40.138
-308.048
41.1011
423.46
-562.981
31.4885
-587.2
532.401
-164.149
447.065
-10.9691
-200.331
0.941635
199.389
79.1877
181.491
337.84
-135.017
403.979
65.3802
-836.818
403.269
-23.9097
-675.101
737.951
-123.469
-311.739
-531.505
552.777
-21.2718
597.096
-6.9157
760.235
255.83
-871.388
871.388
-592.845
-118.611
530.19
-353.2
-176.99
380.882
161.587
-32.4008
501.747
31.7898
-315.899
12.9857
62.0292
547.861
41.6127
126.791
-144.585
442.586
-7.50504
720.539
-713.034
-15.1733
-307.049
322.222
316.614
-90.8147
-454.83
297.721
-749.09
-4.7884
-638.642
28.9475
428.162
524.461
16.646
-25.3249
485.504
-460.179
-671.744
-6.20652
-20.2607
-283.274
85.0186
-3.96318
-117.044
612.74
-24.8788
-634.344
-9.90317
-647.038
-722.157
-5.20716
433.253
24.0986
-781.967
43.3261
137.767
612.024
24.9034
42.095
287.871
-329.966
756.482
-819.74
350.323
-5.39005
-344.932
-14.1219
713.582
-699.461
67.3426
-528.687
-497.517
5.87942
491.638
-15.2033
-655.631
233.969
5.3106
180.332
511.343
-10.675
359.898
-124.271
246.01
3.90696
596.906
21.5701
-618.476
-157.846
487.509
5.23873
-685.893
-573.762
-38.4597
612.222
757.265
23.6242
-175.074
-0.323637
360.266
-23.0893
-652.85
675.939
-748.109
597.918
-562.111
419.785
35.7357
441.591
-23.0421
-644.996
41.2416
603.754
60.1415
-209.469
948.021
-864.917
-83.1043
59.1733
466.511
-525.684
481.209
31.3831
-654.797
594.169
-944.07
705.64
712.792
-413.955
-298.837
349.231
-118.559
-270.877
247.412
-964.514
793.598
170.915
-757.786
-12.9403
-801.529
-9.19504
810.724
-208.839
201.529
661.439
-27.7753
-12.4126
-676.955
-813.475
-542.877
484.221
50.6052
256.133
-306.738
-495.242
33.577
-108.495
-247.752
545.157
23.8852
29.8978
465.163
0.702104
348.566
-479.044
461.56
-156.643
-304.917
340.302
4.09893
33.7051
306.363
-317.518
34.1726
-648.958
377.543
-21.6612
872.485
15.2
458.672
25.7699
-373.043
458.696
-30.1648
-516.367
182.921
-303.254
2.89416
300.36
-112.238
523.146
-15.996
656.098
-508.229
-50.8346
559.063
846.144
-780.764
-762.566
-15.3608
-275.604
-32.4446
255.643
-252.76
-2.8828
-836.483
-4.66236
-637.814
-485.324
-38.6697
523.994
-575.904
47.5375
770.703
-15.4959
-294.635
307.693
-742.467
48.8676
693.6
690.709
54.9649
-669.786
-30.174
-509.476
72.1228
-222.19
225.851
-536.748
15.8268
790.117
22.4378
-812.555
128.307
49.8376
-429.611
-806.612
304.981
-462.405
26.5879
849.95
-876.538
-468.054
-491.557
959.611
481.493
-34.7687
-11.1985
209.779
-208.524
286.304
-9.56402
-276.74
355.795
-277.723
337.371
227.154
-5.95388
-221.2
-295.608
275.347
180.049
8.83397
-188.883
-461.7
-488.608
358.982
161.478
-512.14
152.323
44.8861
679.642
-760.658
695.711
64.9468
-448.715
523.897
-2.90214
-520.995
-459.162
1.90341
37.8445
-2.26446
297.384
440.531
30.6998
9.69531
430.836
-283.415
520.713
-3.52016
358.13
-354.609
206.769
17.0279
-223.797
-25.6408
-1.9123
273.45
382.529
-390.592
213.418
-11.949
-201.469
521.37
-454.028
-223.527
227.57
-3.00537
221.893
-218.888
306.654
-448.468
-14.9288
14.7647
244.148
-657.891
101.976
-303.822
22.7367
281.085
-547.269
534.036
-495.132
444.625
-75.9856
-540.382
17.2364
22.7136
-0.511245
18.0341
-283.955
265.921
195.562
-0.207766
-488.029
-16.2989
-377.762
12.8961
364.866
297.296
-432.585
-365.181
389.856
310.3
-180.207
-5.79734
702.655
-532.968
517.768
15.2001
-723.55
-18.9171
-167.551
22.7347
20.6002
-494.199
473.599
-623.849
686.26
-62.4111
-301.622
290.423
-838.234
13.9622
372.547
-119.681
532.21
17.6232
-704.05
16.9564
1.84977
9.7271
283.006
334.716
-289.217
876.855
-863.319
-501.453
527.177
787.371
67.3142
-854.685
-1.97978
565.181
-532.169
802.304
-674.572
23.3436
651.229
-9.7917
424.272
15.0846
504.672
-510.055
552.554
643.456
-610.052
-519.928
17.8145
369.786
-60.1721
639.298
-579.126
182.756
-54.4487
-205.407
210.879
-5.47149
20.9701
15.8741
-271.697
8.97554
-293.779
284.804
645.747
16.4579
-69.9366
42.4253
-254.323
211.897
528.991
47.0101
-576.001
-296.381
86.9313
774.923
-689.904
-292.646
519.648
11.0459
-285.277
-227.176
2.54891
-508.443
-490.84
-707.066
-5.70132
-364.551
663.556
-299.004
-274.578
197.069
-161.519
-8.07198
-233.939
242.011
-277.761
-26.0613
190.914
-188.108
532.636
10.1393
-542.776
78.868
-505.656
426.788
-355.049
123.623
-362.161
9.62261
632.344
-641.967
7.67722
-286.978
279.3
736.16
-637.217
-98.9432
5.03454
-257.188
252.153
11.2098
268.333
555.283
-158.287
216.733
-210.221
24.5977
-440.594
627.039
15.0669
208.312
-223.378
203.051
-199.874
9.25406
256.744
58.1898
706.176
-764.366
-8.58097
293.565
337.618
-181.715
514.403
-322.2
581.262
56.0927
-261.095
7.15676
253.938
-225.158
217.177
-562.964
17.1141
545.85
-697.247
768.013
21.3527
387.649
-349.463
386.612
-462.303
-21.4751
241.713
-220.238
-319.135
-29.2694
278.685
0.659188
-230.842
230.183
-596.066
34.9092
720.512
-8.8878
3.96861
-58.5651
-611.349
263.92
-0.47666
-765.543
773.312
-7.76964
-223.056
408.813
-210.113
-198.7
83.9804
286.245
-266.733
-2.64046
213.211
-204.521
-607.802
376.674
-363.778
260.754
-440.867
777.99
20.7051
-286.102
600.385
-14.9138
-686.441
15.5533
267.424
-258.17
262.988
21.111
311.507
46.4799
-531.804
22.4763
-351.97
270.194
-279.758
-536.091
601.704
15.486
71.8325
554.699
256.544
-245.707
-10.8376
22.3282
263.692
-632.54
15.2925
-3.45027
6.22128
459.384
-22.4865
792.937
52.2438
-560.473
-20.6484
844.533
36.9909
-634.429
541.546
399.703
613.349
-619.35
6.00161
1030.3
-208.965
-617.191
29.3961
587.795
190.364
-217.57
644.071
14.6498
-33.7801
-103.784
-759.019
862.803
-275.932
-167.16
522.693
345.974
-355.108
580.478
-157.018
626.038
0.348822
-256.06
-30.6089
458.716
737.045
-50.3547
-138.517
-245.978
12.8957
393.192
263.106
-247.076
310.154
-301.891
674.151
-35.0039
65.1621
514.59
-579.752
17.1294
297.717
3.44782
-301.165
737.657
-46.9124
258.793
-193.814
14.8699
225.483
-240.353
246.248
18.9636
-396.476
327.619
13.2238
18.2251
15.8989
-827.265
-48.9863
-172.145
175.44
375.726
-311.623
25.5012
601.53
73.7989
-675.328
44.0307
-484.879
440.849
-384.735
26.4044
531.521
-507.965
-23.5559
-484.91
544.083
17.4957
418.283
239.088
347.961
-353.351
247.41
408.872
80.4306
154.454
263.137
-697.667
31.2829
-395.376
15.5632
14.7634
-5.17721
208.502
472.569
-473.33
247.502
-237.521
-9.98101
-35.693
14.4403
378.752
17.7922
-565.504
547.712
18.6794
29.7251
430.528
-5.93537
-193.427
195.091
-460.915
304.078
156.837
663.186
-92.2649
843.866
13.4096
-857.276
193.717
191.402
5.6667
293.794
527.235
553.796
-37.9747
285.768
-426.169
329.784
-347.413
183.058
12.9384
-195.997
539.247
-514.06
-25.1863
-567.377
22.3834
203.082
-4.03335
-199.048
-644.522
560.99
558.523
-0.94184
234.628
285.181
413.047
373.84
-26.1273
18.8739
321.841
-278.85
-42.9904
16.104
396.943
4.17682
-787.148
782.971
542.715
-167.693
-513.362
-470.249
-92.7156
239.113
-592.589
790.171
6.36208
-178.507
245.821
-983.505
869.578
-873.118
867.169
-859.645
857.487
2.15799
425.099
-20.3157
-404.784
7.71017
239.791
634.296
197.286
-755.268
743.258
12.0103
97.3627
268.843
-261.686
28.1586
-526.793
498.634
-444.237
-43.7918
220.733
-419.723
-40.6941
1.21126
-575.027
24.9906
550.037
515.102
-118.272
-396.83
15.3089
409.79
-2.31538
-629.057
38.9388
596.051
51.1286
441.934
-107.324
-334.609
-597.448
-312.643
310.502
-477.464
49.0972
-499.526
27.4376
472.088
254.918
-400.617
-66.2016
829.327
-763.125
8.3081
-507.727
499.419
-223.805
232.372
46.0505
-505.052
-113.295
4.15667
-831.422
727.497
-831.281
229.092
-313.018
339.04
6.03217
16.3478
407.558
25.4623
-410.914
385.451
7.21868
231.87
529.069
-483.823
-574.06
-25.1976
378.072
-42.9259
21.526
-461.295
439.769
-55.1599
4.37204
7.0437
848.484
-855.528
574.313
-530.282
450.425
33.8291
-530.555
-388.77
28.667
360.103
-235.113
243.171
-8.05794
828.169
735.004
-83.631
-28.2042
533.425
42.4832
-815.871
4.6219
811.25
501.673
-518.488
16.8149
8.4076
-510.29
31.1301
-753.537
-24.9398
-177.041
179.028
-578.401
568.255
10.1458
-804.9
-77.7509
882.651
-507.47
-14.4686
-53.5962
40.6753
-484.896
-349.837
-215.539
-564.578
27.0131
-468.976
192.542
-544.033
264.058
606.225
-592.482
-30.8364
-190.643
194.082
-3.43893
-292.692
309.861
46.8543
369.635
4.72234
254.518
-3.02245
-979.817
518.724
461.094
598.013
45.4429
-42.0092
537.798
-495.789
276.788
-419.837
-299.096
-610.834
555.674
274.187
-402.033
36.251
-454.447
-593.33
-649.871
627.259
22.6123
26.0719
-795.101
15.0748
468.732
-483.807
-637.388
39.1662
-582.282
363.398
40.1201
22.3277
-229.828
-157.928
-7.03002
-829.91
836.94
28.9646
-447.802
-462.978
22.5244
440.453
-649.015
23.4026
625.612
1.91378
-231.131
-29.8699
24.621
386.92
18.1056
-827.864
784.739
43.1245
28.5564
-543.231
17.5964
43.7388
39.136
-806.764
54.5622
-427.605
-630.835
35.685
595.15
-8.46099
18.2407
-95.723
-656.731
622.01
59.9253
-681.935
267.834
-418.675
0.718673
540.136
-590.971
214.283
-207.114
-7.16875
103.653
638.479
-196.54
216.888
-20.3472
-868.511
882.582
14.5013
14.4901
-469.628
877.943
26.3921
-449.277
31.0698
418.207
-439.806
456.275
-237.005
241.251
40.9968
28.4755
599.622
49.7283
-221.869
-811.527
856.642
-348.408
377.401
-28.9933
26.9998
21.2341
-487.174
-55.2692
541.66
691.311
13.9746
307.859
0.840201
19.7466
-482.853
470.478
61.2395
16.4972
-286.605
40.3502
864.93
-905.281
178.536
-3.09621
-422.135
268.918
266.591
-414.564
456.387
487.059
442.822
-22.0405
-303.439
343.22
-39.7807
681.769
55.8882
-507.769
26.9573
3.86933
466.062
-469.931
2.97182
-139.486
136.514
44.924
-238.589
269.907
-31.3181
-90.2652
503.514
-621.619
34.8537
586.765
-425.451
272.183
-758.55
21.7737
736.777
620.013
-29.8866
269.647
-423.685
-427.212
273.217
-670.586
-49.6297
720.215
206.338
-5.59527
-200.743
-592.423
-338.053
269.909
257.037
213.728
-12.337
-209.835
-536.132
601.294
17.5243
-710.792
15.4404
695.352
534.715
-534.078
-369.23
395.635
-841.117
867.705
-245.945
318.552
-72.6065
-423.211
270.571
887.405
-882.582
-654.68
596.884
-877.443
7.79337
414.981
0.458495
215.839
185.74
-454.113
30.366
-513.098
533.156
-20.0581
261.437
553.454
-172.572
-875.417
5.79628
24.4716
-321.654
297.183
531.175
-172.193
-493.286
521.444
753.843
77.1017
-531.116
-5.99851
537.114
215.939
432.105
330.368
14.1033
265.328
-413.803
-428.937
268.974
188.006
17.1522
-456.096
311.511
385.852
-461.5
540.368
-423.043
-426.074
274.153
-260.804
-295.433
256.895
-191.905
198.976
-7.07147
-637.763
-39.446
-868.429
861.399
58.477
752.525
-811.002
7.99439
-153.977
-264.846
529.515
-480.3
-49.2147
-432.922
276.075
-455.181
478.92
524.689
282.879
38.9619
221.744
-7.06591
-204.863
221.175
-168.43
201.198
21.5841
637.958
-11.9201
-768.912
817.779
462.057
-720.369
751.898
-16.0406
-600.798
15.1262
631.873
25.852
-657.725
-19.5507
278.197
424.906
-38.8551
-374.701
371.181
23.9898
-624.968
0.657789
237.326
129.417
46.7611
-764.976
718.215
494.11
442.012
-430.821
-17.8939
522.695
477.305
12.3614
426.985
-218.755
231.478
18.3468
355.494
134.195
452.46
-362.886
52.5128
-271.925
281.652
437.309
-9.14702
750.684
11.4248
501.783
-995.837
84.145
-506.45
58.9463
191.3
14.4327
332.538
459.952
-455.034
-4.91758
-716.663
763.424
-192.562
1.91834
277.792
-276.58
240.824
-14.8168
-226.007
20.3029
357.77
837.243
-737.149
-100.095
24.4626
355.304
191.971
-201.681
-23.0233
599.361
-46.5844
42.6813
-506.691
464.009
-813.363
23.4568
270.337
-168.995
4.05637
650.385
-631.385
-19.0003
863.218
-26.8535
430.369
20.056
9.46496
316.579
-9.31319
269.229
-259.916
-757.974
66.9616
691.013
-290.613
449.832
-159.218
30.9278
431.13
5.40681
172.783
-178.19
-377.949
406.031
522.381
-217.544
232.055
23.1128
-637.111
613.998
12.015
273.823
471.61
-449.239
548.241
531.758
-536.803
19.3394
-383.731
364.391
-651.735
37.2303
614.505
-325.488
76.7409
3.98867
410.993
285.803
6.87495
75.089
-468.964
393.875
-26.5342
-604.3
37.6258
-578.979
541.353
637.47
-562.522
535.576
-512.299
-37.3094
757.802
-84.6659
-691.273
56.5198
-547.576
-40.9263
-213.606
221.6
868.576
-861.532
4.0894
306.21
317.862
-5.65761
180.419
-1.8832
162.28
-607.733
445.453
337.676
2.44939
807.787
-35.6087
262.499
462.025
23.8469
-779.723
755.876
13.9979
271.183
12.6404
266.907
-279.548
32.4006
461.502
-493.903
13.2814
33.8096
-580.215
546.405
339.448
-1.82924
4.65238
209.63
321.945
-317.223
859.474
-7.92807
78.0835
-725.851
204.391
9.02697
123.755
472.571
-32.8677
-439.704
-424.212
534.47
-110.258
517.115
-484.714
-419.442
444.636
-608.386
397.18
211.206
-44.7941
-829.519
-239.479
255.976
-14.193
3.32178
203.016
752.781
21.7884
-774.569
-150.08
122.095
343.369
12.4255
-59.8742
-470.763
530.637
191.15
-4.0525
-187.098
-862.364
6.97609
-869.281
861.737
16.2926
340.053
-0.14322
-11.159
217.601
26.7329
416.089
-370.709
349.456
598.445
-177.749
-420.695
25.3204
253.887
-392.414
209.701
-206.38
11.1152
222.016
-233.131
78.1112
197.472
-4.7749
-642.253
735.156
-110.731
-624.425
-109.547
-398.115
507.662
577.97
42.043
231.074
-218.289
-10.5269
578.782
263.212
-414.326
9.98961
-17.3721
787.847
-2.81433
542.812
269.471
-267.557
134.439
254.539
-388.979
198.231
-192.72
10.8997
626.067
-636.967
543.345
-559.862
474.687
756.661
-727.8
-28.8611
-492.156
639.698
-147.542
41.5007
593.431
503.93
220.24
-212.291
-7.94869
17.2064
25.5431
398.91
-424.453
-231.018
235.133
36.2083
480.906
-196.213
215.078
-255.105
261.088
87.1553
-894.536
-616.05
864.777
-182.583
-5.52086
188.104
178.964
-3.94774
-5.77187
186.104
196.503
-832.467
-6.85212
839.319
-340.474
340.583
339.674
62.2739
-508.154
539.944
-457.891
316.293
257.735
-22.1165
34.335
630.813
-661.688
30.8745
-326.97
311.797
-196.659
203.698
-7.03856
58.6156
-10.3593
248.959
-873.118
876.178
873.654
-983.505
887.405
191.181
-3.55542
-187.626
350.444
362.348
-374.304
201.48
-26.1709
461.17
175.576
-12.5828
75.0546
662.244
31.517
462.593
-886.047
807.875
78.1721
176.729
-164.614
558.686
-434.146
22.1491
-40.8879
652.792
-611.904
841.999
-826.527
-4.57225
200.112
-195.54
35.0544
-287.424
437.319
491.014
-415.925
518.681
-549.258
30.5773
-181.211
-0.823025
182.034
294.433
531.397
-557.568
-547.456
53.4937
497.371
-550.865
-627.298
34.8751
3.3976
-206.486
203.088
-212.683
217.335
-208.541
-35.1278
-14.9193
-280.514
241.81
-29.624
879.212
-49.2654
197.904
-497.201
534.259
-37.058
642.488
42.7238
-31.1564
-311.245
33.1217
404.187
39.0907
613.669
-464.807
-32.8816
864.482
-831.601
722.864
-679.893
-42.9711
-192.393
218.611
280.255
-263.126
36.5689
512.492
464.425
-453.902
425.431
30.7347
487.946
17.1813
-185.611
31.7833
2.17744
-2.60976
196.327
362.936
-350.04
33.3569
494.139
38.3769
468.473
-465.9
-161.772
-240.595
233.802
33.8372
488.544
-635.091
648.349
86.8072
-450.424
486.159
-706.13
-109.742
-0.688249
290.716
-272.491
343.564
-541.854
575.664
501.821
33.7559
-449.334
496.652
-47.3177
650.365
-569.093
-334.296
297.866
36.4299
26.973
742.098
413.328
-384.027
-469.975
460.538
53.081
596.405
19.3391
280.428
-302.133
184.818
351.025
-24.572
858.919
-3.99822
311.499
524.244
253.875
-242.833
-11.0416
203.582
-782.94
582.962
-528.51
-54.4523
275.201
-259.077
-507.294
327.973
13.5813
442.991
-507.654
554.134
183.367
242.317
-235.098
-798.673
867.815
-218.75
219.209
223.478
1.8721
91.5089
623.288
-714.797
672.044
532.894
-555.816
-202.158
271.86
-255.962
-624.312
-42.0857
-602.91
183.213
32.631
504.217
39.8708
582.573
3.15717
854.572
73.0559
-339.105
397.624
416.835
36.3778
-5.05571
-184.821
189.877
55.2298
194.943
753.372
39.7167
-501.274
-370.312
383.536
687.179
45.9628
-688.437
-226.706
1.02571
596.534
31.1509
-214.378
218.13
-3.75281
-226.183
234.59
356.122
-84.0638
860.704
-864.482
3.77786
-252.979
275.307
-232.126
240.94
-36.6427
527.004
-26.155
38.112
251.708
-243.998
-730.618
73.7713
656.847
-178.19
183.4
-5.20995
43.2666
332.459
428.56
47.3947
-365.909
318.514
166.599
-457.213
268.738
-253.103
487.04
-10.7212
-363.98
302.418
7.73688
356.966
28.8869
415.318
26.6941
-5.29678
318.728
-313.431
26.0474
412.93
255.13
-236.451
35.7196
680.322
-641.231
46.1426
-300.662
254.519
-369.73
384.912
232.95
116.281
388.971
24.3572
566.509
-532.599
652.985
60.6669
-713.652
-618.903
50.6269
568.276
-543.949
596.193
629.87
42.1743
-42.1479
581.217
-539.07
185.383
-0.356494
-185.026
-796.698
43.1612
2.8431
180.625
-183.468
-125.812
-849.163
852.607
-3.44444
-505.297
-76.2242
873.699
-797.475
11.894
-595.71
583.816
776.627
-579.032
628.628
49.0893
388.274
2.63545
839.363
460.684
-516.579
44.6047
816.324
-863.63
47.306
-483.923
-46.5116
530.435
-2.58733
214.405
-211.818
315.982
395.317
36.1697
562.787
-509.293
320.365
-374.505
390.068
31.0697
187.982
-182.998
704.868
35.7353
508.348
18.5381
-895.406
876.868
-0.812608
177.542
266.806
-252.042
24.3906
404.803
-562.138
48.776
396.356
26.1297
48.9037
-395.209
318.53
68.365
641.73
-710.096
-303.9
-0.920977
45.6727
-642.332
596.659
493.066
-475.952
-868.576
0.675679
-380.401
396.327
26.2472
400.737
29.248
829.671
25.7843
399.122
-145.655
32.4169
426.279
113.537
-618.589
-416.642
-10.9858
427.627
66.0258
670.134
-38.9236
-695.555
-17.0582
57.1862
647.682
542.145
-383.333
397.773
-235.964
-39.9391
-860.586
521.805
4.57978
8.12781
620.915
-573.377
464.734
-458.513
-118.764
-121.838
554.386
0.0747645
-3.27275
285.656
7.90923
622.747
49.5247
414.86
-154.106
73.4477
-649.355
489.719
-522.12
-866.003
778.174
-7.6858
-225.629
233.315
702.076
49.7153
346.53
-316.724
840.621
-16.7487
-385.526
402.275
-478.742
521.423
22.4513
277.423
-300.912
706.15
-175.507
567.016
-535.633
143.33
-428.936
782.278
28.9712
193.658
180.1
-4.97032
-175.13
44.1586
-695.378
-10.3395
705.717
-816.324
856.674
-425.989
278.076
147.913
442.422
30.1493
18.5204
18.5079
262.456
10.3826
-195.723
19.0906
11.8992
853.963
19.9049
24.998
32.5825
438.81
17.4656
20.3456
-304.041
283.695
-192.954
-639.109
-386.625
405.588
-742.123
685.125
56.9974
870.707
762.694
-737.777
57.682
680.095
17.1469
15.8665
-477.584
552.536
-74.9527
28.9201
434.597
161.92
-436.565
274.645
176.846
-173.874
420.896
-404.792
14.1211
346.473
-745.263
58.1954
687.068
468.991
-52.226
334.508
49.2638
-245.948
258.82
22.0725
628.597
-253.366
265.159
200.724
-7.91468
44.8295
118.147
729.274
-552.303
549.489
-312.119
23.5147
-486.782
276.669
-65.0973
363.838
6.89338
472.026
-550.82
-169.636
174.534
-4.89758
-708.979
38.3932
-45.5076
627.114
-581.606
26.4076
-317.401
290.994
-498.24
572.338
-74.0984
31.4682
430.557
2.92061
-843.476
-391.172
410.046
17.3887
292.472
-11.3547
17.2093
292.395
61.1459
-689.54
628.395
-541.171
531.376
-846.735
418.971
445.827
17.082
-308.273
291.191
37.4474
-641.923
591.66
-11.9964
512.379
-500.382
414.467
-396.934
49.3099
21.8028
439.526
-435.657
348.938
130.344
732.455
-862.799
-203.31
-57.4939
272.632
-296.84
-536.374
573.372
22.7427
-333.783
-581.947
596.976
21.2538
-4.92971
30.4537
757.372
-696.309
21.7103
639.513
378.877
-310.32
-68.5561
699.079
-76.3319
578.242
-540.192
376.559
788.92
67.3061
-856.226
33.2736
370.886
18.9695
156.031
299.316
-455.348
706.87
24.4196
-731.29
674.079
82.5821
70.2749
257.323
249.074
20.8349
39.3633
29.5575
219.848
643.876
-598.433
18.8263
54.3675
711.153
-11.0212
-428.934
-305.911
-408.814
433.498
-583.631
-238.976
4.81269
234.164
18.3025
-453.309
42.0288
344.901
-327.377
284.208
-249.153
-426.625
272.647
309.841
-259.485
64.7603
-652.811
184.333
39.1948
437.53
-6.69434
70.9973
712.744
643.54
565.965
-646.37
80.4047
747.184
-629.037
-734.793
70.8695
26.8824
-162.083
-858.768
864.917
-6.14816
-874.897
47.2428
-755.559
63.1251
692.434
45.6146
793.342
-251.668
234.153
17.515
21.5626
426.688
-411.379
-686.234
113.816
516.517
3.22736
254.323
12.8794
186.644
-199.524
191.194
504.18
-498.301
-411.971
432.671
-20.7003
18.1241
-831.004
-1.46365
46.8304
27.7041
-1014.11
491.988
522.127
616.665
-67.1351
9.88396
689.195
256.874
-282.343
173.622
575.407
-417.345
433.693
6.21446
-547.386
25.1428
-531.449
691.036
-159.587
47.8505
553.443
357.287
20.2565
663.702
-569.549
-1.07716
234.746
-233.669
232.678
-256.42
-6.0288
180.298
-202.238
197.252
4.9855
-414.804
437.322
-22.5178
-628.217
601.683
17.8625
27.9536
-693.892
-0.1679
694.059
43.5564
-478.933
261.281
-286.495
-418.505
440.031
31.531
465.909
-138.057
-327.852
53.937
93.8524
-21.0167
-857.325
859.96
7.30145
468.513
-12.3262
-807.414
-253.26
265.193
7.53839
693.794
-701.333
470.043
33.8872
16.2325
-743.699
727.466
85.7235
-414.594
-170.626
177.456
-6.82997
767.368
-50.5969
553.472
-536.236
-471.998
329.531
507.664
32.2795
-417.187
442.382
-25.195
480.434
-424.56
-55.8743
35.0331
-667.752
20.5899
173.47
-6.51132
-166.959
549.033
-532.035
571.047
-553.853
-17.1945
43.8153
-4.40596
-223.384
227.79
275.693
-287.145
41.0066
-42.1247
-259.432
268.457
-48.9409
-660.038
-495.162
519.85
-24.6875
621.162
-665.523
-47.9518
277.864
-4.41415
457.501
-421.25
466.434
-442.335
188.725
776.043
43.3929
28.6661
45.0041
446.01
766.565
-675.394
-196.045
210.689
-14.645
492.379
-465.422
35.2943
-281.24
-856.015
187.584
-445.533
468.058
-777.367
48.8497
675.227
86.6031
-761.831
266.374
-288.642
22.2682
49.733
298.297
384.674
-538.173
555.797
11.6771
247.102
-0.386196
-169.25
828.721
-44.7143
-784.006
-16.0759
377.937
28.0943
166.648
-12.9744
-30.7063
304.941
-274.235
-24.4836
-447.348
471.831
-883.332
78.432
-194.075
-17.5777
211.652
-244.932
236.86
-209.132
225.834
-581.057
579.467
-46.1697
635.273
-589.103
653.425
580.944
-697.364
420.034
24.6021
545.929
-530.102
238.086
-251.385
374.503
-459.619
-839.545
68.5749
770.97
884.405
-880.46
-258.06
268.115
3.90734
-450.087
477.1
46.2551
-717.577
671.322
-561.614
523.777
37.8373
-262.916
264.178
-305.501
-175.513
187.712
405.362
-36.7311
207.978
-2.70758
311.578
-455.194
482.194
-218.342
196.893
21.4497
177.628
575.759
-9.79408
-41.1442
539.887
-498.742
654.088
365.081
-336.414
-710.518
327.131
165.487
464.28
-467.347
497.461
-370.968
486.188
-460.419
38.6465
485.598
238.965
3.08408
859.553
-793.958
-65.5945
180.583
-772.852
63.2313
709.621
8.88146
57.8469
42.8644
380.656
84.5301
-465.187
45.9327
-511.07
548.622
-473.538
490.475
38.5947
-478.271
522.876
277.214
-287.992
10.7778
515.378
-479.643
449.28
-682.301
453.714
-438.639
575.393
-532.91
-421.208
270.952
705.607
61.7606
538.248
-500.136
801.979
-879.73
-444.3
490.904
-46.6048
480.758
503.679
696.07
65.6329
-10.7274
-840.017
-424.567
461.794
-37.2274
-241.862
253.426
-884.405
860.75
-538.449
36.6399
-537.079
583.021
118.524
-45.011
454.332
-432.29
-22.0418
52.2635
587.25
69.9124
602.324
-672.236
-864.937
23.7856
615.008
62.1022
-677.11
591.347
-546.517
-547.143
587.122
45.1403
-801.337
614.798
-567.788
9.38308
-775
592.792
51.0839
184.051
205.979
-2.92782
-292.671
328.465
-101.793
149.15
383.251
-844.409
-354.267
-271.96
159.812
63.3839
41.8348
-476.119
31.8842
43.0548
-244.61
251.748
634.476
559.726
229.796
-246.185
16.3894
-782.42
65.7571
-2.99853
248.137
-243.562
583.75
-558.759
-323.921
316.443
7.47783
-804.823
-78.5097
65.4938
709.011
-774.505
884.362
-47.1539
604.033
-556.88
-0.291925
-69.7628
48.617
677.986
720.277
-686.115
-34.1617
880.311
-864.078
38.8757
-1.32355
779.758
79.7949
204.861
-7.95482
215.85
-202.542
-13.3082
711.924
-711.924
83.3718
736.786
29.7906
359.48
-389.27
61.0013
659.214
-553.412
600.243
595.55
-556.187
64.1055
767.347
607.081
-559.23
-171.133
179.967
-706.826
-206.286
221.455
-15.1685
621.641
-252.292
256.199
210.257
-217.653
185.084
-193.515
-785.364
-1.78425
-475.277
447.208
28.0692
360.968
516.382
38.6337
-213.039
203.707
-489.343
46.7857
-81.705
189.38
-199.798
392.814
-204.8
194.528
227.117
-254.489
27.3717
754.259
556.908
694.916
-752.872
57.9558
-768.732
82.692
686.04
-569.148
558.95
10.1979
-205.184
186.69
733.174
-103.304
352.665
-200.236
186.538
13.6984
-719.189
777.631
68.5129
-198.151
187.897
-201.543
185.602
166.126
-152.788
-13.3375
-635.474
53.0433
582.431
-185.364
176.608
8.75574
-187.709
176.573
11.1356
-501.339
-195.182
180.402
14.7799
381.749
63.0647
-189.438
175.952
13.4858
-245.452
249.672
44.6777
94.1372
-731.354
-180.244
185.833
-5.58934
3.45295
657.319
-42.3105
52.3031
576.294
-690.57
-37.5216
728.092
568.239
-531.67
236.191
-255.904
-195.244
217.226
-21.9823
39.3422
521.461
-248.637
249.38
775.132
42.6471
-38.297
504.334
41.7043
671.571
648.568
-656.021
-654.965
644.608
157.686
9.61386
-167.3
560.292
50.6855
-629.792
692.475
-62.6829
855.47
-48.1919
-807.278
-28.8097
0.561135
821.09
23.9967
-845.087
579.328
-555.443
701.142
-125.383
286.843
7.59039
759.666
77.5777
575.678
-553.294
-849.792
69.0279
7.30791
363.415
-727.966
-161.485
-266.047
261.838
435.687
32.108
822.738
-76.6596
-746.078
-709.363
780.36
232.54
-248.162
15.6221
-204.796
224.052
288.832
-5.96694
151.292
-6.05894
-563.089
-303.49
280.7
214.193
-212.448
174.89
-496.165
35.9861
22.1052
66.912
788.558
327.034
-471.06
323.133
41.9162
-464.052
645.915
-608.851
-607.443
45.3321
641.814
-711.34
25.1737
647.278
-672.451
-743.415
339.146
404.269
-267.679
262.795
644.241
-637.143
-14.9148
-231.377
-473.517
329.208
-28.399
206.497
519.355
51.6921
48.7813
596.41
79.3511
-884.174
-310.493
65.5601
200.062
-14.0774
688.809
-646.123
-42.6857
756.52
72.8065
265.28
-279.877
-206.019
209.044
-3.0249
634.498
-39.3487
-177.236
171.754
5.48238
847.763
615.729
-643.504
53.9714
700.288
35.1525
753.407
-685.418
-67.9889
-5.66732
-680.467
686.134
740.046
-858.768
-516.673
-497.441
790.348
-724.591
-380.166
-837.443
78.4239
-11.3551
-202.476
213.831
-559.146
557.089
2.05662
815.893
-250.473
230.189
263.934
887.952
-876.855
-594.519
651.376
548.177
-533.724
-14.4526
264.176
-293.966
29.7899
-155.205
-211.858
-871.247
863.319
-225.799
22.2357
236.015
-258.251
-235.919
237.267
-1.34817
-841.737
775.02
66.7172
-182.165
181.992
-169.736
27.3127
17.4687
522.899
217.134
-207.077
-10.0572
210.832
-207.396
-3.43543
948.021
293.711
-1.42312
273.434
12.4902
451.81
34.3496
-642.147
715.946
-243.64
222.225
21.4145
-16.8147
683.489
-16.2542
202.977
-2.35288
-200.624
-233.594
239.715
40.5104
367.844
187.439
24.7095
524.78
675.42
15.7591
236.235
-251.994
2.95484
-214.143
213.326
0.816833
6.63405
698.195
-633.18
-65.0142
-21.2949
-390.396
411.691
32.3514
-243.474
92.4305
777.854
267.745
-289.552
214.372
-213.08
236.385
-246.354
654.794
-14.4716
-235.819
220.564
248.584
-277.117
28.5327
-465.966
486.567
244.799
-287.209
274.121
-298.697
278.078
-297.628
274.271
-300.049
25.7786
623.301
-597.449
-217.009
208.017
8.99216
-614.13
620.131
221.534
-234.065
-405.881
422.191
16.9416
165.72
-179.738
14.0179
-2.30291
203.783
-828.79
109.113
85.3074
798.707
-884.014
-993.153
502.56
490.593
-425.063
-19.5075
349.321
48.9112
680.219
899.794
-868.077
3.69187
299.612
202.138
-207.403
5.26504
-759.407
759.407
-234.473
217.896
20.9227
343.149
223.557
-247.154
23.5968
0.358806
-581.415
-39.1213
-800.424
73.3866
-763.291
14.9174
198.805
-213.723
-222.552
-139.609
46.3497
59.6155
-741.558
-338.684
61.77
-759.142
407.952
275.406
-295.394
473.575
-659.833
761.788
-101.955
303.986
179.596
635.765
-639.222
3.45757
-233.921
208.075
42.9507
15.7645
-292.799
52.0605
-506.088
-459.228
461.131
596.741
-77.3862
11.0598
166.221
-172.782
6.56119
261.134
-284.668
23.5334
-225.851
196.87
28.9805
388.132
-775.604
-598.86
561.824
37.0361
40.4508
-557.925
-557.455
670.992
91.0358
745.959
-836.995
227.424
-256.437
-858.195
52.4343
805.761
-898.876
124.744
774.131
298.804
-227.234
213.386
13.8484
268.544
-277.417
457.261
-232.179
223.697
-4.79628
241.409
-236.613
-45.7634
583.881
-538.117
35.1038
231.202
-250.501
1.72258
-535.476
581.199
-239.436
220.96
715.866
64.4939
167.106
-231.668
64.5616
-26.0845
647.246
70.5377
-536.755
-19.8598
272.013
245.242
-234.562
41.733
480.151
232.872
-249.845
16.9725
-49.9075
516.988
-467.081
726.756
-238.826
211.093
734.279
69.2895
358.459
-830.284
75.7984
754.485
11.8643
746.268
-671.583
-74.6844
-230.378
209.501
20.8763
282.581
-291.932
-9.71063
-698.628
63.2807
494.731
35.7038
5.86653
206.303
457.398
836.696
-836.696
857.841
-479.836
-527.452
1007.29
-17.4129
-377.198
394.611
799.701
228.526
-247.764
19.2381
675.901
-49.9927
-625.909
-531.546
489.537
7.76874
195.814
-197.768
181.269
-227.793
216.814
7.42196
210.179
519.417
1.75321
462.527
-474.152
331.1
-78.3716
811.61
-518.822
158.396
-629.072
686.013
-56.9416
590.572
-590.572
172.486
-841.117
825.964
82.8387
-908.802
223.703
-246.273
22.5708
435.611
30.5359
-3.08694
204.285
291.315
-201.284
208.759
-226.36
208.549
5.04398
47.0648
298.683
-297.32
24.8393
-764.046
310.105
-27.2261
226.15
-284.387
58.2368
309.689
-653.14
612.253
-209.877
204.26
271.854
-290.699
-173.038
586.008
14.7585
-722.681
707.922
818.966
-531.841
582.257
839.596
-31.633
-807.963
-225.444
209.408
-781.217
-478.035
17.7566
-224.339
206.582
55.3556
684.691
-289.503
272.722
16.7805
177.08
0.871606
56.0038
735.592
-791.596
275.072
-301.87
26.7985
-223.099
-225.846
209.15
-17.8242
448.193
43.0778
-826.357
-307.917
15.2361
1.46601
253.784
-255.25
31.7745
756.397
-788.171
839.089
-52.755
-786.334
-647.801
588.534
746.552
76.1857
-606.211
274.49
129.489
12.8084
-246.751
233.943
-672.215
180.06
-1.34064
226.546
-864.977
861.532
313.359
-178.891
-229.147
212.051
-287.457
278.939
841.233
145.076
-82.2237
833.944
-751.72
742.807
-453.419
-493.178
631.93
-653.201
-226.702
211.207
819.302
-145.223
64.924
725.424
-485.665
5.72056
40.5971
-623.441
660.671
224.928
0.92292
735.894
-228.164
213.06
-44.648
640.699
867.705
-793.095
885.526
-570.073
-3.90026
-497.288
501.188
-347.203
330.648
301.193
-304.117
600.334
-648.959
48.6257
524.061
-47.7521
272.378
-285.732
13.3541
26.2945
-6.95665
308.682
-301.726
-739.248
546.203
44.9669
175.08
-50.999
477.339
9.70099
-225.217
211.031
472.632
243.74
-4.77479
-171.31
2.84995
-304.41
258.499
45.9113
-21.503
-42.3572
292.395
-313.732
62.3502
-774.572
-422.795
292.196
130.599
336.828
-833.571
58.4801
775.091
-295.81
292.113
26.0844
-600.145
224.533
-238.81
14.2769
377.109
754.964
-757.482
-22.2789
-6.46837
-199.278
196.975
180.983
-13.5223
287.048
-273.526
762.53
76.5595
71.1669
-247.608
241.42
6.18824
-838.328
75.2031
-514.615
535.177
-686.467
735.378
299.59
-302.919
-257.318
240.274
17.0442
-313.038
296.623
16.4151
198.632
-213.015
14.3834
-221.386
208.152
820.902
-738.32
31.6562
750.288
-755.827
-496.41
1015.13
246.98
-253.886
-326.67
-222.493
209.307
-541.269
-285.303
-8.12604
288.444
-775.402
527.976
38.4759
-647.166
764.945
-117.779
9.32788
-545.462
536.134
-17.4935
662.078
-80.8157
-251.117
42.5761
-371.178
-164.477
-115.78
810.901
-695.121
430.793
-2.78702
839.301
-92.7489
-305.535
290.06
236.598
743.684
-748.891
-666.955
739.387
-72.432
364.959
68.2514
-763.371
755.753
-18.2937
798.455
-780.161
-627.072
684.928
-57.8559
441.632
-213.382
210.042
33.1706
-369.933
336.763
698.917
315.596
172.184
243.737
-800.868
886.175
521.817
38.9881
519.698
645.689
-655.174
794.697
-695.961
-98.7358
48.988
571.976
511.059
-171.384
741.64
-747.814
452.609
35.9628
-859.192
-91.0336
564.969
114.457
-8.01797
774.964
537.765
257.7
-255.075
495.715
184.176
-199.091
-17.403
-278.41
295.813
-8.05465
256.647
-248.592
775.22
-712.121
-63.0982
441.426
242.885
-315.344
72.4587
584.496
-539.1
75.6981
159.296
296.463
53.25
-307.694
298.336
458.866
687.129
734.463
-509.16
-486.677
469.76
-65.5734
42.0562
273.342
-262.128
-11.2145
456.862
751.914
-539.124
556.721
4.93592
168.853
273.081
-211.401
131.148
80.2539
-21.0726
806.804
-51.1561
742.133
20.5608
-155.751
809.693
-763.391
-46.3019
47.5616
274.653
-285.424
10.7704
296.831
-296.969
287.821
283.07
-295.247
437.741
-404.478
-806.884
57.1293
749.755
269.33
-301.245
804.3
-813.495
295.031
-22.0435
80.4987
80.2297
27.5653
-179.056
273.037
-286.134
283.824
483.234
280.189
-134.875
-282.277
276.931
318.599
-32.1328
570.426
-528.762
104.865
-733.902
664.678
541.42
-536.472
574.098
799.151
74.5476
746.147
-751.325
50.3642
738.123
-59.544
-678.579
6.43054
827.994
-768.218
750.56
56.2441
-640.013
54.8787
220.938
-843.643
76.98
766.663
-847.164
1001.49
-464.001
793.316
725.44
-175.663
192.249
-135.478
-65.8479
-151.172
23.8355
-850.363
-968.56
863.63
104.93
42.2841
67.117
563.441
98.6369
-39.1048
780.426
-741.321
-7.15085
650.462
-657.378
812.561
612.618
-669.788
57.1702
46.6476
-685.871
-83.9772
285.739
67.8784
556.408
-393.661
744.672
-757.283
813.055
782.897
-759.273
134.75
-165.333
-588.531
650.633
321.951
49.1131
-11.8764
164.263
-777.447
787.791
-10.3436
-486.624
41.3571
514.256
332.019
-28.5313
344.312
-491.021
-25.5581
-872.027
897.585
11.3654
211.501
-222.866
172.658
587.513
171.513
77.0635
796.437
-873.5
297.677
-297.517
-799.055
819.76
341.897
70.905
625.711
50.1904
573.27
10.3747
61.0832
436.377
-448.648
44.9906
830.481
781.175
-788.945
-828.398
47.1806
97.9356
-835.084
586.672
48.6002
785.437
178.649
219.58
621.522
-631.316
-688.97
-775.949
784.594
-8.64515
-864.977
754.946
-785.665
-3.20515
802.706
-35.4122
-793.378
-24.5649
-803.833
793.651
-771.213
-58.1936
-800.002
-323.537
-442.44
550.134
41.5256
880.46
-856.674
646.392
-653.89
-863.061
842.413
137.636
701.665
342.406
209.994
-223.233
206.674
-7.76937
4.83125
498.528
-702.557
204.029
652.967
693.979
69.4447
-492.222
344.635
-221.508
209.171
-843.579
108.81
46.4616
598.049
441.366
767.693
-806.815
-82.7056
-858.43
-36.976
-585.935
601.061
13.9841
402.136
67.9592
-795.851
-8.05024
198.965
60.1185
-730.273
670.154
618.532
-21.6268
42.7286
610.063
-394.269
377.52
-58.5511
-752.545
72.6519
7.88736
545.247
7.89706
230.176
225.601
-0.233434
601.746
16.1387
139.962
191.327
384.395
-27.4293
-221.054
214.701
781.36
759.159
15.0135
-294.273
317.786
541.209
-531.881
-201.108
-35.8631
-604.433
640.296
-538.463
748.069
342.792
-371.785
791.703
-463.973
439.489
377.438
-741.343
69.7601
179.417
-177.514
648.662
-654.869
62.0346
-726.81
664.775
41.4204
6.74695
640.03
437.32
674.241
90.7041
18.9542
-878.147
-34.8487
343.226
216.127
-386.046
767.369
-673.232
-569.622
308.353
-307.649
794.839
-365.19
514.34
-224.149
164.888
-58.5657
446.728
239.312
4.42834
-774.886
843.106
-764.962
848.512
-83.5496
-858.809
884.623
-25.8138
-492.127
340.938
-23.8836
676.605
-652.721
-628.506
58.8841
-62.1025
381.576
49.1243
-872.721
20.0096
852.712
826.17
683.069
-57.3582
35.6246
52.0359
-491.243
-501.911
-56.8678
911.634
-854.766
-493.051
-506.938
-417.413
268.234
149.179
422.141
-273.223
260.823
471.342
431.05
426.867
-627.082
661.255
-304.503
307.442
-886.222
88.747
-615.075
676.221
598.846
-634.594
-986.446
1029.57
605.028
58.0692
406.823
-63.4989
-968.56
495.026
-546.512
832.265
-818.856
621.597
496.317
-1117.91
678.241
84.4332
-762.674
2.46453
641.717
-650.452
376.576
-376.576
-809.158
831.601
-819.273
-12.3275
747.961
-723.541
378.566
726.04
-33.5646
36.3236
50.1275
686.19
-736.318
-19.2202
5.8419
-1016.09
42.8381
425.49
-180.876
-244.614
-127.869
501.484
500.003
492.449
604.271
-305.54
309.291
69.1825
798.952
-781.325
-146.818
284.219
-285.733
-781.24
864.078
-483.306
430.097
-415.72
395.404
-781.618
777.655
-618.999
658.166
-547.79
-203.097
-17.0457
-62.1629
706.308
-47.0935
999.004
-452.843
-546.161
466.065
-782.028
811.633
-29.605
-881.657
80.789
53.2773
-780.027
767.087
79.5542
217.769
-221.328
302.54
-303.479
506.506
645.055
-633.751
477.357
-660.574
655.799
8.87474
222.717
462.665
640.54
-640.659
51.2438
39.2929
627.16
-615.43
620.912
858.926
-781.946
656.595
63.6822
72.5806
-502.774
-497.215
-304.454
302.836
-82.5059
-2.58921
-140.021
-737.109
763.181
623.394
856.687
-779.109
250.522
-842.385
-78.422
-783.584
862.006
584.781
54.5165
862.189
-63.0361
-799.153
804.872
-802.335
-2.53696
249.544
-271.722
61.2303
-933.952
-788.559
855.471
284.641
-290.211
-821.83
-36.035
473.111
870.397
-14.5534
50.6213
343.543
-487.238
516.874
-15.148
-252.248
41.0124
400.775
36.9659
-152.45
80.0984
593.044
47.6548
-215.841
217.564
85.2702
800.905
58.4367
89.2379
853.167
-755.232
-505.482
-496.185
1001.67
-639.795
-360.196
-178.162
850.45
684.827
-630.337
-54.49
7.48654
70.2559
706.722
2.62055
-657.296
719.331
194.249
792.003
-0.307155
-791.696
177.046
43.3659
-220.411
12.0751
-65.9143
651.418
-662.994
709.249
-472.757
860.75
12.7837
4.3079
640.293
763.533
-779.029
668.385
66.9926
1.47863
-241.135
231.154
82.576
-865.618
833.489
32.1288
-378.397
733.467
-626.851
-106.616
770.076
84.0482
-854.124
-857.841
817.297
-838.066
20.7683
-19.7251
-374.104
608.316
16.1123
-801.233
58.8773
742.356
619.671
635.626
-638.046
2.41987
61.6158
14.5569
827.548
43.2329
55.8558
-773.673
772.11
1.56352
842.13
-769.324
-41.8635
12.7768
96.1108
-175.972
578.623
842.132
-766.928
39.506
-726.389
682.752
36.1591
-548.578
-483.509
333.838
857.325
-833.489
-964.851
473.608
-752.722
821.904
248.356
-748.035
-770.56
827.689
414.84
-336.584
753.181
-831.603
-781.24
558.85
-613.959
655.201
72.6688
-630.124
-401.794
380.499
-38.9673
-577.109
754.606
-380.468
10.1563
631.752
54.2613
831.928
-751.115
-80.8127
30.2438
640.749
50.4653
604.36
834.229
-792.954
-41.2755
-682.199
645.771
-631.27
13.7031
14.1194
13.8061
201.386
529.121
19.086
-691.829
806.563
241.713
634.734
43.9604
-280.412
504.699
-747.637
242.939
869.199
721.759
-727.427
5.49268
331.878
205.24
716.472
-700.986
222.283
-703.627
718.919
4.60467
-385.376
394.453
285.014
-287.392
76.2908
-36.1955
-156.747
192.942
957.484
-425.605
-531.88
-498.522
880.311
574.815
-128.805
485.697
64.1864
570.362
715.857
-700.304
-49.7652
857.641
609.421
-418.281
22.7515
-37.4262
523.024
-658.758
74.5117
-863.484
788.972
-683.445
10.4072
826.306
715.4
-698.943
533.325
800.516
-813.451
736.791
713.759
-696.802
-711.222
725.872
23.9945
-1002.92
661.399
-760.196
752.692
701.565
381.97
-486.775
334.307
668.298
69.653
9.66768
-773.852
795.64
522.438
-563.003
40.5657
-331.661
722.229
-708.267
12.9946
713.159
-673.371
-651.567
42.3581
609.209
-177.17
185.235
-470.292
466.392
849.968
-777.804
-72.1643
-865.618
-84.2621
-768.55
-861.399
-107.161
-797.934
872.445
50.8046
-506.043
-458.807
649.688
35.0032
632.022
66.1732
-438.881
14.5061
343.259
22.0446
-466.221
794.869
649.951
-628.38
36.5243
-376.998
-823.143
-84.9108
881.287
-796.376
18.2853
981.412
847.014
-788.534
116.413
-728.329
611.916
217.454
-217.454
12.2466
-197.059
197.059
-7.37702
-179.667
-11.9585
291.148
-244.637
76.7901
-875.048
798.258
-188.419
188.419
-824.319
385.761
-173.213
173.213
-878.006
-154.706
-172.832
14.6847
-178.509
178.509
-497.975
341.97
855.222
-788.505
232.131
62.3114
83.0334
802.013
-885.047
175.491
-175.491
-783.233
616.356
166.877
-352.605
53.5084
854.869
-786.357
-196.874
794.695
66.2563
15.6504
-419.866
513.617
-93.7511
88.2777
-774.393
-700.419
715.177
260.7
-267.21
834.426
-80.5831
-241.559
233.389
-785.509
-33.8454
-19.5185
-825.042
877.477
-200.452
-429.714
855.638
-786.61
-41.8668
773.48
-731.614
392.728
779.106
-716.956
716.956
-148.21
148.21
-711.161
742.443
-874.444
958.359
-83.9152
-774.913
774.913
154.081
-720.608
657.109
826.964
-826.964
-39.5838
253.893
859.96
209.252
-199.796
-9.45588
-195.18
67.516
794.673
-204.706
2.32019
-198.528
242.572
-44.0436
880.333
180.079
795.543
-65.749
-729.794
593.055
68.0834
-661.138
14.4161
784.305
-751.157
769.084
-757.659
794.502
-748.452
23.7026
775.061
-776.514
497.841
501.162
51.6909
-640.222
-499.044
342.136
808.515
-753.612
755.888
-734.114
-70.0013
163.726
-736.169
52.7056
-765
756.539
-0.288849
49.0741
-658.531
609.457
9.67502
796.065
-681.325
762.673
-723.327
570.577
-91.1515
703.11
-703.11
-149.381
433.741
23.5197
-791.964
763.181
-59.9928
854.243
-794.25
13.1123
-411.103
-807.353
881.9
-232.124
42.9553
676.375
755.408
-729.016
1088.5
-614.888
-4.5991
-374.383
378.982
804.675
-728.7
87.592
60.8514
833.538
747.336
652.717
54.0057
582.534
879.422
-790.675
740.591
179.793
-179.793
-215.753
22.3256
811.497
-749.223
753.806
-756.121
250.426
710.658
-503.16
338.856
767.373
-782.734
791.873
-704.718
736.349
-753.721
736.028
-710.849
-25.179
-800.276
6.95516
793.321
915.057
-829.787
389.175
18.7771
-787.381
865.805
765.293
-704.442
913.419
-832.63
-852.39
54.2363
798.154
812.119
-770.931
748.434
-177.629
-0.880075
-123.304
855.759
-137.933
-292.172
430.105
843.137
-739.485
878.769
21.617
504.641
-1.71994
-807.784
887.135
222.083
-323.276
-235.109
-825.862
825.862
192.727
14.7168
152.21
386.551
177.629
-2.13734
15.3262
-729.233
768.949
792.412
-773.072
-651.829
-704.266
44.1154
777.726
-145.649
-500.457
338.724
161.733
18.8887
-8.61243
215.381
18.8167
-721.575
-171.686
41.2342
549.135
-590.369
-785.309
-137.975
843.661
-744.809
494.026
763.868
28.5288
748.254
-704.515
336.614
-30.0104
-752.627
-13.2093
765.836
62.353
810.092
762.847
-750.948
723.449
104.846
-828.295
160.488
191.299
22.8437
19.1717
624.099
60.7281
784.874
49.3554
628.415
-664.481
36.0661
-40.9248
-694.347
-778.356
862.404
20.9005
719.896
28.1735
-64.9398
20.7664
-52.7798
655.345
-795.583
15.1653
-681.575
-497.969
336.198
-797.109
866.554
98.6
-362.738
-349.56
2.14667
624.395
20.7101
-55.3169
-646.705
702.022
21.7447
859.827
-721.492
-138.334
795.583
867.317
21.9055
-503.767
346.039
-732.036
775.197
21.7755
-693.271
60.0908
769.15
-743.289
294.752
372.615
15.5177
12.1559
-499.884
-54.3195
-597.247
752.443
81.9836
-686.481
-96.1482
782.629
-502.962
-497.04
789.162
59.3494
-56.9145
856.159
238.389
-277.973
-166.871
18.6613
80.585
699.841
-468.011
-46.3654
-828.334
749.092
79.2419
-136.391
-283.333
482.938
18.7475
-391.882
373.135
-15.4716
800.655
-733.349
658.164
75.3034
27.6173
720.817
498.841
-1001.8
819.793
-775.978
32.9378
813.483
-205.314
820.974
-777.581
776.844
134.79
-816.409
723.661
719.072
-705.098
197.718
-13.5423
644.423
-554.798
827.437
-778.587
-710.191
710.191
792.6
60.1116
-163.194
22.9209
-187.97
819.273
-958.359
139.086
404.182
60.543
588.692
-629.413
-220.685
213
-588.436
-754.225
54.7496
699.475
-166.871
-586.551
627.971
92.1389
-669.248
493.957
55.5291
-657.999
-73.9415
852.598
-727.853
-783.436
828.101
53.5806
-534.212
480.632
69.1719
-659.156
589.984
-260.561
-3.87922
264.44
3.56229
-327.778
-735.043
884.648
-801.614
59.7556
258.796
824.444
-785.569
85.293
-209.673
202.504
-19.5423
-27.1583
235.47
13.5458
184.561
28.3087
-453.612
550.042
-539.903
12.9223
364.015
85.0926
-849.103
764.01
-494.608
333.827
825.27
-782.623
-6.10379
861.34
-855.236
815.618
-112.507
-269.16
815.618
75.3426
150.467
384.443
-665.535
23.583
731.023
321.457
-2.92665
764.347
63.6469
568.386
-556.492
74.7406
281.426
745.155
-76.8567
-661.51
-497.839
332.531
272.504
513.323
-34.068
786.134
-752.066
-510.744
341.346
53.0726
-772.313
719.24
889.208
-785.13
-104.078
227.333
9.26512
-152.946
64.9924
790.479
168.471
-526.943
358.472
-513.12
316.416
174.356
74.6243
-155.028
38.3551
817.803
-591.484
693.029
-647.066
-808.821
887.254
800.533
84.1148
-10.2444
-155.72
642.846
-51.7649
638.437
-22.5581
-351.208
-1.97974
-297.097
134.363
52.2751
825.202
25.8487
597.869
-574.256
-23.6133
-833.31
833.31
74.0584
-83.2686
-215.476
-0.365151
-728.377
-1.29171
729.669
-233.033
233.033
686.707
-646.192
-40.5151
-578.248
617.187
979.421
-375.945
-603.475
67.2437
-206.73
537.699
50.6779
70.8582
-834.829
786.637
874.367
-73.8343
710.658
-154.906
864.366
-335.844
-150.938
718.479
97.1289
-815.608
-566.054
615.649
-49.5951
846.353
15.1881
792.147
-807.335
641.645
-227.134
763.445
79.6604
689.324
-679.44
51.1892
744.354
-652.011
694.735
660.198
-628.63
-31.5682
790.052
84.3156
669.028
-642.296
609.878
-586.765
715.688
-647.654
-68.0333
-501.468
323.365
178.102
652.204
-572.106
-80.0988
806.05
-40.0601
-765.99
-837.74
69.522
43.3928
-570.104
-188.054
817.255
-774.178
-548.297
-11.5658
727.065
-677.54
777.371
-759.215
42.858
724.872
-675.562
-813.344
53.5892
759.755
716.218
-666.502
696.846
-654.671
-803.01
767.366
32.9394
-483.205
608.991
-619.874
10.8828
670.312
-639.437
-582.816
660.9
675.432
-632.446
-500.422
351.993
-225.389
-14.8301
240.219
570.955
114.229
-685.184
646.664
-14.9114
-670.062
719.326
-7.44814
3.14922
716.747
-521.397
352.95
588.446
-594.444
-9.98405
-611.787
621.771
207.349
643.602
31.8172
-548.844
15.9668
464.492
-480.458
234.035
-238.441
-696.051
-234.024
-235.25
-696.038
621.296
-808.833
773.421
-502.163
-531.791
356.717
-517.114
479.688
722.518
-673.429
-840.547
750.845
89.7025
629.375
-629.375
673.53
61.4736
47.6746
765.38
704.327
-29.1631
-675.164
611.853
-596.413
279.023
12.2928
858.281
-66.9117
-791.37
840.437
-107.851
-732.587
712.352
-669.859
-42.4934
614.876
-592.825
-22.0508
852.402
-798.43
631.243
-157.015
-536.059
358.729
35.7401
69.1035
645.92
-601.181
76.6962
-664.972
692.632
-27.6597
632.855
-579.774
790.532
757.587
-691.954
613.535
759.226
-689.551
-69.6746
52.8084
-24.6162
-178.692
-35.97
738.464
-702.494
-333.833
328.537
180.85
-530.848
349.998
23.2845
657.086
-808.308
71.9834
736.324
-1000.68
-214.491
753.815
-528.262
360.878
742.411
-668.044
751.416
772.485
-803.094
763.302
-713.454
-49.8482
496.044
-960.045
-885.372
827.73
-153.564
-885.372
672.115
-609.731
-43.4096
-397.113
128.868
71.5708
755.504
-697.548
570.401
-247.881
-322.52
-155.503
735.966
-649.363
-5.97447
792.536
-786.562
53.0893
703.819
20.5693
798.045
95.2709
-893.316
284.418
38.0314
798.288
53.5539
800.689
-158.769
-609.271
627.835
72.8077
53.4376
124.737
76.5737
-8.26436
-198.638
206.902
897.585
-649.89
673.174
-602.32
602.32
-8.30875
-483.094
-486.3
969.394
-461.285
1004.73
15.2985
795.268
-740.303
-841.853
74.9241
115.099
-537.275
360.285
-34.4536
478.444
564.205
-523.149
-492.938
-499.364
1001.92
-154.301
-25.744
459.485
-521.565
-706.753
780.14
-586.387
553.417
12.7972
-628.715
221.15
-1.68547
183.72
416.413
597.083
-651.403
352.225
-257.481
-160.49
-923.574
959.113
-35.5398
-889.94
889.94
-153.63
251.945
-240.267
-1079.93
618.647
-689.274
762.197
854.434
-74.6755
536.456
682.846
-647.812
-657.729
34.2883
738.16
71.5334
20.2344
-579.927
-954.052
-959.113
805.449
83.759
-701.313
761.25
107.273
-507.062
-495.862
92.5375
713.512
808.866
-814.969
-235.1
799.82
-730.531
837.656
-837.656
643.602
-574.216
20.9215
-923.574
504.138
-28.048
711.318
-683.27
-37.1638
869.669
-82.218
-787.451
-857.284
793.089
64.1951
182.537
-184.674
783.337
-717.777
785.654
-721.16
615.19
-593.936
-506.325
506.325
850.133
-850.133
541.193
543.446
461.285
-672.047
-327.963
827.73
456.565
840.511
-786.275
-538.726
790.393
50.7135
650.542
-618.036
-32.5054
-152.084
-701.665
19.8588
72.0698
713.914
-667.266
-743.407
786.183
3.79823
250.532
-12.143
769.287
-707.517
-34.6641
851.616
49.2703
699.006
-46.2891
-25.3034
-734.975
699.005
-20.089
-564.102
46.533
750.829
-691.214
-624.941
79.4761
774.957
-47.1873
564.857
-547.065
623.216
-613.593
-725.744
619.154
797.223
-729.264
-637.797
-694.347
-505.969
7.66761
686.402
-253.047
-433.354
78.3135
250.019
83.8324
797.455
850.393
-751.127
807.371
-18.1998
407.375
-733.278
813.777
-824.989
862.127
-72.0753
-738.389
287.744
652.98
-96.0611
-247.847
13.8936
866.107
-781.014
16.6722
33.5884
-149.236
37.6206
-247.202
247.202
186.893
75.5088
-866.184
222.043
590.051
0.521764
-475.739
422.539
53.1993
817.733
-756.856
-675.198
359.497
-376.91
-724.018
796.67
590.051
-861.627
1019.78
-324.902
317.945
-876.474
788.718
87.7556
379.134
-370.211
246.742
826.535
-744.787
-422.382
-120.495
448.865
-152.018
865.758
-93.9707
-290.826
454.103
-163.277
543.808
-539.228
129.663
34.3396
-399.735
787.732
69.9088
23.365
72.0897
153.543
-545.178
15.0759
-1.50208
-803.73
-157.707
789.512
-797.043
-677.578
649.53
470.299
36.2075
613.687
889.049
-804.934
858.288
-52.8386
-5.67973
186.263
822.341
-746.156
-711.492
787.19
836.193
720.491
6.41107
-22.3455
-665.565
800.355
-370.537
713.395
-7.48479
182.375
-16.455
389.07
569.545
241.537
-2.22496
-309.262
345.692
35.6406
-713.877
794.107
-715.04
655.496
-717.846
808.55
71.6123
5.6427
174.655
-87.0691
-790.937
69.21
-868.077
884.088
-800.256
-370.733
244.771
-13.7063
269.924
-404.58
420.693
-46.1537
664.416
-618.262
59.9721
576.16
857.593
78.5858
774.012
130.011
48.3032
-555.446
555.446
-348.817
-150.665
319.053
450.384
-769.437
-762.155
399.938
-412.81
12.8723
215.107
2.45656
-9.36665
65.4807
-749.944
684.463
241.725
501.182
-152.245
3.01075
-998.095
-488.184
535.427
102.599
796.011
-898.61
257.907
-47.7453
-584.489
39.0271
-720.334
615.73
8.66951
637.994
615.238
-712.63
97.3923
-827.273
-5.14793
832.421
-197.062
-660.097
-570.423
570.423
8.10538
498.496
-506.601
174.863
66.6878
1.31036
-2.75414
833.028
-522.956
522.956
-1.47504
453.765
-0.137305
-437.338
474.66
-37.3211
60.3921
-672.296
-72.958
184.286
-154.388
-29.8982
-851.157
247.907
109.838
-207.808
-797.69
-806.373
890.688
-8.11624
868.437
832.828
832.627
-132.786
31.6158
-589.749
-5.91411
710.242
66.3649
184.713
-213.112
85.0651
-828.472
360.9
139.339
-711.114
790.668
883.849
-795.531
-88.3183
828.372
-901.971
777.814
77.9456
-472.437
-19.5358
38.9615
351.484
-390.445
253.623
-256.212
212.389
-630.89
-933.731
1017.49
182.217
-596.036
26.244
569.792
986.596
-636.806
-930.971
836.291
3.56495
-830.838
-566.256
301.637
-415.888
458.981
-43.0928
-611.969
635.392
-23.4233
9.68395
-379.824
247.727
51.0393
528.583
-497.052
-492.577
533.047
-750.562
-63.7186
-146.38
846.6
593.274
-553.725
567.185
-529.348
-698.784
35.4403
663.344
503.619
32.3739
69.2811
-488.056
529.75
543.875
-511.595
-730.471
819.709
587.85
-544.795
598.184
-553.506
525.695
602.054
-557.087
451.689
-456.606
592.763
-544.146
587.566
-543.408
-856.046
69.4365
359.169
563.252
-524.618
540.808
-509.025
220.152
-220.152
596.556
-571.847
-356.406
247.911
540.791
-507.519
537.148
-512.005
194.696
136.221
430.632
-566.853
201.407
364.763
-314.45
-50.3131
82.676
-563.712
609.044
523.991
-483.871
536.646
-497.452
352.288
-281.117
-71.1713
-569.57
79.032
799.737
-58.7163
-807.571
866.288
-602.819
20.2121
612.833
-567.218
41.8677
-420.566
-55.6573
630.995
-579.303
577.205
-558.379
-804.119
-472.298
472.298
15.4041
-637.681
204.145
202.989
-274.123
347.178
646.451
-583.17
-493.57
530.604
803.411
-745.108
903.229
-365.552
241.281
740.386
-686.797
-74.7223
558.804
-522.645
282.068
-453.379
530.272
-796.679
227.477
-49.8825
-9.56983
236.903
507.667
-475.085
82.4739
-888.01
807.855
80.1559
-228.007
221.203
6.80448
-99.7188
895.73
-798.031
-620.033
669.828
583.651
-540.258
328.831
-281.437
-290.207
337.736
-47.5286
526.252
-490.77
672.846
-625.781
-7.46808
-752.623
828.914
514.813
-485.256
666.659
-611.13
324.743
-278.601
-21.2035
-677.581
816.419
-583.071
637.95
-358.909
384.407
-25.4979
-490.858
527.497
212.389
688.631
-628.239
653.903
-605.277
-0.703077
173.219
-172.516
365.124
-323.13
-41.9947
-869.524
-364.2
372.087
-471.538
471.538
-603.893
661.024
644.27
-511.167
546.886
-23.0615
994.34
6.92757
-591.416
13.709
59.1909
791.202
653.205
-607.843
-55.8701
-722.078
777.948
832.633
-757.026
198.584
6.65664
154.816
-761.743
61.3242
-895.249
-580.704
780.895
76.9456
89.0781
801.054
-890.132
67.8469
-743.241
10.3855
83.1167
556.883
-515.048
646.283
-578.032
577.007
-455.78
-121.227
671.351
-613.282
609.418
-533.775
-422.522
-44.6318
803.578
79.0729
569.253
-527.337
725.772
-657.925
8.60519
11.7752
763.189
649.577
-590.349
42.0783
472.53
-465.637
336.592
-293.325
557.238
-521.21
-314.177
-64.9716
755.837
-898.626
142.789
43.6888
612.531
44.7876
508.415
-493.215
138.172
-774.741
852.634
482.703
595.273
-554.762
-521.732
561.074
817.975
-830.932
-618.114
675.284
1.59884
34.0018
382.412
-701.241
-7.69396
-57.234
844.605
-597.558
-886.769
81.8353
-1.95984
174.743
-82.1577
-813.092
858.446
-52.157
-806.289
-1.69002
-10.1981
836.635
-770.378
486.771
-462.308
482.112
-363.538
244.979
-766.617
564.746
-524.295
615.492
-573.879
418.256
-410.954
667.977
-607.859
-348.504
373.723
-25.2196
-605.707
653.269
8.60005
-620.569
464.389
-18.5292
-445.859
-629.872
672.6
429.875
-426.048
448.521
-460.279
785.177
77.6257
482.716
-457.718
-890.691
81.7572
808.934
676.568
-617.786
-58.7828
892.009
-808.892
-79.9545
-808.056
-777.128
-91.478
868.606
-263.025
-6.41795
164.451
-467.362
64.6804
712.837
-628.404
814.823
-819.971
614.698
35.935
-607.454
698.824
-91.3696
22.6489
693.996
5.01013
12.3854
-361.886
384.652
-22.7656
878.663
194.403
683.631
-645.608
-38.023
-42.6359
860.439
-804.295
788.603
57.9963
-639.132
807.659
79.5941
2.39357
-386.345
502.525
-359.195
788.819
76.9861
-146.316
8.18089
861.488
-966.617
777.898
188.719
-29.5002
-656.27
-366.502
-10.6961
-82.7567
871.36
41.8399
81.0761
-889.774
808.698
476.596
-454.552
-778.916
-816.118
749.953
66.1652
-270.397
292.848
-73.4208
758.925
-685.504
96.8657
615.964
-13.1305
868.195
421.863
-407.879
-351.033
436.757
260.639
415.766
-415.766
-23.6275
428.165
-10.5173
-660.601
730.856
834.351
-757.643
524.012
-11.5366
809.851
10.3053
7.73328
-808.009
528.708
460.88
-443.414
-603.127
619.322
-16.1949
-370.609
251.258
889.69
24.2745
-350.944
-600.108
656.201
81.3181
-642.382
739.734
-647.197
445.601
-423.452
457.512
-443.409
-749.157
4.89309
407.563
-412.456
442.769
-415.671
398.908
-378.753
-20.1548
-98.7152
923.917
907.053
435.909
-398.112
859.205
-64.5961
-794.609
381.148
-163.479
-217.669
-810.535
457.653
-440.629
448.743
-424.141
-432.204
478.99
-211.369
254.01
-42.6411
316.125
-785.728
425.348
-407.485
423.083
-381.055
411.664
-387.307
-415.245
426.733
-394.613
428.615
-414.061
423.1
386.328
-367.358
422.394
-394.69
-395.326
431.354
48.3168
606.884
-656.354
727.259
389.06
-358.606
-17.1409
-412.726
412.726
-348.527
-43.4365
852.792
-809.355
429.938
-417.576
734.23
-664.47
-64.8766
839.834
-819.953
93.4054
726.548
-133.636
461.27
-31.0541
-243.121
274.176
783.889
595.367
-551.321
-250.96
255.565
719.545
-652.552
376.784
-354.981
488.021
574.449
49.9466
-657.573
600.631
472.345
-440.461
427.891
-418.676
-411.479
440.145
879.642
-81.3531
378.28
-327.327
-50.9531
856.399
-603.028
882.811
876.084
-82.9952
-567.233
567.233
-811.488
-49.8363
861.324
-447.235
477.551
405.564
-404.951
-0.61355
445.317
-419.033
867.047
-792.423
465.661
-435.125
-880.689
80.433
589.133
190.519
-12.7017
-177.818
-157.996
-53.3569
-738.239
37.7682
615.212
154.836
301.492
-456.328
-676.667
747.834
887.036
-81.275
476.909
-459.441
882.61
480.799
-452.729
-21.3875
590.755
-569.368
379.057
-357.822
343.142
-322.307
348.794
-282.036
-253.067
-451.484
704.551
353.683
-327.276
307.508
-262.601
-44.907
495.662
-459.676
-342.27
369.153
338.542
-314.84
371.923
-353.621
337.785
-313.795
375.117
-345.787
-354.751
378.203
452.953
-442.57
478.852
-458.507
-20.3452
-420.169
420.169
375.017
-353.455
-424.68
746.133
-703.178
-447.265
498.089
-50.8248
-750.302
344.813
-323.103
291.497
-265.827
-25.6694
-784.28
-268.972
295.044
-26.0724
337.284
-314.541
341.383
-319.799
288.815
-270.307
752.437
-682.784
286.655
-266.309
43.94
-539.729
838.068
-274.933
274.933
-448.088
500.149
390.065
-362.112
490.585
-454.623
9.84846
376.948
-356.691
405.085
-376.991
-76.3553
-890.262
-506.306
-794.877
381.64
-357.645
406.747
-381.427
-42.4333
-61.953
860.994
-799.041
334.516
-311.975
-22.5409
658.235
-663.367
5.13153
-458.453
494.622
322.727
-324.56
1.83247
-83.032
873.36
-790.328
327.821
-340.353
12.5321
4.7018
-369.875
405.701
60.7667
534.503
-498.799
105.46
454.474
-448.998
381.891
-386.491
-82.9541
883.643
-14.3592
-311.114
325.473
-259.586
276.739
174.943
-295.354
-680.776
788.615
-107.839
-303.623
-781.603
326.359
-391.456
527.839
-490.392
-4.36417
834.484
-828.344
881.05
362.719
-302.906
-59.8135
-27.6014
16.4548
755.273
-771.728
-438.553
484.096
805.837
76.3518
-882.189
484.608
-24.8212
-459.787
679.63
43.668
497.577
-462.425
-201.567
300.513
-283.431
41.8208
428.333
-331.13
-58.7519
419.652
-405.268
405.268
-796.687
867.362
-70.6743
92.4832
95.5529
-188.036
193.713
678.981
63.8264
870.279
-775.008
-873.448
465.248
-422.554
886.732
72.4516
734.112
626.479
-600.184
349.32
-315.386
-33.9338
80.9513
-877.328
304.671
-283.839
-20.8322
560.219
-560.219
-449.896
474.148
858.841
-183.86
178.181
-6.39668
75.3922
44.0008
858.974
-640.476
693.753
773.491
-677.38
97.0875
91.0729
-188.16
461.176
-439.071
-523.859
498.268
25.5912
65.2284
-509.387
563.324
42.5322
306.807
-289.598
474.499
-432.707
912.057
-708.734
750.177
-41.4427
589.335
-550.859
855.558
-770.609
-84.9494
787.458
-682.613
47.4172
695.306
-645.115
342.493
-328.372
823.122
307.572
-287.007
-20.5643
807.048
310.113
-292.724
632.917
-41.6252
-591.292
668.545
-659.876
-810.18
-537.495
586.609
-50.956
521.255
-787.247
862.639
662.402
59.0783
-721.48
717.766
-664.516
603.969
-561.913
-455.969
487.039
862.123
172.652
-398.451
-314.833
314.833
-777.683
-204.997
982.68
117.151
71.165
-188.316
608.945
-566.081
42.3867
-455.909
490.258
712.52
-661.276
442.231
-393.328
-42.0495
360.482
-318.433
333.413
-326.577
13.5066
544.482
-503.885
-92.8255
-757.089
849.915
-411.94
448.906
-752
201.171
597.392
-556.386
340.229
-314.524
394.86
-20.1906
-374.67
-286.654
302.793
461.094
-432.785
309.363
-289.617
42.2125
-700
1044.08
-344.083
-655.356
711.212
-264.53
264.53
866.445
-397.514
-13.3994
81.8525
107.141
-188.993
-410.332
399.346
403.599
-392.79
-10.809
849.198
-775.53
-73.6678
-11.7796
98.5296
90.7326
-189.262
-43.3015
14.4637
-392.435
377.971
99.0208
90.538
-189.559
698.636
-670.961
-27.675
887.217
-73.2312
829.068
99.4926
90.384
-189.877
86.3197
101.618
-187.937
95.5862
98.8105
-194.397
-782.843
842.034
70.8508
307.408
-283.893
96.8069
93.394
-190.201
-761.677
22.8677
713.377
-659.116
18.1894
89.5702
100.992
-190.562
338.297
-318.392
105.116
88.1264
-193.242
81.1656
109.762
-190.928
-557.059
598.584
63.5972
802.69
-68.5568
866.71
117.33
74.7249
-192.055
-808.093
890.769
-396.015
396.015
657.369
343.956
-335.406
255.247
-222.895
990.628
217.159
-26.9073
-474.294
497.046
728.802
-665.12
-39.9664
861.032
-70.5532
66.6057
491.939
-458.999
328.428
-310.188
-50.7515
-784.078
723.799
-635.521
597.759
-551.226
857.786
-777.29
72.3254
66.5419
-182.545
183.804
-799.59
57.3959
-306.076
325.167
836.553
-757.129
-79.4248
525.47
-481.53
740.999
66.3723
38.9789
389.422
-389.422
732.591
-639.202
-93.3888
-660.094
64.0821
596.012
770.413
63.1246
-77.9081
-797.14
-273.407
298.02
-277.63
-468.011
538.549
281.841
-263.736
-699.639
753.644
-630.909
49.6958
-648.849
599.153
-261.796
278.943
-846.23
32.4117
813.819
301.822
-279.749
793.038
-54.8781
461.057
292.749
-276.883
28.8053
704.368
859.265
279.089
-260.569
-21.0616
66.6926
-749.846
55.1369
694.71
636.07
641.43
-590.302
41.2773
855.511
-66.9529
847.704
-762.411
-78.5891
855.44
-776.851
104.419
741.933
-1.37794
31.4925
-16.3963
41.3552
868.647
-791.661
-802.367
796.393
79.2677
787.177
69.6783
15.7429
851.313
378.258
608.952
-573.327
-757.82
-18.9902
-362.578
362.578
-79.0695
630.543
-585.619
722.506
63.1485
-10.8013
131.83
618.254
-566.218
864.15
-69.4767
83.9522
-11.362
201.127
-27.314
-225.176
-25.7844
247.542
-241.828
241.828
800.648
-587.989
642.505
-209.295
221.335
802.663
-79.4102
-723.253
18.2019
68.9904
-710.198
715.208
85.1782
-368.984
368.984
621.442
-578.491
188.342
-15.9655
142.903
1.27471
-144.178
-187.675
-446.195
56.5485
628.495
-579.32
45.7723
845.91
-59.2727
446.935
-64.9921
-288.433
353.426
325.193
-687.081
21.2843
665.797
-20.7708
-599.345
646.999
74.5237
162.85
772.614
86.2273
355.252
-355.252
81.5965
709.457
-870.006
861.45
-787.391
62.1763
62.3633
405.622
-373.725
222.238
-213.269
-374.077
254.396
-873.087
799.409
73.678
715.288
46.4856
-14.5265
-144.964
305.792
11.6569
-317.449
-802.8
868.835
-66.0343
-24.464
63.179
-787.489
858.347
-40.8432
14.2273
36.9134
181.388
76.5193
-309.445
-222.285
442.548
69.3443
-669.961
792.007
760.322
-577.274
633.594
-56.3196
685.067
80.5506
-421.466
-880.91
815.355
-54.4599
-604.281
658.741
65.767
31.9082
245.591
8.03256
653.774
-604.078
5.22627
881.346
39.0461
788.321
791.43
70.9745
432.601
657.734
-604.533
-53.2009
-28.2864
47.5448
586.187
-329.176
329.176
40.5654
-113.941
877.47
53.3503
-68.2785
-833.693
221.117
-214.74
890.53
-678.776
-36.264
-610.644
661.109
785.978
62.6878
795.64
19.628
82.9934
-279.093
279.093
10.554
66.3789
42.6507
-12.5981
-18.3338
58.4138
2.68766
864.388
-784.728
653.289
-610.931
94.2017
159.384
-726.248
638.812
-4.48996
-634.322
-60.5925
666.402
-605.809
-299.035
299.035
655.116
-601.407
-53.7093
-80.0781
-818.532
-734.52
820.188
-85.6676
246.94
-246.94
-14.0119
-189.074
77.3329
-790.739
-185.177
-137.516
-135.89
-178.887
738.059
-750.447
840.149
-185.698
194.876
-9.17836
-787.56
875.315
-7.29287
-63.5932
80.0104
4.70658
700.639
54.8653
-80.2662
854.278
850.436
-76.3049
632.823
-396.091
243.641
60.1972
793.181
73.3726
715.949
-655.221
81.8771
-624.214
692.297
754.238
837.468
-67.6324
-769.835
-884.25
-143.986
31.3103
344.606
797.074
10.7421
837.549
-59.2325
-778.316
-8.40719
54.173
680.543
-642.775
74.6011
675.994
-640.554
607.698
444.994
-554.541
826.581
-746.483
-360.176
-299.236
25.4998
759.656
76.9783
-579.122
651.791
746.056
23.0284
-327.607
310.792
16.5772
-332.951
-190.029
853.198
14.9967
-776.498
82.2559
242.939
480.023
-722.962
-776.282
847.853
51.6683
-7.19357
357.768
-2.18507
-355.583
-317.484
317.484
626.738
-606.879
622.117
-591.873
112.205
399.18
-399.18
69.6736
387.587
218.066
-204.001
62.1417
60.8844
604.337
659.103
-571.175
-87.9286
879.692
-691.831
-187.86
674.378
50.7155
291.764
-291.764
41.6701
-662.782
722.873
-664.983
-21.5889
26.6458
886.536
-808.222
-585.648
-32.475
-301.358
43.3921
-12.1428
-306.167
306.167
-167.939
-245.539
768.545
-24.1908
-320.895
91.2684
785.945
-877.213
702.927
-610.788
103.237
85.5032
-188.74
-202.794
-13.0494
22.3235
833.394
-112.904
708.484
-646.442
65.357
-597.832
695.63
-70.2969
623.082
15.7302
-7.51189
-0.612524
698.317
-632.144
50.8373
-718.212
667.375
-778.957
844.471
-65.5137
52.2723
-7.25076
47.6246
746.924
-811.629
64.7049
-804.558
680.057
55.9089
664.562
-636.945
-475.916
35.5058
109.688
24.2745
-186.417
76.1803
-863.631
-338.581
352.162
-683.546
707.129
10.3041
-542.185
665.125
-609.627
-55.4985
10.5258
-132.685
-78.7164
72.9272
714.531
72.4762
251.003
-323.479
-52.9903
812.745
743.728
349.772
679.641
-628.836
-9.97627
842.804
-496.7
458.134
79.8806
-858.207
765.536
92.6708
43.269
102.411
90.0316
-192.442
770.17
-803.817
-1010.55
-414.741
10.1609
78.7475
32.4127
-36.1502
47.3313
56.6253
588.43
-385.557
67.5641
-121.742
870.032
-117.132
75.3866
-631.858
683.319
-81.8813
666.053
-663.508
-2.54486
-237.662
232.753
4.90854
70.3128
-9.69861
-19.0683
128.229
67.0737
737.126
-735.603
172.774
487.941
583.966
782.555
70.2366
-1.66781
11.899
657.796
-611.897
-45.8992
245.9
9.66519
-43.8671
-780.126
-23.816
476.26
-194.191
-2.78251
-187.177
217.116
849.719
632.547
-40.2516
45.4001
329.103
-775.059
-1.0931
46.9564
845.337
-801.468
762.817
38.6511
668.092
-619.018
-39.9116
-69.4197
-10.656
133.198
241.856
21.2933
18.5387
-866.607
72.2618
794.345
-11.6132
-13.6464
49.3581
-4.71111
-252.547
814.142
-815.606
685.621
66.8156
-9.57978
-85.6303
-60.6419
203.67
488.393
708.495
-655.423
-9.03565
-4.44286
-9.53305
-771.792
-11.7572
-855.869
74.8548
-8.7909
10.0615
373.295
11.3789
57.5638
716.533
-644.614
-71.9194
24.9619
-597.54
673.651
-76.1112
-21.9492
-6.6531
-3.63528
863.421
-735.193
654.152
-612.917
-1.08743
-619.657
691.27
-71.613
46.1552
-604.92
427.171
27.5234
694.624
-637.001
-57.6231
45.8972
55.0741
98.107
-43.334
-706.512
-49.7471
-672.633
722.381
65.1714
19.2071
784.958
741.301
-685.232
-56.0688
-664.631
-719.791
734.979
65.0497
26.2529
695.386
-620.082
-5.11009
-150.717
-623.026
720.155
649.039
63.7976
74.5021
-2.33734
-597.407
-982.71
-641.646
-45.7015
819.181
-746.253
649.035
-667.729
18.6936
864.076
471.932
29.2565
-756.099
833.077
78.7938
74.7074
800.941
-686.713
6.63429
-307.635
8.81585
38.5341
-476.054
-43.0259
761.739
-718.713
55.2273
-10.9859
22.685
863.519
732.823
-678.074
23.9705
-715.554
827.945
-112.391
32.0004
-405.304
588.846
-588.324
388.063
853.106
-760.314
-298.631
299.471
51.6626
-21.2337
832.584
-811.351
41.0183
-154.273
753.662
657.065
39.7802
13.6169
-422.663
-0.54441
-678.312
749.953
-71.6411
-144.944
776.195
-722.022
176.99
-12.1465
-55.1818
768.694
-88.8384
-685.377
774.215
181.634
-195.176
-785.474
836.187
-692.775
755.728
-666.575
616.582
60.5232
-354.855
354.855
47.4115
39.6405
-5.89931
40.8905
-481.823
217.271
-238.746
-243.647
244.518
6.99472
-208.454
5.66033
53.2159
664.419
-666.971
-7.02871
205.612
9.50412
-718.94
788.462
856.929
1.03563
232.345
-237.275
2.64753
68.7095
40.0633
-884.959
-127.22
300.704
-300.704
-16.6667
-710.218
790.098
-41.5833
747.013
-705.43
391.515
-391.515
-5.22779
861.315
-120.929
-22.016
29.1971
551.39
-580.587
610.524
65.6964
-73.3449
15.9233
-185.173
-2.77475
497.498
37.6798
58.7592
705.177
-634.864
204.105
292.451
-292.451
-16.4941
14.221
-534.154
-301.872
-357.259
12.845
7.69729
778.276
-294.995
-58.5035
-779.399
843.046
-210.284
214.908
-838.003
72.628
-28.4366
-26.2208
359.157
-16.3654
212.047
-234.879
-19.3806
804.523
-785.143
54.8149
862.713
-850.249
190.837
-368.386
34.1034
27.1232
465.142
-492.266
14.8712
-414.087
261.545
-824.22
-14.4399
12.3216
-40.9674
847.752
-771.572
-32.3181
-224.483
-13.0885
-20.6196
-23.3579
-50.0098
650.932
-600.922
-5.72976
792.615
68.7246
-840.428
47.4746
-76.4868
-43.4465
753.688
-728.665
800.648
53.2373
0.565962
33.6333
-54.9355
-728.425
783.36
-13.9089
-537.609
365.416
-6.37292
-773.328
851.5
-11.3684
-6.63949
481.054
-22.8214
-756.781
830.957
-74.1759
620.628
54.6561
14.7114
-13.1519
53.3772
146.851
354.331
468.463
-14.5314
36.6539
604.753
49.15
15.0966
-24.643
13.5296
14.5257
78.9952
-144.816
185.899
-10.7657
677.843
-745.264
-16.0254
-873.2
416.818
-592.79
168.593
-563.797
395.203
7.3549
-176.305
571.926
-571.926
30.4791
-239.855
353.414
-471.687
811.293
79.2376
-302.2
321.286
-19.7299
638.562
31.7492
795.593
-575.008
-8.62273
47.9277
-4.79867
-849.352
-17.7758
3.53366
-9.91217
180.723
-50.5668
666.297
893.17
58.6789
68.9522
29.5904
33.1357
23.2864
63.1153
-30.364
-324.89
3.13228
866.27
-70.6774
78.917
787.794
850.433
-738.228
61.6294
286.016
-287.439
-25.2352
286.004
-281.648
13.1896
-18.7932
-857.24
53.1806
-14.309
-11.5162
93.4074
36.649
5.49194
472.571
890.624
-818.554
-55.6547
-15.7399
10.5077
658.038
-17.6287
21.8127
380.508
-402.321
-8.09407
51.691
26.4176
587.729
52.3012
731.155
-428.152
489.768
603.299
-584.127
31.674
185.055
-5.45919
37.4129
889.213
-80.5148
37.3551
830.007
89.2972
103.545
-192.842
-17.8657
768.096
719.092
-669.843
-49.2487
-21.3185
660.848
659.486
-19.2847
-8.59771
-2.63643
778.235
13.743
-416.322
404.387
11.9347
-848.44
-788.464
858.373
53.501
-24.0616
773.292
83.1074
-18.2921
32.4219
-10.4117
47.825
-282.654
-283.653
338.802
-55.149
-5.70614
50.4486
2.99147
-21.1416
254.457
-20.1236
26.2108
42.7035
46.1327
-684.109
637.977
188.341
2.85317
-469.984
327.646
142.338
585.757
31.8149
48.5787
620.592
-669.17
0.245708
819.956
243.601
488.62
8.17367
-758.523
73.0189
791.987
-731.79
-35.4874
-624.607
43.8695
41.448
32.833
56.4331
16.0835
735.754
-751.838
55.9337
6.56841
883.496
-792.228
538.131
713.372
3.75424
8.14763
281.345
-265.581
12.4299
-9.54632
6.43466
11.604
-900.467
926.417
-30.6023
28.4533
-5.03315
610.825
-668.183
-13.5169
-6.96129
601.163
-594.202
529.775
59.918
-795.632
-531.735
-11.5227
35.6224
189.571
-479.493
40.9863
-27.3005
663.229
-635.928
-5.6755
-788.776
834.695
-765.485
-830.832
-31.3184
21.2498
62.41
839.23
-27.0347
61.1554
233.841
-241.705
7.86408
-342.095
-167.531
-15.7896
-9.89221
-187.876
-43.1464
773.877
-730.73
22.2702
-11.6561
-1.84823
152.01
-90.7285
-637.63
728.358
38.3428
-20.0155
689.645
-626.53
-147.909
-18.8622
463.421
0.96737
-17.5434
54.8296
72.6415
-887.611
38.1565
495.169
52.0963
629.71
46.8944
41.8252
53.1609
-842.665
-20.2561
-856.957
53.9685
-0.835758
-821.508
906.687
-783.003
-1.00345
32.4775
-16.4383
68.7703
-16.2958
-353.673
708.015
78.2232
-61.5011
624.47
624.252
37.0027
-210.15
41.0961
29.7895
39.7681
776.689
78.7503
-691.707
-23.0161
67.6314
-73.4968
867.842
269.629
-322.855
-26.1854
349.04
54.3374
-515.095
331.267
-894.558
894.558
-0.44718
341.03
47.804
663.514
-65.8227
-582.451
-611.21
246.297
43.6213
-19.9971
917.079
-850.714
39.0386
22.2256
-271.473
304.644
-60.2563
-565.397
625.653
-8.27061
228.836
50.2056
16.7178
220.151
605.435
45.2616
71.1086
-817.264
54.5882
-816.418
70.3402
-147.492
690.909
-680.401
-885.011
76.9554
53.1725
-730.576
992.776
-262.2
-798.551
773.438
-769.747
47.6685
-852.04
75.1889
33.5202
226.524
30.5449
790.475
-821.02
706.025
-655.819
-755.832
61.3723
48.7555
42.3071
807.608
36.4419
434.9
189.753
30.4567
621.748
6.10992
830.122
-247.655
703.121
43.42
11.9046
44.4421
-147.478
-5.02591
-723.351
53.1671
35.4379
28.1313
413.234
-16.113
187.191
-812.477
738.809
51.4942
578.485
-629.979
-650.017
-61.0318
740.012
35.0764
711.518
-653.954
49.5225
62.4618
-13.6426
-26.0839
30.6679
-17.6483
-13.6119
-50.804
714.148
-6.23265
-316.596
324.074
788.896
-14.7351
-64.3007
-572.2
636.501
-792.707
63.4424
61.1104
531.57
35.6152
23.13
30.4605
-750.046
55.471
-322.479
810.892
-15.6271
38.8558
68.2438
790.877
-819.235
28.3576
-23.0748
-28.0636
261.541
-262.617
1.07564
82.3474
779.775
-68.2639
77.9359
407.761
-71.6183
-2.49677
-831.635
151.514
16.3401
698.921
-335.343
-14.0097
574.957
49.3072
-301.86
714.539
-662.443
40.2411
26.2377
610.93
47.2353
48.978
855.721
-581.991
-20.3798
602.371
-27.2335
33.9038
49.4924
31.013
652.7
-619.18
48.0978
89.1052
21.3931
-487.896
-489.049
-784.545
68.3783
716.166
59.7017
862.051
646.645
-582.563
-13.9891
-493.738
-210.177
203.271
403.905
27.1451
50.01
596.989
134.869
114.381
361.891
34.1864
33.3615
-55.5291
789.641
-719.767
61.8418
2.23689
35.4781
106.299
40.6045
20.4316
95.8227
514.538
29.3369
654.504
-603.667
27.5276
-276.639
283.946
608.79
20.8688
-629.659
-411.015
303.691
32.6351
-252.911
-7.71669
-136.739
-277.406
-66.7937
-584.107
650.901
348.945
30.1887
-282.427
289.302
213.811
4.07496
-180.448
-83.6837
-815.321
-61.6689
876.99
57.6043
71.45
809.143
-739.465
693.41
-11.4619
286.626
-279.035
-585.98
641.451
37.4088
7.66353
-812.95
805.286
29.2133
-843.871
764.446
76.6257
-38.956
-679.256
55.2239
104.947
166.736
-245.861
-7.06546
252.927
-27.8922
649.385
42.8497
87.9858
745.042
-833.679
24.8463
40.5271
19.0285
767.728
17.3119
26.8528
738.606
-765.459
744.987
56.1949
0.0347524
875.991
317.056
-311.19
-62.7921
47.358
33.1986
35.9952
35.9826
54.4717
-1085.99
60.7338
-14.4466
676.848
-35.9409
36.18
30.4605
-638.884
713.386
28.1228
852.547
-841.942
35.5067
-12.0188
186.674
18.7768
55.1673
-874.128
28.786
61.2716
-794.548
869.289
-20.7098
35.4789
35.3949
-3.62417
-610.049
658.146
35.6728
-12.0784
16.3307
31.8386
-224.978
229.809
-259.94
-136.992
-142.57
50.9418
-577.232
36.7791
163.56
-19.5305
-553.54
16.737
39.8345
-12.7759
-10.2492
59.9183
680.84
-653.987
91.2821
901.494
548.83
25.2678
51.6678
699.605
-751.273
227.481
-217.972
-9.50893
-840.428
458.734
25.8739
29.1269
117.092
12.4644
-28.8369
-802.096
841.01
584.073
58.4318
-576.974
636.893
-75.4367
-814.696
-235.411
240.741
-5.33018
609.814
44.6899
-672.443
429.998
29.4866
26.5394
337.923
-806.218
-511.295
-740.224
41.5954
723.251
17.9625
501.573
32.9305
226.313
-56.4401
572.902
-703.563
752.006
88.1436
829.072
-757.964
562.474
-574.363
11.8889
93.3345
-27.2171
849.604
-863.31
-655.969
809.016
80.1965
713.642
1.53534
-55.7024
822.557
218.004
365.812
29.0399
30.7634
54.0936
9.75715
196.356
-5.83642
343.731
-9.70073
-334.031
877.169
29.6447
24.634
39.5827
-50.7118
101.174
-2.46964
186.189
-740.768
807.309
210.378
159.982
221.166
-769.727
-286.64
39.7284
-52.5698
742.029
5.38369
625.21
21.5854
543.451
6.59167
684.324
-631.108
559.703
19.0797
26.4682
550.966
-577.434
-734.933
-34.2162
-19.2499
-23.5787
611.213
-636.411
-319.799
319.799
-13.4227
-171.639
674.393
38.1367
-729.558
698.339
-712.807
475.431
503.989
653.764
402.015
-728.216
-413.307
23.1588
37.209
219.74
-504.617
-13.8704
-17.6341
-841.142
41.706
617.78
-51.997
-614.866
9.31412
783.069
-4.52707
30.9099
28.2733
533.164
-561.437
373.039
21.8212
405.637
-405.637
4.95013
-152.937
20.6024
613.696
-627.742
14.0458
270.68
-810.438
36.2601
78.2989
-723.414
-5.46111
-682.821
54.5822
-16.0936
-4.28346
-2.90906
780.059
29.6413
451.157
36.4585
201.934
32.1975
-604.878
673.587
557.292
-578.679
25.1104
813.994
40.9159
287.915
-723.921
64.1638
659.757
-301.504
-73.242
823.195
585.113
677.925
-648.135
25.1998
425.77
22.973
11.4756
823.231
10.8368
21.4601
16.7503
220.859
-218.395
176.142
221.095
-218.638
-43.7838
474.115
12.4518
30.2563
37.3161
405.634
179.94
-585.575
40.4377
-163.668
53.2462
598.171
-669.692
441.173
319.36
734.03
-671.666
-627.987
512.74
11.3204
598.946
-566.311
-125.217
31.1303
-790.011
-13.3554
28.4691
-357.31
-2.54842
359.858
-59.8149
-751.814
34.1997
21.1339
25.9684
833.854
-761.047
21.8647
729.217
239.063
1.68087
-49.6863
656.57
699.478
-683.394
930.79
3.9046
192.147
660.412
-607.24
-832.815
1.97669
35.0775
779.273
58.7945
390.039
-157.075
-662.045
50.9157
561.762
25.7512
27.5247
178.007
122.379
-29.1893
318.945
45.8173
815.838
-558.115
385.543
601.184
-576.334
655.3
-609.528
13.6075
37.8384
-886.811
521.36
10.0158
847.202
-804.67
790.023
20.408
9.67693
15.2534
-695.168
635.907
59.2608
725.275
21.1122
731.223
207.15
0.198478
-228.039
625.219
799.197
631.641
-587.771
411.166
-161.025
-286.297
43.6266
767.692
317.24
-309.503
-234.603
-843.066
863.395
20.4058
815.888
-744.276
47.0847
-320.48
273.395
18.8783
13.7774
27.068
-744.877
53.6637
38.6239
182.585
59.1353
-688.415
12.6775
610.24
-555.072
-161.601
18.9206
254.465
21.8486
20.1712
492.528
-512.699
28.4098
571.361
27.0566
-798.785
-4.38088
-366.888
-9.21887
83.6877
24.9712
843.149
426.958
-21.8727
-568.013
627.931
29.7564
22.4733
409.194
-140.96
-640.166
84.5875
555.578
-863.131
635.315
-594.303
30.6098
823.67
-9.86881
-813.801
-243.056
212.002
182.639
-5.41376
-13.5813
518.738
19.0264
-837.635
42.2462
22.5212
-649.545
58.2535
-84.2905
848.3
7.57426
30.5445
-768.35
-628.165
-165.043
445.925
14.9545
13.4621
-563.92
28.2869
-665.568
727.71
611.773
-554.169
53.533
638.042
-752.426
35.4704
22.3181
572.973
825.829
-783.442
10.3047
-244.867
243.797
11.4496
-390.853
70.0373
789.228
821.422
575.192
25.8687
-920.739
190.945
21.7014
-774.958
851.532
789.593
-809.899
25.4566
-89.5802
903.311
24.1292
38.7937
679.581
-718.374
13.3407
465.441
-478.782
19.528
71.3318
123.37
57.5725
-36.4636
692.75
14.0978
316.075
-37.3105
-786.434
14.2528
-944.514
714.496
230.018
-331.648
348.579
-16.9307
19.3027
-9.55385
45.6748
20.266
407.485
82.7735
21.5116
201.845
19.272
-40.7929
24.1946
653.173
-219.394
14.2446
21.6618
386.785
36.7861
23.3661
-363.448
377.912
528.414
20.7707
23.2996
-12.8721
-10.8604
-14.0628
515.049
-485.852
885.972
501.381
-317.786
-183.595
-811.921
676.311
45.4484
775.435
-15.0782
78.2372
659.103
28.3021
533.64
23.0805
15.4781
-467.13
-531.271
366.794
377.837
-541.289
712.778
694.076
-34.9731
194.413
222.319
12.3245
-148.569
-51.2675
661.873
32.4531
67.1573
31.0178
-612.895
791.435
18.2807
-882.129
55.1732
51.8597
589.785
537.039
-0.904744
17.4846
-459.967
481.873
663.999
25.1965
-696.185
655.147
41.0379
-623.935
44.6319
-4.92643
376.108
274.296
-205.609
597.761
-392.152
7.24063
25.4713
13.2796
200.712
-214.79
-437.765
458.475
-132.885
-1.63749
-782.635
823.913
779.362
62.6717
24.054
657.796
-208.516
10.7517
22.3664
23.8765
1.64484
-6.42013
290.329
-283.909
-20.4072
-222.649
1.79947
11.9034
-214.583
656.555
-441.972
644.399
25.1874
622.288
-401.871
-220.417
92.7808
675.913
673.431
412.828
-397.662
22.9874
-273.585
36.9721
-2.39313
-261.02
273.804
259.603
-41.2861
-642.823
24.7372
-164.012
812.86
-746.172
36.877
-0.397125
-333.93
334.327
798.488
-19.5984
-844.032
778.437
21.2404
859.254
16.3478
-178.214
-539.247
347.826
-388.751
44.1143
-622.303
578.189
260.833
-256.405
752.426
-171.774
9.40477
-817.414
18.1894
-771.459
16.2505
-5.4296
198.062
22.9683
-858.934
788.256
-795.396
39.2977
58.7237
581.57
-960.72
-637.847
649.433
433.37
-414.553
20.1747
673.885
500.948
16.0399
12.9431
-626.067
23.7473
-403.544
-112.766
-383.026
405.87
700.589
8.65972
866.151
-143.77
823.936
820.582
17.9739
536.628
-21.5787
-706.06
771.417
11.0517
-754.137
35.4239
27.1075
445.235
-45.6834
-399.552
-714.516
383.451
-594.585
-240.969
680.185
-690.525
323.947
-62.5092
-1.39144
-154.022
-708.777
23.1052
-4.5
398.499
-62.7452
-748.257
389.164
395.369
-385.702
-713.14
423.486
-408.159
-215.291
-0.37852
16.6393
80.0288
-402.388
416.804
-185.052
19.6777
5.04059
-128.923
63.0549
-593.35
-395.431
407.677
6.46109
-953.432
550.817
152.517
-391.386
-22.053
-405.066
-657.736
41.8646
615.872
-805.48
802.943
13.6517
-25.3024
425.13
-399.827
807.573
75.2383
4.79625
17.7908
499.055
17.2541
31.0266
660.855
-691.882
23.773
639.223
-637.903
10.9106
626.992
10.2713
-557.588
11.5306
692.559
60.0627
-806.84
421.814
-145.145
-177.056
-34.0405
-0.488505
943.691
-874.41
6.55615
307.13
510.306
265.09
-715.857
-169.403
10.0363
96.9672
94.3331
-191.3
7.69972
-785.912
-627.529
692.7
19.3972
507.38
-37.3863
-178.841
242.661
-562.03
583.615
714.099
-731.157
395.888
243.81
-179.341
-24.0915
-199.287
-23.968
74.6187
627.67
-708.728
41.4619
-0.883168
-588.839
171.546
2.00836
232.027
14.9793
763.985
-732.492
-5.99874
-169.791
24.1916
238.104
-234.412
177.97
-6.45713
370.115
18.9551
519.738
-589.381
-688.968
14.9428
-590.421
39.0991
12.9998
-888.932
61.1991
4.95865
15.3539
-32.4245
-682.855
64.5929
-581.232
23.1707
244.642
-371.111
13.1149
18.3735
-780.575
28.5091
-205.323
661.759
-47.5013
-697.762
-695.589
737.259
191.843
-38.6316
247.921
-209.29
1017.82
-380.372
-637.449
-178.546
765.31
-541.443
262.515
-259.431
-266.12
-8.89197
142.004
-133.112
362.704
-13.2484
-186.64
169.063
671.507
-480.57
-1.11111
481.682
-470.011
20.7725
-297.048
768.069
22.3864
-790.456
211.006
-123.456
527.523
-494.592
-63.6371
505.063
506.988
687.38
-655.684
534.266
121.418
45.9927
-176.731
-305.458
378.898
647.154
413.371
807.503
192.497
880.727
44.5455
589.93
820.11
-745.508
-74.4914
415.293
-340.801
11.4485
-343.096
614.483
-576.14
271.41
-257.701
-304.726
-22.8804
-5.67086
-745.49
656.192
-846.464
627.969
888.932
462.356
-452.599
872.719
-621.895
378.011
-374.679
-3.33214
-469.387
-6.56505
-264.929
1.90406
730.367
-683.036
0.708149
-600.9
258.511
-268.87
90.4191
-744.224
-575.73
35.4718
182.493
263.72
257.74
-249.707
-9.01194
407.922
-736.82
803.513
767.255
44.9664
-812.222
-31.7113
-720.127
-715.105
28.2803
686.824
769.335
29.1534
641.839
-630.939
-635.945
409.876
508.512
-469.006
-491.223
530.806
809.861
-743.255
775.012
-860.643
831.621
-795.361
430.941
-152.864
-623.322
701.869
102.655
-236.886
-429.976
468.113
16.9928
631.317
-648.31
-203.37
552.228
-515.449
760.653
-728.744
851.69
777.405
-11.5693
34.8957
317.769
9.85792
666.975
-666.972
832.099
-272.222
202.498
494.552
-40.8392
538.337
-789.642
872.663
-83.0212
753.268
7.49567
-774.755
776.291
-101.025
866.561
811.704
543.49
-507.817
610.698
-570.93
3.85086
-180.335
157.743
22.5918
153.836
-178.893
25.0567
177.344
-204.208
26.8641
194.334
10.3572
-206.724
179.15
27.574
-160.173
140.202
19.9712
184.68
-208.248
23.568
11.4166
-188.117
16.7029
-195.783
185.901
9.88247
-179.672
197.422
-17.7501
-219.448
192.129
27.3183
-179.66
157.949
21.7109
-160.642
147.487
13.1546
-158.293
179.151
-20.8578
-188.799
195.454
-6.65503
-212.684
233.299
-20.6158
201.927
-197.272
-4.6551
201.983
-186.782
-15.2003
163.837
-187.285
23.4485
179.686
-205.742
26.0564
156.076
-170.523
14.447
-198.044
198.18
-0.135931
-193.618
167.186
26.432
-166.308
186.59
-20.2817
-178.022
192.098
-14.0761
-174.5
156.997
17.5028
-202.403
177.428
24.9748
187.185
-168.743
-18.4418
148.027
-161.809
13.7819
166.799
-175.023
8.22411
-183.855
200.846
-16.9906
186.824
-165.779
-21.0454
198.71
-182.53
-16.1797
-171.241
191.168
-19.9266
-178.428
9.43292
189.007
-216.54
27.5332
175.923
-183.356
7.43319
-168.85
181.709
-12.8596
-180.58
156.251
24.3292
-195.729
198.191
-2.46203
-185.121
172.562
12.5594
-177.007
158.714
18.293
144.492
-165.333
20.841
187.427
-178.995
-8.43227
-191.433
181.413
10.0201
36.3773
492.744
-366.571
-852.136
198.612
2.55904
293.129
156.703
-565.654
33.9834
699.455
132.215
590.489
-568.27
192.668
-329.407
1.90226
4.20456
-361.514
-726.044
765.09
0.167771
726.072
-680.174
-681.759
33.9467
-587.554
566.002
-160.149
543.401
247.271
-240.524
485.421
-553.673
31.0275
394.473
-369.556
-24.9164
12.3581
644.954
636.184
-14.6621
-518.971
70.8762
-436.759
473.968
101.32
612.828
4.8371
653.671
-605.743
-59.0742
-418.781
453.858
-0.642809
466.73
54.5249
509.064
-492.734
185.566
431.081
-156.436
-495.732
-645.612
48.7826
596.83
24.4426
355.734
-633.168
691.927
275.413
-275.925
188.637
711.603
846.554
-533.022
572.856
640.234
-416.665
457.103
471.114
27.9408
-17.4777
-650.251
430.08
0.71286
-387.426
385.241
-7.18759
443.524
8.37667
7.1857
-662.479
655.293
818.839
452.463
8.66834
440.871
9.26826
-450.139
32.0473
445.31
510.318
-517.105
6.78741
59.4724
435.079
17.7342
1.47925
47.3751
12.1275
676.277
-471.573
512.1
623.117
-8.95842
-799.351
-187.915
190.768
580.624
495.025
7.17755
-232.823
226.355
-167.026
390.569
-22.1746
587.144
-665.995
28.3657
-291.272
463.107
-3.7228
-20.612
-421.347
466.604
-163.53
-303.074
488.376
551.214
-28.7759
-26.2035
-696.477
571.476
-1.04992
-731.616
748.273
29.3762
-588.942
543.539
45.4033
170.907
-796.076
336.377
-755.084
813.081
-787.935
-474.369
517.218
633.232
812.707
-743.716
735.041
-669.991
6.12611
819.286
-805.678
-296.111
-40.7757
27.8418
418.886
-576.33
38.2124
782.421
-739.77
592.382
-16.5954
-575.787
517.607
370.536
-784.764
720.246
266.071
-266.76
760.943
15.6849
-4.57864
428.756
-424.178
-114.966
16.215
-540.115
-668.948
807.192
16.2054
746.257
-762.463
-932.741
932.741
101.688
-21.959
559.396
-52.3642
510.436
-458.072
-92.8489
398.971
-306.122
-16.3272
601.546
-28.2761
-645.544
689.986
611.22
-592.714
-18.5057
-19.8129
-560.774
15.7354
-496.42
521.62
-453.55
-16.3811
211.931
135.793
-362.09
450.067
-464.535
542.199
-529.299
-12.9002
168.74
-577.104
538.644
-5.54316
-647.221
10.348
636.873
288.392
-2.37574
-1.43447
512.593
-455.803
23.0186
459.774
-0.303214
-1.45518
475.03
-616.903
670.28
62.3766
663.047
-672.03
152.147
-671.944
-443.969
-292.268
633.322
-23.3795
182.777
53.5802
4.78769
-604.164
-8.93983
-161.323
180.876
-19.5538
484.958
-4.95952
-7.4414
-462.851
611.942
8.96941
-5.92604
0.686973
208.897
18.5837
-162.398
455.528
8.78272
597.022
-539.662
563.027
239.169
-235.698
-3.47114
-432.83
-93.8014
-510.878
-550.187
48.9336
-13.7554
451.232
-429.368
231.764
-4.03961
550.187
-194.312
207.427
-385.052
563.765
-178.714
779.193
16.4468
13.716
-44.5539
185.992
-164.856
-21.1364
615.556
-583.882
249.953
-425.206
9.78282
415.423
37.9568
368.867
-54.5536
832.789
36.5378
429.527
814.173
-772.352
-285.47
266.794
-427.284
644.811
33.9002
20.2955
438.57
-44.1565
487.137
-133.082
24.5249
579.926
-0.459372
16.4077
393.468
-71.5502
846.562
-524.336
-743.281
768.781
494.519
-674.043
728.872
-661.024
700.664
-390.949
730.827
-86.4762
435.798
496.986
-470.116
-3.16333
-757.157
805.153
-47.9961
-7.93718
196.574
-48.2189
229.607
-843.532
46.4928
558.027
-604.52
489.794
-757.547
824.564
-0.894709
464.915
439.649
-424.396
785.397
732.1
307.214
-24.1611
-796.859
29.5067
397.36
761.269
-699.093
398.903
-11.3159
30.1975
407.123
-355.044
-26.3345
381.378
-375.274
405.03
-332.058
-183.391
601.362
-663.773
-2.06669
41.5264
540.377
-511.591
-602.249
630.336
-28.0866
-704.554
34.6955
-580.842
568.099
12.743
-118.767
80.3598
-740.685
5.75175
614.552
-573.566
786.507
20.2246
-781.634
-392.48
412.886
-516.713
23.4984
714.303
414.006
-526.106
-530.223
545.521
8.70965
330.092
-642.235
24.199
395.741
822.249
-778.249
-117.825
397.168
-677.023
-150.702
-82.6863
65.8879
711.502
53.8163
674.823
-618.274
385.189
-365.886
-197.496
208.548
39.9781
-621.679
49.7545
571.925
-276.934
69.125
23.4429
-191.689
-373.356
401.766
427.994
-155.347
586.438
48.7951
612.053
766.817
-290.353
-2.16807
-778.786
19.5712
-356.416
376.682
801.25
-4.85677
427.406
-865.321
224.345
-6.09053
-218.254
579.222
-366.262
-140.658
986.545
308.237
-305.693
-554.411
578.551
-24.1405
771.621
-749.297
-33.3203
-606.726
656.219
-5.1206
11.695
694.925
-639.698
-650.01
436.274
-21.4161
-556.018
-584.28
45.1799
-223.45
233.308
721.043
531.387
-504.848
-343.556
366.922
-122.699
270.605
-421.778
-239.88
432.935
-193.055
561.256
-525.777
-426.611
-11.3258
-542.513
590.338
732.319
-689.05
627.5
25.2002
57.5546
373.604
818.887
-776.675
-687.366
-412.833
-21.8536
-794.878
16.1345
778.744
49.8439
46.1702
-620.317
627.502
248.841
-249.148
818.658
-63.3849
-328.977
-774.237
-528.754
27.3159
-21.867
-303.035
-509.177
3.22016
598.665
3.08041
-186.471
178.534
398.278
-376.576
509.462
221.473
-200.274
-21.1984
-41.5157
-401.615
424.088
-609.13
15.1935
-298.172
329.19
-813.967
-188.102
552.115
800.246
183.761
-291.724
12.1072
-591.304
205.67
-1.52518
597.112
22.6697
-429.169
409.662
-324.652
342.137
816.181
-312.848
336.148
-384.889
410.346
-532.912
555.859
-924.43
88.86
46.5455
-715.943
-471.094
16.5419
-22.5811
-303.38
5.15081
521.292
326.007
-288.169
-816.181
-600.556
-777.148
24.2662
752.882
0.98998
-758.81
308.983
-286.617
403.951
314.361
-288.89
-683.968
37.5619
646.406
3.33209
284.412
772.712
-751.419
-718.462
-413.945
6.06652
-634.5
14.2178
620.282
-3.32799
224.531
59.3906
-247.653
242.533
-402.693
6.28533
564.192
-672.892
720.303
-306.449
313.69
-394.566
8.22078
16.2054
-17.0144
-663.452
-273.588
296.557
25.9275
17.5373
659.255
-698.701
-28.9011
-188.145
-283.492
308.68
-522.275
548.143
670.549
-642.096
6.95748
-383.867
-745.205
-161.9
-122.818
-258.797
297.421
-279.153
303.89
471.438
-954.383
1.51901
-352.845
-651.091
2.79765
648.293
-322.694
345.799
15.278
167.724
250.489
487.455
-362.581
-557.032
28.3418
528.69
8.0227
-572.125
-282.066
318.943
295.866
-9.24045
593.933
64.2134
10.267
107.846
-580.573
-493.054
532.782
11.5096
-783.301
-476.821
145.812
735.916
-675.032
-475.797
603.19
13.7583
796.579
257.294
315.369
-297.579
320.122
-315.081
-757.793
705.4
-3.83456
784.947
-53.024
-196.724
5.85632
-372.358
841.435
-0.683502
-316.906
-7.01203
377.548
-10.1428
315.934
379.984
276.8
-434.508
-16.9469
250.749
-547.109
547.441
575.85
-262.046
286.237
-283.353
284.04
-356.765
376.162
-0.281726
-311.45
321.487
-18.9987
330.795
-267.743
-489.104
512.184
508.616
754.991
7.74367
-762.734
14.6773
472.778
-11.9686
-785.721
712.756
-699.25
-214.334
220.968
-6.5586
222.525
-215.966
-161.053
-282.664
443.717
249.606
822.372
632.539
11.7794
-38.5211
-0.872335
731.486
-6.32195
269.909
-264.95
613.207
-579.618
-713.183
8.08504
21.5893
262.234
267.362
10.468
-773.066
762.598
-76.0663
600.695
168.955
197.424
-858.034
-612.328
647.95
753.576
-0.884374
7.78333
-696.801
656.897
-1.09796
-63.0364
-247.657
266.031
823.947
-791.947
497.676
-601.91
104.234
653.635
678.416
-623.601
-846.797
217.767
-128.221
772.365
-9.18339
645.074
-72.1719
-540.116
60.9447
479.171
54.6045
517.853
620.952
-24.7585
241.864
-231.559
193.341
-172.12
-21.2207
8.99804
-747.254
738.256
-43.3503
303.89
-23.1901
250.551
-7.97351
-242.578
-73.2202
-246.402
-25.7751
299.082
492.196
10.3422
2.58312
-361.449
358.866
-0.718751
3.00651
-684.582
-23.4783
287.413
23.106
44.6257
623.846
-196.675
-461.854
482.262
163.11
15.6909
0.643312
206.179
-2.751
790.333
-774.59
221.654
695.298
-201.639
218.667
694.802
-196.091
168.755
27.3368
-13.4204
-614.321
270.74
-16.1744
-15.3104
272.206
12.1598
-267.538
624.058
-622.459
402.228
-157.848
-271.088
-249.606
-8.8096
255.911
-545.634
-648.384
17.3692
631.015
-11.8289
-646.986
607.588
39.3975
65.2187
-668.676
14.2997
421.385
-150.434
455.123
-46.2507
-136.525
-287.579
356.031
-511.841
-498.938
395.993
-183.04
-1.98621
348.498
-4.10572
510.275
-497.478
9.09515
-565.587
-17.4526
235.174
808.153
-797.411
-611.779
34.9365
459.988
456.224
-443.9
-356.517
0.933403
-668.739
27.0921
480.552
-458.776
-40.1388
0.81016
-18.9866
288.91
242.576
-16.742
-715.51
745.989
-783.566
-2.7743
786.34
312.07
-456.139
-2.72852
74.8505
552.617
820.117
-14.5735
-805.544
-187.156
-557.937
-270.246
472.933
-451.189
-563.408
16.3432
-480.41
-61.608
3.1564
625.986
625.157
-604.725
-548.992
589.597
-727.095
-817.343
57.4221
-504.857
447.434
669.451
-616.214
205.323
8.94293
323.076
789.431
77.1842
-866.615
-168.493
554.254
850.106
-61.8499
642.727
-589.566
-136.956
490.371
516.027
443.532
-422.632
696.155
-677.461
37.026
328.822
123.96
-147.999
-560.432
599.288
-252.043
805.503
544.42
-515.207
-363.529
172.634
-98.1713
-42.64
340.633
-58.0894
-561.659
-12.704
653.457
307.575
-298.866
748.681
-448.058
506.342
530.6
-170.315
763.336
95.6381
185.433
582.356
-409.46
-11.562
472.544
-12.584
-16.69
266.708
283.839
437.919
-436.986
-280.993
-174.354
446.388
-430.421
12.3065
-605.608
624.385
73.5382
-182.469
789.84
-528.7
562.887
-496.383
-21.562
189.603
-168.423
-21.179
245.582
-394.962
-444.526
-257.04
267.307
65.2583
-10.7793
-774.948
-598.206
586.602
11.6035
69.8635
698.092
-744.394
-20.0843
736.749
-729.052
19.1726
239.864
-330.686
504.81
-174.124
369.673
-339.485
16.6493
-592.474
645.655
-22.3489
-251.086
428.697
-177.611
405.209
-386.321
-591.332
564.668
-13.7328
40.1227
701.188
-661.125
80.6042
661.896
437.003
-420.752
-144.04
42.0746
-479.808
49.9981
429.81
34.4357
-820.71
14.3733
-583.943
520.77
-539.805
-180.277
547.897
-6.61926
229.814
-223.195
-64.0389
-590.641
-323.994
-147.066
-369.778
-541.99
33.9159
-571.697
211.648
52.6783
215.771
-384.081
-58.4603
445.038
-386.577
-279.197
710.022
79.6184
-621.521
-70.3084
267.726
-254.949
61.3788
-538.491
-658.617
629.756
-41.4969
578.124
725.157
-677.532
-209.594
-300.689
-480.9
493.351
50.3434
794.643
-537.833
-1.39454
-493.029
0.546898
492.483
5.16455
-373.574
387.38
-471.308
448.668
22.6392
182.396
246.226
-12.2834
775.921
-760.825
1.59076
-354.03
352.439
30.355
-502.792
481.983
-452.412
450.91
475.291
402.672
-380.823
-23.2672
-783.547
775.154
655.516
-14.9314
-397.524
5.81748
-167.257
-794.366
784.117
7.76685
-530.941
523.174
-217.384
2.88622
214.498
-53.8059
-1.35539
385.112
-7.7994
222.501
1.00965
239.21
535.778
847.059
-798.075
194.267
112.133
292.391
-439.348
463.064
-404.449
-781.597
133.418
-599.913
644.027
-23.1418
895.805
395.879
-174.495
3.70873
-21.954
-98.8316
203.778
-16.9164
263.42
277.39
-585.182
-484.261
-12.9725
249.833
-757.557
523.94
-179.531
-14.8944
855.159
758.773
-718.207
560.775
-1.385
-17.2803
720.695
-673.738
8.49038
242.041
391.063
-380.792
552.439
39.3554
-591.794
-223.584
214.075
328.303
-266.664
348.052
190.575
-169.49
-21.0846
658.165
-674.131
-1.37841
-541.203
584.891
182.469
621.568
462.97
588.469
-560.127
277.144
-432.864
280.002
-699.092
721.362
-10.8995
620.725
425.134
765.828
-50.8639
-625.531
-87.1719
-175.58
-698.223
708.565
-334.659
460.84
-471.14
31.2135
605.127
-636.34
-741.798
748.657
-753.1
50.132
-3.01256
-556.816
2.67658
292.076
-284.362
280.323
-540.652
559.901
-174.358
-680.924
717.578
-797.833
-228.665
17.0108
-551.242
579.529
-330.254
-773.437
805.849
-32.2402
-382.718
724.654
419.611
141.99
-29.6756
-336.935
366.611
-471.689
-624.344
655.012
-515.823
-338.198
278.135
32.0082
-542.201
489.078
-472.328
-866.417
278.199
209.149
0.893151
-467.066
234.688
0.781827
-13.2809
-587.395
629.22
-387.608
438.402
-892.168
670.569
-640.979
-407.66
194.603
-186.416
-8.18663
84.3803
-46.8832
-435.618
471.358
350.746
407.705
-171.565
162.961
8.60468
448.039
-48.151
0.500839
-308.15
-819.271
9.91613
24.5648
238.914
282.837
227.229
-454.06
491.377
751.725
-763.867
-669.487
668.109
369.103
-114.708
-600.862
628.163
-633.576
576.952
-556.718
786.93
-801.461
91.0514
140.876
-212.731
-8.59711
295.374
-690.606
198.782
-15.5691
567.003
21.1316
-588.135
747.315
-716.005
552.712
37.5163
-590.228
-872.825
873.727
-0.90182
193.45
-415.631
18.8742
-231.183
-128.585
432.276
215.396
-509.703
-760.78
-664.538
715.253
68.3266
766.465
-737.982
736.315
3.40743
587.975
-591.383
434.823
-373.277
375.29
-369.775
604.761
-626.388
702.074
27.5949
-216.344
702.523
-188.489
-425.226
657.187
-670.339
360.821
-363.369
-667.55
662.839
119.651
-208.504
88.8527
549.517
379.915
-560.192
-267.774
257.437
10.3368
-563.03
-636.967
-403.219
429.187
-5.18242
-785.592
-13.8773
190.657
-169.722
-20.9346
297.528
85.3487
7.82626
361.847
561.384
-581.763
-327.213
310.216
16.9969
-489.238
512.397
-627.529
639.434
12.1503
-249.473
237.323
319.229
551.65
314.159
9.91465
-10.605
248.799
-406.795
-429.517
274.013
291.806
547.29
-238.69
-6.51377
12.9334
-175.852
171.564
4.28802
483.503
461.322
-447.224
92.5931
383.408
-413.573
81.259
-533.977
452.718
202.313
704.352
431
-497.989
26.0057
-340.715
-71.4601
-238.308
977.117
45.0524
618.646
6.54315
-505.539
553.084
515.823
693.216
-709.168
18.5981
-348.879
-544.769
578.753
-382.803
551.396
34.2391
-579.008
5.7677
7.2861
-723.854
2.37388
-240.174
438.023
-164.686
-273.338
769.15
-365.956
-1.72458
367.68
-70.5762
568.253
687.201
27.9716
-715.173
-812.642
-497.671
535.08
-14.8313
-394.108
247.553
-369.189
546.274
767.956
-833.47
27.3111
563.444
-550.028
-9.80407
181.106
-170.76
-10.3457
598.733
-191.028
558.542
-40.4582
-220.114
424.35
-612.452
589.37
86.0319
101.847
-187.879
599.92
-570.88
24.5061
-33.4371
-666.563
2.42264
-508.136
8.98352
-707.206
-290.567
-157.422
447.989
-257.526
269.912
-17.4058
778.668
-752.022
-32.7672
54.0663
600.556
274.364
333.912
382.941
264.992
-470.3
-10.7079
162.152
514.484
-497.812
278.968
-308.468
291.652
-294.028
303.757
35.4911
680.627
-242.225
-779.613
-20.5593
590.924
326.622
-325.978
-575.186
43.3223
530.705
-495.199
-35.6378
-995.276
460.427
534.85
606.27
771.169
-21.1213
727.652
195.051
-9.34361
8.95446
-383.633
-814.767
822.511
224.546
-249.01
64.2716
-855.641
-461.134
480.012
-764.068
-763.056
569.545
617.585
-580.936
-298.106
-158.222
-31.0204
-25.2284
-443.431
-329.76
182.93
-211.831
538.737
-506.898
-771.169
-10.0703
-2.22003
-295.297
408.771
-493.437
-37.0699
304.206
37.1649
608.557
-188.947
144.724
-19.0567
-238.724
-670.282
-24.3419
62.9423
-662.855
-17.9186
314.375
-477.905
24.187
-553.855
405.287
657.581
-629.61
32.3381
-716.677
684.339
332.585
-496.252
105.328
-383.846
408.041
206.349
-40.3011
-166.048
5.95464
218.39
4.65322
389.969
470.56
668.552
298.596
-310.158
-200.301
624.651
-188.551
568.466
7.49203
-6.68356
4.71521
574.135
-264.672
253.871
-2.25477
72.5125
-524.217
347.16
-579.095
-172.566
72.7209
414.32
-592.534
10.5509
226.352
222.643
-220.771
511.541
-614.845
180.372
9.87738
682.695
-286.808
-475.3
314.275
561.531
-527.627
-487.909
267.168
-419.252
698.574
130.033
677.471
442.932
-285.985
-156.947
-983.532
-108.524
644.426
-604.185
351.756
-495.361
347.869
8.7266
209.941
477.518
1.87769
324.744
-792.749
-542.608
363.768
-430.943
186.709
-394.302
326.021
-388.53
-184.83
-274.218
459.047
54.5572
677.771
-656.487
673.89
280.685
289.886
-330.853
-458.484
365.635
15.256
-361.104
24.4302
-379.474
-49.7215
607.748
369.537
-548.084
-500.182
-495.094
-285.012
-152.807
437.819
597.619
-584.147
540.215
-161.649
912.933
-440.3
46.4019
372.637
648.37
32.7286
-691.467
883.963
-43.715
-464.582
484.253
182.739
385.411
65.1538
-46.2562
-232.677
243.063
-214.608
-286.921
55.0667
231.854
270.72
-793.767
242.862
-242.143
439.507
-639.808
-299.942
297.213
265.717
-289.533
857.846
-336.205
2.1741
-789.395
-219.607
-11.576
-441.448
-25.709
48.291
615.286
359.008
-372.256
30.9201
-20.1045
254.192
34.8275
-586.069
-309.782
289.162
25.3806
-171.712
-280.128
451.84
-23.7097
-193.861
-462.293
-491.964
982.557
210.745
305.598
-30.4151
783.297
272.756
-274.191
-19.1767
249.95
-514.976
543.099
397.416
-585.967
696.148
-735.413
756.663
570.32
-553.583
540.796
27.9602
-67.2324
545.328
-175.791
579.065
-519.804
777.595
55.1937
64.2135
292.789
-325.265
517.477
-515.168
529.061
-10.9064
52.5068
-281.722
-153.452
435.174
229.617
358.961
186.392
496.687
314.461
9.3025
-10.88
369.888
-55.9357
711.082
722.881
-188.159
-565.937
-111.893
-162.033
-18.7666
-456.972
229.043
-190.197
5.46009
184.737
-8.90453
-281.306
-653.753
29.3153
-284.56
954.233
-370.498
-21.9366
-30.5892
-69.6255
-290.265
443.008
-152.742
448.022
521.372
236.101
-258.117
836.361
-831.134
23.3666
-472.014
-288.781
55.1621
-813.972
-528.271
392.106
136.165
-251.723
232.655
193.895
-207.542
-193.589
190.806
-523.81
456.798
-435.338
207.938
7.44332
189.098
-200.855
697.541
12.9548
733.682
-719.939
20.1477
-389.704
-518.599
787.083
6.2376
-209.32
-215.619
13.7957
201.823
528.321
-499.195
196.727
-109.879
-86.8479
741.726
-637.121
678.139
-685.062
7.7433
-327.667
-507.548
-436.522
-584.728
0.180448
265.859
-290.502
637.36
-632.658
911.957
-780.127
-359.616
348.92
7.54503
174.654
-414.534
-562.555
221.502
-251.866
218.624
-243.859
369.205
-286.803
-20.144
306.947
-88.4828
-763.013
-232.655
216.915
220.097
8.6824
-235.52
215.396
609.814
-615.873
-278.626
-149.934
428.56
-234.282
214.997
648.505
165.3
-184.695
-20.2476
299.571
26.7889
620.678
110.11
-206.592
-215.492
205.945
379.416
-230.435
-8.00575
248.109
-241.827
-237.56
230.92
224.673
-240.699
361.856
-498.812
397.279
-436.202
297.555
-70.9314
-226.624
654.682
250.117
409.602
-226.095
-479.876
24.1268
208.343
-227.205
283.105
-310.338
158.983
-135.118
233.359
-239.732
-5.95019
23.9061
243.837
-166.157
-397.64
-149.721
119.403
-253.141
239.529
62.5686
412.49
31.1721
204.68
-224.677
232.692
-231.666
597.683
494.186
623.518
-19.9476
-309.78
295.045
-450.257
-18.1583
468.415
-250.604
-432.859
-442.118
467.228
-9.0538
183.557
-388.452
270.627
435.682
-414.57
-213.735
254.137
-224.307
-448.241
321.022
242.7
367.461
-370.793
1.88934
225.9
52.7759
316.586
2.64319
-437.069
-236.645
-225.071
2.42199
-640.652
4.81219
635.84
500
289.907
477.862
846.402
-782.131
5.17685
-791.738
-220.825
-248.364
326.445
-16.4981
-26.7443
-12.6152
-21.9169
-17.7227
13.5663
66.9914
23.9604
-28.3139
-15.6814
15.3483
11.9276
-7.38412
18.3156
23.2489
6.1984
-31.034
-5.7326
-1.81826
0.146665
-15.5103
-278.763
422.913
-144.15
30.4298
735.438
-689.283
233.605
311.312
-472.365
-28.7942
-593.509
270.773
713.116
217.536
-223.242
-60.663
-229.406
215.764
187.136
-167.188
-19.9479
34.6201
202.675
-282.467
278.115
-730.065
272.102
-742.104
-309.993
198.349
-189.357
573.576
375.014
-247.85
-434.281
-185.574
-212.683
377.86
39.1
-413.03
424.561
282.395
-273.579
-616.097
50.9351
565.162
0.18126
263.396
72.041
-618.553
247.938
-493.627
43.3702
615.655
-617.345
667.486
233.297
-778.125
324.089
-351.306
375.353
-362.359
-230.101
218.639
151.446
243.296
-262.827
-82.4689
-483.013
497.923
226.483
-223.492
-197.416
-6.58707
592.005
803.385
79.5015
608.404
-259.27
281.558
-235.161
-303.708
-193.588
182.072
5.62311
20.8491
299.364
490.604
-174.84
321.263
-332.169
222.296
-215.861
24.6856
-397.785
422.757
177.24
493.396
82.4541
-283.734
295.39
5.45572
160.644
-141.04
-19.6047
160.269
-14.329
706.027
-769.412
224.865
-216.691
-565.756
291.535
-309.169
-646.364
679.5
-844.618
849.325
-454.661
-761.974
-794.72
729.78
1.72806
29.8452
306.462
296.037
-470.31
-412.994
228.164
-302.078
-15.3703
99.5555
-598.647
-255.875
11.549
-540.848
545.267
-541.363
500.001
-997.041
-196.586
185.063
20.2136
313.203
676.564
378.005
-356.343
288.34
140.357
-73.3001
-652.629
659.09
-510.691
-38.0767
144.755
556.538
6.28594
-245.172
238.886
637.007
-620.667
-436.744
313.044
-317.571
388.512
375.598
-121.862
-709.418
47.7093
752.085
-760.492
-36.9852
771.524
-709.148
260.766
57.6863
602.433
773.252
-87.5635
-91.4195
178.983
311.765
-18.9759
-48.2265
-465.183
486.317
-445.93
185.455
-166.211
-19.2441
217.261
-231.324
63.5433
252.248
192.791
185.346
318.169
-429.06
324.569
3.96716
295.12
-305.009
103.324
90.6853
-194.009
-831.833
-229.161
-21.3584
-700.739
-224.722
622.257
336.076
-317.795
635.88
-354.739
-37.1428
-290.348
282.222
-429.831
304.614
507.955
394.775
-535.355
491.728
43.6277
616.351
-597.323
77.9833
115.391
238.264
-4.37281
-184.99
741.673
372.228
-358.949
387.974
420.306
-22.8527
-798.475
-327.368
-512.119
-431.57
-514.474
-702.16
449.093
146.03
368.31
-29.0984
785.495
210.66
-641.013
-149.048
-358.305
377.833
-532.361
-616.137
246.392
-21.1465
-776.884
269.564
215.786
380.177
-595.962
178.585
-184.382
2.76872
301.217
187.57
-168.768
-18.8013
-644.241
367.835
126.236
-222.942
5.82606
217.116
32.0422
573.728
150.54
427.977
-399.051
-286.231
-527.161
217.702
308.533
18.1869
166.099
35.2598
-11.8857
278.482
5.93599
-784.836
733.811
-19.2084
-157.486
-94.7628
-150.941
506.33
511.49
193.234
-201.831
768.622
-782.931
-387.456
-438.09
452.334
-141.163
138.265
5.11814
784.932
226.605
-18.6671
565.756
4.66652
-353.418
-220.025
-4.9532
825.42
-71.1822
-95.2678
-84.0537
179.322
184.225
-165.853
-18.3721
495.131
158.459
15.1634
302.825
3.63787
561.522
-539.905
-734.9
-356.22
-545.166
580.806
841.883
186.427
172.813
7.90945
615.502
-644.301
28.7986
-47.0214
-11.5017
274.898
1.74572
316.199
-10.1986
840.174
-216.91
801.379
276.666
16.8947
-46.0248
473.316
-36.947
565.637
-293.309
-565.46
-692.884
767.408
228.555
-15.1916
46.771
-659.814
613.043
-49.9655
-764.634
762.297
-20.8642
-221.284
242.148
-81.8296
240.678
-432.342
67.8095
-219.558
-205.122
56.6167
-384.308
-312.861
317.698
-40.9824
650.439
650.296
-661.282
180.26
-431.346
-697.471
-14.625
-780.252
261.84
-408.657
283.511
-270.511
-685.872
48.8386
632.598
174.192
-156.312
-17.88
-53.7146
821.671
334.243
-478.229
865.14
-51.3218
2.1995
31.5831
-138.379
12.567
882.787
-181.122
423.572
-178.763
625.603
-301.282
220.969
-157.585
-540.345
582.212
778.284
-552.559
34.991
14.7303
771.777
276.498
-519.19
384.315
-181.2
5.84285
175.357
293.947
-270.071
4.82151
444.943
-433.039
320.436
-830.639
-700.829
764.008
-12.9132
633.196
-237.282
246.786
41.1528
-229.478
-308.986
315.425
47.9427
631.264
261.543
-251.206
429.274
-378.213
-51.061
-623.006
17.397
51.5004
586.541
-199.065
-165.334
180.114
21.465
283.269
206.112
35.7517
488.844
295.013
1.02361
-410.661
-201.812
-108.664
-71.1816
179.846
51.6789
189.944
-140.725
-607.812
286.729
-443.743
-458.984
-527.042
574.46
447.733
-449.208
825.07
-191.416
29.8977
321.876
-473.894
-8.64154
639.657
431.485
-484.556
533.914
207.811
-197.506
234.252
-16.2073
-91.4906
182.155
242.561
-30.5583
625.438
-53.5131
-650.764
639.108
331.71
-328.161
-370.898
-181.582
552.48
361.76
-207.362
639.489
16.5538
305.348
-321.902
-559.716
-15.0256
17.0788
-401.99
309.982
-221.798
-241.79
-23.6048
13.3837
-776.118
-22.7022
572.93
-27.8671
-151.429
168.343
-16.9137
-704.696
65.5634
272.418
-427.447
-246.902
-20.6359
395.011
207.04
535.093
-169.677
739.077
-603.452
315.296
-500.348
-6.80448
33.5871
26.3853
-785.216
771.635
-259.061
401.001
-381.323
-509.637
152.196
256.999
329.164
-494.208
-457.674
-313.273
344.627
997.21
231.86
225.259
-166.139
-806.868
562.154
-642.731
80.5766
-204.846
253.468
-357.185
349.808
-418.412
10.2529
-711.416
-470.537
-704.532
-183.016
-547.629
760.724
-146.742
14.037
-301.328
268.883
292.829
-59.2241
-2.42872
310.501
-8.86425
-401.06
-9.04796
248.257
-513.424
367.769
421.559
140.179
364.378
-79.4652
-105.672
185.137
-478.471
330.561
848.441
-6.93326
310.05
-331.917
2.42993
11.6258
658.029
-635.804
472.459
-965.509
-58.6413
6.39102
-468.575
462.184
246.532
-0.139039
226.452
-88.3992
-97.7756
186.175
-27.0627
-639.85
666.913
12.643
-1.83117
-100.552
-86.6353
187.187
-286.513
-159.938
-325.903
-665.336
-701.583
303.533
-97.3622
-90.8065
188.169
-617.588
-142.186
-180.511
424.704
-418.148
683.266
527.53
751.568
-2.91149
292.258
-315.32
171.247
-274.149
-241.729
-116.054
-73.0788
189.132
439.626
-240.374
-367.866
722.867
-24.7747
-733.308
-787.157
261.636
-420.405
-640.034
49.393
303.795
22.212
-106.471
-83.5873
190.058
299.049
-35.0746
585.397
-550.322
-28.0531
-22.8934
186.31
315.733
-680.589
56.1639
-33.7366
9.4512
227.33
-236.781
-106.768
-84.1872
190.955
656.653
368.779
-331.775
16.6285
315.147
167.965
-15.4045
238.505
750.684
754.866
172.052
-132.234
-59.5654
191.8
682.168
465.168
-127.02
-338.148
265.734
-419.298
-754.866
-725.223
-424.609
-506.893
-110.606
-81.9935
192.6
318.102
-338.482
317.711
346.354
-241.365
-430.85
576.492
806.402
-207.865
12.2888
271.566
-299.852
-211.542
-830.994
3.79303
217.175
913.206
-48.0828
-2.26703
566.936
543.512
-586.621
43.109
582.177
776.891
3.96375
-593.316
-180.935
-361.597
55.4748
-535.258
-651.242
286.513
204.503
-20.7412
328.476
-8.69839
-195.14
81.6054
367.836
411.496
-13.7615
462.43
-1.01519
-99.5326
-93.8313
193.364
667.467
-789.573
-145.11
-269.216
-300.042
273.821
208.571
-152.414
-187.62
-299.678
-741.076
534.53
-772.838
-127.382
-515.653
186.104
-599.177
413.073
725.983
114.454
345.633
32.6243
-19.7518
545.855
-547.25
-225.107
231.912
5.78097
-350.835
315.565
35.2704
17.4822
182.768
-549.03
538.907
-457.648
-277.969
277.666
52.1527
-205.302
208.188
292.262
38.8161
287.156
-310.514
368.7
-536.231
-619.39
-765.106
-861.205
-141.284
178.676
-164.83
-13.8464
-40.0111
-551.783
4.08708
-317.518
-291.559
270.153
-424.453
-323.748
325.494
662.623
1.72343
-21.2716
-555.378
-240.057
-435.271
-108.741
-85.3364
194.077
-28.0511
21.7167
-12.9574
-497.419
340.344
61.8519
7.39666
222.418
-250.616
238.469
9.32404
180.814
-190.138
449.942
213.375
-11.407
-201.968
163.783
-442.315
278.532
410.136
-597.292
-633.241
37.205
-31.5794
-206.635
197.844
-226.838
208.045
-89.6772
-294.054
-231.187
213.321
-170.946
202.314
181.376
-5.1741
-178.294
-224.292
206
-141.035
132.143
-40.4923
-4.67924
-6.76332
-0.370991
223.808
12.6191
-236.427
606.766
-585.634
199.662
-286.767
319.837
-165.648
219.729
9.38297
185.22
-16.1673
268.992
180.803
1.97357
194.873
-91.5495
887.263
-474.959
313.357
287.047
-6.79493
235.35
261.788
-411.023
225.541
-236.909
44.5467
48.6728
396.562
-4.0486
699.376
-20.9015
290.695
-304.45
-54.5192
9.74029
300.249
-742.221
-70.5003
388.27
-652.64
645.128
307.602
-243.83
238.1
-551.412
-322.81
-440.878
157.465
283.414
54.1572
807.167
-188.792
3.35886
185.434
-379.142
43.9482
335.194
-5.67757
-1.25628
267.399
169.472
3.27262
311.525
-155.522
170.446
-14.9243
222.059
-230.656
-128.823
-229.138
213.025
-39.2709
43.9126
278.796
-296.444
190.846
499.518
-255.933
-649.347
-219.591
220.485
19.0871
-470.546
176.247
-168.892
-248.404
55.6021
235.781
-238.418
390.652
-344.675
4.49269
-160.737
-345.714
-307.114
291.487
193.657
-20.8438
-190.527
177.01
-9.02293
164.355
-450.34
187.69
420.868
-240.633
240.878
-545.381
174.843
-742.297
757.009
761.299
614.161
-757.652
-915.412
355.51
-524.913
122.46
-302.908
509.734
-299.78
326.887
230.423
-39.1229
-609.63
-178.41
176.424
-645.788
-160.446
351.006
0.750255
217.988
-214.234
-367.951
379.399
342.501
-1.86791
-296.919
340.942
22.1514
-161.69
151.278
319.612
382.783
-562.125
39.5104
500.361
68.9205
-73.3549
164.406
349.026
-99.0885
-96.9021
195.991
733.325
197.839
-126.519
-515.447
826.687
-1.10118
-211.313
-44.5495
219.125
-212.557
345.493
44.8475
-223.435
222.182
1.25288
453.21
-285.54
17.901
-184.469
-202.316
582.373
-497.298
354.728
536.158
-98.2165
-437.941
-771.949
764.756
281.805
64.4316
-224.905
782.458
240.364
-228.76
-149.312
217.868
-304.987
-16.7334
-646.122
-171.399
1.46756
-239.294
237.827
-240.092
-17.2407
257.332
640.631
68.5278
382.669
-610.318
-9.6699
589.855
610.242
-591.07
551.016
27.1083
328.638
-473.582
-320.869
310.726
-95.5294
2.21308
224.311
-605.242
180.154
-318.419
370.798
-301.025
-667.638
2.10287
-228.388
240.818
-208.921
589.25
47.1745
-224.691
196.067
-39.0881
-154.723
-482.388
-403.795
1021.57
122.866
-372.916
-524.878
-6.43958
302.429
-246.494
266.385
356.321
515.812
-403.695
755.429
-771.923
-722.68
-277.309
-869.326
832.35
427.064
241.024
221.254
-70.1178
-12.0619
-722.68
377.09
-257.661
860.964
-808.811
692.949
-205.772
200.818
-169.003
-228.209
-463.209
170.44
-160.756
50.833
306.869
589.661
-556.074
616.385
-8.79685
600.857
223.829
-0.892657
-244.673
289.855
-302.439
-308.399
-296.652
-668.311
352.784
-676.339
49.6092
626.73
-117.518
358.799
-311.727
-146.392
-625.18
693.507
275.649
-298.665
122.672
244.183
-366.855
-532.775
168.275
-394.644
226.368
701.168
333.485
-356.366
-249.724
-32.6345
634.958
-164.8
322.81
295.933
190.944
-573.181
382.237
3.47499
439.22
288.507
27.125
201.303
397.43
51.6009
610.295
-358.524
364.683
-6.15887
544.454
332.385
-459.406
228.656
-16.725
-658.177
213.63
288.177
467.113
-285.371
-793.454
-889.873
-280.173
-15.2421
218.324
-761.558
557.954
110.646
358.086
109.108
277.045
-290.778
666.76
-144.934
-473.489
328.524
8.89942
-58.4309
490.536
53.0388
-223.124
-134.955
288.74
16.0026
33.0131
-63.4972
104.451
92.2755
-660.301
26.1002
-747.769
132.737
481.262
24.779
387.59
640.928
-413.319
199.336
-649.198
666.595
-290.24
-152.074
-17.8949
769.179
-187.099
258.317
224.339
-237.211
314.874
-461.254
245.118
-6.61302
-177.684
-34.1353
-160.684
439.363
-139.433
549.751
5.4438
321.001
-288.256
-152.622
384.17
-213.339
-257.105
-395.827
3.34669
-649.342
581.253
-569.364
-182.822
655.293
3.97313
-659.266
445.305
-389.784
190.984
-429.105
269.336
669.892
-632.968
679.739
-545.982
-643.458
454.511
107.687
680.175
-268.069
-570.7
292.646
-875.085
9.76337
-58.0815
636.271
-15.7117
360.485
-385.402
293.661
-219.621
-550.741
-20.7008
-718.052
-583.574
-654.448
726.545
-733.198
529.417
649.936
-649.901
-669.177
288.282
582.425
-159.003
367.651
-11.4371
565.24
-268.264
-156.713
-394.152
236.961
595.8
20.5845
-85.9862
39.2436
205.614
447.034
-652.649
656.466
588.512
-348.821
-262.595
-694.839
-157.285
22.4068
-426.063
-165.354
243.481
-226.508
-315.201
41.8447
273.356
-37.487
-541.192
-661.323
-7.0743
133.19
-695.86
379.241
62.1755
-24.8322
422.111
-23.213
29.9169
-113.643
-225.463
70.0928
-792.115
200.012
-182.53
-554.278
-771.355
-35.4877
-88.9362
-44.6549
-17.8423
4.26386
82.0627
-129.681
-170.192
-221.698
-338.52
-14.5151
206.179
2.23038
-13.6979
-140.304
241.97
-436.516
-606.235
-323.469
-5.3356
-24.6102
-14.2716
712.105
-20.9608
-9.29481
-605.799
403.483
251.624
-9.49195
-320.597
-535.629
175.856
-189.868
-184.932
20.0896
-294.324
-766.972
831.677
-563.94
225.108
338.832
204.663
-17.1476
634.316
-534.652
364.861
-513.01
97.0844
-458.745
-63.2326
629.234
208.629
-5.35811
-171.942
-561.96
-197.761
183.116
-12.0191
689.921
592.01
-3.55029
-13.1077
-30.9839
-413.583
-705.551
606.607
23.3411
3.3225
-209.58
235.948
-255.005
0.00693153
-1.63144
203.731
-595.883
646.461
-182.373
240.61
-267.199
-24.4587
-183.487
2.2868
-11.5617
-349.953
-8.70567
494.068
-41.8128
139.433
-0.213953
-17.0576
271.577
-383.851
-296.738
-465.332
-640.725
280.483
4.96959
-306.695
594.368
-480.474
201.442
-16.3809
1.23377
-286.275
283.882
394.27
-6.75164
-276.711
289.243
778.24
-776.04
532.419
-530.865
-243.897
264.419
-275.546
-641.838
125.636
775.659
-137.18
602.66
683.426
-791.827
-258.835
220.204
-3.68075
235.707
-790.534
-3.23356
-734.315
60.1553
387.552
-396.563
-14.8529
159.882
18.8529
412.735
19.4618
595.394
-191.893
188.458
6.73985
-233.666
-264.976
-579.291
844.267
459.491
337.485
296.18
545.982
-89.244
485.057
-679.675
163.121
21.7844
-10.5725
142.446
-191.708
-122.586
314.295
603.312
-579.517
-97.0334
-99.5193
196.553
212.284
318.29
-316.388
162.926
26.9788
49.4468
126.8
-25.0782
-352.833
410.255
-220.894
240.437
-12.1486
64.2608
749.173
-337.617
-186.193
499.995
-295.088
-513.722
187.65
494.869
25.4605
-168.659
-590.748
230.691
-323.049
664.808
727.493
267.199
-13.0125
227.51
-235.873
3.26411
499.995
550.637
-79.5029
-5.71297
-280.562
646.757
30.0916
498.586
516.009
-646.944
694.85
-751.825
181.238
-64.9575
-66.3894
-272.464
269.554
135.523
153.982
-26.6239
245.894
-219.27
185.562
-322.542
-616.709
700.713
-414.944
165.707
-60.3756
-105.331
699.147
553.154
723.919
-696.324
-641.928
737.214
107.74
387.108
437.948
-825.056
163.017
-768.056
755.728
-165.337
-603.281
-2.9305
-680.828
500.005
-228.21
413.555
843.925
-779.73
727.08
358.82
-185.845
22.3355
-7.92321
-188.47
6.63551
240.241
-373.323
224.616
179.199
500.005
428.719
418.055
372.116
154.816
-470.401
53.7542
-142.123
-165.512
568.154
-677.313
32.4656
-653.987
20.3419
-176.85
164.148
-63.5438
-639.566
-210.195
-67.0887
271.034
777.225
23.1724
-618.737
464.156
154.581
38.2496
340.944
-9.23434
260.748
-126.963
169.756
-725.095
85.9853
196.72
-213.428
98.9856
114.443
-155.387
-154.375
-443.333
449.724
648.588
853.404
491.318
-445.915
-175.123
180.583
73.9248
290.466
320.677
678.198
19.3954
-585.706
-521.008
142.43
203.795
-462.658
340.479
-501.964
-582.995
21.3359
-765.326
701.782
-658.19
56.4902
601.7
393.731
-49.0979
647.266
-419.603
278.643
-588.002
-76.7027
73.7513
-672.831
239.477
314.594
-35.2011
-279.393
-240.718
-34.2385
-608.143
590.151
185.845
-72.1741
-632.162
228.618
-696.265
695.958
214.246
-1.24613
490.284
436.201
41.619
612.016
-93.4857
-448.595
200.766
-8.61872
-273.711
-527.623
1.65575
191.242
-192.898
265.957
-285.133
-175.691
-422.049
18.3537
-610.975
-648.531
710.161
350.041
233.393
-293.206
-234.286
211.97
-198.781
-305.387
304.899
539.644
-323.858
604.28
667.988
-686.968
19.071
29.4854
-4.95738
-398.352
404.836
3.97332
180.763
-275.821
84.1127
-19.6094
175.659
603.396
1.74398
38.8159
-724.193
-797.583
5.84448
-22.1302
650.293
-791.345
-23.4319
-213.843
623.407
175.352
449.564
-271.706
14.6657
409.618
216.216
-739.341
202.259
252.084
-285.801
238.67
344.472
100.833
-623.407
-210.809
211.375
-254.923
-667.096
34.6815
227.779
97.6131
649.568
-659.179
558.549
-51.6684
-735.5
432.054
303.446
-637.958
212.064
579.435
40.9488
103.907
-808.655
124.479
-577.392
-369.248
-293.433
-237.415
118.523
102.446
21.4099
142.806
155.212
497.845
-538.339
-23.1106
36.8351
641.173
28.8786
218.462
-147.94
-250.323
-144.639
-155.436
-200.403
697.09
-30.5518
-584.694
411.771
-779.908
-140.264
107.964
571.398
-46.7928
-707.521
-262.765
353.122
-21.8332
481.476
-13.3115
-622.043
77.197
787.159
518.517
-230.759
-777.031
-92.2951
-549.885
-486.51
44.5927
-236.619
-576.585
-710.955
-18.7918
401.203
-568.722
-379.707
373.708
-574.33
346.12
-763.844
-131.009
-384.15
515.159
14.1036
635.281
388.976
-879.373
490.396
-6.79952
443.624
231.674
-37.1971
729.445
361.115
-430.824
837.923
395.973
599.236
561.26
499.718
-278.358
206.879
-616.728
409.849
-246.253
-425.936
172.127
253.809
49.316
-379.005
-314.078
12.7196
17.9132
215.966
-164.593
-51.3734
-439.406
606.284
618.34
-339.617
663.082
100.825
-788.459
152.863
12.8441
518.551
538.649
237.173
-463.336
35.614
-403.565
-533.534
735.082
299.828
-223.164
-172.894
-351.82
-138.999
138.999
441.214
-677.039
314.166
-171.36
48.8266
-187.826
627.903
-287.448
777.893
778.752
-768.836
-284.925
332.01
584.585
-398.481
182.78
-592.24
719.906
63.0333
171.713
3.84029
-354.676
-214.962
-173.017
435.95
-534.318
149.837
-353.451
-203.485
-163.403
-391.694
-37.7332
-426.548
-399.078
-91.4649
-105.607
197.072
238.261
-234.186
605.231
-588.22
515.721
8.07939
33.3299
-618.993
-23.1027
896.708
-123.288
-240.885
375.78
-397.821
13.6246
-356.721
-622.13
-129.829
-182.831
-302.825
-268.847
-483.557
828.592
-10.062
-294.947
-509.462
32.8395
440.272
320.696
110.665
-481.155
-200.111
-858.286
397.647
12.0968
-651.533
-1.47307
157.197
153.866
-34.7182
-373.431
250.612
615.893
-241.447
-11.6931
266.199
-241.634
15.457
-712.686
487.601
308.551
-178.682
283.553
3.76336
575.161
-235.012
-491.654
511.049
-142.491
542.008
-213.4
13.0826
270.187
-562.374
8.79056
75.522
458.948
-533.463
-323.758
327.467
698.321
-8.45422
241.751
344.171
-738.934
-132.645
509.056
403.877
-639.547
184.252
610.587
-29.2288
288.659
-303.901
278.358
730.756
738.395
-775.105
-75.3819
-36.8032
175.149
-93.6093
162.082
-396.744
-673.052
333.666
153.22
-158.809
412.784
-256.636
-492.359
166.822
14.1609
-786.319
44.2048
161.512
-636.011
373.783
-356.143
392.54
-4.49288
-308.002
614.164
848.429
-74.326
-526.007
-322.534
-19.9777
-364.829
384.807
571.59
11.1878
615.226
-372.98
8.33929
-18.7538
-116.477
254.486
-138.009
-102.075
190.201
-329.19
319.128
628.392
822.232
222.134
-457.383
700.75
473.607
546.177
328.937
175.907
375.489
602.493
-619.468
-1.8544
-6.25343
-808.97
-14.1025
-509.044
-602.493
540.619
439.26
-139.125
121.509
-589.123
181.526
-242.595
425.946
-409.34
613.069
-222.219
224.45
-662.144
-101.271
-419.636
520.907
162.231
-192.718
154.547
-937.222
62.137
-13.6911
299.953
151.888
154.12
-229.357
-28.7598
-692.837
-317.348
-147.24
-327.078
-188.575
-383.15
-12.0642
732.537
267.463
-732.048
-267.963
-728.124
806.689
-811.565
255.679
5.86335
-125.086
150.897
-469.867
-66.2803
355.456
-289.176
10.5677
654.007
612.412
467.754
40.6725
-182.589
161.931
-748.49
-492.854
-642.932
217.873
464.926
-164.974
497.067
-204.748
598.493
-53.2219
443.066
543.743
41.609
284.374
-246.384
49.6527
-626.237
271.917
-285.005
131.443
358.347
604.944
213.665
-25.0694
-293.35
-612.025
614.974
-18.1444
19.0752
403.691
47.9973
-197.692
715.619
-47.6308
9.10847
22.6643
851.062
716.056
179.748
461.863
-726.845
-257.61
14.8598
102.185
537.224
-24.6979
573.833
397.705
224.951
-735.69
567.031
261.797
-509.678
196.929
-314.448
-25.2055
312.452
119.824
635.657
284.569
291.636
-576.206
-406.008
-420.411
-390.898
370.92
-294.846
-436.077
-183.68
20.9326
743.076
-310.705
50.5912
260.113
63.1075
-295.427
294.708
-478.022
431.766
-145.71
-25.2403
-658.154
308.406
-71.5077
-236.899
-736.985
-328.388
302.202
-447.739
-91.4573
-618.161
33.0771
778.625
-282.948
665.72
-349.569
565.171
91.5229
-220.372
-16.4089
-648.86
-577.902
610.355
-576.833
542.671
-178.711
-27.333
178.088
-183.262
-278.004
266.678
479.038
-21.0024
-142.129
186.269
-91.9357
-418.742
244.362
-367.061
-177.576
605.949
152.434
6.62825
-159.062
-235.751
223.608
0.428885
-45.1749
242.595
-218.165
415.207
-473.668
-231.667
-138.152
-169.294
643.981
-236.325
-536.589
310.837
24.43
460.656
-726.079
-98.2416
-240.581
-172.738
613.827
703.759
-186.107
-246.163
386.341
586.298
-105.666
646.009
626.418
220.268
-121.753
384.231
-312.627
-385.585
-609.684
785.771
-6.97748
229.395
-58.218
699.278
-641.06
-225.373
407.608
167.439
356.083
44.991
640.605
-561.245
-79.3607
445.384
-149.236
89.2692
20.9484
11.7804
-3.89198
-239.06
-167.735
-497.943
-198.328
-305.321
-423.944
816.937
-759.364
633.315
-779.528
295.368
-74.3316
-221.036
44.4531
227.464
279.866
262.127
-23.4621
44.3803
234.956
143.792
-89.5396
542.047
814.074
-403.603
-23.8789
-3.16524
-398.664
-258.677
16.8183
-31.2113
812.311
-781.1
84.0916
146.331
428.016
228.372
704.083
17.1074
398.659
-34.4692
-194.807
-99.7382
630.433
806.013
-6.21391
12.4562
178.312
251.136
-18.6397
-206.971
-190.355
-186.602
233.331
13.7175
-328.799
184.486
-199.654
606.056
558.905
33.6455
-216.422
-5.99882
-190.521
-574.39
774.02
268.704
220.994
-348.432
69.9918
88.419
468.207
-161.891
77.6158
-30.743
177.576
-673.68
654.104
-528.799
7.10956
604.96
408.704
302.825
-227.383
-17.6843
-667.877
688.052
318.152
-282.881
-624.441
-418.624
261.482
577.748
179.638
-200.64
-59.4841
290.933
268.884
-548.365
-46.2557
542.265
-206.287
-504.501
-630.189
723.16
-630.489
204.558
-206.352
-2.92651
-469.658
182.375
270.835
605.702
197.817
-278.668
-23.2042
220.384
-503.879
-32.2941
-159.122
-550.89
35.776
757.189
-273.609
-112.095
-189.886
-97.727
61.3845
548.95
286.517
-81.8788
-560.852
338.52
668.39
198.725
-20.1911
780.068
32.2429
-456.67
268.005
325.259
298.806
16.9264
-678.14
-318.748
-199.162
-14.3636
-144.442
-261.195
181.793
-283.854
-202.572
-707.757
47.6853
-180.37
-246.463
-446.679
522.201
-261.344
-377.849
764.228
-691.6
-430.704
194.807
231.004
4.70344
-90.8022
128.733
-191.72
278.396
-252.468
201.302
-36.1682
651.142
-195.063
-178.329
197.012
261.195
-377.251
-625.172
9.81614
-70.6556
11.8511
-53.4296
620.525
523.833
-245.305
238.734
-511.994
148.444
-8.24174
-129.322
270.291
589.408
43.0554
446.713
-99.5794
131.31
63.4485
-194.758
-257.793
338.421
97.3763
374.726
-8.11491
85.0848
-394.358
131.151
-131.151
-473.21
531.376
-248.362
-408.199
227.323
-450.598
489.625
31.0592
-654.506
-619.892
-150.696
226.264
-779.989
-291.843
-25.5588
506.146
-129.069
66.1334
2.24367
20.8816
-170.884
19.6702
-33.0915
-374.642
35.1577
-213.336
235.907
-738.234
621.553
169.135
266.856
-430.05
16.3127
635.211
-207.038
84.3032
-307.641
236.094
-47.6369
178.788
-694.676
190.521
227.383
-110.926
395.309
-36.3054
230.06
-193.755
736.488
486.993
496.553
-135.875
168.161
-118.736
-443.294
710.001
-272.053
542.322
-192.26
-3.48632
599.287
228.489
-320.775
-175.478
-51.4475
174.942
580.951
-682.906
598.782
-554.235
750.205
34.3875
353.791
-388.179
-95.4094
180.494
-486.091
45.9828
268.611
158.012
516.14
-69.5748
690.252
-249.637
229.876
-628.272
594.884
86.0742
-463.008
400.51
-134.896
-346.06
-164.642
-680.751
-195.587
722.609
439.455
-593.663
43.7776
41.676
-850.646
-13.4842
-696.246
266.532
-305.225
288.168
479.439
233.036
-590.341
632.416
0.182436
-216.597
-602.517
667.495
364.713
796.287
246.031
144.04
417.22
408.426
-534.946
-718.805
1.30867
177.276
-215.47
-322.425
45.7136
-544.173
548.666
381.005
-620.135
159.24
295.305
-652.872
-567.825
-38.0259
352.663
-314.637
149.672
-220.358
-379.624
238.599
-26.4105
-212.188
-197.285
237.407
298.804
-171.885
-602.87
619.176
-694.131
-711.817
690.229
666.116
297.112
-306.052
-663.904
-335.136
735.803
-387.445
434.107
573.18
199.642
631.909
244.157
201.516
14.4532
-317.488
-41.3647
-146.605
-259.162
-51.8457
593.176
130.782
28.8526
-317.022
-397.51
685.792
-554.755
-258.194
6.98792
205.987
-108.458
-104.97
-314.13
41.6769
600.872
328.862
48.2719
46.9987
-370.684
394.465
-360.885
242.118
-651.75
696.376
428.657
70.4616
221.345
-82.2968
-124.012
731.261
145.021
161.847
-552.054
-453.399
-164.096
177.581
125.108
163.069
-578.707
638.167
-12.7796
-170.577
-33.4278
9.94119
316.946
986.081
-148.158
282.397
-624.055
-18.2362
365.644
-115.032
729.876
-246.117
-299.629
208.372
559.036
112.686
219.957
-162.719
-527.128
-198.196
184.888
-130.843
-230.754
393.476
-16.2579
-501.662
-274.668
325.168
-25.0485
17.9252
617.915
-55.117
640.681
648.177
236.289
-217.05
200.117
559.811
315.803
-40.9924
-172.12
-18.5084
-167.016
502.47
-537.443
347.232
-304.388
122.472
-143.035
-351.474
-793.681
-405.269
-465.357
212.845
-218.175
244.195
715.227
163.658
-147.243
-16.4154
-426.147
-278.385
-716.015
356.682
-146.48
499.753
342.105
269.344
129.879
-517.32
37.957
-339.15
301.193
-506.494
-51.1775
161.997
-110.819
-188.433
-26.3569
-569.59
-252.236
20.1113
171.106
-126.011
167.124
-158.368
734.127
325.926
-312.209
361.522
-135.598
-41.2521
-746.847
-302.686
37.2486
620.333
-603.342
-210.651
515.158
-2.73453
590.032
-279.189
-364.338
625.557
29.7867
-655.343
127.447
-306.001
38.9951
308.352
286.203
-792.528
-875.877
-388.776
-243.729
-32.0946
184.105
310.553
-167.948
198.883
12.2288
15.7849
32.4922
178.883
637.965
43.8974
194.363
-67.3515
465.892
102.361
-256.816
-635.077
-236.668
398.409
344.103
117.062
101.788
-465.864
456.533
3.54021
-262.337
-110.501
127.971
-240.508
-130.12
145.248
494.119
-202.121
-28.2136
-384.2
624.449
64.8752
-643.535
9.21278
743.448
242.954
-281.251
181.699
616.473
-688.905
206.588
7.81823
-686.497
581.097
-144.862
-300.084
650.448
-313.684
474.997
684.377
205.216
-440.155
-192.666
182.609
706.242
-449.376
-24.2821
-189.087
-223.444
216.378
-175.432
-210.128
259.369
309.078
-1.37917
417.394
29.1631
-10.2475
377.815
376.224
346.392
-390.184
-410.682
-552.966
61.7076
-275.557
-385.682
-53.3953
619.625
-347.689
-42.7562
284.326
522.866
-524.294
-713.577
-472.055
-118.984
473.711
-581.24
451.839
227.212
677.966
-186.429
199.11
-310.09
-625.865
-11.8141
177.044
251.049
-167.934
-515.601
-219.642
-285.933
202.999
-161.255
259.322
-195.638
-274.759
490.517
-473.439
9.11053
14.2481
-238.55
211.926
-642.504
60.0528
-697.73
-343.363
-205.667
400.74
-234.359
-565.837
-267.366
-153.369
372.031
6.95077
-249.245
-398.809
-321.989
25.1832
-628.464
175.499
-192.241
296.636
-299.048
663.712
98.5514
-59.7652
183.135
-305.045
-139.482
340.175
357.262
453.232
-530.618
-682.032
-15.0522
-685.265
475.874
-237.439
-22.4515
259.89
-586.16
-89.0321
-322.192
368.189
-184.112
355.246
-320.859
534.812
244.617
-62.2075
195.398
189.02
194.871
-697.168
188.636
208.436
-397.071
-200.399
404.554
-239.126
-207.942
-226.816
-757.652
-713.742
20.9049
87.9824
-462.569
-738.18
777.478
719.662
431.378
687.867
-185.397
-430.333
132.164
-519.054
641.15
72.2222
386.117
-571.102
141.213
-145.449
177.264
287.662
613.707
-133.684
22.351
-762.119
-9.60838
-279.949
-0.901006
-239.366
-8.79
-226.73
2.65192
289.611
-229.636
-20.0009
9.30589
193.905
664.304
-639.103
507.798
-9.80768
-145.09
154.897
-132.595
147.872
365.781
113.132
0.00113012
-383.151
93.4989
-234.084
140.585
-23.9882
262.457
-252.842
-283.747
771.108
731.989
313.153
-160.654
169.715
-69.1171
194.753
273.135
18.5057
-248.961
-165.573
-368.687
-708.833
-22.8981
191.848
108.768
28.4299
202.019
801.677
629.991
269.438
-168.162
205.126
-171.301
-371.773
-1.74964
-274.843
276.592
14.8911
193.297
-246.691
-214.98
482.202
44.0323
-455.549
500.985
-518.18
-225.181
-48.464
-205.774
270.702
-286.909
34.2976
-166.12
247.404
25.8104
-630.86
-206.956
221.233
530.482
130.737
221.926
-83.2804
-125.223
237.747
-591.112
-188.361
412.849
273.461
170.976
-159.84
-507.855
330.907
-440.395
-187.704
156.105
182.687
644.435
-5.00995
219.402
148.734
-257.294
-323.321
226.731
146.518
-242.234
-29.4901
-256.12
238.88
-184.111
-55.6485
-35.4785
318.793
18.4667
-552.936
534.47
-560.248
446.952
188.19
-195.146
536.71
298.931
556.927
235.701
255.015
134.07
-87.3602
16.4809
492.649
30.6235
207.975
359.632
-297.097
304.799
-306.653
292.242
-295.407
-322.085
8.00675
185.55
10.1444
-350.257
-167.775
316.692
654.882
-209.577
-14.4316
-216.333
104.124
-478.877
-141.565
-666.157
-367.933
521.225
-325.572
637.635
51.3543
-688.989
-164.974
-159.223
-255.768
-49.0021
-10.5984
471.585
-16.1159
-138.14
448.255
119.969
-630.847
-414.806
389.974
200.781
383.007
-10.9755
377.787
-709.209
14.6931
-66.4325
613.346
-16.6535
180.815
316.991
-189.64
-395.542
382.124
-138.092
-631.32
554.392
673.052
253.252
-598.597
343.411
193.646
-624.497
-218.017
-18.6017
-171.288
366.62
-57.8655
18.2838
-174.747
-9.36456
-136.184
-244.256
-315.143
-192.504
60.1982
710.126
-681.155
-7.80897
633.366
-169.107
24.8595
-749.173
276.61
651.943
42.3175
189.892
-177.964
469.344
181.356
-194.136
50.383
-332.921
-177.733
401.221
-130.931
-358.276
375.516
39.1804
-221.172
19.0515
-45.1276
-149.941
-688.792
657.535
-92.3636
-3.38115
604.597
-496.019
473.785
-183.498
194.939
-218.371
-53.3941
-133.994
147.373
-13.3786
820.619
-69.1187
401.504
302.197
474.251
246.619
-270.523
-649.568
-576.328
-433.769
-5.02321
-215.981
-188.257
490.284
-285.272
-810.272
464.437
-10.1074
677.575
196.736
-18.4244
-626.251
660.871
451.073
-777.672
779.4
-175.158
670.507
-231.732
28.2801
241.274
284.777
-625.873
440.941
170.99
-84.9979
-10.4621
815.609
217.102
-499.568
565.131
201.477
1.78149
-489.312
-236.539
558.546
196.192
1.23091
299.828
-173.273
-251.375
428.019
416.248
689.921
701.898
-363.704
582.553
364.821
451.723
175.092
-186.705
125.512
-506.565
560.263
115.095
-25.129
44.7721
-195.114
-104.848
152.463
-136.772
-107.465
-233.656
-664.196
55.4389
189.21
271.459
-99.0707
-299.535
7.17396
-493.341
418.388
-149.66
-187.165
582.368
-41.6495
-179.523
378.93
-273.7
439.187
15.2276
447.3
-689.295
59.6848
551.035
377.837
-638.355
-245.36
264.742
-48.4304
-757.077
-146.119
443.624
110.067
-666.282
-98.3193
254.885
145.489
214.633
-384.677
200.527
-5.96924
222.347
139.669
-18.1545
-239.639
-40.1249
525.352
392.905
11.2084
-1.90024
692.609
67.3286
226.449
-245.439
-262.6
-327.614
10.1262
-29.8975
-218.448
202.157
-291.624
-12.2767
5.77641
-307.448
448.047
25.4084
357.598
-31.8563
-164.518
-232.527
38.5417
674.352
119.791
-17.1195
654.755
294.074
237.61
-590.87
-18.6583
53.1251
-397.8
-532.973
291.438
565.326
423.768
616.743
-572.053
159.614
-715.64
760.811
96.7671
-655.589
-320.953
195.333
125.62
-197.367
-323.641
193.414
32.8496
-120.804
-255.104
-617.544
-65.6286
631.549
-207.183
213.372
-471.377
-223.307
-218.326
-589.851
-151.004
-17.3865
329.681
-492.157
282.585
-169.028
152.53
283.884
-386.924
349.075
37.8492
444.746
-762.398
-175.125
199.085
160.274
-7.05356
-695.63
-215.774
237.283
-394.569
-50.6069
379.005
-253.768
-28.2808
-212.805
-172.781
174.318
138.834
133.1
-24.2163
-457.919
-741.213
608.317
-746.409
625.341
120.257
106.996
640.875
-375.477
-179.446
-184.044
153.01
-212.909
230.475
170.596
350.102
-572.838
-175.357
-567.489
-102.797
-13.277
200.186
-195.483
240.613
-396.807
-57.8545
766.653
-5.98577
-29.6325
639.566
202.047
-273.555
207.795
503.353
-438.76
-20.36
-358.225
-2.17908
187.726
-89.9683
161.555
33.5362
-298.21
402.334
732.243
-175.335
235.43
0.920414
535.272
-81.4572
-664.853
211.361
-438.047
608.723
193.044
-174.728
-473.273
197.985
209.645
-230.605
-388.395
424.14
146.327
-30.5693
319.452
36.0047
14.7665
229.225
0.497793
399.078
-253.778
174.896
-107.976
25.3402
-285.433
260.093
81.9635
415.771
-137.239
-863.967
269.379
-283.983
-193.625
496.324
-565.014
160.087
111.155
27.2737
545.471
164.611
-192.89
19.1223
229.807
-31.1966
-198.61
16.0181
-455.63
479.431
788.471
-66.2072
-163.81
20.0095
-70.1313
420.129
14.889
-691.202
705.363
-64.3516
699.592
-8.8336
-368.472
-177.212
-23.4276
15.0797
13.8863
-32.4748
-301.606
427.139
509.706
47.7508
-161.584
-40.9891
-17.0708
-543.292
677.133
409.343
-43.5624
-20.0747
-166.032
-241.26
-3.36038
577.106
548.905
-576.956
494.832
273.531
604.216
-654.823
-594.235
190.221
404.015
13.1841
446.832
-152.758
-231.4
94.5773
676.326
-156.151
7.1036
382.06
9.78052
-10.435
356.143
-691.742
418.942
219.425
-543.714
390.338
429.449
-66.2066
212.538
170.834
-478.408
-457.275
729.66
734.608
221.468
-239.802
-374.989
-30.2399
-302.649
14.5289
-42.7416
-164.66
-639.953
120.492
218.489
-202.074
-403.659
-23.4311
-373.262
22.2824
350.979
-44.5909
36.0765
511.06
162.83
12.437
-199.683
196.8
329.651
-63.9005
448.255
-16.8507
-187.947
-242.104
-170.272
148.355
-36.808
461.468
-408.343
-461.693
155.997
-414.609
83.1751
175.269
-600.472
154.447
-135.594
628.757
-303.491
-423.766
286.527
457.086
51.088
354.246
-191.288
-38.1271
34.6039
160.773
-14.4455
318.891
-112.43
436.081
440.067
-199.993
8.31479
-96.1777
573.307
-5.11568
326.165
-321.049
-267.975
450.349
-25.5591
173.645
-152.195
628.477
44.3885
-672.865
99.3368
-123.471
532.551
18.8311
-357.981
29.2011
-441.276
153.967
-442.139
-374.955
210.13
-130.137
95.2249
576.82
-134.94
-104.768
-17.7413
-42.6746
-237.084
474.309
-10.1537
197.626
242.989
-420.599
-4.20833
-240.901
113.676
408.525
-66.6885
375.809
-739.246
16.1173
384.871
-375.704
324.643
-130.997
-16.246
177.521
14.9047
335.344
652.152
-280.662
-653.23
-11.2228
184.16
-172.938
-335.409
451.619
-127.017
-206.33
107.745
-582.558
113.958
132.833
-413.495
-36.0933
39.4173
190.643
451.959
4.63854
393.515
569.774
-310.484
-399.273
468.398
-275.019
-491.316
-178.725
-889.561
112.017
298.276
-208.699
-268.298
-299.871
-226.02
211.749
636.194
-692.008
55.8137
192.169
535.003
609.607
-293.373
326.269
615.677
-240.137
223.728
700.408
12.4106
-678.265
588.725
25.0884
39.2132
34.2807
-11.7651
327.512
-1.18912
-683.032
-443.057
-193.713
-348.162
149.97
-123.509
-503.487
-139.718
174.63
272.202
180.823
-180.677
-8.67924
138.029
18.8311
-415.409
-430.455
147.501
-69.9523
221.39
113.826
-24.4967
533.335
-713.809
44.9457
452.044
-496.99
-9.31386
-691.729
-602.041
-522.555
-202.243
-382.358
6.59973
-177.386
404.041
-396.818
-4.32371
-648.906
52.9755
477.662
-426.897
-451.372
4.78074
-433.548
17.3568
174.61
-11.5408
626.137
668.012
9.55797
187.905
-197.463
-469.044
426.358
-43.0259
-59.6386
-247.401
295.152
-198.34
118.341
142.062
-135.501
-654.988
802.489
-141.293
275.413
-627.303
-228.414
161.512
5.64843
175.175
167.828
-484.591
-308.9
40.3689
197.622
-154.165
-191.674
542.402
-436.099
366.98
-784.247
759.084
-56.0102
252.689
297.876
95.7128
-758.751
778.76
-95.9614
-198.747
148.988
165.388
-651.492
130.916
-139.158
-426.013
39.6222
-308.506
583.276
-695.783
52.989
83.4257
750.146
-18.8849
-13.1944
378.57
230.082
661.371
333.204
509.111
751.667
261.684
113.041
22.0171
592.871
13.2076
-296.089
32.0059
-292.794
-367.72
-356.1
-71.5057
-132.978
-10.0568
-18.8567
-19.0327
33.2618
439.48
-205.239
-112.501
-225.006
250.094
62.9342
-145.23
3.79922
507.111
-510.91
117.374
65.6012
-659.986
150.673
-400.94
-33.079
14.2977
-334.5
336.168
-342.862
-41.6436
323.064
308.308
396.387
-218.766
-61.0827
-527.361
492.992
-182.296
638.175
-367.012
129.829
324.891
-514.84
-311.497
-355.656
184.885
-178.686
418.691
12.6073
154.243
234.3
-101.138
-205.703
386.752
-341.557
-179.304
-159.943
173.633
-36.0015
398.099
-40.7944
-35.6151
467.217
200.818
160.962
473.466
-410.56
471.505
-30.8407
-711.761
157.146
279.411
169.898
461.863
302.461
-358.336
30.0764
147.824
-55.1155
-597.952
-65.393
-293.853
-645.664
-599.82
-472.444
-200.405
225.746
210.061
23.4335
173.135
212.191
118.648
416.642
-423.207
-84.5795
382.609
194.125
41.8928
605.269
-301.822
205.062
558.501
-4.93339
264.969
237.051
-258.323
241.809
171.294
404.397
-161.409
19.2404
-268.128
-223.357
14.0844
471.016
280.941
389.566
49.4543
411.432
-232.609
-15.9014
137.309
259.586
190.501
153.578
70.0219
285.689
-351.262
34.7464
529.543
-8.1902
534.318
-286.217
308.499
606.72
242.336
194.683
213.686
-45.7069
504.24
323.999
-162.152
223.934
-68.3111
-342.588
579.675
20.5725
348.395
35.8285
201.251
677.313
-516.009
-195.438
-332.807
-323.538
167.107
-188.426
14.4694
548.257
432.977
-7.51405
226.616
-397.301
15.128
-585.746
4.75059
580.996
141.31
-69.7149
-661.856
-101.813
-565.46
-330.656
-548.436
9.8144
-407.116
-309.045
-875.963
151.549
482.913
-506.015
-107.907
-277.495
500.626
27.9725
-615.324
272.33
24.8826
-88.6802
-188.529
-43.8963
582.425
125.309
273.461
-2.14404
-51.0423
468.262
-265.646
-16.9651
-624.709
641.675
-37.52
-754.176
477.801
59.6403
600.273
342.124
-256.775
-341.937
162.259
28.8848
-329.401
300.517
212.646
189.895
-321.15
393.833
-72.6824
-291.934
-548.299
-59.8073
182.381
230.311
-242.076
14.0495
167.142
314.223
190.364
-195.907
413.855
668.78
-62.2423
-263.022
382.913
638.435
1.62908
-621.464
179.765
-429.72
-413.211
-477.553
-369.718
-19.9856
605.31
-616.747
0.0061775
612.324
-656.109
76.0881
247.13
834.521
522.19
599
377.208
-227.238
659.221
-589.199
60.9959
548.103
-614.535
42.1659
9.1704
603.153
199.529
-211.549
-528.677
-745.357
-34.77
607.202
194.583
752.679
84.8701
547.22
301.09
167.364
-26.5072
690.283
-409.342
21.0153
-410.402
458.111
-386.194
-181.295
-60.1067
-271.811
446.847
15.5652
-129.884
-162.392
144.669
190.367
-176.283
-150.684
163.159
-168.494
-656.428
380.244
-427.487
17.0847
-81.6144
17.47
192.046
-743.541
388.817
-2.50881
202.038
161.893
-451.715
430.136
-570.241
665.423
-246.417
-459.859
398.582
4.55327
-403.135
-481.347
-173.118
-36.9928
191.46
308.079
700.163
-443.194
146.211
-23.317
-406.403
-7.1205
15.3978
63.1577
322.832
261.7
-236.817
339.052
404.182
14.6084
130.682
-136.415
361.308
325.361
-139.056
-22.7007
-139.691
166.851
-319.233
19.4881
299.745
-324.623
32.0389
292.585
-68.6875
-185.491
297.481
14.9176
391.32
381.706
-318.856
-185.795
248.733
343.987
165.539
316.634
-338.985
191.367
150.152
-5.4826
454.554
437.188
390.095
-203.802
200.251
23.665
-528.807
429.481
210.385
-145.727
262.963
-189.752
-683.95
-15.0453
-235.889
683.737
-321.554
176.915
-225.176
25.1313
10.9255
346.503
-11.2971
27.7001
-18.4664
-117.948
7.9186
181.756
-189.675
-237.337
-133.008
370.345
418.23
328.521
212.36
-191.384
-215.298
-86.429
742.35
-68.8463
-229.73
46.8626
49.7734
-212.481
224.333
7.51847
601.718
61.9762
-17.4571
424.181
-290.979
177.086
86.6582
-298.99
50.4324
-36.8073
-182.597
270.511
18.2875
-40.2572
-510.077
38.5037
-161.155
-94.3267
-321.796
-163.173
24.0927
489.537
-222.284
595.295
458.989
176.862
-142.797
-311.605
378.953
-6.83999
185.066
-424.766
-15.9081
371.73
-141.469
-7.4259
366.809
-8.36951
-486.89
130.557
51.0353
-9.47038
10.0789
-0.608493
202.318
-190.559
-11.7588
-9.49381
25.951
-16.4572
157.805
-204.256
46.4507
59.9799
-11.9635
-48.0164
215.967
-192.519
169.239
-133.986
-35.2525
111.855
-3.20852
-108.647
18.9378
7.22475
-26.1626
-219.001
125.783
93.2184
43.588
-78.9611
35.3732
-134.631
107.596
27.0349
8.70422
-5.02284
-3.68138
-5.82369
6.17586
-0.352173
-119.591
131.286
-11.6954
-9.20644
-0.263945
5.60179
42.5574
-48.1592
35.1795
111.954
-147.133
128.744
-46.2823
-82.4621
155.053
-157.301
2.24887
1.39528
-22.1681
20.7729
145.964
-140.86
-5.10398
102.149
9.706
189.326
-245.185
55.8586
-146.24
106.328
39.9124
-38.6096
47.7844
-9.1748
201.993
-112.22
-89.773
5.05722
-5.05722
88.2054
-117.836
29.6302
-5.69818
6.09479
-0.396614
-95.9871
-82.2582
178.245
-119.936
105.296
14.6394
-6.21359
6.62463
-0.411045
4.39281
2.07197
-6.46478
11.508
2.37531
-13.8834
-13.9677
-140.931
154.899
-19.935
108.764
-88.8293
-41.6691
-92.9618
123.029
83.186
-206.215
53.8527
6.12717
-154.939
130.111
24.8278
8.00413
35.4992
-43.5034
55.6683
17.2899
-72.9582
-157.26
169.364
-12.1043
-79.8365
115.016
8.70414
-1.46598
-7.23816
-32.3396
176.895
-144.555
-157.065
163.512
-6.44678
133.529
-165.718
32.189
183.129
-25.3233
151.277
50.7164
-135.861
138.245
-2.38377
-57.8327
134.85
-77.0172
22.0315
-37.2282
15.1967
-216.515
64.867
151.648
-3.43743
25.469
29.7261
-46.3089
16.5829
11.2444
-8.41477
-2.82965
-187.934
154.834
33.0996
1.79699
9.50515
-11.3021
15.6392
135.54
-151.179
-34.4146
-123.869
158.283
157.343
-23.8146
5.42846
3.27576
-163.101
6.03546
3.42113
-20.5217
17.1005
192.805
-28.4049
-164.4
-93.1226
-123.392
-103.1
122.843
-19.7433
8.8942
-0.877732
-8.01647
142.793
20.5192
-163.312
-171.398
75.4108
5.83904
-8.25303
2.414
210.702
-173.932
-36.7705
13.2849
18.0906
-31.3755
-4.73307
36.4572
-31.7241
-21.9056
33.0251
-11.1195
10.261
-4.356
-5.905
214.319
-105.544
-108.774
6.02999
5.21443
107.683
-19.4774
6.2152
-6.57799
0.362792
80.6837
-37.0958
12.3018
-14.2517
1.94983
16.226
-10.8542
-5.37185
-111.91
8.81049
39.902
176.065
197.69
-74.6612
-171.64
113.807
9.44714
-9.44264
-0.00450172
-54.1672
-65.7685
76.0087
-20.3404
116.584
7.1675
-123.751
28.599
-32.4819
3.8829
66.6572
-10.5419
-56.1153
-132.043
26.301
105.742
118.375
-152.789
24.1689
186.533
-56.3281
-26.3654
82.6935
-16.3104
-3.24677
19.5572
167.147
22.9274
-190.074
114.038
100.28
11.956
-147.766
135.81
10.1401
6.08597
-128.25
125.844
2.40659
120.874
33.1885
-154.063
83.7901
-78.6783
-5.11175
0.642448
22.3324
-22.9748
71.1
-160.759
89.6585
-18.391
77.6877
-59.2967
-187.677
13.745
32.8485
-4.24954
6.18151
-6.58692
0.405411
33.5514
-188.103
154.552
9.59964
0.661357
-2.38395
-9.81485
12.1988
36.6261
-38.8384
2.2123
-123.067
-152.916
212.801
-59.885
82.478
2.10886
-84.5869
147.076
-118.803
-28.2729
-43.7701
39.0371
-120.185
-8.065
2.3758
-8.07398
-145.691
-6.61773
152.308
3.93287
-17.7123
13.7795
-174.913
26.614
148.299
54.0234
-63.7144
9.69099
52.3071
-22.581
58.6903
-4.66689
29.1437
-29.6413
0.497521
-15.3699
35.0623
-19.6924
-9.80515
-177.871
165.548
40.8968
-206.445
116.008
-10.712
186.981
-19.8341
63.6864
-72.5176
8.8312
35.7919
-49.9448
14.1529
9.03054
-0.326395
-112.494
129.726
-17.232
-37.0135
226.34
23.5778
78.0673
-101.645
131.917
-15.3328
-152.898
-12.82
54.7958
-11.2059
-43.5899
190.628
11.6896
-8.00396
0.023317
7.98065
117.478
-199.736
0.899357
-0.899357
32.6399
-49.3194
16.6796
-197.36
131.6
65.7603
60.9939
5.66333
0.409392
12.2202
-12.6296
-103.503
37.5615
65.9412
-134.331
146.287
-13.3485
-122.512
144.785
-143.64
-1.14493
88.1591
-4.369
-150.738
-2.15932
-152.844
123.727
29.1175
1.68508
-7.89867
32.3321
12.5084
-44.8405
48.4376
-16.1055
91.5017
-105.721
14.2194
1.70138
0.00653109
-1.70791
-17.4992
-86.0036
-38.5903
45.8528
-7.2625
122.828
-14.6015
-108.227
-81.5273
63.1363
163.657
-161.478
-2.17851
-8.19107
2.36738
1.98022
-0.730032
-1.25019
-32.3886
-87.202
136.252
-209.861
73.6092
-4.31812
6.11511
-2.28203
-110.212
-232.718
106.929
125.789
14.5357
149.121
-0.351748
-6.75945
7.1112
-6.86234
-8.04231
14.9047
157.196
-12.4116
-7.67377
-39.8679
47.5417
-9.0097
21.3115
-45.0812
6.47158
7.53507
-7.19682
-0.338248
48.5003
-66.1937
17.6934
31.4257
-25.8239
-106.966
12.6266
94.3399
-2.02351
-8.87003
10.8935
5.2722
-6.63805
1.36584
99.5993
-116.551
16.9518
-0.151751
-12.4669
12.6187
105.238
-130.698
25.4596
-16.7404
-146.192
162.933
-0.958764
-5.05506
6.01382
71.9394
28.2665
-100.206
-18.5553
16.5318
-27.8532
13.6682
14.185
28.7661
-103.103
74.3371
-11.9204
-15.9328
-153.12
68.4084
84.7112
-1.67493
7.85644
30.9708
-30.708
-0.262802
16.4425
-122.347
105.905
-39.4562
-11.5888
51.0449
99.8977
-27.9583
16.3787
-7.54391
-8.83481
-1.70285
29.662
-27.9591
23.4815
-85.8263
62.3448
-4.66653
-26.3661
31.0326
-123.065
-13.7058
136.77
-27.6205
-147.293
169.273
-142.659
178.253
-57.3785
-142.809
213.909
-1.40862
-6.12892
7.53754
-7.03539
10.0651
-3.02969
32.7585
1.36783
-34.1263
0.887348
-8.54811
7.66077
11.8402
18.9727
-30.8128
152.189
-137.897
-14.2918
26.9955
-7.29498
-19.7005
-112.834
87.4718
25.3625
7.38411
-0.801472
-6.58263
-154.823
182.333
-27.5095
2.6077
2.44952
-53.5532
156.116
-102.563
-14.0016
-0.250083
49.4237
-16.7838
5.79039
-0.518187
-46.9412
8.35081
-9.51165
-62.2251
71.7368
13.6445
-10.2233
-158.156
-3.3224
69.634
-68.5234
-1.11059
-2.32802
19.2197
-16.8917
-54.7283
24.3764
30.3519
35.8122
-34.4169
166.669
-27.0676
-139.601
140.963
-126.771
-14.1919
-108.612
134.346
-25.7341
2.05034
6.51431
-8.56465
50.4842
10.5097
8.10007
-1.88487
8.6943
0.752842
-116.049
156.34
-40.291
-18.8826
19.292
-9.70749
14.1003
-44.878
132.303
-87.4252
-73.8287
59.7189
14.1097
-63.957
-44.6549
-2.13435
14.8656
-12.7312
22.0556
2.97835
-25.0339
129.885
50.012
-179.897
-172.043
162.286
9.75657
8.95729
-8.57574
-0.381549
47.6884
-47.0659
-0.622545
-6.68585
6.30731
0.378547
5.86528
-8.39428
2.52901
91.8401
-104.478
12.6376
6.61926
-2.94457
-3.67469
105.44
-13.5995
-5.14093
-3.89725
9.03818
43.7503
-1.44005
-42.3103
59.0449
21.6389
38.7953
90.0752
-128.871
63.2733
-14.773
21.8856
32.9102
-5.89791
-1.10837
7.00628
-128.715
114.747
83.841
-64.9933
-18.8478
11.6336
-6.65434
-4.97926
-115.685
-53.8021
169.487
34.0802
-26.076
24.6727
59.1683
67.4274
-76.939
-1.66283
-6.34113
-43.0623
60.2634
-17.201
-3.9636
36.7221
50.1155
-109.083
58.967
126.715
-27.4724
-99.2428
3.94624
7.68735
45.0606
-43.3043
-1.75628
10.8312
-11.3775
0.546295
160.743
-6.50333
-154.24
134.098
-28.8603
203.643
6.32186
-209.965
-18.9311
14.1774
4.75364
-187.335
66.1118
121.223
142.956
-127.317
-37.6305
38.9983
-23.0412
-4.07682
27.118
98.05
71.1886
167.362
-143.06
-24.3018
-54.9078
83.674
31.0092
-22.1181
-8.89119
50.2778
72.5505
-89.5792
106.022
45.7248
-9.93298
-1.17321
12.6813
32.7431
-88.899
56.1559
7.59524
-0.638635
-6.9566
49.2215
-47.0939
-2.12756
-252.453
247.798
-100.542
82.3014
18.2408
-158.807
3.98353
-8.04805
65.373
-167.44
102.067
111.262
-112.038
0.776922
10.8258
-6.89295
-144.114
90.5613
-34.906
-15.0421
49.9481
122.606
-23.0063
37.5179
-14.2558
-23.2621
-199.136
182.692
16.4445
-15.6085
145.52
-129.912
-133.46
169.269
-35.8082
-85.5735
-67.5461
-41.2895
-7.38483
48.6744
-15.1803
-91.7862
17.5754
-15.525
3.66019
2.95907
149.704
-165.312
50.3814
-2.69302
-121.556
129.858
-8.30293
-132.043
-4.77405
24.5259
12.1001
30.5836
103.762
12.1047
-55.167
-122.651
10.7403
11.5381
19.4712
112.311
-106.527
-5.78369
-0.320852
-13.6807
-42.5499
40.847
116.325
-0.316602
109.717
37.3591
-64.7687
88.3466
11.3078
-0.476563
-50.3472
0.563843
26.4316
5.48071
1.18053
-6.66124
-79.005
-28.1565
107.162
-35.2727
179.971
-144.698
-18.4668
-129.818
148.285
127.877
8.76349
-136.64
0.00876522
8.88544
-144.932
126.465
96.3148
-155.917
59.6022
92.6233
-178.364
85.7404
-147.032
133.684
113.326
-99.1733
-14.153
-168.496
158.883
9.61267
-4.67334
-18.7459
23.4192
-4.41297
-52.8836
57.2966
35.6202
105.343
23.3744
3.65258
-27.027
23.9297
-0.92233
-23.0074
22.0683
1.91954
-23.9879
20.5286
2.8886
-23.4172
-23.4727
-3.47882
26.9516
-2.41964
-23.9017
26.3214
-17.9248
15.5408
83.3282
-24.2833
-5.47857
7.9992
-2.52063
-134.885
14.6992
-8.95615
113.773
-104.817
77.4601
-122.338
-3.72168
-13.9906
1.79983
5.88524
-7.68507
47.1311
-2.07045
107.763
18.9523
-18.577
-74.2734
92.8504
-7.14677
95.7865
-88.6397
-124.145
181.224
-57.0794
-75.9211
19.593
134.423
-170.431
36.0077
-113.987
106.841
115.616
13.1281
24.1674
-5.22964
65.7093
-129.666
153.995
-75.9042
-78.0907
-9.15866
0.261712
8.89694
-0.595029
-7.09923
7.69426
14.5809
-15.9896
-92.3314
-6.48573
98.8172
80.6912
-233.607
-26.1752
35.5581
-9.38288
-132.883
-8.36748
141.25
89.1263
-6.64824
-165.357
54.5097
110.847
26.5091
21.2753
132.309
-124.238
-8.07051
-4.36508
-14.566
117.7
-49.3052
-68.3951
-72.8176
-39.7003
112.518
-7.18917
2.83027
4.3589
-39.3244
-159.812
-26.0446
-28.6837
-17.0145
14.8801
100.223
-122.462
22.2384
-37.3188
21.0928
16.226
-99.6253
67.2368
-38.8919
-8.9801
47.872
-65.4023
90.283
-24.8807
21.1344
24.0773
-45.2116
153.048
30.0811
-89.0184
188.077
-99.0584
-19.5403
-81.0019
58.3008
17.7079
55.6125
-7.81613
-47.7963
1.12845
0.572922
9.64194
-22.4838
12.8418
21.0608
16.4571
-37.264
52.8667
-15.6028
154.542
-140.61
-13.9321
32.6622
63.3014
-95.9636
-58.1138
194.366
-20.9303
71.4145
31.3125
-32.637
1.32452
-38.398
16.6099
21.7881
-43.6322
192.46
-148.827
-146.853
34.6332
-195.2
106.182
-0.111227
-22.93
-5.28954
7.66366
144.525
168.643
-17.7155
-150.927
-16.5024
-20.8164
169.294
-2.62574
-0.612567
-106.359
106.972
-8.70176
8.5163
0.185459
-2.49293
-100.61
3.44031
53.6819
5.00842
133.184
-165.523
12.5008
-138.366
125.865
-148.138
-84.58
-48.7316
145.046
8.66951
0.361031
-192.518
148.886
0.47775
7.02683
-7.50458
-122.394
177.588
-55.1932
133.603
-150.343
-13.3558
43.0178
-20.9654
99.0327
15.058
188.585
187.697
-44.9042
-0.454878
-7.08086
7.53574
-46.8433
79.5055
6.25765
-0.392376
-77.8316
-9.06706
9.49084
-0.423784
-8.85241
9.8237
-0.971291
144.167
-30.7203
-113.446
49.222
-12.4052
-36.8167
2.70687
12.0559
-14.7628
-0.997811
7.84078
-6.84297
0.261476
-7.11821
6.85673
-149.08
147.867
1.21353
-193.776
35.6204
-53.5149
49.1019
-21.2614
17.5397
6.45203
-28.3576
203.281
-280.21
76.9291
3.96567
108.482
-112.448
-11.1864
176.734
183.02
-65.5422
-16.8379
-132.243
193.56
-154.358
-39.2012
-6.01474
0.873814
143.129
-140.023
-3.10588
-52.8968
-32.6968
85.5936
-87.8454
87.2328
-58.1588
-96.7798
186.171
-33.1236
135.025
12.8424
-18.7462
17.3886
1.35752
0.362818
7.00219
-7.36501
37.8795
7.84532
-0.846816
31.1141
-49.146
18.0319
-41.168
-2.58495
43.753
-1.6477
7.95501
62.5994
76.9858
-139.585
169.496
-124.321
-45.1746
173.198
-173.198
5.57441
-19.8302
-130.993
134.584
-3.59129
121.803
-176.143
54.3394
-102.714
-19.9367
47.1772
-41.3352
-5.84192
-41.4998
36.8333
-97.1699
78.593
-36.0607
53.1171
-17.0565
52.9636
-48.2739
-4.68971
-166.391
32.9307
133.156
-0.853146
-0.282798
7.6669
-42.7568
75.4999
-91.0888
43.5367
47.5521
-27.5302
18.0363
173.377
-139.826
-14.7914
-32.5735
47.365
-40.5623
-11.7476
52.3099
-156.439
-0.820837
177.043
16.5162
-0.2289
41.8945
-41.6656
116.333
-11.4641
-104.869
42.5123
80.3308
3.85809
-4.93679
1.07869
-21.1645
-9.40898
30.5735
96.8636
57.1313
-173.713
146.093
1.8478
22.4679
-24.3157
14.5099
65.2197
-79.7295
-46.2465
56.6948
-10.4483
-144.202
138.183
6.01838
133.788
-88.2398
-45.5482
-10.1074
101.609
0.359738
1.23817
-84.7505
83.5124
-210.404
127.22
83.1845
-53.5286
-46.3257
99.8543
41.4003
125.961
-5.62225
58.5859
-91.9752
36.6613
55.3139
72.2938
-57.7839
128.693
4.46342
102.498
-10.2353
63.9172
52.8385
-99.1209
-95.513
58.9206
36.5924
-112.813
39.9951
0.100172
8.56933
-13.1924
146.62
-133.428
-126.485
148.635
-22.15
0.923748
12.3562
-74.5814
37.3577
31.9656
-69.3233
4.7041
2.83097
-39.2066
6.78186
32.4247
9.27206
-9.706
0.433934
191.54
-40.2637
160.242
-25.2176
33.6401
-2.32758
58.2062
-37.0719
-1.51063
3.73222
-15.1539
11.4217
-105.557
26.5519
17.7272
-13.524
-4.20323
-50.6635
14.6028
-37.6305
10.9569
-11.3086
10.9025
-13.9972
-30.7925
44.7897
10.8933
-90.6715
79.7781
96.6985
-124.855
-195.285
54.3537
-111.66
5.42567
106.234
-129.093
2.32168
62.6684
103.611
-166.279
15.0431
8.86134
121.941
0.192123
-122.133
180.031
-58.2281
-93.1379
155.737
7.13692
-79.8227
72.6858
0.0371279
0.862229
55.5249
12.032
-67.5569
-2.71933
2.16264
0.556698
-5.85499
-0.833588
6.68857
79.6317
-18.1919
-61.4398
159.764
-83.6351
-76.1292
-54.4868
54.2579
53.0508
-45.2115
-7.83933
-22.6649
99.5514
26.2925
6.00877
-0.134094
-5.87468
0.154898
23.2195
-4.34738
28.2771
-0.300749
-23.172
-2.06535
24.1337
-3.59432
24.1229
-5.57139
74.2815
-68.7101
87.2977
-18.1453
-69.1524
236.281
-21.6149
-214.666
-21.2376
-13.2667
34.5042
-153.101
116.99
36.1103
-6.78223
7.27564
-0.493402
26.4455
-16.8035
-39.2441
30.4924
8.75178
0.540053
12.2142
-12.7542
17.4037
-34.8094
17.4056
50.7612
-1.53976
46.3766
0.800603
60.709
73.0789
2.8719
-6.03314
3.16124
0.0816368
38.1987
-38.2804
-56.7443
30.6997
-1.97339
0.267851
1.70554
-109.048
55.5198
7.68376
-8.06354
0.379784
47.8647
-16.7506
199.849
-9.22065
-93.0957
-125.906
72.0123
-37.3717
45.9316
-8.55983
-2.21323
97.6249
-95.4116
17.512
-4.64599
-12.866
204.346
31.9345
8.07708
-0.393322
33.4239
5.58925
-39.0131
-33.3829
-5.59975
38.9827
33.4519
5.54248
-38.9944
-29.7662
-5.38927
35.1555
33.3952
5.57291
-38.9682
185.206
-2.51405
-12.6945
70.9952
61.9939
-67.5653
49.3508
143.454
2.99392
14.5181
-105.805
85.8704
-25.9556
9.64516
195.541
-10.3355
-190.796
-61.6572
-13.0491
-33.7452
46.7943
-46.5195
38.7437
7.77576
93.786
11.6528
-4.90595
8.76405
-47.7506
8.29446
48.8717
-63.6632
-4.07752
40.9375
-36.86
98.3778
19.3225
-59.881
-127.454
9.40486
-110.572
101.167
-35.9884
161.771
-34.4654
-61.0476
-7.70968
-0.140851
7.85053
7.90912
-0.313879
43.0326
116.732
1.96096
0.0192652
-5.15812
68.5959
-63.4378
134.223
-8.14479
-0.146906
8.2917
-27.542
-4.93993
-15.7601
-129.172
-38.1649
-18.5794
-13.3154
-19.5681
32.8835
50.457
-8.08917
-42.3679
5.76084
10.6179
130.939
-26.2271
-104.712
-136.912
-22.8045
159.717
-54.2883
-55.6633
47.9895
-140.841
17.7764
22.6384
3.31254
140.9
-147.518
-143.48
127.72
141.356
-17.8116
-123.545
-5.87799
0.399426
67.0815
14.0873
-81.1688
112.528
-108.182
-4.34601
-5.14768
9.24507
-4.09739
-68.9719
-53.8913
122.863
-75.192
19.5614
-5.38397
8.33525
116.708
-125.043
-149.667
168.603
-18.9365
27.2292
-5.17363
-149.054
178.389
-29.3355
-126.113
57.1416
-21.518
14.6556
0.858251
10.2305
-11.0887
-50.6588
50.7404
-35.5421
163.419
-19.3652
31.2053
13.0064
-78.207
65.2006
32.8415
-0.0689268
-32.7726
32.9938
-0.165846
-32.828
-32.6321
-0.218147
32.8503
32.3807
0.483536
-32.8643
-32.848
0.141455
32.7066
32.4919
-0.583575
-31.9084
-33.0923
0.306913
32.7854
-13.0535
13.4163
-27.9157
163.699
-135.783
30.9776
-7.37886
-1.6882
16.3099
-15.6675
-3.19082
10.2711
-86.0036
75.7325
-25.5684
-131.018
-7.69371
138.712
-116.645
-36.1992
201.244
-223.744
22.5002
44.9452
-58.9424
-41.2324
14.4575
26.7749
18.5778
-98.0513
79.4735
-14.2403
27.5252
-122.382
180.59
-58.2082
0.320874
132.774
-125.521
-7.25273
68.1335
111.837
96.8181
-84.1916
7.46484
24.2189
-143.022
6.87062
116.946
-16.7228
8.78691
-142.773
-0.382386
-1.591
-51.109
-40.8662
-76.9306
-7.3561
84.2867
0.104878
-137.105
123.913
-6.88296
-0.306213
4.48637
-4.48798
0.00160098
-128.665
49.1533
79.5116
36.3407
-36.3407
70.1773
-6.49091
-36.9149
23.5994
-54.774
-15.3011
70.0752
36.4941
34.3003
31.5696
35.8824
-36.3269
-35.512
-37.3055
19.9706
-19.4306
85.6126
24.6958
142.679
-167.375
-14.7242
15.5696
-0.84538
47.033
-8.1473
-38.8857
2.68986
-10.2338
-82.0462
32.4399
-186.743
154.304
-11.998
0.620511
-0.397283
105.42
42.416
-147.836
-5.76973
72.8512
22.8962
2.20625
59.2139
-61.4202
-88.1993
22.7969
-6.80596
-1.33883
-36.9363
32.8595
0.419288
-7.20152
156.438
-143.105
-13.3329
158.021
-130.451
-27.5703
69.867
-60.2416
-9.62547
-200.79
111.799
88.9916
83.7311
-108.797
25.0658
-51.1435
-39.9454
-3.04237
86.6267
-83.5843
-7.81504
-10.2749
18.0899
162.698
-70.0679
-92.6304
70.3472
-60.0761
-1.62914
-35.3072
70.8206
-143.801
72.9803
-88.5458
-95.7528
184.299
-73.5702
16.7111
-14.8633
-9.35247
0.650711
-109.524
-2.13601
84.9653
7.78477
-92.7501
39.8872
-42.2152
38.728
-51.7771
-107.935
38.2427
69.692
-33.4678
4.30215
29.1656
38.0367
-4.31594
-33.7208
5.89492
27.055
-32.9499
16.4761
36.5747
101.805
60.8931
-50.6442
-96.3882
2.46999
-85.804
83.334
-8.2596
-139.506
147.48
8.95774
-1.03895
6.6561
-5.61715
-7.86696
0.831573
105.075
-54.3066
-50.7684
55.8319
14.0351
-4.96592
5.6851
-0.719187
-6.1288
-1.58088
130.547
7.17082
110.029
-117.2
-114.568
99.3875
6.14363
-0.134854
-39.9881
30.3774
9.61067
0.489716
50.5605
5.87647
-56.4369
164.11
43.9414
-208.051
-23.4386
164.929
-141.491
-8.53352
7.28247
1.25106
7.0739
-7.22565
2.26825
9.00248
-0.885189
-8.11729
-121.596
112.64
88.325
-72.6714
-15.6535
-2.68221
40.6009
-3.80375
-36.7972
94.0309
-38.7047
-55.3262
-59.1161
135.501
-76.3845
148.201
-77.3799
98.3881
-81.2316
-17.1565
71.8006
16.5244
-20.7651
38.1688
30.7111
-184.404
62.5177
121.886
-6.19796
-0.38003
179.989
7.68752
-187.676
48.8146
-172.96
-40.6528
78.0105
8.49635
-141.379
10.3733
-0.549621
126.718
-153.786
159.908
-67.2852
-154.909
109.414
45.4953
199.876
-159.974
-2.32838
63.2405
-60.9121
70.8701
23.1608
-1.53935
-5.06073
6.60008
8.51261
-8.40646
-0.106143
0.104048
6.22625
-6.3303
-69.5263
32.3428
37.1834
7.11413
-30.1944
-9.80905
40.0035
1.91378
4.87681
-6.79059
7.47231
-4.60041
-82.346
83.5842
25.0758
-2.22561
-22.8502
-32.2345
10.997
41.8275
-72.9489
31.1214
172.138
-38.4822
-133.655
-159.713
101.555
-110.425
-79.8257
190.25
-68.9826
66.6542
191.351
-78.8333
-112.518
55.5778
-177.972
-20.7808
-122.699
-8.62446
20.1625
29.8672
-153.879
124.012
13.0288
-146.677
125.897
-49.165
83.6427
108.411
-192.054
109.874
-91.296
13.5316
3.39118
-79.9864
83.3763
-3.38992
-53.0921
11.8026
17.7754
-40.8921
23.1167
-8.20927
-157.834
166.043
63.6099
-50.6035
100.748
31.5609
-139.936
-44.468
34.2347
-26.3131
-7.92155
35.7647
-6.21599
-29.5488
69.4299
16.9961
-86.426
-9.90438
0.697947
155.152
-21.8238
-133.328
-144.769
-0.262598
145.032
33.1457
4.89098
-33.3684
-0.0994083
-26.554
-157.472
27.1703
130.302
-7.25808
2.29216
5.66864
32.9908
-38.6595
89.5838
-29.2645
-60.3193
12.1463
-12.447
-7.44058
-0.0109861
7.45156
0.42705
16.284
174.385
25.4636
-68.9149
79.6656
-10.7507
73.9796
38.331
7.88673
33.8167
-0.392811
-33.7332
0.350297
33.8094
-0.357506
-33.6151
3.84885
33.7281
-0.332836
2.32554
4.34878
-6.67432
-9.21757
44.7933
-35.5758
-80.2371
125.677
-11.6384
-79.6643
-25.1772
104.842
-111.753
69.5975
42.1558
-12.9483
8.65167
-0.1911
-8.46057
18.5978
-10.5305
-8.21571
0.995944
4.58385
-55.7273
-103.914
82.9483
26.3261
-8.23556
-15.7863
23.8908
-8.10449
-7.47136
-154.272
161.743
5.11684
-1.1706
113.284
-104.949
-33.635
6.09302
21.7664
-94.4183
72.6519
-36.2401
25.0342
-45.2665
179.689
0.440987
-5.74481
-0.974454
6.71926
226.183
117.787
-113.518
-4.26983
-30.6607
-5.57944
-137.778
-8.33381
146.111
-3.53663
-6.22221
-0.255153
6.47737
-125.493
-71.8673
-1.2867
-4.91289
6.19959
-12.0429
10.5035
-14.9464
-57.3795
-50.5552
-12.1067
12.2616
4.81299
108.471
46.6143
-6.66495
0.442733
-34.7586
-34.7676
-24.5465
-3.72625
28.2727
-24.5553
-3.92657
28.4819
-24.5273
-3.6249
28.1522
24.5366
3.70753
-28.2441
-19.3113
20.1695
-44.4351
103.756
-59.3208
-1.05061
-4.45099
5.5016
4.68481
-38.8178
8.62337
-47.1467
8.2548
-102.394
30.3085
-146.357
76.0101
-8.58277
-123.547
-5.54556
1.75795
-2.48798
-8.18514
8.69444
-0.509304
105.995
-25.3956
-80.5993
4.28871
4.71377
-10.5347
79.637
18.7511
-189.605
175.758
117.743
-166.474
137.575
35.6232
24.7445
144.62
37.0512
-29.8264
-136.72
169.16
-4.0264
113.9
121.267
9.67165
129.947
-126.985
-2.96141
-89.7496
95.9565
-6.20691
-11.7521
10.7934
13.33
-14.2078
20.7956
110.49
-11.6474
8.91574
-6.08548
25.3955
2.10161
-27.4971
-22.6377
-23.8818
16.0925
99.4126
-115.505
27.2119
-46.5771
145.065
-170.618
25.5529
12.1768
-12.2881
9.78688
130.396
-117.896
3.72866
2.7808
-0.358416
9.01009
151.038
4.11385
9.45717
-6.7503
-4.36085
112.734
-108.374
9.09427
16.6922
-25.7865
-75.8336
37.5453
38.2883
122.358
-101.839
136.41
54.9414
142.364
27.082
-169.446
-32.7948
11.6303
-51.641
45.2729
6.36804
-8.98618
0.45266
21.2748
11.7503
184.765
-176.16
107.13
-8.10802
-99.0216
-79.1522
-11.5645
90.7168
86.7457
-19.6269
-67.1188
5.17749
-56.2865
46.6233
-50.7009
52.1593
-155.879
103.72
-10.7365
139.394
-128.658
38.7347
-53.7768
25.6896
143.583
1.79577
-14.2627
0.551295
11.2603
-11.8116
-59.2352
-53.5991
-8.91573
141.062
-132.147
-1.78807
9.1198
-0.607189
12.3998
-147.298
50.5085
105.831
60.6389
-4.03167
-4.10929
8.14096
3.3401
35.905
-39.2451
-40.9839
40.9839
45.0589
-45.0589
45.16
-45.16
-5.98242
25.8584
-19.8759
-154.637
19.2531
135.383
-6.26998
0.141063
77.2867
68.215
-145.502
-8.58385
39.1814
-30.5975
2.25903
-4.11633
1.8573
155.2
-96.7106
-58.4891
-83.846
80.8036
32.0783
-33.4438
1.36552
-158.25
100.593
57.6564
170.372
-172.121
1.74941
-0.924471
84.6556
82.392
72.8078
-133.776
159.465
8.99986
-6.31385
-2.68601
-109.281
-73.2692
156.912
78.568
-71.1747
-7.39322
-62.0889
76.1763
169.705
-144.895
-24.8098
-4.56829
-145.098
-8.70849
0.113384
8.59511
-6.18924
128.13
-49.3999
8.41601
41.2961
3.76275
41.0617
4.09838
119.425
-112.255
10.7746
149.085
-159.859
167.026
-126.23
-40.7959
111.747
9.51976
212.291
-111.083
2.90046
143.013
-65.726
153.251
16.9173
-170.168
-31.2161
6.66078
-33.1736
8.62711
8.61847
-8.83176
65.8144
-58.6775
-13.5705
14.4578
-5.41801
-2.64553
94.5471
-140.403
45.8559
162.795
-102.423
-60.3725
9.65305
-51.297
-104.673
155.97
12.1809
6.11032
-18.2912
9.75932
68.1938
36.1964
128.429
-164.625
-19.6167
22.9568
63.4602
-90.9916
27.5314
-30.3521
48.1275
3.01857
2.59116
-17.6744
-79.4956
-21.4882
-54.3454
19.2746
100.151
-156.337
11.5681
-1.28981
12.5156
64.6561
102.37
27.2661
-2.19032
-172.978
119.175
-24.4879
19.8419
6.20142
0.453548
-6.65496
-8.7097
35.9216
10.7829
-139.404
128.622
188.778
8.91231
7.59078
-0.308316
-20.6905
173.941
-126.231
-39.1262
129.18
18.1611
-147.341
135.502
33.7926
-8.19153
94.8037
-86.6121
-32.1816
-49.05
169.314
7.5806
-24.1956
-80.775
104.971
-44.3935
52.4885
-8.09502
68.571
-88.3351
19.7642
-93.2688
61.0872
-91.9552
-133.342
143.391
-10.0486
-105.765
-22.8787
128.644
3.7019
-26.6871
22.9852
-32.2415
-125.231
-0.565401
5.99001
-5.42461
7.53287
-5.46089
-9.15918
2.96123
-58.9871
-24.6845
83.6715
135.058
-14.3621
-120.696
-111.554
89.7336
21.8209
89.143
-106.817
-194.979
123.418
71.5606
-49.8413
71.6077
3.41175
37.1892
-105.298
-49.6117
-104.664
1.94984
-33.2795
-4.63962
37.9191
-30.496
-4.23198
34.728
90.6171
10.917
-101.534
-93.241
197.725
-104.484
-3.22659
3.48831
22.5615
12.5008
-170.417
44.186
17.987
-18.914
0.927007
7.31128
-5.54949
53.7025
-3.14204
3.25599
57.5568
-60.8128
72.9976
84.5608
-157.558
23.7954
-156.216
132.421
-8.46938
134.947
-126.477
-143.189
29.7453
113.443
87.0162
10.8023
-97.8185
183.266
-201.146
107.551
-87.9471
97.1019
-99.3151
49.7097
120.116
-169.826
108.704
-160.001
-4.82294
214.392
-214.528
4.14707
-33.3452
29.1981
29.0926
100.633
-42.7836
-2.87791
45.6615
13.3367
44.8696
-10.2617
-50.7029
42.7069
7.99606
55.9667
45.3358
-101.303
0.242677
90.4271
-90.6697
189.109
-9.12023
-2.66984
217.062
184.321
-153.549
-30.7723
-7.75346
-0.0685181
7.82198
1.2071
38.5292
-39.7363
-1.16908
-38.6268
39.7959
-1.17564
-38.7886
39.9643
0.713438
42.6228
-43.3363
-1.17048
-38.6538
39.8243
81.3078
81.4875
-17.6909
12.6354
5.05546
51.4844
4.12804
4.05168
-12.4186
8.36688
-31.9494
126.496
41.2664
-45.5159
-89.9665
-69.7469
5.78051
-0.0977888
-5.68273
-19.562
27.6108
-8.04887
-132.63
-112.555
-4.02656
2.32353
1.70304
21.9658
5.95246
-27.9183
168.968
-176.44
2.23855
-24.4067
0.349982
113.206
-19.0229
-94.1834
-147.186
-12.8975
160.083
-2.55949
-15.1314
-2.14011
11.6453
111.222
-2.73994
-122.807
-72.1724
-6.58973
-0.0483201
56.6905
-39.7078
-16.9827
91.8919
-6.92659
-24.0505
121.767
-97.7169
-65.1508
-57.3108
-122.882
93.6017
-19.3278
-74.2739
-62.6972
16.9124
23.7729
-1.30498
4.55662
2.83807
-7.39469
-134.318
-4.96299
139.281
-18.7985
10.174
66.4392
-61.2617
0.506525
169.866
-0.605136
34.6853
1.34905
-125.587
139.471
11.5671
122.996
-154.636
31.6395
91.6724
-20.8024
9.79814
47.986
-57.7841
-8.65699
0.250527
-41.3664
146.786
-175.407
115.526
74.6456
-146.041
-6.85687
152.898
-29.3646
174.885
0.507131
1.20655
-1.71368
-15.8698
73.7806
-57.9108
-65.607
60.4489
140.026
-48.6591
51.9151
24.7292
10.8289
-21.9732
90.5442
53.8908
-103.732
-163.167
135.251
86.4913
-17.0614
-50.329
-142.189
55.1612
-1.45871
-23.5992
-15.6449
-0.684239
12.3767
-11.6925
-147.251
12.9329
225.066
-29.0047
87.9253
15.3514
68.0662
-44.7231
-23.3431
-16.3516
8.53657
0.88721
8.38485
6.94272
17.6175
18.527
0.894231
-19.4212
-172.847
-107.363
-10.7302
10.5135
8.06737
176.395
12.3823
-33.6311
71.1925
13.7923
-1.646
88.6533
-105.985
17.3313
10.713
-171.342
-7.02159
-132.3
-38.1172
-136.076
-7.11217
185.072
-24.3291
1.71987
-10.1346
-14.1273
16.5026
121.031
6.49687
-7.18111
-27.9883
-88.2039
116.192
99.5309
-2.73214
13.1419
-10.4098
11.6159
44.1856
-55.8015
37.2118
154.329
95.6654
-160.142
55.4686
-39.4668
39.9503
39.4229
-39.6411
-39.4631
39.3942
-40.7442
40.1606
-40.7754
39.1463
39.386
-39.2445
-39.5715
39.4056
-39.0401
44.935
6.20012
-42.1959
35.9958
39.4874
-39.1805
-4.78331
41.4998
-36.7165
81.2625
11.4646
-92.7271
-10.829
-15.8138
-24.3868
40.2006
-0.548961
-38.9983
39.5473
65.6993
-81.5691
69.2713
59.4216
-54.9459
66.9699
-12.024
-0.917125
18.9042
-124.279
-32.0588
-158.275
175.918
-17.6431
183.575
-211.233
27.6574
-7.49252
-35.102
42.5945
-87.3438
29.2966
-166.209
54.1118
128.221
122.898
-125.326
2.42874
121.818
19.5381
-119.061
112.558
12.2927
2.50868
-14.8014
14.3565
-4.12599
-96.6357
91.6221
5.0136
-41.5585
41.5585
-6.47654
7.02784
0.265698
-57.2814
61.2231
-3.94165
4.37619
0.871953
-11.7261
-104.104
-67.5105
171.614
-18.0684
-8.23597
26.3044
-6.81176
0.00739445
6.80436
-156.128
183.354
-27.2258
92.8704
-89.5088
-3.36163
-23.6183
-16.3698
40.9614
7.7947
-48.7561
-8.87831
0.330193
40.5872
-48.0797
12.7056
-14.9312
-36.5789
-72.0586
70.5072
1.55143
30.192
74.883
-23.532
-45.8664
69.3983
-6.24585
-0.23887
6.48472
100.528
-53.512
-47.0156
17.6124
-15.8925
9.02409
160.681
125.604
-125.412
13.3524
-2.06941
2.57655
155.947
-145.172
-21.0818
-56.2838
77.3656
-4.6928
93.3461
74.1947
-98.8349
-56.507
155.342
-10.0506
-41.5903
-63.0988
131.232
-0.258052
-5.1373
-2.72966
-8.95577
149.856
-0.775477
-6.6651
131.31
-62.0384
-11.2536
44.686
113.335
-38.8302
-7.51048
46.3406
97.2255
-120.664
8.18344
39.9092
-48.0926
-0.292746
6.73816
-6.44542
-17.3985
24.4239
-7.02538
107.247
-111.273
-0.234227
147.687
-93.2107
8.32264
-7.48461
-0.838024
-57.9815
110.311
-52.3292
83.6876
15.3451
-22.3035
5.80107
158.044
-40.3009
8.26662
0.427676
-47.414
0.0223962
-6.83416
-34.1779
42.3614
209.469
-157.211
-52.2584
5.47935
-11.4274
1.02666
23.7067
-24.7334
-0.955478
-23.7215
24.6769
-2.1937
-21.1479
23.3416
-0.988725
-24.1567
25.1454
0.829627
24.1538
-24.9834
-0.945142
-23.4313
24.3765
3.27202
-2.15577
-1.11624
-21.6124
44.3688
23.6974
-108.467
28.8029
6.45537
-59.9767
53.5214
-65.4246
-87.0786
152.503
0.784737
23.7254
-24.5101
-45.2215
-60.4997
-49.7835
-61.7709
13.7693
16.1636
-29.9329
-40.8356
4.49497
8.81118
-97.4976
88.6864
59.1516
31.1188
-133.177
102.058
183.468
-186.138
8.9867
-20.2403
-40.1094
163.106
25.4219
13.7314
154.912
94.6781
-7.20628
-90.6367
12.1952
78.4415
-118.484
-12.8763
14.5471
-1.67082
-89.6673
4.91679
-34.4826
-4.35579
122.941
-6.23325
-61.2109
-5.79698
48.5641
86.4941
-66.8219
55.2331
-6.20807
0.790057
-67.6382
171.249
168.633
44.168
-138.707
130.237
-11.9006
195.476
170.903
-35.8839
-135.019
-48.0314
-6.9829
-98.7794
81.2802
77.5862
-136.702
22.9093
-9.14007
3.44064
119.137
43.9963
128.141
-42.4444
-125.666
168.11
-0.591574
6.21909
-5.62752
-15.6246
143.921
-119.225
-178.868
110.462
68.4058
-15.2483
2.37195
48.9803
6.18094
-30.1353
-115.505
145.641
-87.7161
-92.1807
-16.5475
61.976
-146.324
84.348
0.628201
173.756
-174.385
-52.2693
44.8844
-44.4144
86.242
-6.09084
-0.498886
94.6831
-157.782
-62.9896
-134.685
197.674
-13.6802
1.5735
-56.4161
121.789
-1.54428
-136.444
137.988
-97.4484
-33.2416
130.69
6.16042
-16.7699
10.6095
-102.592
-96.017
93.5241
-10.6706
51.6319
6.47928
-7.32063
0.841356
15.8711
8.02195
-23.8931
5.17473
-27.2928
101.408
4.21357
56.8707
-61.0843
-16.2556
-82.5238
-188.637
-92.7325
97.5455
161.248
31.2115
-17.8993
-21.3073
37.8593
135.912
-173.771
-3.16694
-11.9869
-4.99536
-16.266
20.1863
-113.997
93.8105
88.4543
-14.1728
129.738
11.324
24.3813
1.01417
152.396
-14.3278
-138.068
-2.10002
94.4098
-92.3098
172.262
-29.8986
158.062
-82.6932
9.51348
73.1797
71.815
-61.2207
-10.5943
-31.054
35.6169
-4.56294
10.4162
7.74533
-18.1615
146.528
-11.0265
-33.2806
0.00109908
-33.6364
3.14044
82.7298
39.8758
105.596
-44.1157
-61.4801
-2.66153
4.92056
13.8501
-151.59
137.74
112.178
-141.543
-14.0865
46.4294
-26.2619
40.0779
-13.8159
-155.818
-36.7004
23.6725
-20.9462
169.767
-148.821
-20.1793
36.6553
23.8782
-37.9647
-81.9817
9.34076
72.6409
96.9808
112.489
-116.777
163.607
20.2906
-183.898
85.1769
3.91996
-89.0969
171.644
-74.4182
-139.375
41.9265
-12.3351
11.5336
24.111
0.51881
-24.6298
23.4027
-1.46464
-21.938
30.853
-0.558737
-92.5628
-36.102
-78.3942
-38.1153
116.51
-17.1653
15.0252
29.8626
-163.638
77.9672
10.0187
-9.59162
-86.82
96.2249
-17.0581
-7.4298
-10.6295
66.1544
-12.9525
-101.615
143.888
-168.925
25.037
-209.123
110.769
98.3548
-135.97
122.264
88.7869
24.4193
180.525
12.0881
-65.27
53.1819
22.4065
-23.0116
-35.6671
-139.74
-138.615
5.27282
-126.04
4.43068
5.6344
71.2113
-11.5113
-59.7
12.5955
-10.6817
-126.519
134.384
-7.86501
18.7951
-149.295
130.5
6.73795
-0.48976
-6.24819
97.6913
-41.7246
108.469
-108.659
0.189824
4.27201
6.75989
-11.0319
-16.434
-119.536
12.6344
-74.2984
105.417
-186.968
76.5429
12.0333
-11.7676
-192.984
193.612
30.9108
74.6851
9.52797
4.82849
-39.9709
13.709
0.242014
16.7597
-17.0017
-49.8965
44.6758
5.22068
120.018
-23.3192
-18.3285
15.5963
30.9043
97.3767
-128.281
0.858558
4.65247
-5.51102
-18.8536
34.4966
-15.643
47.0311
-48.4711
61.7939
73.7067
75.8781
14.3106
-90.1887
-96.9559
97.1986
4.82424
11.8451
-16.6693
-50.761
41.7809
-10.8511
26.7222
72.9022
-112.602
-29.6272
114.151
-4.12158
113.23
-97.1378
72.0846
-71.5128
-0.571766
7.00781
-11.3638
3.14795
-51.3111
-8.66565
0.96474
-114.482
-8.79442
0.218683
-0.385506
5.44537
156.841
128.448
-97.5437
25.2783
-4.51171
-20.7666
127.599
-135.967
-96.8293
116.082
3.74828
157.776
-161.524
-35.4114
11.5678
23.8437
87.844
-153.269
-6.11423
-0.768723
-127.012
96.8766
1.21238
-22.2246
21.0122
-6.64029
23.7408
-88.8495
50.7441
120.9
170.62
-5.69041
-140.821
-48.784
-34.1021
105.915
-133.904
-141.466
141.466
-5.12271
32.7618
0.0977351
35.1011
-5.86022
-29.2408
-15.931
2.31332
13.6177
-5.73428
95.4679
126.984
-144.796
-22.8114
-58.7159
0.291369
-2.0137
-6.10293
8.11663
-31.6024
148.593
44.3527
-194.303
149.95
-29.6043
-1.10367
15.6009
-13.8011
150.08
-37.5837
-112.496
24.4464
68.424
25.914
-26.1768
120.125
-136.559
-45.4201
119.456
-74.0357
49.3392
-30.4961
-18.8431
-0.271381
8.91167
-8.64029
13.5127
-1.29847
-45.4995
-29.3708
74.8703
140.38
44.3844
-43.8581
-6.80068
138.174
5.21673
12.5033
-147.165
177.242
-30.077
-26.2023
-125.443
136.226
-2.81611
9.29538
-6.60122
-49.0621
90.4997
87.7532
-3.0583
-1.99892
-15.0258
27.8175
-12.7917
-35.8898
15.5157
41.1748
-23.1519
-121.05
-14.3548
13.7598
-87.2648
-21.8177
-7.11841
11.675
-3.17252
15.2284
69.0405
-98.0968
29.0563
-12.0903
-99.2759
115.465
-16.1886
53.4676
-60.0689
2.96288
10.5498
131.934
-2.65183
-15.9034
-42.4711
-4.45847
-134.946
2.64981
-3.91811
1.2683
36.4076
-114.802
-168.237
9.96217
-22.595
3.84907
107.737
-68.0019
-39.7349
15.6066
98.1665
31.2109
-141.289
110.078
-54.069
6.73359
47.3354
-25.4646
186.449
-160.984
-5.10268
-129.658
134.76
3.02041
91.7833
-16.4773
2.95332
12.2081
-15.0268
2.81872
49.7547
-29.7228
-20.0318
-66.836
93.137
-28.1924
-10.4671
-228.645
69.4978
159.147
-31.9907
-107.384
7.95612
1.64531
-9.60143
8.35971
-114.449
106.089
35.6813
0.812801
-4.32873
35.8983
3.63961
-35.6467
-0.680151
35.1435
0.738962
1.53918
-1.49323
-49.8928
2.7989
28.2434
-32.0177
3.7743
-78.8769
-83.8082
162.685
-138.035
129.826
-4.59297
142.776
-72.8435
-9.84975
-51.7319
31.5526
2.61569
-4.62939
-177.14
31.099
26.2281
-32.2105
-94.3311
-76.9004
93.8756
-16.9752
-10.285
-63.652
73.937
-54.651
47.1405
-0.642883
85.3737
-138.31
52.9361
-48.4178
13.4352
34.9825
117.867
-6.11981
38.2894
90.1586
-24.2667
189.615
-165.349
-93.0416
56.0514
-42.7147
-152.149
7.52314
-7.48339
-0.0397434
-17.2096
-148.229
143.125
-19.7303
21.5261
-81.8477
55.3856
26.4621
-5.1291
-16.3889
65.077
98.1214
-163.198
-108.728
170.704
-17.2087
181.031
-163.822
34.7234
148.543
12.7399
-26.4894
13.7496
-20.0405
21.2476
20.0831
-21.2522
20.1367
-21.3124
-17.1859
20.0913
-21.2618
14.0241
-1.99077
104.211
-171.849
-68.3025
56.738
45.1818
-55.8523
-248.186
33.5201
-2.78869
67.6823
-64.8936
4.33706
101.9
-3.5226
-34.4189
-0.888259
26.0082
180.924
20.3193
-21.7561
108.459
-86.7032
-148.986
144.528
-16.8577
129.953
-113.095
-26.2758
40.7334
5.18142
4.89745
-44.9086
117.811
-39.1451
-38.6217
38.6217
-155.395
-32.7085
-109.443
133.917
-24.4747
5.57661
-21.8255
16.2489
-162.622
139.818
-85.4804
-123.643
-135.627
-12.4774
148.104
240.432
-176.945
-63.487
-74.4772
153.953
-79.4758
-32.2243
-145.996
178.221
61.5033
46.2334
-144.522
-33.0544
177.576
-13.7682
-34.6496
14.174
-13.6963
112.477
-117.58
147.804
-160.383
12.5789
5.82244
-15.5875
179.698
48.6499
-51.4386
-17.2775
56.0123
128.018
-134.208
-161.426
129.185
115.119
62.367
9.448
44.481
76.0614
5.20115
-12.6892
-116.458
129.147
144.335
-14.7428
-129.592
-5.36531
18.0007
39.1224
-52.8906
-163.283
70.0417
-131.535
67.6325
63.9029
-51.6696
-21.3084
72.978
-11.7899
-10.674
22.4639
-124.377
142.538
-14.1914
13.7365
166.113
-160.017
-47.354
54.473
-7.11902
-67.598
-63.9374
-19.4022
163.29
-70.3975
-32.2346
102.632
-24.1017
18.9726
11.9706
-14.6181
2.64742
-52.7863
66.4697
-153.549
87.0792
-18.3579
-17.0535
-92.0602
66.6645
-92.1465
100.958
2.67877
18.613
-21.2917
170.194
-51.3491
-118.845
-18.3712
107.514
-30.8211
-107.489
4.17704
19.3748
-23.5518
-13.7486
12.7508
13.9558
-13.6943
-70.1893
-120.37
-12.7342
-5.243
17.9772
-157.162
14.102
12.5154
-172.872
160.356
63.2386
9.49665
79.438
-88.9346
-45.2553
-8.39722
0.212079
-123.268
-15.9368
106.554
-8.73431
19.1505
0.378779
-73.5088
63.2238
54.5067
-62.3228
-1.59772
-13.2452
14.8429
-97.5931
27.1956
-12.2545
14.493
10.4039
-109.68
102.215
-100.066
-2.14899
96.8546
-13.1671
-154.946
134
-137.066
3.69792
-0.859851
116
-149.242
-161.796
175.66
-13.8638
0.96178
24.6153
-11.5306
24.2704
-12.9807
37.6434
-24.6628
11.1422
121.582
-194.851
2.26671
-33.3207
85.7107
-29.772
-55.9387
-14.1528
101.169
13.763
-1.58617
-98.4427
-6.03503
159.101
-10.0167
-34.7552
-12.1505
4.15153
131.033
-135.185
-89.2569
71.1116
-16.2325
3.49829
-39.0175
-16.3888
55.4062
-0.388629
15.5262
-196.872
181.346
-46.9575
-59.0272
-7.58565
-42.3072
-17.9665
141.385
25.078
-79.3846
121.353
0.144323
-8.28373
8.13941
-150.357
26.0787
60.71
125.062
-185.772
-110.45
106.089
-84.1316
-14.2858
98.4174
-12.6047
59.228
-90.8263
41.521
-36.6387
32.8895
3.74922
-14.4179
138.145
48.1334
40.9928
26.0501
-28.7019
21.7629
-127.528
-0.216294
149.941
19.3276
160.127
-51.4229
-135.221
5.52988
129.691
-1.79722
19.4096
36.2968
0.160405
86.9072
-120.02
6.86816
22.5523
-29.4205
2.95504
-27.1117
-1.11917
24.8259
1.49127
-24.9226
1.22547
-24.9469
2.89976
-24.0477
-2.80527
26.9591
3.50284
19.2295
-22.7323
18.3605
-21.533
-65.7796
85.2183
-29.7744
-55.4439
4.33767
4.42638
-7.69703
-36.0731
5.65483
-9.76412
169.751
23.94
-0.214655
175.125
12.6437
-8.35497
-107.686
-67.7907
122.3
6.65143
-151.856
164.476
-73.9767
22.4258
1.34708
-27.0319
22.0365
1.38758
3.0988
198.338
15.571
24.3411
-83.0601
78.3347
4.72537
7.66411
-0.971157
-6.69296
-8.16539
-130.934
139.099
10.155
61.0563
11.5721
96.1909
-126.181
168.716
-42.535
12.2191
-9.89359
-1.64053
13.438
-11.7975
-10.8859
-44.9331
-83.6818
128.615
2.46626
98.3729
-100.839
48.03
-175.659
100.468
75.1908
126.739
-12.0574
-17.7923
29.8497
-144.616
114.064
-130.921
4.69384
-67.5801
62.8863
133.622
-5.60346
-87.2762
10.3758
193.921
-10.4527
-83.4043
-113.564
-62.8634
8.08933
-155.216
-54.7043
-34.889
89.5933
16.9244
-4.70417
-6.94258
166.175
-163.926
25.6916
-19.7526
-5.93895
-43.799
5.17728
8.86365
107.794
-116.658
172.254
-22.3133
87.6138
148.247
-133.104
161.114
-28.01
-77.1183
89.4426
-12.3244
-1.32904
22.5217
-24.1293
1.60766
2.84545
-17.3744
14.529
-7.91892
-58.903
-7.64662
-75.4134
19.0711
30.2681
75.1922
-7.50991
-0.669222
24.7802
-1.01273
24.4154
-9.48961
4.69219
115.135
-88.2597
-26.8754
-22.9549
-3.73217
-12.2479
-36.9259
158.508
120.32
-95.2202
-25.0993
9.17492
-35.488
101.377
-1.96401
-113.18
4.95348
150.517
-177.071
42.7785
-6.65429
-36.1242
16.9758
-111.668
56.9639
-13.6625
-177.821
145.891
-155.138
9.24745
3.12394
-126.671
-133.221
2.77296
4.81782
-5.82828
-38.9728
44.8011
5.04849
142.431
-31.9901
200.623
151.894
0.502362
-14.6901
15.9025
84.308
7.3644
-9.37239
49.9596
-6.58014
53.6112
1.0058
4.35144
-5.35724
-79.9649
-2.03723
14.33
-9.82673
49.7359
-67.5132
79.0854
5.09467
17.4948
-22.5895
-1.09086
19.5677
-23.3943
3.8266
-71.4445
103.136
-31.692
-14.9417
-2.3175
17.2592
109.686
-100.527
-9.15984
28.5034
-88.516
-126.914
108.948
66.6727
-90.2047
2.2182
0.334293
-2.35009
1.72826
1.33796
158.456
-21.5587
-136.897
16.5629
-3.85734
19.8204
-1.29343
-71.456
185.675
-169.755
-113.849
120.223
-6.37443
4.57542
-1.9256
22.3224
-113.33
91.0072
6.25393
-115.778
-5.60469
-105.857
111.462
2.48822
117.405
13.9049
111.847
-140.252
11.9276
25.952
-7.20314
-141.026
-23.3266
86.4629
112.869
-90.5467
-1.7154
-13.9103
15.6257
86.5526
-94.0789
7.52627
-141.804
157.33
-15.217
21.3774
-184.563
52.1806
132.383
79.7998
160.632
-123.663
123.368
0.294873
-13.9453
-2.28721
51.948
-94.1929
42.2449
-47.2554
34.2748
-7.63028
8.3777
-0.747415
-0.238019
108.707
-7.33682
14.8704
47.2812
50.4101
155.747
-7.94318
11.6392
42.9522
-54.5915
-126.417
-12.1985
-114.532
91.1787
23.3531
107.074
-153.249
120.317
32.9328
126.06
-83.5472
194.926
-156.845
-38.0809
-121.58
172.834
-51.2535
77.4017
-0.205418
-77.1963
6.83793
-121.669
96.4921
18.0807
-19.6784
-61.0452
73.0772
28.5714
7.10994
-33.8911
-1.75558
28.5135
6.62994
-32.7143
173.158
-140.443
-61.1906
72.8517
-11.6611
-6.09096
-35.68
41.7709
2.02867
4.97921
-7.00788
-76.6566
61.3554
-3.3534
80.7551
-20.3186
-7.39471
27.7134
-81.4006
74.0445
12.723
-13.3051
29.4687
-80.207
88.5667
-9.48312
8.43251
-6.54378
51.2999
-44.7561
-3.8217
9.91281
-6.09111
-113.193
119.888
-6.69473
-44.296
-7.70112
51.9971
163.192
-210.236
47.0442
139.346
-146.549
-88.2253
-2.44619
-9.51003
110.849
-3.60175
50.7898
-84.4209
125.921
-134.224
192.012
-147.72
-44.2915
145.78
40.7754
8.97923
-86.0371
-3.47171
-50.1001
40.7442
9.35592
-4.49039
-131.145
-30.2813
-27.918
-102.976
-75.8919
108.746
-4.71228
-104.034
2.35926
-0.196624
-13.2522
141.141
-11.5486
-129.593
34.8391
-34.035
-0.804056
59.7546
-64.3429
4.58836
-1.97136
-4.00798
13.9955
-9.98749
20.9764
-16.1521
-88.1791
-8.45665
-81.6895
83.983
-2.29349
42.4948
-1.55723
-1.41088
109.593
-14.2852
-0.439037
-169.75
43.5686
-170.861
0.330993
170.53
160.213
-184.48
-13.275
3.46015
-147.51
124.358
9.19246
-223.721
8.23453
-8.82937
0.594839
-10.9855
-159.876
-25.355
-56.2803
81.6352
-162.154
79.4357
82.718
45.5866
-43.3804
-63.8604
25.3628
10.4104
3.74077
-14.1512
134.154
-4.76955
50.3562
-5.63358
91.8032
-86.1696
119.415
-136.477
17.0623
-0.536789
-0.362569
105.016
-164.407
59.3917
-109.902
-149.934
86.4122
63.5221
74.506
-45.8754
-28.6306
-81.2189
83.6889
-0.0940043
8.32853
-11.2758
9.98914
7.36885
0.897768
-163.685
176.201
-193.573
157.765
9.90112
-14.6264
4.72524
-16.9908
26.1657
27.7726
6.12515
-33.8978
67.5143
-171.618
12.1292
-11.8009
14.731
-208.172
145.183
-5.65137
0.596317
9.92534
-15.278
5.35268
-76.5274
88.2694
-11.742
-70.326
184.686
40.3793
-7.50252
-137.195
20.6729
131.221
-100.254
-31.6555
-4.17705
35.8326
-1.82763
15.1577
-7.84752
-40.5892
48.4367
-15.0716
57.6183
-65.5372
-84.8573
90.5947
-162.676
72.0817
27.118
-137.17
110.052
-12.2571
17.8337
88.6601
81.5339
42.0037
-0.109215
-7.50173
-36.2408
43.7425
169.084
-165.336
6.20113
-5.98119
-0.219941
-9.70083
-3.24743
-114.489
-119.351
-45.4521
21.0653
30.2147
-70.8675
-103.679
-17.2335
-74.4952
-40.3702
114.865
9.34086
130.423
-126.457
-3.96556
134.215
-8.29381
12.1013
-1.69083
83.2088
-13.4695
-69.7392
60.2655
-83.077
-47.6773
13.2343
31.456
-44.6903
-14.1514
89.7065
7.11165
28.1124
-39.5217
11.4093
52.981
-14.253
-115.622
70.202
7.83996
-5.23226
-31.8373
-16.2139
48.0512
-181.201
19.4048
-7.13441
0.374957
-70.5984
-18.1111
88.2209
-12.3427
1.97896
-95.8741
93.8951
-57.878
-11.5575
69.4355
-49.2248
-19.5876
68.8124
-16.6679
-56.2907
72.9586
27.8625
72.6651
-47.7599
59.3992
-13.3864
-10.4799
13.4738
130.405
0.396475
52.3807
-58.9609
110.543
-125.236
14.6923
-102.417
13.4387
88.9787
3.22042
6.02465
-133.46
-1.76141
25.7544
-0.476136
-103.877
116.515
-17.6406
16.5543
1.08629
75.2236
7.98519
117.193
19.7612
-136.955
-106.211
101.518
61.4742
174.835
-52.4776
141.744
-41.1511
119.107
23.9313
-29.2966
-128.559
-32.6522
-168.494
-67.6711
-50.1242
-12.302
-118.469
-50.4555
45.0201
103.142
22.4979
-27.7409
-15.2107
-39.4402
168.489
29.2363
50.8151
-58.5162
-14.3869
81.4262
-67.0393
-115.267
-69.2958
-170.339
183.941
-13.602
150.262
-182.487
-94.8432
6.66409
1.10507
20.5831
-21.6882
-26.9948
-7.55778
34.5526
160.977
-62.8555
-97.3827
0.426764
10.0873
-8.09216
-1.9951
-0.967619
-60.08
-171.168
42.6084
84.4627
-22.1179
11.6401
4.92277
90.4215
-86.5015
111.67
-136.553
24.8831
43.7151
-58.9258
121.801
-8.15041
-40.742
48.8924
95.5694
79.266
-2.70044
-118.555
128.178
-9.62341
13.6212
-17.6292
-130.053
-14.5251
144.578
-39.8386
-0.142733
14.6899
113.265
-0.0342701
-8.1682
-79.4787
87.6469
45.9642
-48.8421
-155.593
170.501
-14.908
-34.7803
81.3685
-46.5883
-104.541
135.751
11.8671
0.331694
49.8965
-67.8742
17.9777
19.7372
-21.4526
116.825
-8.71212
-108.112
-28.3438
-6.37266
34.7164
-8.92995
-49.6226
79.8373
-138.015
156.458
-18.443
-23.6805
-95.0916
2.72809
92.3635
-1.21584
16.0275
165.703
-60.6871
-11.8666
-44.3781
2.0678
7.79772
126.962
10.9577
58.3205
-69.2782
-17.2114
2.26972
48.7839
-55.3277
-25.0634
-10.496
35.5594
-8.53852
57.4102
-21.3368
-77.8904
99.2272
-30.7745
60.1221
-29.3475
46.5978
-54.4453
47.8129
78.2466
-2.98837
-14.5179
17.5063
-149.602
140.646
-3.43593
-11.3268
-108.697
73.8077
213.539
-46.6802
19.3712
-34.397
4.38669
24.2573
-29.0406
17.0526
-18.1323
1.07969
-174.819
107.308
-88.4167
-6.42649
-89.3844
5.15155
88.3608
-93.5124
116.508
-0.284923
-116.223
-104.089
153.549
-49.4599
-140.013
-31.627
11.824
-97.0094
124.132
-27.1228
4.65319
101.744
-106.397
-9.14774
52.1
-134.556
-22.6055
-6.78651
6.19976
0.586755
25.5861
-8.49876
53.444
-5.00113
-3.55846
-118.037
94.9771
-113.348
25.4955
-26.4126
84.0509
-18.3516
-8.01136
-102.561
92.3764
-108.313
-2.80262
-4.33178
-111.258
-82.5183
94.0908
128.79
-140.338
135.803
-62.8055
22.2672
-24.5847
-17.0115
-75.0487
-11.5604
-9.37088
20.9313
87.2606
21.4543
-108.715
-12.2132
6.2061
6.00712
157.156
-152.108
-90.8797
3.48601
87.3937
15.2214
-14.1163
89.8146
-103.967
-9.63627
-148.814
158.45
133.095
-15.6905
14.95
47.7751
-55.9255
108.013
-112.726
-30.7289
0.285257
97.5025
-98.8263
1.32382
-10.7939
-7.05385
18.1298
-11.076
-85.6137
71.2268
0.27389
4.63581
-4.9097
64.6929
39.063
39.0748
-44.935
-41.1343
39.6411
35.8319
-40.1606
43.5899
-39.9503
39.244
-39.1463
-39.9247
39.2445
40.207
-39.3942
-37.6413
39.1805
40.1446
-39.4056
-42.5745
36.7165
5.85803
37.7766
-35.9958
-1.78086
42.1959
-39.8872
-2.30872
30.5322
-1.20818
-29.324
45.7538
-55.1262
3.46316
35.8898
-39.353
-136.249
-86.066
85.0984
52.7742
85.4705
20.0674
-102.445
-47.4443
149.89
-4.82976
14.7309
-7.97364
-0.820784
-95.8416
74.5048
83.4292
-19.969
-66.1083
170.319
42.5745
-39.5473
-3.02727
-112.249
119.558
-7.30849
106.097
-6.10182
-99.9951
-4.26642
-15.4639
80.6313
-38.0807
-42.5506
88.0681
-102.354
-67.9669
76.2023
-8.23538
110.236
6.58815
-75.3395
-46.4626
121.802
24.8458
-2.42005
48.0088
-146.844
76.0777
118.849
-16.8327
-68.781
84.314
44.8842
-54.7109
-14.5646
10.2172
18.7196
-1.14417
47.4783
72.8413
27.7405
178.13
-145.474
-32.6558
-59.6418
-120.248
-145.432
-13.4892
158.921
-137.414
147.456
-10.0429
-70.3019
-39.0833
-5.29481
3.90525
-117.754
127.055
-135.349
-119.512
0.653088
-17.7356
-68.3303
-51.7955
21.021
4.35424
-5.76949
1.41526
3.04329
146.261
-132.453
-13.8075
-77.8226
43.0424
-48.2438
-20.7944
18.9667
8.89177
109.928
-167.306
79.3827
-92.8522
7.09406
35.6844
-91.0851
20.7653
-4.37396
-16.3913
17.3294
-89.94
104.402
-3.23513
-8.82725
6.64091
2.18634
-162.078
136.613
54.653
-61.5488
6.89577
-0.384747
62.0034
-85.33
27.7344
20.0586
-129.501
22.5494
14.4
-73.7556
59.3557
7.60775
-14.7262
-144.887
42.442
22.1937
-23.991
35.3822
-111.286
-171.627
50.0465
9.43016
-111.04
105.407
-173.698
218.051
-18.9069
98.8091
-95.6391
-3.17002
18.6695
-1.90978
76.3512
-112.666
36.3145
-103.064
-13.5068
116.571
134.734
-146.393
11.6596
1.90154
-11.9732
1.97687
3.65436
-5.63123
35.2379
33.3526
-6.29764
-40.3927
9.6002
31.232
-36.0015
100.991
0.909901
14.4899
33.1499
-47.6398
25.9324
0.513039
-10.6131
23.0083
20.3368
-22.374
114.338
-6.78629
118.061
10.2867
-128.347
29.7602
30.3618
7.02644
-58.3375
-20.1055
-53.032
73.1376
-123.076
68.3714
54.705
-105.483
84.7986
20.6841
-169.411
143.864
25.5473
61.4175
10.6671
138.771
-131.946
-6.82524
-118.247
-3.27363
121.521
117.254
-3.28166
32.4254
-18.0291
167.432
-149.403
-18.5542
-4.17024
22.7245
33.2062
7.85487
21.6949
5.57125
-53.4494
-110.436
163.885
-106.47
102.948
-226.488
189.475
46.3487
-86.8576
87.3821
-0.52442
27.2609
-23.7885
20.8001
-7.44547
153.336
-14.4525
151.87
-137.418
7.61422
19.9966
129.222
-31.845
4.54632
4.68787
-103.131
-14.6221
11.4949
3.12723
37.2029
-46.3507
-51.2441
5.72621
-51.5106
-91.9873
96.6405
-75.8774
58.8658
121.188
119.981
-128.693
101.085
5.01236
10.4942
-11.0858
8.01376
-7.7329
-0.28086
24.5007
-5.12593
-101.899
72.894
-175.499
149.757
25.7425
97.291
0.211523
-99.0669
90.8987
6.91058
4.65911
-93.0758
-2.31931
-83.7178
-2.194
15.1322
-2.92407
-177.777
59.3081
-31.6709
167.583
104.766
-95.9021
62.857
-8.20397
98.2011
-95.473
55.4463
-6.79632
6.99944
94.1302
-101.13
-95.479
-65.0031
19.1367
-32.834
-0.864353
33.6983
-85.4753
-8.60354
-121.238
183.402
-62.1644
7.52777
20.6072
-12.2798
68.1407
15.9102
-4.38086
3.05181
108.167
-20.9065
38.0503
-163.716
87.7982
-15.1124
-10.4612
-34.3347
44.7959
139.575
-26.7064
-72.5814
134.375
-56.7303
54.318
2.41227
38.0227
-12.194
1.21334
-0.0848888
2.7332
-84.4227
-7.7127
62.2194
-93.4538
96.9398
120.29
-120.528
17.3481
-8.15204
105.158
-97.0061
91.8588
-2.15234
7.65441
-41.3996
132.443
10.7457
142.942
-153.688
13.3002
-14.4085
134.97
96.0097
-4.84534
-7.70617
55.9837
-75.5713
7.44552
-7.55949
0.113971
3.96561
8.65306
93.353
-28.6601
75.9585
-113.874
-22.2026
-25.4435
13.8831
110.623
-118.635
-120.871
2.62425
18.3073
-14.0353
101.149
-32.108
-9.40527
-133.787
-15.5088
65.2133
10.7968
155.884
-13.1335
-142.75
-8.08113
72.5833
-89.4159
167.017
-76.4223
-2.42864
-9.25007
11.6787
-117.847
-14.1959
112.882
-118.984
93.1709
-85.3862
23.1352
-31.3711
-149.001
163.645
-14.6435
35.1677
-45.2184
-78.3809
46.8542
31.5267
109.389
-31.4218
8.72872
-11.9755
-170.846
138.131
73.7428
-91.4784
69.6293
16.862
13.8493
-122.508
183.218
133.132
-13.7858
54.7513
-40.9655
-7.01763
21.6486
-26.0226
16.628
17.3642
-8.83605
-8.52814
1.27393
17.7438
134.249
-143.885
-20.8406
-130.339
-89.6297
-23.9016
0.870461
23.0311
-8.20198
-115.021
140.751
-25.7305
-46.0304
1.28879
44.7416
49.3071
35.9111
3.96143
-148.544
136.427
12.1165
11.0926
-36.156
144.308
11.5761
8.54419
-6.03551
-20.3984
-144.001
-7.91898
57.4688
-49.5499
-139.547
-9.26717
52.6622
-48.4486
-3.38165
-127.711
131.093
-133.803
-7.62291
-140.745
148.367
154.557
-124.695
13.6348
-119.845
42.413
3.75818
-124
17.8073
106.193
-3.34661
2.32853
1.01808
22.489
111.429
105.574
-0.808263
74.7268
-142.258
134.092
0.110293
35.3756
-172.444
137.069
17.8651
-155.881
-4.97172
87.1187
-82.147
-160.842
107.393
-3.5409
11.497
7.0324
137.303
6.15281
130.225
-133.499
29.1049
-127.698
98.593
-162.913
84.0364
7.88949
-0.366356
113.48
67.1097
-8.13834
53.4748
-45.3365
3.39688
42.74
-134.685
8.26834
-154.366
146.014
8.35216
10.1002
-3.50468
-8.64578
-111.879
111.594
5.55798
-6.87084
1.31286
-81.1639
147.634
-32.4325
-79.397
-76.15
41.2087
34.9413
23.3903
-22.2683
20.6278
39.9247
1.05921
-40.1446
-4.9143
-40.207
-4.95307
-11.1418
36.2089
-36.2089
147.605
-162.058
-2.46485
-19.7598
-30.5387
-143.175
201.676
-58.9977
-84.0217
68.8989
15.1228
-106.046
-122.598
-24.6802
-170.102
194.783
-97.6091
-8.91782
61.8159
-83.2428
21.4269
11.3276
-14.0572
-61.9598
2.10236
59.8574
10.0954
12.4838
-22.5792
-10.0982
-4.52388
55.001
-15.8786
6.03834
-33.0332
12.7991
-11.4333
0.0696013
-11.8657
57.0474
104.817
56.1599
-79.5799
2.78386
-5.69521
2.91135
108.443
-94.8086
114.554
-122.632
8.07809
1.53954
-6.33264
4.7931
56.7231
-49.9895
-10.2712
-36.71
46.9812
140.103
21.7012
-3.08822
39.5715
-39.9643
39.4668
-39.8243
39.4631
-39.7959
-39.4874
43.3363
-39.386
39.7363
66.1288
-54.0407
124.464
61.3385
-182.576
104.752
-84.5661
9.25686
-8.25107
-8.35457
9.01701
-0.662443
13.5665
1.5657
3.34634
152.742
-156.088
-165.704
-4.76551
170.469
-105.465
-4.5139
109.979
34.3243
-34.3243
39.0748
-38.7886
35.8319
-41.1343
-33.9996
33.9996
35.905
41.2664
39.244
-40.0494
40.0494
-39.0401
38.5292
-36.7064
36.7064
39.4229
-37.6413
-38.6268
42.6228
37.7766
-38.6538
36.2427
-36.2427
-45.9875
-20.3882
-31.3888
-8.6165
31.1688
-33.6725
-94.6737
-5.93653
1.47152
-18.4572
16.9857
11.3869
-147.814
136.427
11.1505
-10.7936
49.2233
-153.313
-4.62679
140.858
-20.7324
-115.385
17.841
-4.05399
-52.6763
45.5159
-46.5415
-30.8191
77.3606
-25.0288
136.698
94.5011
-91.4807
43.9079
88.3744
-32.7744
-87.071
39.1643
-49.6256
104.138
59.3739
-76.7675
90.4901
-13.7226
21.7499
170.262
114.325
43.7189
-153.406
-124.771
92.7799
-104.444
-7.81016
-49.6846
-4.1972
-3.06087
150.776
-163.909
-168.135
-13.2706
131.331
6.20035
-61.1462
-7.91192
11.1711
-3.2592
-95.5748
86.3718
9.20302
24.1085
-69.2398
61.5271
-144.405
136.782
-7.36653
-103.716
3.44115
-6.10268
90.813
-22.6723
43.0771
12.9742
130.871
-138.565
-6.40269
21.0583
14.6331
-14.2988
35.2862
-7.04286
-40.9931
91.2709
23.8003
-6.3055
-38.7204
-103.46
142.181
2.16016
2.7604
4.58653
8.07706
-12.6636
-44.8264
4.73678
112.456
-159.901
-20.4148
15.585
14.4791
-12.3564
-43.1648
53.3923
-10.2275
-58.6427
41.3651
132.786
13.7419
1.76751
2.80791
76.9674
-18.7489
-58.2185
106.174
-1.68713
-104.486
-40.0716
-35.8058
-116.111
126.398
2.48939
-35.3234
-4.70088
0.879183
-1.82211
1.07932
-104.956
203.356
-70.1725
-9.80518
-29.528
39.3332
12.234
-33.1084
17.7031
30.7064
36.2634
17.2297
-103.233
13.9512
165.886
-61.0686
-176.037
12.5384
163.499
-79.3873
-1.30194
80.6893
-68.5961
73.29
-1.06236
73.8651
-21.6236
104.44
-82.8169
-138.241
-120.233
158.522
-38.2895
5.5721
-95.7029
143.912
-48.2092
-4.02091
12.3036
-60.0635
-4.1063
23.3358
-0.0598568
6.79781
-30.7048
40.6801
-9.97527
14.992
-25.3747
10.3827
-11.4876
-50.2182
61.7058
6.19086
3.72195
53.8618
-63.2671
40.2894
-116.129
-132.057
0.209677
-32.8895
29.6079
-94.4622
21.7498
131.492
-6.41563
-5.79758
-187.956
59.2417
-146.093
126.523
19.5696
12.7319
118.413
-5.93562
-1.42278
-3.0652
-4.29795
22.6585
150.905
-158.35
-8.52005
-67.8742
37.0823
-235.314
175.429
-6.91737
209.258
-202.34
-57.9958
45.3912
-59.232
42.8433
88.9958
-9.5223
128.865
32.2493
105.053
129.191
-141.089
11.8978
-37.126
1.0533
36.0727
8.64285
1.86707
-10.5099
37.3574
-19.1668
11.7291
7.43775
0.561177
-46.5124
-5.64064
23.1803
-9.83979
-74.7471
19.0719
194.583
-213.655
-12.9597
-67.196
-16.8257
32.4408
-14.1838
-18.257
140.006
-8.97304
3.2266
2.85108
-6.07768
151.768
-169.797
112.575
-4.78048
0.0942955
-32.7042
32.6099
-84.0204
-1.98312
4.35382
11.2768
-15.6306
-162.704
-13.3334
-63.4875
55.5685
23.1868
-31.2357
28.4855
7.25601
-35.7416
35.1916
5.31325
-40.5048
49.0372
-57.2392
-10.9921
-123.693
-130.481
-5.96258
-7.86549
-0.150979
93.6554
-14.2175
81.1957
-74.1994
-6.99634
-10.614
3.97235
-75.1471
80.3912
84.868
-165.259
0.0316974
-182.116
101.541
80.5747
-77.4924
76.3818
-10.538
14.5897
-51.1513
7.29317
-215.054
203.153
-12.8219
-17.111
-11.5365
-6.6735
-12.1593
-57.8351
40.7585
17.0766
1.93448
42.7726
-44.707
26.157
-4.34976
-4.63642
-52.9572
-39.9827
92.9398
-197.621
159.513
38.108
-95.4696
-110.975
-68.3907
30.31
11.0579
9.79742
14.7088
-24.5062
-54.5841
42.1788
-76.4644
203.084
-4.9332
-198.151
71.0784
30.0701
-115.738
-6.49327
122.232
138.276
-111.956
-26.32
-12.9411
15.3551
65.3283
-60.7401
-4.58824
-18.5422
-111.115
9.14894
-15.5646
-59.0837
50.9454
49.6905
-72.0641
-26.0327
134.063
12.1534
-146.216
180.139
-84.6246
-95.5141
-33.3452
-107.915
155.186
-47.2712
-0.730934
12.9649
8.28982
56.8619
17.7345
1.82692
69.0106
92.4262
-161.437
-61.6739
10.2414
-58.3111
-105.609
-58.8804
164.49
-175.049
-50.1911
36.7993
13.3918
-159.914
85.4371
3.25477
4.88618
52.9906
-2.12541
-1.99092
-91.6636
87.243
4.4206
20.0086
-26.4113
-178.086
-17.6522
-5.35999
23.0122
-120.09
133.94
-0.560258
22.4788
-69.0203
179.117
-12.9421
-47.2787
137.354
-60.2461
1.34314
-39.4841
110.562
-59.7975
184.86
19.5345
-9.73704
39.7925
15.2086
-9.85846
137.458
64.3207
23.6046
103.256
-116.209
-58.0462
43.9845
14.0617
-202.477
-84.3878
-6.74485
91.1326
45.0887
-82.9547
-55.9801
138.935
-67.5631
6.37243
-90.8143
8.16429
-59.2153
45.4295
3.97144
-18.7475
14.7761
-58.2887
42.686
48.6065
30.4011
-4.35102
66.4268
-82.0625
15.6358
39.4411
-0.697356
25.4397
3.73439
-29.1741
5.78733
-1.1585
-4.62883
-55.875
44.3385
6.69592
16.5231
-2.95658
-64.0936
43.7053
10.7099
-19.2299
98.0679
115.971
-214.039
11.9773
4.58144
40.3336
-48.03
7.69641
73.9381
-76.2202
-109.253
4.57434
25.9579
-11.0777
-121.06
117.678
6.44747
-151.879
-94.7357
97.6103
-2.87454
33.7988
-15.9208
-2.53644
-1.179
-3.41926
4.59826
10.2029
-87.3212
39.5381
-15.4609
83.1056
54.177
-137.283
30.4428
-9.42417
9.69806
138.413
-139.558
160.456
-9.93867
-126.675
-69.3795
196.055
-109.588
-51.2542
5.24691
-3.70737
-22.1521
5.09403
-191.037
12.4309
19.2519
-32.2116
-142.982
2.47695
40.2956
2.09301
50.9899
-94.838
-6.7117
9.54267
62.5003
103.202
29.3044
-29.2101
76.4789
-168.144
91.6649
-10.0404
21.8974
-11.8571
-5.37072
-74.0166
-52.8057
36.7002
61.6739
-74.3414
12.6676
24.0298
99.5214
-123.551
-35.1081
-6.48741
-20.5445
-53.436
6.51245
49.8596
-56.3721
-26.7154
-5.30225
84.3163
-19.9956
-78.2078
-103.908
2.66203
-4.78744
-13.491
49.8124
15.0065
19.374
-21.3618
1.98784
-0.734639
21.5225
-20.7879
-19.2261
20.7545
-1.52839
2.29939
-21.5698
19.2704
19.3801
-21.5167
2.13659
-128.953
93.4104
-56.5142
75.5529
-19.0387
10.3922
-10.8819
44.6758
-82.5221
85.0629
-18.6361
194.422
-185.496
-8.92594
20.0995
120.758
56.3316
-32.4244
17.2074
15.4612
92.9822
157.635
-29.4939
-4.58427
-80.1433
84.7275
7.07303
10.2912
132.585
-102.001
0.191901
-7.29113
12.5394
-115.604
25.9614
-3.43975
3.23573
-7.03436
3.79863
-11.087
11.2543
-11.9889
-73.8592
-25.2616
-44.7408
34.9357
31.8881
-30.5636
2.57866
-0.255133
-78.4359
154.174
-174.008
0.214544
-6.32878
138.297
-148.598
10.3014
4.87737
-0.523129
-141.592
127.66
12.9397
71.7428
92.7337
1.73995
-3.89573
15.8006
-5.87521
142.364
76.7953
77.1577
-145.031
183.891
-107.096
115.603
-120.117
1.33582
-47.6604
-43.3312
152.409
4.09402
-7.0762
2.98218
-36.6387
20.45
54.8853
-29.7228
141.543
-4.79252
-158.462
87.0982
71.3635
49.1086
-42.5962
62.0036
-46.4879
-194.793
36.9585
7.4548
5.18888
-130.17
14.4313
99.6103
-80.2878
-7.09786
62.331
-13.923
-3.47547
88.2684
-97.6553
9.38692
4.82187
6.93799
-11.7599
23.9914
160.195
-184.187
122.813
-29.6423
-0.187457
7.21429
-30.9913
-142.78
49.576
59.9109
-109.487
70.3276
-110.043
89.0662
20.9772
-88.1715
11.7346
-81.4739
-172.428
98.4514
-57.7924
94.8782
-37.0858
178.902
-18.8869
-160.015
149.347
-10.0014
13.8814
124.395
164.469
-222.582
193.055
-171.305
-66.2178
-9.93213
151.047
-14.1874
-136.859
-1.83868
-19.9097
21.7484
-3.16772
-7.03173
10.1995
25.3355
-29.1371
-122.096
151.233
18.9823
13.4584
13.4625
88.0553
12.3922
13.0906
-18.494
-24.8172
-3.88465
-24.4641
-6.90809
31.3722
-32.1517
19.3298
166.058
5.63969
-12.3514
-149.055
126.905
21.7979
-2.23017
-197.091
49.9259
-171.491
187.174
-15.6835
6.89651
-105.446
98.5496
10.8226
-13.1883
6.12244
-9.65907
-44.7996
39.1773
-161.031
137.216
-31.896
-15.3594
-89.177
-5.86437
-6.77708
0.16183
1.01226
63.7584
-9.3196
-54.4388
-170.292
-32.1858
157.66
-162.425
52.8465
69.9666
-118.477
178.295
-59.8186
0.404882
106.554
10.0967
-116.651
82.4519
5.92251
16.2937
-20.0855
3.79179
-16.667
19.3086
-2.64158
17.2718
-18.2946
1.02283
17.1173
-18.3105
1.19321
98.0718
45.8403
23.9204
-10.2331
-38.5229
-105.721
-20.1406
21.7111
-1.57047
-20.1834
21.2361
-1.05268
-7.11085
18.7881
-14.1194
-4.66868
15.5938
-15.8577
-18.6894
14.1367
4.55269
14.7695
-3.44191
-17.7799
101.469
91.9842
-20.022
15.266
4.75602
16.5953
-16.627
0.0317076
-16.4576
16.6354
-0.177832
-16.4674
16.5736
-0.106212
-170.342
-0.191068
17.1118
-16.9207
-2.736
-16.3393
19.0753
3.65959
15.5306
-19.1902
16.012
-19.5529
-14.6453
147.531
-132.886
114.854
-44.3071
2.18657
42.1206
78.3889
-73.9118
-14.8964
12.6173
-2.07048
-65.5096
-14.6357
29.6277
-37.3094
121.697
-188.302
66.6048
-11.5133
12.6939
-144.131
-15.5852
-112.783
137.745
-24.9617
19.2169
-13.5666
-177.817
191.383
12.5983
127.408
-92.5667
-4.17144
17.849
-13.6775
-73.8719
108.44
-34.568
-70.1403
-8.58393
38.3163
-29.7323
117.924
-118.753
0.829325
11.5143
-58.5624
47.048
20.0929
-6.4717
-20.8729
-3.25642
-15.0344
-80.4447
15.7325
-4.1989
-18.547
3.98102
-102.104
-93.1808
-87.039
3.32126
48.5603
-55.361
20.5581
-2.4774
83.9501
-100.206
-95.2244
10.8035
53.7671
-180.442
-21.769
4.1168
-36.7429
-108.718
-13.3099
122.028
-117.037
13.6585
4.90626
-18.5648
122.469
50.3646
3.74199
4.37464
-17.8483
2.71691
-3.83974
-85.2572
43.7217
-12.2657
22.6207
-79.3314
2.00513
-92.8865
-79.6933
172.58
68.0448
-8.2902
15.5353
13.8302
175.279
185.153
-35.229
25.5708
9.65822
126.789
-133.282
9.89076
3.68566
-147.229
177.971
-30.7419
-168.101
223.174
-55.0738
79.1809
-81.4452
2.26429
161.523
17.3789
108.344
14.4459
25.632
16.7325
173.783
-187.35
19.3757
-1.64117
75.4188
-12.195
-108.562
-1.18514
4.41174
88.3483
-85.6151
51.9863
104.111
-156.098
-187.856
-20.2586
-3.13575
0.295036
-7.25164
-97.4265
149.413
56.5505
-16.758
-26.932
-114.357
-10.7637
36.9918
94.9539
91.2498
-186.204
-36.641
173.051
-156.477
134.918
-15.9738
-1.66679
0.211613
-7.29247
-86.4058
-54.236
-8.08686
-173.463
192.535
-15.6372
-1.77847
17.4157
5.88828
16.7325
-183.072
164.185
-0.141188
5.38401
-5.24283
75.7092
-3.39519
42.0116
-58.7622
46.96
12.4392
45.6346
163.912
-79.0436
-29.8241
-5.55545
-37.4992
43.0547
154.413
-11.4715
1.31967
148.351
2.19434
110.445
66.1607
-8.5424
49.7343
-8.88733
2.97359
-19.3649
-59.5775
75.1128
-13.6292
-144.553
158.183
-43.6814
-6.44288
-8.2855
115.745
-107.459
-1.48904
14.2059
-12.7169
-17.6913
61.4063
-18.8651
-2.58116
21.4463
32.5408
10.0145
-42.5553
-1.28364
-48.1898
133.568
-85.3786
117.395
-121.612
4.21703
-22.5101
26.2509
-1.12495
1.3928
-26.3581
193.745
-167.387
145.652
34.2551
34.4758
-15.8952
-139.364
155.259
-69.6251
-28.2759
-13.6731
88.8967
-13.0802
-2.23971
-18.4727
20.7124
-1.77453
-23.0631
24.8376
-92.7148
-17.4971
16.1859
-16.0004
18.5574
-14.5219
-4.03554
17.6397
-14.5181
-3.12156
-63.2251
79.9577
-88.7739
-18.0435
-17.6338
-2.0446
16.0473
-16.765
0.717691
16.1669
-16.5434
0.376556
-3.23761
13.0245
-3.2287
18.8009
-15.5722
19.8613
-15.72
-4.1413
17.4962
-17.3996
-0.0966253
22.0468
-22.0422
-0.00464275
-17.8167
19.1363
-1.80216
-14.6656
16.4678
-117.491
9.37905
2.92054
109.689
-112.61
12.4742
-85.5839
-15.9502
63.2579
-125.77
18.3857
13.9054
-34.3213
20.416
121.695
64.4759
36.5632
-1.44184
13.025
-11.5831
-3.82416
-122.576
-17.5918
140.168
23.232
-28.0684
4.83637
-63.3779
-8.07814
-64.1254
113.701
-67.5156
-11.7291
79.2447
-6.20204
0.761512
5.44053
8.0171
-0.571577
-85.9181
60.5632
-161.011
3.54493
-2.31158
-1.23335
-83.383
-14.4354
-13.0651
57.2507
15.4768
-94.8952
55.9137
107.972
-82.676
-76.8693
-5.85334
-33.634
39.4874
-85.7532
-88.3096
174.063
-1.76235
13.1733
-11.411
-8.15778
92.2729
-4.87924
-15.5152
15.9492
-0.433973
-39.9776
-6.70252
59.1515
-6.7708
-164.14
-17.4321
-2.61665
20.0487
60.2764
25.9891
-28.3167
-11.1877
-1.30224
93.6657
59.3522
115.989
39.7484
5.83397
-8.33651
144.763
-1.59885
104.741
57.0226
-7.16303
-90.5078
97.1719
13.0243
-196.329
147.157
49.1724
-56.4224
-7.92047
-153.803
-14.4342
-12.4708
58.3254
-7.51031
21.0035
108.565
-136.838
-89.6404
10.1617
-84.3497
47.6851
36.6646
90.3336
-119.976
-25.5703
28.7159
-3.14557
-4.08187
35.3969
-31.315
-130.562
117.291
-106.701
126.32
-19.6184
37.2306
-51.0466
-11.2417
-116.47
-50.1421
-24.9065
58.4512
-46.3465
-21.7502
24.0315
-2.28127
4.16205
-178.23
174.068
-76.368
-1.12436
-5.62722
16.177
64.3891
-149.246
-88.2493
86.9471
-149.727
-1.42323
118.818
-30.1908
19.1131
-47.9691
-67.653
9.53659
-74.7207
65.1842
-38.2532
-4.67723
-10.6008
-50.029
172.498
56.8779
-8.09403
2.09815
2.86882
-4.96697
-1.934
4.49681
4.62298
-7.83845
-34.3725
42.211
-101.824
-2.54309
-109.28
111.823
-10.6418
-17.5098
16.9191
0.590686
156.332
-95.4386
-41.6636
30.1278
11.5359
-124.436
152.178
-27.7423
176.367
-142.546
-33.8213
-120.266
-52.6555
172.921
-123.603
-23.738
-14.5978
17.1683
-2.57051
163.723
-34.8578
144.036
-23.2773
-40.8359
-7.40784
-9.1244
4.15786
4.96654
-15.4176
17.3672
-1.94967
16.8265
-15.7039
-1.12259
-18.8219
-4.07658
22.8984
57.053
-12.1688
-59.0628
67.8875
-8.82463
54.0731
-7.47538
17.2719
-16.0064
19.6929
-10.7987
58.7847
87.4406
-25.4372
-32.9568
-11.7335
-23.823
-139.086
162.909
49.4326
-59.8809
76.1828
11.6153
-1.5791
147.179
-16.7566
57.7406
-9.96549
-57.0168
-8.5204
56.1924
-10.4386
29.6079
-118.467
-18.0919
55.1238
-11.1631
-43.9606
10.5477
138.799
-77.9947
-12.3466
-3.08276
15.4293
-122.619
-48.7789
-7.5644
-34.0265
41.5909
-42.2625
-9.21436
51.4769
-27.2928
-11.9302
39.223
11.034
-1.0531
16.0031
-11.5425
145.635
0.924985
126.369
7.25308
39.2451
42.2152
-160.42
-9.87127
-6.84115
-39.4168
-8.66287
-18.4817
-4.25062
-30.7482
-13.0475
43.7957
-31.8397
-13.8751
45.7147
-14.5752
-1.31732
11.5254
-12.4965
16.9684
-94.9631
-110.875
-15.5819
123.077
-32.7432
-16.8543
88.0811
123.455
-12.9118
69.3599
114.042
-8.71787
-10.4489
-89.451
-54.2561
-6.55661
-112.212
12.2172
-13.1748
-1.62657
-23.5844
26.6629
-3.07847
-97.7555
11.173
86.5825
-37.0113
-15.4431
52.4544
-9.62982
5.43234
4.19747
-3.80742
32.6643
-28.8569
-11.585
-4.89234
-1.06623
-9.9389
11.0051
2.67374
-2.67374
-16.8003
-9.5486
-32.4441
41.9927
118.555
14.7282
-133.283
12.386
-154.246
-12.8506
-3.72951
16.5801
-131.3
151.311
-20.0109
-43.0816
-5.29602
48.3777
127.314
-11.3143
139.52
24.1787
-37.1238
-122.877
-52.3654
-6.5955
25.2291
-1.29779
24.5142
-2.01631
-38.3234
-9.76925
-96.0057
5.49791
-12.13
18.513
-6.38302
-18.4055
-5.14627
-4.44073
12.3919
-7.95116
-12.4836
-6.68076
19.1644
-54.6493
-27.7163
-10.7214
38.4377
-31.9617
-10.8361
42.7978
-78.6134
-11.5753
-32.3878
-12.353
13.2521
-16.8465
-134.061
-11.0999
145.161
-15.2648
-6.55594
21.8207
-106.023
123.295
-140.186
188.661
-164.669
-11.8171
-133.36
145.177
1.58553
-38.1584
-11.3792
49.5377
-77.5212
-12.6836
-114.005
-11.231
-14.003
-37.1619
-12.4636
22.9386
-2.35551
-112.766
-48.2451
-19.4034
-6.1345
25.5379
-52.5487
-7.52018
21.0737
-30.5838
-18.9849
64.5945
-45.6096
9.72593
9.5657
-2.92479
-10.741
-4.62778
15.3688
-14.1779
16.5303
-2.35241
-7.03596
-128.065
135.101
-21.8855
23.233
-1.34749
180.165
-25.9912
146.727
-48.6549
-37.7444
-13.8757
51.6201
-109.719
-59.6927
-90.0368
32.2444
-18.2426
-2.55182
135.091
-149.736
6.17097
-113.949
107.778
0.299545
4.90371
-29.2158
24.3121
-97.0925
-95.4862
192.579
159.844
-47.3881
-6.59213
-21.7251
77.7088
143.101
-14.3111
-51.026
-7.49025
21.1359
-1.39863
79.6943
-119.178
-4.20367
19.1554
-101.679
-171.917
-6.66747
116.904
-11.6274
-6.00179
38.3341
94.2509
-14.4654
-38.4252
-1.56109
13.8665
-12.3054
-20.0726
-1.61553
-18.0453
-3.24642
151.984
-143.82
-41.5408
190.637
-92.5693
-67.6151
-16.5061
84.1212
181.053
-30.791
-116.982
162.694
-45.7112
14.7995
-170.008
-8.88293
4.30356
4.57937
62.9867
-9.12482
-73.1511
21.4815
-10.244
109.632
-84.0778
51.579
-134.534
-9.74574
179.403
-17.8806
3.67053
-115.125
-6.48725
-8.33225
13.9043
-123.533
-9.64434
-5.04399
126.565
138.93
-11.5217
-59.8006
-9.43918
-5.97021
35.3207
-29.3504
89.4496
77.5674
121.338
-6.48383
-24.47
29.3025
-4.83259
-19.7457
-1.70694
83.3507
-23.0297
1.09169
10.9764
100.008
-110.985
-50.7759
-7.56165
18.6006
-1.548
121.059
-50.4807
-70.5785
52.5908
-85.2876
6.3421
-1.41574
-4.92636
-30.3097
-18.2389
-1.18232
-15.569
-6.58309
1.74186
120.608
-3.94981
-116.658
-47.8502
-7.47747
-151.513
-9.51763
9.78268
53.9757
141.174
15.2839
28.9922
74.1442
-11.9366
35.2245
-23.2878
-34.4385
21.1334
19.5565
-165.5
43.4038
-120.273
-41.3857
161.659
-138.511
-10.0331
143.239
-14.0478
-1.57796
90.3424
-14.1596
0.26364
-0.350287
0.243427
-7.36163
8.84564
47.8774
12.7769
-1.25155
2.50858
-92.4486
21.9724
6.79215
-28.7645
-27.7885
17.7481
24.7487
-2.48148
-131.913
-9.17604
-46.7723
-7.67296
-8.07351
-68.8655
-24.2217
-72.7601
-52.0105
-40.5441
-17.2911
-59.3091
-7.4509
-93.2065
115.491
-20.5137
-31.9788
189.123
-23.0097
111.14
-116.184
-15.7173
18.4612
-2.74387
111.392
-19.0155
-9.12216
89.7813
-172.303
-121.225
-6.48897
35.0124
-28.5235
-120.663
-25.4294
58.0639
-9.02672
-10.2379
-111.228
-6.35179
18.2698
-8.73334
-9.5365
-29.4607
3.1035
142.656
-149.573
-2.06391
89.0678
-87.0039
-8.67889
-1.99668
-56.4404
40.2265
-17.8842
-37.792
-91.3466
-24.0368
29.1425
-5.10566
107.668
-17.8535
92.6232
-13.2405
-170.887
91.0611
0.128871
-22.9702
25.2724
-2.30219
30.0386
-10.5675
8.78406
-45.5759
-105.564
13.6691
-115.284
135.137
-8.08167
-101.565
3.46939
-6.52768
-5.49885
57.3649
-55.5799
-1.78506
-88.7172
93.7308
153.672
-103.109
-9.57065
35.5597
-110.517
-1.93058
-1.83796
100.465
-17.5171
103.199
-15.1313
40.6933
15.319
68.8807
-51.1973
63.6365
-2.88979
-129.071
-11.2672
-55.4196
66.3268
-10.9073
23.8733
-19.1366
88.4697
-88.9942
7.58717
42.2252
-30.1435
190.357
-6.85542
10.5974
2.05651
-93.1416
107.795
-173.903
112.116
-4.10254
-46.2348
-9.6907
0.103441
11.8718
17.5969
25.6476
170.456
-18.6881
-16.1236
-2.79044
-19.9419
-3.84662
24.5087
-31.9034
-135.47
-130.655
4.55775
126.097
-107.881
-4.84429
-41.4641
-17.4617
7.39443
-120.024
112.63
-46.978
-10.5863
57.5644
200.046
-14.893
15.337
-158.087
-20.5625
42.6883
-22.1258
-126.487
-5.9217
132.409
-9.77579
-152.28
-17.5176
2.97454
-74.2721
71.2975
-5.53161
-39.6868
20.4329
-44.7294
-10.3968
12.9735
108.383
-104.478
-138.994
-10.2479
9.43699
-36.7298
-27.2312
-2.06546
21.9716
-0.0115961
-4.93948
4.95108
113.439
-19.6528
-128.296
-6.88895
2.41471
-7.81474
35.6502
-27.8354
-4.43388
105.518
-78.2313
-17.3435
18.1754
-21.1574
-8.26305
-44.8906
-10.9617
68.6756
-68.6756
79.7734
-111.881
2.65272
-16.598
-49.2368
-102.029
-6.6298
-23.7739
30.0846
-6.31067
-53.0807
-25.8857
-1.85521
-86.2609
18.7453
-41.9349
-16.3538
-11.745
-107.606
-14.045
2.46001
-43.7698
-78.9902
19.4127
-7.00364
-102.277
-5.03893
-99.5504
-28.7307
-12.249
17.3891
-5.14009
-10.7357
-2.45485
-2.43242
4.88727
16.0183
-5.87821
169.222
-41.6763
4.89538
-51.7569
64.8269
-13.07
-42.8871
-11.8238
-173.094
-117.902
109.616
131.228
-2.71736
-128.51
-11.5227
-31.9806
84.7029
2.87438
-87.5773
152.021
-136.684
-16.5461
-4.06705
-103.104
107.171
-0.104455
6.32355
20.6044
-83.8296
1.62197
-25.0872
-61.3388
159.748
-11.3966
-42.5098
-13.0511
55.5608
-42.2876
-13.5873
40.4671
14.9392
-50.3986
-13.695
28.7119
-5.52121
8.37229
-20.3542
-10.4697
33.6048
-124.519
-10.8298
-134.354
-22.1226
-12.9894
13.1337
22.8799
-25.2501
2.3702
-113.353
-14.7462
19.3293
-4.58315
58.4806
-14.7753
-50.8864
-13.6574
-4.52398
-88.5518
-42.0906
57.8047
-15.7141
51.6099
-35.2495
-16.3604
4.65729
-2.12193
-2.63231
5.39271
-8.46319
36.9413
-28.4781
14.8322
-11.7398
-3.0924
5.77674
-177.574
-15.9988
-133.711
152.099
-18.3888
-67.8867
-120.01
187.897
21.5073
-2.54059
-78.9501
-15.2982
94.2483
-54.4481
-9.03932
-130.36
-32.8067
9.65169
-16.7055
-95.487
2.03322
12.5798
22.7879
-2.45116
-49.8276
-20.2604
70.088
104.157
-174.501
70.3445
-118.902
-2.76713
127.904
-7.92229
-25.0645
-28.1515
-22.4514
7.1866
-24.7873
32.1949
-7.40758
9.61064
-45.831
16.0843
-100.162
163.304
-73.8546
-48.9227
-13.3378
37.4275
-24.0897
-160.449
-79.3879
-13.4643
88.6468
-0.771708
-7.09378
145.884
30.4066
-176.291
-59.3992
-22.8987
82.2979
-196.347
44.7571
77.3566
-22.0427
154.035
-133.905
-20.1298
-70.9345
97.5299
-26.5953
-8.90973
32.6398
-23.7301
-117.652
-8.11757
131.664
-191.462
-158.232
-132.597
-13.7959
-112.622
1.58222
4.97312
-38.6071
-8.47687
28.3532
-19.8763
-10.6
15.4256
-4.82562
107.729
-2.3226
-185.32
21.6345
-121.236
128.86
-7.62407
-4.58725
16.984
-12.3967
-137.812
-36.3328
-17.0288
-7.0175
24.0463
32.178
-27.2049
113.464
1.33937
-114.804
4.16361
-103.433
-2.58964
90.2855
-17.7022
0.0747409
-152.444
160.025
-19.1944
-43.1092
1.06323
-152.352
-23.1472
-7.51271
27.5213
31.8881
-16.4305
-6.15895
144.621
-66.5587
-78.0625
139.96
-163.783
30.9218
-8.94947
-41.9303
-152.511
-11.4151
-15.1387
21.2828
-6.14407
-50.0974
-35.0426
141.74
8.11545
6.10206
75.0797
33.3602
-56.9071
34.456
-0.595129
-9.1057
-152.94
-29.5471
-21.9211
-40.1791
-94.0131
-0.72268
-45.2996
39.8356
19.3925
90.061
-16.3182
115.446
-110.933
-4.51353
-63.3151
12.1178
-47.998
6.22293
-10.2261
-21.7459
101.455
-3.84466
145.742
-9.31456
-26.0842
-40.3992
95.8012
5.31784
-111.788
2.48565
93.5132
-83.1974
-10.3158
-47.9675
-26.2011
-42.9401
-5.424
-115.447
-21.5645
0.361666
-0.245224
-181.593
99.075
-25.3998
2.44486
-13.3781
-173.365
-49.5652
-9.51856
-15.2544
9.16896
-96.435
-7.34319
103.778
-22.135
30.6254
-178.346
22.8989
-19.8981
-3.00084
-154.178
80.765
6.57542
-87.3404
25.728
-10.8478
-91.84
-0.147314
-50.8881
-41.8758
92.7639
-64.5159
-120.032
-8.66117
1.98284
66.6417
-119.704
131.858
140.977
-168.078
-8.99296
2.32104
-10.9829
155.291
1.24289
-15.4208
26.9874
-5.33878
-97.9423
-1.12456
-27.0946
160.778
-53.6427
-28.5465
96.8586
1.34244
-99.4045
134.629
-35.2243
93.4698
0.6604
-101.83
74.5353
27.2944
24.5777
-3.77763
-13.4678
-6.94697
92.9939
0.530238
36.3879
101.719
1.22862
-204.115
118.635
-115.871
0.0928197
129.551
-209.363
79.8126
-16.2139
-19.1929
86.807
-67.6142
-35.8752
-42.5057
0.830958
-16.3395
185.423
27.2776
-4.29239
0.0607652
-121.257
7.34542
113.911
113.974
-176.668
62.694
-28.2874
-108.444
-55.9663
-36.8349
41.8639
-5.02906
144.59
120.405
39.0034
5.13248
97.9095
-1.26899
-95.9784
0.505374
-3.32112
-4.75348
10.7844
-138.164
127.379
-16.0404
-101.875
0.745782
8.65984
-53.889
-52.6563
-19.3376
6.36552
32.8158
154.259
-144.121
-10.1382
90.6097
0.288946
2.05512
-17.7724
-102.354
27.3599
-122.523
95.1629
147.964
-9.16501
86.297
-24.4811
-28.9202
69.6148
-54.6748
-14.9401
-73.3027
16.7884
-143.603
-10.7629
-58.2159
197.243
-139.027
73.4312
32.5541
16.6994
149.61
-7.87032
-17.1898
2.96734
116.115
-5.49136
-22.2673
13.9123
-17.9838
17.6064
23.9614
-20.5886
-3.37285
148.815
30.6286
-136.902
106.273
93.4305
2.42811
-95.8586
73.2607
22.4717
-141.059
122.814
-7.2107
94.4402
2.49957
-81.1243
-126.495
24.6108
101.885
137.999
-12.4201
-125.579
10.5987
-144.309
-0.471013
2.79954
-112.879
-7.23787
-11.3048
108.387
29.4691
-137.856
-15.4992
164.674
-23.4992
-11.6878
-153.34
165.028
11.7145
-84.8389
73.1244
61.2133
25.0837
18.8407
95.2058
-111.22
16.0144
78.9993
-105.032
-4.94225
19.4788
-12.1428
-17.8017
136.356
117.537
-4.65506
-113.103
-5.53126
146.3
-138.447
-10.1518
-58.6675
55.3141
62.0209
13.532
174.342
-60.3681
144.757
-157.654
-0.380522
-172.5
87.0972
85.4027
2.34693
-145.878
20.3925
-127.094
4.11182
23.8246
-19.43
-4.39466
7.23644
91.4857
-18.0545
8.83296
121.048
-25.892
144.182
-71.9243
-17.4916
-208.254
177.365
30.8888
170.303
-202.293
195.228
-38.072
-115.886
40.0061
75.8801
-91.7179
-16.5953
95.0072
85.8975
-116.93
137.519
-20.5883
123.009
-174.263
-5.7256
22.7837
-113.201
-5.7834
-137.173
-9.37563
-11.8693
16.1302
160.851
-176.981
-38.661
-76.4071
115.068
-93.3484
-19.9999
-140.396
-88.764
-15.2035
146.923
12.9322
-13.9449
-20.7321
-5.29048
141.885
-7.6367
-5.95226
-14.0534
107.75
-166.63
39.9672
-5.5592
-34.408
-75.4367
15.3596
60.077
25.2092
0.411256
-1.5275
-3.59552
8.48171
52.8956
110.782
-163.678
92.1886
-18.9279
28.0891
-5.30536
-138.615
9.91445
128.701
-135.964
-5.52711
-12.8593
5.4663
-133.531
-11.0984
-21.4706
-2.52037
158.394
-10.7887
-5.79279
25.7894
-35.3964
-16.3992
105.247
-11.6232
-3.63128
6.58768
-131.107
13.3852
126.757
-113.704
-3.49586
-84.5381
70.3653
-24.6827
-1.47986
-36.9883
181.17
-163.694
39.2587
23.6459
-18.976
-4.66989
-70.1318
-21.3466
-62.647
-137.089
-22.3361
-1.61308
-132.695
16.2251
-128.764
146.386
-17.6216
134.777
-4.55209
34.0723
-20.6139
-87.2984
-15.0555
-127.5
-5.99838
30.6482
-29.7723
30.8256
-29.6974
32.1279
-32.1279
30.0084
-30.0084
29.6974
-30.0267
30.0267
112.261
-21.0824
-116.184
-4.34369
-40.3336
46.3465
-6.0129
-112.36
-76.2762
-55.2387
-20.3326
96.2839
-17.2633
-79.0206
79.9838
-168.435
88.451
-44.2276
-14.9877
170.814
-13.1541
158.906
-106.011
27.9285
-5.892
-10.081
-93.409
98.9069
-3.2146
-25.7196
1.89796
-0.542876
-1.35509
-19.8808
-2.49323
7.50667
18.5534
-141.129
162.862
-10.1205
-108.108
-3.77162
-150.906
-11.5196
-219.349
193.371
25.9784
13.5543
-11.5256
26.251
-113.062
-0.811558
-73.7944
-41.6094
115.404
-127.636
-67.3329
137.968
-70.6353
-16.0093
-98.0076
118.4
-38.9536
-15.6305
-42.1742
-15.8719
-22.9922
96.0524
-73.0602
103.314
-152.267
9.70348
142.564
-144.005
-11.1329
32.2513
132.924
-6.13575
-164.972
-73.1074
60.6521
12.4553
-178.881
-29.2914
23.6056
138.568
-9.94607
-47.0967
-72.8375
157.24
-187.046
29.8069
9.68291
51.9453
-119.11
132.779
0.058119
-113.238
3.13235
12.0366
-6.91306
-90.7588
-163.949
127.839
-122.373
-1.77933
-120.568
65.4576
23.4391
150.311
193.044
-61.3802
25.5191
-18.9917
-6.52744
-23.381
164.518
-141.137
-4.78392
21.5164
-175.399
125.37
-1.76684
-9.53531
77.4322
86.4793
156.022
18.3343
-145.324
126.99
1.80616
-151.584
-10.4741
-68.4154
-58.5834
126.999
-3.39156
18.1677
8.14593
-71.3174
71.6122
65.4282
90.9034
-58.6021
48.3746
126.416
154.264
-143.665
41.1546
-51.1299
-82.6184
-0.524016
31.9628
7.94927
-1.6262
22.3713
20.317
-23.8316
-65.0674
-8.10977
0.11149
21.5087
-67.3841
111.629
-174.276
-168.516
89.4727
97.9937
-22.7104
-60.5325
163.55
-12.7743
125.158
1.42719
2.11774
-148.683
50.6757
72.1393
-94.8116
172.814
53.526
15.3222
1.47448
47.701
-143.454
-51.0115
-26.9176
-83.1258
-1.23027
29.1544
-171.589
142.435
11.5736
121.73
24.111
176.325
-7.15756
-18.2324
25.39
-10.0744
-117.282
3.83535
29.5858
-156.042
3.2897
152.752
-173.465
107.565
65.8994
-94.4697
87.476
-26.2627
-146.106
13.6531
-4.97805
-8.88155
-14.6763
-56.2405
24.5818
-119.518
47.5996
71.9181
154.553
-100.199
7.48822
-152.567
164.404
-11.837
134.705
-173.709
39.0039
95.8741
-101.658
14.9016
1.62864
116.372
-107.561
-138.813
-13.5902
12.8387
5.01024
-142.496
124.905
-21.9341
3.09111
-126.372
78.4027
113.411
-110.485
-2.92585
-12.6665
47.6022
-159.714
42.732
121.544
46.4683
-24.097
77.4405
-143.917
131.497
19.0457
-150.42
131.375
-5.14568
137.675
-128.334
-81.5269
-148.314
-8.41523
156.729
-11.6899
114.824
-3.2295
-130.171
200.212
91.8265
-185.733
55.6797
12.0155
-149.855
-14.0543
3.45272
-187.499
129.283
-3.88554
1.20334
-181.451
197.037
-15.586
113.193
-17.987
-119.871
38.8521
-148.232
109.38
-22.0413
-3.35849
-6.12016
-90.175
-83.2795
173.455
101.168
43.878
14.1794
-134.05
-13.6928
-12.6506
-120.044
111.599
3.7686
-100.269
-4.3861
-184.814
195.246
-10.4321
11.2787
15.4664
68.5768
-56.6369
41.2775
-65.8022
139.352
38.224
-6.22896
88.7679
-19.1386
-14.9443
64.6742
-141.059
-30.7813
105.317
3.30251
32.7702
6.35734
139.782
-199.6
10.2832
64.1412
-15.7454
-158.708
174.454
2.95761
140.019
20.5465
25.4559
81.3275
-8.95419
119.112
-4.54614
-5.11293
-6.34943
-112.404
8.04079
-7.18223
230.254
-170.995
-59.2594
-119.61
-7.32001
-24.8905
30.4881
60.4341
-6.95443
-110.327
4.15002
144.226
29.2816
-48.2313
18.9497
-146.385
76.1971
-166.804
90.6065
42.3547
81.9379
97.4842
7.77761
29.2328
107.213
-136.446
-79.1488
38.5798
-45.6227
-78.543
97.357
-18.814
19.8777
-121.875
57.7493
33.3839
-111.274
-43.7383
121.179
174.593
-16.8283
-12.4016
157.508
-12.5179
-144.99
-146.375
-11.9758
-117.828
51.8236
66.0047
-21.8749
164.306
24.0312
34.0942
26.1692
49.2704
-6.14222
-47.0893
42.4201
6.85599
4.31513
-67.1244
159.551
101.938
11.2548
-95.9998
-91.9565
-71.5886
65.6084
62.9612
-128.57
-19.821
-124.096
188.481
-173.633
-14.8484
58.4512
31.5633
46.4472
183.218
-33.2678
-90.2672
24.1459
113.599
202.198
25.0362
-180.313
30.2129
150.1
-74.3414
-125.054
-115.279
-12.3098
29.9068
-15.0694
-88.5018
-24.9397
52.0828
-27.1432
71.0581
-89.4097
-109.961
183.826
2.82963
-163.95
161.12
161.05
-96.6612
-185.437
15.6811
-85.9406
29.6568
73.439
6.78454
196.258
-204.142
7.88324
-26.8931
-169.407
146.026
21.2175
2.83138
25.076
-25.076
-81.9386
-156.858
6.29122
-67.5698
-19.026
91.92
-130.977
78.1156
-165.411
87.2959
-171.918
189.421
-207.401
120.967
86.4339
29.8173
-78.8787
-213.929
90.803
-110.405
19.602
54.7315
45.5359
-100.267
-112.621
210.518
-115.504
7.47097
108.033
-86.1044
-99.6282
-74.7546
37.5281
37.2265
-4.76297
55.5799
-50.8169
-0.313822
8.1358
187.654
-172.609
-15.0458
3.92952
-1.12161
-85.2754
11.3474
-8.11165
38.0149
71.8008
91.5035
-114.157
-159.503
-3.42356
-5.45937
0.0823059
-47.4604
155.847
27.3981
-78.2863
-82.5022
-16.6927
-151.258
167.951
-14.032
2.32637
10.6386
-74.1422
-24.8149
98.9571
15.5331
-98.5596
90.4075
24.9586
173.571
-72.0303
29.3395
-21.1806
-135.677
11.8311
6.2987
3.92688
13.4622
21.0342
57.4483
57.3649
25.3225
-6.48173
-172.786
188.003
-15.2166
14.1892
-2.76939
35.1297
151.991
-11.3454
21.5286
13.0141
-106.407
-50.7926
-21.8847
74.2005
-89.0968
-161.007
84.5851
133.413
-17.0412
-16.8539
12.4543
4.39953
138.007
36.6514
-41.9536
22.8512
5.04521
28.7533
161.469
-81.3376
-93.7414
-92.1845
185.926
78.5925
-12.9771
-65.6154
-53.0058
-22.8513
52.1329
-122.795
14.4361
-19.1133
-1.0269
13.7898
114.983
-105.148
102.558
-87.4681
47.4854
23.7911
3.08906
11.2383
-22.7689
-147.799
91.8191
-181.878
130.733
-17.3225
110.55
-35.4706
193.644
-172.009
-134.732
-41.5758
-33.1788
25.8938
68.9843
168.587
100.205
46.522
-197.451
21.6897
-155.595
-140.253
-10.9407
7.77374
25.7075
-65.6699
29.5337
-161.816
192.441
-5.37838
39.0121
-112.807
-119.371
11.4021
107.969
4.00479
136.203
-156.333
7.964
44.9233
-52.8873
-42.7781
171.207
58.4215
11.6665
-21.1754
15.3002
-97.5306
-84.0628
101.886
-139.914
131.202
-173.98
-140.084
-14.1553
-82.0008
-99.0727
181.073
-94.7226
135.346
-40.623
73.1626
50.8169
7.63431
-0.379722
-115.833
46.1148
-151.659
19.0628
14.026
0.663822
-43.8138
13.5022
1.92337
184.365
-12.3593
106.445
53.9935
-166.354
115.924
-86.6328
-29.2911
25.6418
153.641
-126.279
-52.3897
-9.74928
-110.275
37.7034
36.2144
-73.9178
82.8151
-20.7941
72.5812
-85.2647
-153.951
-8.35935
-42.7919
161.165
-50.3833
30.8351
-39.8661
9.03102
22.2879
-78.1239
-50.0604
102.907
120.453
-18.5147
71.1967
15.1896
-168.204
153.014
25.1271
74.5966
78.935
83.7501
-194.31
-5.93628
-111.878
117.814
25.128
41.9825
21.3623
-167.193
93.3384
104.93
-167.786
97.2951
9.29936
-13.7054
4.40602
22.5076
129.67
-23.9179
17.5349
-0.0457023
-96.2608
96.3065
28.4684
-35.3765
-107.756
-8.89438
42.9094
-63.144
21.3357
25.1827
-35.7502
3.37461
-95.8669
-182.536
185.181
-2.64529
-110.73
-191.204
131.511
176.482
-51.1119
-22.9252
16.9234
87.3967
19.7648
19.8431
35.1726
-39.5237
29.2316
19.2687
-80.0652
158.827
-174.572
91.2403
-76.1174
104.462
-19.6636
61.313
-3.94804
0.894368
-10.738
-168.563
179.301
120.339
-2.11842
-8.32003
1.28829
28.7906
-39.5543
94.0391
-191.132
29.9504
-37.2704
53.1397
-111.153
58.013
25.0369
-184.032
65.1177
79.5035
18.2755
-24.7472
149.916
20.0096
-26.5927
-32.1384
-60.4551
92.5936
-133.255
-12.8514
-93.9983
3.73106
21.4697
-28.8996
8.73146
-74.2411
19.3751
-110.863
5.44654
23.3173
-35.2809
151.564
-129.057
70.0499
-82.2449
-10.1619
2.37355
92.1275
-30.828
23.3771
-15.1086
21.4998
130.6
69.9334
-168.749
98.8158
-10.2482
-105.961
24.6114
-33.5026
45.0189
-51.7459
6.72702
48.0431
-141.773
46.9186
-144.345
93.9778
-112.197
136.808
86.0965
-61.1589
96.779
126.253
-156.791
111.991
-177.533
-177.786
34.1442
34.4012
-68.5454
-15.5063
25.8143
-34.0774
-53.9002
-115.926
-2.54982
-71.7523
33.3001
-37.1848
18.8999
118.619
6.52136
-90.9516
191.447
-70.2287
184.857
-95.6782
-89.1792
-164.567
97.4424
12.6191
43.3178
-60.0758
-9.32054
-7.43871
2.11335
-61.9384
44.6474
-12.5939
-125.592
-54.0873
179.68
68.7019
-79.8438
66.0316
-134.198
68.166
139.118
-92.3047
-46.8134
31.9096
-152.176
-128.731
14.3024
23.2999
-157.654
21.9561
47.2768
-69.2329
41.5397
-56.0051
2.89242
13.9022
37.7077
42.729
-82.4674
39.7384
-70.0511
-178.639
120.431
176.206
42.834
-58.7125
-85.7418
175.254
-89.5125
-77.8076
84.18
-100.808
190.691
-89.8832
32.0062
-35.446
-23.5541
-55.8374
79.3915
-64.0556
46.1714
111.539
-171.093
59.5541
14.6436
121.708
-136.351
102.51
-159.723
57.2132
160.091
-14.4288
98.112
92.5253
49.9411
37.5349
-132.401
-43.4822
8.45471
-192.608
93.2123
99.3957
44.9032
-75.7223
-2.21501
55.6336
-26.402
-1.33881
65.972
68.4032
19.8535
131.711
-62.8717
45.41
55.7633
57.9381
7.12951
55.7275
24.3265
140.347
177.945
123.358
-78.3892
1.73265
65.7961
100.271
-166.067
37.9876
-49.7211
-23.4096
38.8895
-51.9371
67.3704
-77.9647
7.63824
86.0925
90.0722
94.7852
67.0772
-54.9594
78.7006
10.2952
-61.4752
45.1214
0.476487
-63.0571
-77.3309
62.3197
-71.8525
9.53283
-126.61
-39.7814
-59.5437
45.8487
-139.585
16.993
-22.8712
38.4765
-50.7422
-167.92
-23.1175
-61.8148
46.1007
-68.8526
-159.217
72.1382
30.016
-33.2724
65.7609
-128.458
100.962
-92.5075
-25.8888
180.441
-183.014
-97.4024
-61.7017
46.9264
-62.5399
45.9938
-133.644
-18.623
184.29
-164.318
-158.36
130.35
55.9229
-60.6858
-63.2146
168.145
-47.3845
157.414
-110.03
4.80862
-23.2623
-59.8147
102.238
82.0603
27.3748
-60.2463
46.6589
66.3862
-74.4644
171.262
-68.0597
-147.835
163.024
-36.0709
33.8407
-140.562
62.3595
-87.7967
17.2372
-20.3296
107.871
101.658
-105.742
4.08454
-61.1981
47.5408
70.4348
-4.39946
-55.3894
61.9362
-87.0007
68.2256
69.7426
-85.1325
61.8702
-56.4357
-67.4404
196.724
128.993
156.93
-16.9699
-59.9313
46.8802
-23.1545
17.6556
-88.5799
61.9846
7.90648
10.3634
59.5476
114.794
27.5752
-30.711
102.455
-105
2.54499
-20.0187
13.9613
1.26708
106.623
47.864
-60.0328
-96.0704
134.404
27.6386
-139.595
85.5536
-143.865
121.611
20.3402
61.229
-84.1277
162.61
-55.2172
-8.2503
-0.121642
8.37195
125.805
-152.899
64.1194
-72.4096
114.432
25.1437
76.7231
-107.504
13.0183
-60.5366
47.5183
47.3905
-59.2143
0.557709
-74.8145
151.293
171.087
35.6877
-40.2507
-17.3636
108.4
-61.5989
48.5289
-99.3617
76.3694
0.267464
-6.8501
58.6388
-78.9714
0.394113
120.92
-160.046
-56.3445
45.1814
-121.382
-11.019
-21.7744
-108.677
4.96726
-43.5981
38.6309
136.749
-154.409
17.6599
-34.3999
53.9854
110.504
-59.2043
48.2426
79.9315
-22.4831
-66.6479
-139.723
16.8242
1.84526
103.458
-141.25
-28.2323
129.318
-101.085
173.461
-181.411
7.95052
27.6569
77.6597
111.075
-167.582
24.2929
4.2043
9.02237
80.4203
-59.4298
47.5642
17.6007
-19.49
1.8893
-202.783
62.8063
-70.7268
-62.0053
51.5668
27.1524
-29.6298
-13.9272
21.712
14.676
-108.453
156.495
-63.923
53.3366
15.9773
-19.4192
-0.650093
0.00881929
48.6185
-59.0153
31.3688
29.8136
-61.1824
-7.07142
-20.997
-10.9515
-56.6054
99.4462
-142.572
43.1259
-130.217
60.1664
10.8708
-63.2403
52.3695
2.78065
-152.325
63.2311
-71.7734
73.2579
2.94437
-2.98495
-62.7426
51.8353
-73.8338
65.0092
144.26
-90.0826
51.2849
-61.2504
100.389
-74.2316
154.216
167.392
-15.065
9.33942
10.9912
-12.7586
1.76737
88.3858
19.7813
3.2285
51.2847
95.6775
-146.962
-70.0008
62.4909
-25.876
18.929
3.75581
-63.6019
52.9914
10.6105
-60.6559
50.9652
2.74723
157.524
-36.6043
78.0638
-61.2773
52.5984
-2.34644
-4.31851
-83.8346
-24.2515
-71.7456
63.2252
88.349
-138.269
49.9198
61.4033
-68.7402
-67.6324
57.8867
75.9153
45.2635
9.24734
52.0078
-61.2552
26.2227
-28.2673
67.1573
-64.6887
-2.46865
18.0747
-158.302
22.3866
135.916
57.8293
-66.495
-35.3039
174.656
-65.9045
-61.3164
53.7547
-88.4439
-0.550229
60.1594
-66.7161
-70.401
113.311
47.8544
51.8286
25.532
51.4598
-59.5538
-64.6732
57.1629
112.183
-99.6432
9.61839
-9.80946
-66.1435
58.6233
-73.2753
171.727
171.66
-67.5031
-68.1634
59.0386
-87.8868
-60.4454
52.97
25.1608
-26.802
102.754
11.1464
97.964
-191.17
136.268
-150.064
56.655
-64.1452
1.8031
-30.5636
51.9976
-59.6706
-61.2222
53.7448
-62.6989
53.6722
-4.80133
-64.1586
57.5631
58.6723
-65.4431
-63.9063
56.7433
-14.1458
78.5551
-134.008
55.4532
16.9507
-18.5118
48.8357
117.689
-166.524
18.137
64.6781
40.2472
93.1658
82.3993
-111.107
28.7075
-108.613
91.5718
133.848
20.2575
-154.106
-67.648
59.5669
21.905
84.2579
-106.163
-138.229
109.346
-112.858
3.51264
17.3191
-111.658
94.3393
-176.968
116.6
16.3645
-17.6311
1.26658
-143.381
-52.948
-34.0368
179.921
62.8214
56.5884
-78.6311
-56.5108
135.347
-150.853
8.63785
-69.378
-12.9214
18.1937
141.89
-162.147
114.762
-14.7739
149.865
202.073
-91.1729
-110.901
-64.0142
-12.8551
85.6562
-105.593
93.4186
37.3145
78.2231
-75.2486
-42.5792
41.7149
24.8884
10.9409
-46.1136
-2.10006
130.174
-149.752
19.5786
-114.529
97.2066
80.2571
3.95769
-7.38125
-3.44609
120.003
-116.557
-1.72151
-119.535
-172.785
124.998
47.7871
-12.4113
-156.065
136.054
-1.12959
32.6723
77.8779
49.4286
120.661
-170.089
55.4646
157.976
-45.9543
-112.021
7.29553
-52.6029
-109.395
29.883
79.5124
17.8017
-117.554
99.7521
10.9689
-18.3664
6.4487
71.7744
-1.41934
4.2032
131.25
-145.298
102.192
-197.871
-122.946
74.7563
70.9458
-80.4567
67.4795
131.506
-9.15568
-65.5651
-120.23
102.243
-97.9084
18.2665
79.6419
-164.812
25.0725
23.8107
8.10705
128.249
-172.625
44.3755
14.0205
106.432
47.1925
-160.831
151.655
0.314124
-141.183
-86.5062
180.091
-93.5847
0.949382
105.6
-124.114
128.558
-142.869
-189.273
88.4657
13.4677
-77.4819
-63.0965
-146.267
109.742
-147.229
37.4865
17.7442
-127.362
109.618
24.6612
-115.781
91.1199
15.7131
98.8951
-116
17.1048
127.255
30.9934
-158.248
-93.1417
2.47196
133.854
-161.711
27.8562
-20.9322
-147.272
21.2156
15.4612
124.382
-132.006
201.738
-67.0322
17.9947
78.0578
130.861
-142.128
18.4813
110.163
173.765
-35.6334
173.52
-42.318
31.9921
23.6415
44.6248
99.3971
-144.022
-149.964
138.443
-63.0906
47.2187
-14.1404
21.1483
-62.3128
-15.1437
77.4564
-11.4706
140.208
-149.181
74.9299
19.4314
-65.9743
46.5429
28.4734
-117.673
89.1994
111.297
-125.166
13.8682
6.23719
137.073
-151.847
160.006
-32.7506
-82.6079
-72.0673
17.837
-64.5905
46.7536
111.186
-131.026
19.8404
8.10747
-106.083
84.1984
167.117
25.8569
90.0669
-7.49071
143.01
35.7092
-178.719
-64.1587
46.4674
161.77
-187.659
-133.157
19.1456
114.011
117.958
-171.858
-46.6775
40.0681
-11.3149
138.417
-145.306
116.884
21.765
-23.6748
-72.1959
165.408
123.084
-146.949
23.865
-6.18808
-77.6579
-63.2615
48.2738
-164.597
182.067
23.9865
138.357
-162.343
-87.6383
126.117
-136.947
-94.8891
96.9223
42.6125
9.55192
-52.1644
135.693
-143.775
-41.1621
-64.921
105.855
-102.052
-3.80262
-62.1483
-182.478
61.313
-162.316
187.373
-7.37636
-111.995
-46.5112
-49.2864
169.947
97.0388
-94.6107
14.923
-63.1838
48.2608
41.3848
-115.371
-90.1798
205.551
-85.8082
58.6623
27.1459
115.035
-165.418
130.267
-95.5417
98.0412
123.935
-173.221
134.468
4.81379
-134.435
118.194
16.2406
76.3581
-44.7948
-7.72419
11.3838
38.5723
135.017
-173.589
13.966
-76.2788
-35.4846
-140.806
186.971
-99.6081
-87.3628
-62.0284
48.9633
-120.932
120.932
20.9508
-3.46912
-17.4817
168.734
-88.6078
63.9234
121.952
-129.874
-79.9138
70.9862
21.9537
94.9272
-92.0778
164.95
-30.377
-134.573
13.4895
144.298
-157.787
-80.2818
51.4671
-88.7295
37.2624
-10.0853
88.5149
121.576
-130.237
-11.2962
-148.958
160.254
-39.405
149.449
115.567
195.114
-123.78
-71.3347
10.2223
-93.7984
95.1222
-62.4739
50.7439
11.73
77.5251
-96.718
148.083
16.8454
107.334
94.4033
-189.077
-5.23334
-63.8647
104.026
-4.01305
-79.6476
88.67
-119.881
-6.79
121.642
-131.265
-113.161
26.5281
60.6802
12.2461
-63.8867
51.6405
120.763
104.43
67.2297
109.446
-161.735
33.0878
128.648
53.2709
-178.863
-22.2121
156.067
60.7965
122.929
-129.162
-7.96329
120.578
113.047
7.86038
126.751
-15.4535
-64.4016
53.6028
70.3586
127.901
-155.22
27.3191
7.36484
-12.069
-75.2401
-18.1499
160.526
-142.376
128.153
-132.907
-129.396
-65.751
-58.8341
166.584
-34.7823
-188.582
-153.076
107.543
130.332
-130.332
-3.40781
96.4006
-146.033
125.571
20.4627
-21.4634
-139.493
160.956
-166.212
152.057
149.678
9.48225
-64.1859
54.7036
-134.906
14.8622
126.889
-131.232
-148.439
130.05
-24.3551
-100.223
98.6868
-132.414
-77.7853
-20.0865
-89.9241
104.816
20.7207
115.617
-136.338
12.9961
40.5744
-53.5705
-64.3284
43.02
-188.234
89.2293
99.0049
-158.005
130.262
116.179
-123.389
-81.1868
-28.2026
-127.839
20.2174
125.073
-153.305
146.782
108.263
-115.501
-46.356
130.197
-116.633
-20.1898
-109.824
108.686
-69.6235
-75.0785
65.6394
-45.5727
-154.501
130.331
24.1693
-26.0215
82.1774
19.2155
-138.112
118.897
160.857
-136.049
-24.8076
-72.5394
-62.5963
53.0778
88.8731
98.0978
-165.984
-12.7179
-150.422
163.14
-171.622
152.661
-22.9493
-11.3801
-103.904
109.49
-114.981
127.366
-60.4653
142.551
-82.0855
-68.6249
-158.376
147.08
-69.1376
60.0983
-68.797
60.593
-169.89
127.749
35.974
65.77
136.375
-7.0575
108.672
-114.203
2.43322
-91.5495
-95.8952
187.445
60.3141
-8.3786
-139.608
147.987
-83.3118
-118.448
76.8388
-19.0017
-115.048
115.473
-120.129
-110.033
111.307
113.421
-99.4006
-34.4456
174.549
6.94322
-1.66828
-5.27495
-20.3471
168.394
-82.9567
-4.91207
-5.06634
0.869136
162.446
-20.5564
-135.765
-28.156
163.921
-133.985
127.849
124.176
98.2464
-97.2917
17.7669
134.895
-20.4783
-127.812
-24.9973
152.809
-2.09489
-99.8798
99.9406
99.6029
-99.1762
123.537
-116.192
99.5325
-98.19
128.1
98.3353
-97.8299
-58.7768
173.571
98.1258
-97.4654
-96.9171
97.4474
97.8736
-97.1278
122.512
-128.296
128.808
-135.721
-100.153
100.119
-21.8708
179.565
-143.377
-36.1879
-66.9358
35.1553
-7.38266
-184.119
121.282
-172.792
-99.3611
-140.938
122.847
-124.452
-52.8081
-147.805
120.918
26.8866
-134.914
128.916
-170.378
153.685
25.5633
-156.87
131.306
-83.6931
122.019
-138.775
-17.1437
86.9386
93.1522
-143.53
122.797
-21.9712
114.232
-121.54
-85.8715
-1.13239
-75.5842
-20.8637
41.6209
130.667
-172.288
22.7422
139.704
123.818
-141.44
20.646
-152.815
132.169
-123.984
120.035
-114.137
155.397
25.0443
12.6453
48.0151
-60.6605
9.47065
-144.954
121.677
-127.775
126.054
-138.307
108.766
29.541
-120.512
114.639
5.87264
4.06361
137.69
32.3786
-170.069
-23.2112
29.3363
-0.213331
7.07006
0.19773
-7.0407
81.6163
-133.333
171.905
-16.144
116.006
-120.127
120.859
-136.441
-25.4545
23.8765
-97.4351
98.6637
-82.0763
103.531
111.099
-121.65
10.5518
101.696
-96.378
-153.208
-24.8784
-115.309
113.378
-7.31969
-12.8256
88.7841
165.943
-28.2524
-98.8522
98.1295
16.7373
53.6975
-22.1586
-141.33
163.489
-30.1041
0.0135827
1.88438
-182.764
94.698
-96.7923
2.09425
115.689
-128.6
-77.8231
170.557
10.9174
-117.884
115.144
-187.206
97.3232
110.424
-114.527
186.436
-152.105
-34.3313
-106.638
107.977
94.4448
-101.788
-34.3384
79.2416
112.952
-122.596
-129.486
-104.815
103.083
1.73145
28.8453
130.834
-159.68
-172.779
130.117
42.662
36.9576
120.567
-160.223
134.793
24.0884
112.61
-32.8821
112.305
-115.801
97.6685
-102.016
4.34711
110.122
100.14
-101.409
-147.851
124.113
167.518
100.089
-102.856
116.075
-127.306
-100.436
99.3118
27.6493
-163.414
165.471
-88.3133
95.7429
-95.8902
137.41
63.4085
-165.233
22.7084
138.148
-89.9229
188.021
-176.205
140.72
109.716
-114.56
114.787
-124.999
10.2114
-95.6704
95.9593
104.7
-107.022
114.538
-121.022
75.3245
-61.8568
-134.361
129.809
136.58
7.04893
2.14728
22.6986
110.268
-113.87
-129.31
-145.414
32.084
-129.591
-159.188
129.084
-135.182
113.21
137.142
28.8004
163.245
-140.537
1.68649
162.449
-92.1213
114.503
-120.439
154.047
24.5858
101.734
24.65
18.3494
109.75
-137.338
130.512
107.438
-112.219
105.318
-103.735
-129.679
119.431
109.797
-114.836
31.3002
-3.42741
-27.8727
119.638
-130.952
38.7886
43.9049
-30.1471
-29.0715
27.2335
90.8114
-89.9015
-62.1453
-20.8567
187.798
-104.194
100.35
-29.563
28.2155
-30.8903
29.0351
101.402
-103.378
1.97624
113.55
-119.902
-28.3834
26.7679
37.6737
136.671
-174.345
128.807
-155.831
27.0236
-41.0212
171.688
-173.598
155.955
31.3661
-33.4315
27.5777
-28.9763
-33.6833
31.3278
-107.094
-31.2129
-66.9414
-137.509
131.546
137.505
-26.5414
25.3591
132.969
-27.0788
25.7854
-120.515
113.82
125.233
51.249
-88.8925
185.818
-96.9256
92.4388
-80.7243
-110.555
110.647
-107.076
-21.7207
-134.612
-33.5526
32.2548
111.368
-113.504
129.31
1.02216
-28.1939
26.4869
-31.6995
29.6832
2.88523
-151.553
121.926
-26.0508
24.5028
137.543
-62.9254
-16.8053
-157.767
132.24
-173.261
140.263
30.6036
-170.867
-4.22214
-24.9936
-100.94
110.072
-113.286
-126.1
-48.8501
-162.755
127.897
49.7583
-22.7345
-130.57
-44.5296
-60.4476
118.386
139.746
-163.811
25.086
138.725
22.4935
-153.712
126.203
-172.136
126.654
45.4817
33.393
18.7399
120.013
-110.494
-47.1384
-25.6418
176.298
-59.6989
-78.3902
106.403
-113.515
97.066
-187.483
90.4172
-52.9809
5.07619
-69.2794
-111.093
-106.816
-170.316
136.689
33.6267
-27.2356
24.695
-46.8394
161.601
-174.32
151.31
61.8057
-105.012
-84.2613
134.571
21.4953
32.4049
127.601
28.643
-185.347
155.27
185.173
-35.2015
-149.971
-5.63878
114.464
114.235
-115.046
-160.046
148.071
-174.162
149.911
-173.589
150.442
-21.7318
-133.863
47.8754
117.361
-165.236
-160.549
104.817
-118.324
-51.4895
127.68
57.5667
-185.247
-176.256
150.265
147.399
-159.916
155.895
-29.8993
27.7089
18.6618
80.0249
-178.291
144.469
-30.8212
28.3397
-16.5889
3.72284
-153.935
144.621
-30.7037
27.8139
-144.237
133.138
154.219
-31.472
29.1699
159.108
2.94985
-198.657
165.948
-138.206
136.592
52.685
-158.375
137.535
-171.779
144.695
27.0834
134.949
-145.976
127.025
153.674
-96.0175
139.454
-142.08
103.482
-134.658
31.1758
144.272
-95.6653
-154.134
156.963
57.0345
149.595
-166.564
139.319
-181.169
151.622
6.64584
111.02
-114.25
-60.7662
74.7322
-110.831
31.6515
9.42363
163.698
-7.57847
-156.12
110.748
-114.52
-63.5367
-67.5263
67.5263
14.8511
3.74666
20.8353
-99.7141
3.05438
129.78
-152.514
-156.457
147.502
-121.271
104.039
-69.6449
8.59972
198.331
97.7634
90.2573
52.6559
136.756
-27.8245
24.7362
-143.976
138.285
-32.8113
-160.057
121.804
160.041
7.12817
138.662
-144.19
-48.534
11.2209
-142.128
134.491
-113.195
-46.5189
-107.267
89.7499
175.323
-50.0909
139.245
-159.963
147.021
146.279
-157.694
-26.8368
78.6654
-80.0857
98.7476
-154.458
145.465
-172.568
153.88
-155.223
145.285
-28.3449
25.8937
-27.7223
25.2291
-29.7782
27.6563
-29.0908
26.5705
150.798
-166.797
-91.2299
6.42803
-168.481
151.653
-30.5946
29.2896
35.0897
-172.971
137.881
1.9775
0.381758
-87.5875
-101.62
189.207
-150.709
140.708
152.389
44.8798
-197.269
205.695
-7.36325
-67.1573
-0.368995
141.196
-52.8473
113.629
23.1273
-160.076
119.775
-56.5057
114.519
135.487
-144.863
-169.582
152.064
-126.762
-30.9326
-127.443
149.3
-164.888
149.995
-157.066
145.669
-161.191
115.615
-147.37
137.328
54.6562
-170.782
9.2572
-30.0202
26.2426
-30.7616
34.9757
144.59
-45.9706
-94.5604
82.2176
33.8595
-173.357
139.498
-153.856
142.552
-136.196
-21.4579
-134.747
-118.631
-6.78068
142.066
-152.218
-155.657
-130.822
-15.2525
-39.8669
-156.156
146.018
-26.7027
-130.584
-0.630688
-146.341
137.176
-119.557
-139.484
10.4718
-155.567
144.222
-71.1024
61.9467
142.205
-124.438
165.927
-196.29
30.3625
-124.486
8.06689
16.2707
-122.153
169.941
-32.8927
118.005
-111.388
-6.61708
-121.972
-158.868
148.851
-4.74563
-163.904
153.829
-42.0694
174.31
-28.3751
25.3743
-27.4198
-130.883
-182.611
18.2931
-175.896
160.703
15.1925
-2.58493
150.256
-40.5136
-38.1644
165.884
-166.605
151.962
-131.315
-43.8627
-117.43
38.0445
42.2126
111.774
-182.91
152.119
-84.2894
116.161
-178.851
164.982
13.8693
-113.783
95.9292
-166.439
152.385
-105.345
90.2893
-29.7402
26.3673
157.637
-177.764
164.386
95.9754
-111.179
134.952
-56.3971
168.198
20.6447
161.338
-181.983
-112.67
96.0749
-112.446
93.431
162.77
-192.913
-19.9543
163.538
-106.087
90.9553
-13.4295
-11.5471
182.186
-160.691
-25.0878
78.9786
4.07124
-1.8849
-42.9113
169.376
-87.5358
67.9088
-141.322
131.598
41.9214
-113.995
93.9955
158.74
-175.08
134.026
30.5957
-164.622
54.3809
101.952
164.79
132.593
-123.8
99.5783
-119.127
98.613
-30.7309
27.3724
-178.996
6.94533
-71.512
-165.109
136.953
96.1901
-93.8166
-166.57
156.096
175.644
-44.0456
-31.8859
28.1537
-33.0788
28.7865
-167.136
155.299
-165.034
154.913
93.208
47.9883
-184.288
-42.0707
-97.5205
82.2223
-143.843
-97.3705
79.7682
17.6023
-109.722
144.55
-45.1532
-132.731
-167.574
156.785
-35.5674
-165.969
153.195
-32.9034
8.8137
82.8484
-96.0889
-136.249
-95.4083
81.944
133.132
128.807
-28.9378
24.5432
-97.9005
90.8969
-170.107
158.588
0.137262
178.555
-109.478
80.9002
28.5775
-49.2426
112.253
-67.3938
130.254
-130.254
-95.6481
96.1667
-0.51858
165.431
-141.667
141.667
-10.5185
7.72401
133.849
-65.6831
-164.967
151.813
-106.819
92.666
-137.016
-106.083
-41.146
-30.2045
167.347
0.351858
-123.93
100.611
-41.2391
79.2837
17.3754
44.031
-25.2536
103.311
22.8375
63.5343
35.1878
-111.652
-110.89
91.2376
-49.7737
-15.1405
13.4928
-178.407
143.69
34.7177
-35.1583
-164.028
122.642
104.175
-84.3939
-12.8279
118.728
-27.608
-92.0868
81.771
89.8415
-69.0062
-177.414
-0.362929
139.354
-30.8373
25.5468
131.363
-136.967
-85.8357
-90.3338
3.83228
-30.6821
170.945
122.917
5.21308
102.799
-121.613
-126.23
-8.58428
89.3879
-100.329
6.19295
-175.613
137.639
37.9741
-23.6466
119.381
-95.7341
93.3371
171.658
-133.985
-10.8117
-34.4878
136.738
-33.2558
-38.9419
-97.2149
-160.574
109.32
55.6787
-43.0334
-187.968
-155.947
17.9338
138.013
139.039
-169.244
-24.6295
138.258
156.456
-35.5376
5.20215
-31.5944
-127.499
100.377
139.18
35.4762
35.6002
143.324
-178.924
130.977
-122.708
177.744
-161.228
-114.672
-4.88473
39.3183
-39.3286
102.145
-22.5029
116.153
-161.864
-24.7461
-160.88
113.492
-27.4653
22.7954
-12.4028
-87.8029
180.629
-37.6185
-89.4109
208.059
-32.6842
205.498
-28.575
147.256
-158.727
-165.209
32.4786
143.935
36.6937
-131.34
-35.9724
174.948
-147.449
-119.212
-42.841
-51.4129
162.181
-83.9274
131.957
4.51752
108.141
83.4814
-191.622
-46.8416
68.624
4.99339
-60.0872
146.632
-46.4273
147.062
167.558
97.8793
-183.47
85.5904
2.71472
26.8931
-91.3427
73.8511
69.7371
-81.6651
11.928
23.4254
-75.6545
52.2291
-96.1701
-26.1993
122.369
-37.9532
142.135
-33.3691
81.6267
-81.6267
148.473
130.977
-35.9797
175.299
-22.5831
138.2
-11.8402
-102.317
124.254
-46.1905
121.549
-45.6341
-89.8475
72.7861
120.278
113.086
-138.918
25.8327
29.6444
-11.9396
60.8565
-31.4093
25.5173
-165.138
150.081
15.0567
-12.4393
80.8888
-68.4495
-181.395
-22.2884
-157.487
132.948
24.5396
-179.29
144.088
-51.4221
9.96971
-110.468
100.498
-109.103
-78.1038
-31.9401
26.6014
-73.1847
-79.6371
8.26773
-46.7907
-13.1102
-20.3307
139.228
-31.9113
156.247
-26.4674
113.776
88.4369
-173.69
156.48
17.2098
-13.8686
143.073
-97.2323
-48.051
114.163
-33.0067
27.7013
-82.9543
-55.3146
165.754
-5.14206
-75.8095
-58.1989
-35.4226
174.667
96.2148
29.4899
119.349
-148.839
176.151
-38.5114
139.624
-26.0251
-127.85
99.1192
169.643
-39.641
-23.7534
-32.4331
180.404
-147.971
-97.4999
-44.5825
-14.8305
157.41
-36.843
171.37
-24.3074
-35.6052
-55.2211
115.102
-64.1118
66.3278
-139.042
175.829
-36.7871
138.418
-68.6757
126.473
-129.799
-45.0539
172.951
119.905
-29.8383
155.953
-138.978
-16.9326
-26.3836
115.489
33.4627
-148.952
209.493
-111.614
-122.153
51.9979
88.1724
-36.7053
-3.31321
-42.7832
-15.7138
86.6596
-64.1767
191.925
-171.052
119.563
-33.1898
167.216
-92.4859
74.7836
-29.6702
160.505
177.244
-33.3095
-93.6723
75.6178
1.68403
-95.362
70.5472
-101.573
191.147
-89.5736
-28.8207
22.5152
-22.4855
112.522
-34.6438
151.032
-151.983
50.5264
-89.1163
69.9777
10.8755
46.3752
133.575
85.9364
-18.4568
-11.3899
-101.849
-13.9061
-153.307
167.213
-0.0451829
-85.7714
-91.9107
70.3448
21.5659
-119.23
-29.002
-8.75825
192.394
-27.9777
157.648
120.003
129.353
-126.039
-32.2091
-12.0896
-4.32727
-23.662
154.262
89.974
107.965
-197.939
-10.4414
94.5956
107.081
-176.82
-170.746
154.746
16.0007
-95.484
93.1855
2.29844
117.522
-106.173
84.8267
-106.314
78.3553
6.85792
112.002
-118.86
-89.5402
125.712
-12.6267
119.429
-114.966
80.3692
129.124
-185.88
-6.73927
-93.6241
74.6962
-26.7283
158.439
90.7912
105.432
-196.223
87.6342
102.616
-26.1807
-42.214
119.053
117.321
84.8768
-89.7284
73.4102
-11.1388
162.746
-174.505
-35.0738
174.254
140.246
-21.6269
-9.96785
52.5803
-111.946
15.7756
-89.2358
71.9725
-21.7238
-144.261
-113.708
107.772
-111.856
111.856
24.2105
-25.057
0.846455
50.0265
-5.02274
-106.815
-131.036
99.1912
-97.3205
137.069
-47.7938
168.072
90.8206
-162.648
162.528
0.120224
-86.9801
-14.6991
21.0055
162.108
-34.5077
-35.8271
179.151
-9.35821
84.8235
-45.085
160.506
12.8024
-173.308
-7.34015
89.5883
104.04
-193.628
-10.7056
-174.675
85.7792
87.6753
174.163
-6.65899
154.44
-167.158
-4.09033
128.662
-182.749
-84.134
-16.0282
-15.4823
-96.3325
-8.88997
68.0115
-90.6201
22.6086
-80.6531
87.7813
148.361
-162.267
-96.7659
-8.31718
-46.9133
135.88
-98.5212
88.684
-185.016
-103.268
173.032
-131.729
-41.3029
101.691
89.4555
-32.2504
-10.1255
-102.466
88.3927
-51.7281
-32.0658
171.563
-102.348
102.348
-96.672
-110.258
206.93
-7.8238
192.483
-143.949
75.1212
-69.7044
-35.2924
179.381
-36.5795
163.049
-170.412
159.706
-167.284
-178.721
141.732
73.3163
-85.7556
107.792
-158.98
-9.56869
122.973
-8.61773
137.818
-13.9995
58.9148
-40.0436
176.098
-31.5082
-140.496
-30.1225
23.5951
-52.2492
-37.7876
-92.5187
3.96691
-148.073
-133.623
57.8133
-120.508
122.829
-98.7257
-91.5486
190.274
115.974
-84.4944
200.468
-11.7799
-33.9362
45.7161
-24.2887
35.9418
-59.6939
23.7521
23.1222
160.897
-184.019
-0.0455374
2.02304
-211.953
98.5588
113.394
-121.132
103.716
88.767
-103.291
103.291
18.1248
188.014
85.7689
-21.0908
-79.0277
-104.442
175.823
15.6246
-181.26
-156.416
117.525
82.7722
105.242
-111.625
-7.06622
-31.5409
-69.6552
109.924
-109.924
-167.704
147.75
-3.48515
-20.5222
144.979
-150
134.098
-89.909
-22.0572
154.226
-134.47
63.1863
-28.1818
147.531
-45.181
-16.6338
173.828
-188.694
-61.3971
36.3093
-178.859
189.217
-1.73752
-15.5592
193.177
-87.7449
-15.8529
-89.5884
65.7568
177.512
-168.079
-18.6206
-19.4082
59.8433
-82.368
22.5247
75.6228
28.5524
170.322
-58.0692
37.6062
138.544
141.056
-8.34113
-15.2093
7.93588
-153.16
139.849
-74.3182
-16.6174
-91.1192
65.0977
-5.98855
-85.8535
65.3077
20.5458
-36.2837
184.756
-88.978
38.4866
-19.565
-55.9716
97.3779
41.6807
-0.132673
-44.5827
-18.289
-83.1812
-26.2204
-88.9329
66.2225
-15.2498
16.137
-14.8168
-12.5501
-14.5392
68.2269
-17.4443
-25.8604
-15.1164
-78.7535
93.8698
-17.4185
-158.614
22.565
-25.0921
164.838
-91.8945
67.4134
-30.7257
25.3473
139.876
79.9714
-94.1889
90.6004
-90.6004
-49.1118
197.998
-23.9035
-25.1305
2.86074
37.3652
146.432
-183.797
58.1578
-17.5834
140.271
-2.75349
-46.3871
-42.3424
143.247
-180.865
-17.2418
143.859
-64.6887
90.1135
-54.2024
127.119
56.9529
-184.072
-16.1177
-41.0922
57.2099
122.083
34.3727
-24.972
165.319
-16.9899
-25.5138
91.8473
-66.3334
-102.526
0.177901
-138.612
45.7976
-80.136
-13.1183
-52.6879
65.8062
-16.5157
-90.9322
64.6696
-46.2607
-13.6706
121.632
62.719
-184.351
-111.796
163.976
-13.6564
-120.688
-133.215
97.9903
66.9852
-82.1288
-17.1728
-18.7487
-5.86955
-0.00513162
-25.8452
164.57
-177.874
144.564
-16.3351
-3.37566
44.7801
62.9102
-9.02483
-13.8464
-137.763
11.943
-8.7283
-24.214
-24.9074
-144.983
-19.8029
-104.703
-34.8824
52.4048
85.9253
27.1217
-13.7348
-12.6424
163.954
-25.8051
113.459
-12.8391
-51.5
27.4029
-58.9173
-23.8236
-63.2967
-25.3111
-37.6971
37.6971
86.9075
-86.796
-18.5967
163.957
-41.3148
104.507
143.097
139.594
-119.169
133.813
-147.62
-16.1757
137.018
-96.7312
-6.39939
-59.7838
89.847
-54.834
-36.4129
-11.3378
-15.643
166.383
-11.8311
-154.552
-9.14862
-145.001
-13.3745
-121.955
-40.4127
162.367
-20.2397
57.7363
-37.4966
40.6658
101.469
39.7046
41.0742
-178.839
134.793
0.398663
121.872
-48.0255
-8.31892
-89.8401
21.3196
68.5205
-17.7657
-14.023
-80.8742
179.949
-14.87
1.15136
-28.7511
-175.431
134.848
40.5821
-40.1217
-137.563
-42.3786
179.941
3.46711
-108.116
87.9266
-11.1872
-180.744
56.0269
-79.581
17.3603
17.7187
148.664
125.994
-168.312
134.401
23.2358
-162.724
150.893
178.13
-38.0245
-140.105
-14.51
142.276
-180.064
37.7884
11.1392
-73.6385
62.4992
-157.307
142.054
149.935
-181.831
150.323
76.2277
31.6435
-107.694
-19.3999
-155.831
-33.1784
119.104
85.2362
-109.591
78.7727
-123.414
102.936
-106.279
89.5448
16.7345
-150.864
135.355
55.25
-43.307
-4.3523
7.72444
117.054
-5.02155
0.689769
-13.3868
-90.3779
124.381
52.5431
142.188
-34.6268
20.599
56.7111
-60.0868
154.678
25.7268
165.382
-48.0208
-92.5503
151.041
-13.945
-94.7679
3.42132
-132.839
132.839
-9.90368
-40.775
187.798
-47.5277
-1.94401
164.993
14.1864
-73.0648
58.8783
-10.6406
-15.2149
-22.383
123.136
-175.447
136.118
141.075
-179.957
38.8825
-113.598
-25.9966
101.479
-10.7063
-12.8564
135.645
-101.252
86.1352
-117.341
114.995
6.97868
131.13
-164.127
143.701
20.4266
111.46
-146.054
133.202
144.226
30.2967
-174.522
10.6718
129.52
-173.382
150.137
-100.914
4.26051
-20.5265
-12.7777
0.131858
94.2779
-176.354
139.567
70.5141
-86.5403
16.0261
123.141
-22.9368
-100.204
15.8469
55.0617
-70.9086
-157.917
41.6261
-179.189
158.735
137.545
-8.97135
115.675
-56.84
183.959
128.32
-172.85
-16.3225
-177.541
27.4012
150.14
85.5494
-11.4577
-10.6294
19.4497
-75.2871
-153.897
-14.6662
154.595
31.8412
-174.814
127.676
130.557
-10.6511
-11.7666
-52.2303
-10.2852
161.606
-143.887
-38.5899
35.9232
202.255
39.6988
-13.543
129.248
-175.219
-16.2705
-139.676
-54.6687
-32.658
175.755
140.988
32.7404
-173.728
51.9314
-38.0292
130.103
-101.629
-122.708
117.612
123.182
-195.378
-12.0321
-13.9174
1.63882
61.5874
72.2618
-176.342
137.4
-9.26948
-162.88
124.443
38.4371
22.0289
-148.308
204.603
-51.7958
-9.45939
24.5232
58.5564
-83.0796
90.3033
-22.087
-120.686
-4.02652
28.6765
-25.6668
-154.427
179.89
119.915
5.22501
98.2406
-103.466
129.232
67.9736
-93.4874
-156.344
-177.096
138.584
-10.1005
-196.791
53.4099
54.3963
19.0001
18.4615
120.766
92.2972
25.5813
-17.9285
-7.65279
-189.054
-118.604
-35.4225
175.272
-87.58
20.8338
81.3111
-12.4734
126.151
-181.55
55.3989
108.9
-19.921
-3.07135
42.9909
-175.621
-37.8096
61.88
-177.384
127.293
10.7547
-5.83192
-0.158075
-0.966873
62.2884
-11.1944
43.1648
80.8084
-175.668
-162.649
131.716
125.319
-188.376
-72.4969
130.92
139.896
31.4738
-12.1918
-8.44778
-12.8643
65.5493
136.11
-168.021
185.889
-20.6651
-149.713
132.258
-13.4606
-11.0755
-9.80308
-41.856
-8.72516
-9.85659
139.96
30.9849
-61.8927
205.752
139.271
28.0763
-38.9891
-174.007
138.899
-12.7402
-8.25225
139.502
144.256
135.751
50.2949
-194.93
144.635
-10.2767
-6.78097
126.432
-177.544
30.5736
139.069
-81.9228
81.9228
-12.6156
146.893
-134.278
-5.80906
93.932
23.0023
126.08
-189.176
-46.753
175.415
-102.526
-12.7546
10.5611
-6.40325
-55.2807
66.4199
169.953
-174.147
92.2088
8.68466
-58.9028
80.9273
124.273
-176.662
91.2472
-40.5981
33.096
-191.067
157.971
-11.5785
39.9591
137.39
26.5308
2.14971
131.439
-170.428
72.7351
-197.862
168.57
-157.301
21.3635
78.0408
-99.4043
-52.8446
-92.5503
-8.01824
146.17
-184.194
-8.92417
-8.98057
1.38067
-9.6039
125.084
-181.925
-8.80204
-107.915
-8.57676
77.8035
-65.3482
-32.1688
174.357
132.204
-97.0225
3.61353
138.232
27.5216
-1.85624
-152.512
-18.2694
-10.345
-2.53924
140.883
-208.323
138.861
172.479
-44.7994
12.9744
-1.73608
-9.02467
171.284
-40.2237
-32.1726
55.0641
-22.8914
4.24286
10.451
-6.14747
39.6959
138.525
-178.221
-10.0547
-10.6028
-8.59751
161.404
-194.871
33.4677
-38.7923
29.8128
134.977
126.847
-217.435
90.5878
-10.099
-8.58071
-105.254
119.789
-6.22353
-55.0145
69.2009
33.7591
-162.313
128.554
-9.2547
177.344
-38.7595
-8.29755
-8.17889
-6.51273
-106.108
-7.41525
56.3564
-175.032
118.676
139.866
-83.7202
37.333
-25.7271
122.451
-175.432
-9.6033
0.912776
-18.8145
-8.04375
32.8175
15.2336
-5.17855
-8.54821
-74.8228
84.5057
-8.59592
-140.035
-39.9228
39.9067
-15.6083
-136.238
-9.19969
-7.88003
-39.9073
141.038
-8.33605
185.509
-0.0123609
135.373
35.9117
-142.378
183.157
-40.7798
-1.00877
-142.388
172.636
-0.785008
-7.4653
139.474
-10.7637
34.3331
-158.162
123.829
-32.2737
176.229
-36.6619
-84.3487
-23.7676
-122.978
-29.0694
161.512
6.35772
3.45851
81.6055
-70.9384
-12.0079
123.545
178.431
-3.68539
-68.0296
129.617
-5.17685
-15.0536
143.653
-14.266
1.39352
120.242
-175.076
-15.1262
-17.658
122.816
-155.566
-117.847
-180.865
140.267
122.067
-156.575
-139.672
178.554
-95.4951
-27.919
-168.172
-98.3957
-6.0113
79.3354
-45.062
1.57943
70.2226
-142.32
-176.329
-7.0646
-97.9078
-72.5228
78.6202
-9.23013
104.938
-99.7129
-52.2983
71.748
-6.30929
-0.179099
1.88464
-167.701
87.6357
167.03
1.27052
-16.0299
-133.706
-27.4256
-7.95088
139.534
100.859
-5.43
134.013
-197.157
-54.0853
69.9322
-38.2055
-48.3406
-34.2319
-171.434
18.2446
153.189
-24.2351
-169.909
144.157
-22.0896
16.3524
-10.0693
-43.6017
-8.49565
16.4968
14.4316
-99.5885
2.85726
-75.8758
67.3121
-169.104
130.898
0.568283
169.844
30.1018
-148.795
118.693
8.55168
30.7815
-36.305
-140.931
5.739
5.01569
121.722
-153.931
38.798
131.046
170.054
-43.355
16.6523
48.9876
-67.6261
18.6384
-3.55855
-14.0641
-14.9104
24.9653
-168.995
34.0177
-28.2296
-5.78818
-158.207
121.364
-4.35805
-47.5433
0.540058
110.138
-150.651
-5.82588
-128.309
134.135
-128.258
33.8676
94.3908
124.067
-151.979
114.026
142.563
-208.365
177.364
-215.954
119.67
-156.275
128.534
-128.534
10.3292
-1.96227
-5.53437
10.6914
166.308
-23.2291
-12.6478
116.744
-156.385
157.518
-17.6849
-139.834
-154.742
116.452
-101.493
1.22414
-22.6983
130.384
-80.4645
-5.4451
101.724
-105.791
137.444
28.8646
-183.198
144.406
-36.2902
-7.82196
-179.056
119.357
118.244
-181.169
-12.6604
36.7948
-3.40711
151.926
-108.761
-103.381
1.02686
-12.5917
-109.418
-33.8443
133.906
-195.286
41.5076
43.3159
-65.4071
143.252
-102.565
88.9659
118.45
-180.615
-115.258
110.858
33.6908
-86.4217
-3.1065
147.097
-2.58461
-8.38601
179.18
121.404
6.94299
-128.347
1.94322
-9.90651
111.449
-110.909
-8.36271
-10.2626
112.789
-146.158
-32.8319
-136.371
192.713
-109.527
-22.8487
20.7486
27.683
38.0871
164.912
127.594
-163.173
77.4315
51.6843
6.47347
98.3724
-60.7963
182.428
-146.134
33.9292
112.205
-58.3026
-182.689
112.288
3.51918
-7.52913
-84.5152
-133.007
43.0477
14.3894
-0.276901
127.195
113.573
-139.598
0.356294
0.145278
0.295867
0.408249
0.319512
9.28441
-1.91956
62.5084
-105.991
-0.212711
-99.4467
-111.786
97.9868
113.225
-144.438
-125.182
-2.14738
17.3915
108.321
6.63005
5.23706
-6.99624
1.89676
-6.30623
4.40947
-159.882
134.215
-59.1731
-148.061
10.6432
-31.8657
-132.262
-1.84889
120.487
-59.0126
16.2803
23.038
109.547
-80.8396
-2.82044
49.8482
49.1088
-131.851
156.39
107.488
-148.634
36.8333
56.8892
120.382
-177.271
-30.7371
169.599
119.806
22.7325
-142.539
-60.9631
123.873
165.586
32.0885
-129.219
-41.2092
112.494
-9.70924
115.546
-148.802
164.214
-3.12456
137.057
-161.864
-163.588
137.782
-14.6558
-148.068
112.631
-137.593
43.3077
42.9426
-147.729
104.787
-140.184
118.557
-137.198
116.003
21.1945
-6.88344
40.1529
38.5368
121.005
-159.542
-50.9525
-115.639
109.126
-2.30215
-4.51702
-5.02064
-0.848907
-86.2991
13.4327
120.565
106.589
-128.877
-121.075
-27.72
105.75
-138.814
33.0635
15.5652
167.027
-182.592
-27.6234
2.70498
36.3513
-15.9353
100.198
-148.853
-133.836
109.361
-146.263
99.8352
0.719935
115.502
-115.285
22.323
-30.2035
-169.141
-33.3903
172.23
-23.8684
-49.8572
-140.528
126.529
-115.842
-0.317339
116.859
-179.004
40.8476
-15.2156
-136.6
110.217
-17.5763
27.0256
115.042
-142.068
98.4585
-146.668
-131.608
114.145
17.4628
-11.3653
-104.435
-3.7933
-6.65943
-108.714
94.3745
-127.347
32.9724
164.928
-25.4542
-4.56426
-12.8845
1.79744
12.666
-1.41173
123.088
39.2789
-142.77
-17.7798
118.257
29.2733
-20.3357
40.6628
-12.0198
34.0889
43.8472
106.29
116.86
28.1184
-41.8411
19.4537
-39.5304
-40.7162
-6.49031
100.525
-126.296
25.7716
39.9329
116.948
-156.881
-4.02628
-117.253
109.183
-6.27958
4.26069
-1.67994
-2.34745
24.2711
34.6222
111.03
-0.188418
-178.397
130.854
26.3963
-121.163
94.7668
29.1981
51.9548
-1.64845
35.1989
102.703
-137.902
-5.66569
0.213301
-36.7063
-62.1129
188.264
-4.70403
38.3854
3.64143
176.242
97.6203
-123.82
-10.822
-3.50128
29.8036
0.0691409
-141.111
60.9043
-5.39385
173.025
-45.7318
161.375
-37.3078
125.726
113.907
-180.555
-14.2306
27.3761
108.384
-135.76
-3.5364
-9.28744
-17.7542
27.9157
70.5843
-98.5
-22.5718
169.312
-6.52178
-5.4871
-54.2111
178.586
-56.4783
-122.108
57.7791
75.4184
-133.198
-6.09906
-14.4775
-39.3378
162.426
-68.1626
21.0441
47.1184
27.2475
-130.612
103.364
-43.1632
98.0412
-59.7985
-0.199327
-121.963
-24.0439
154.601
110.085
-119.373
4.70101
-8.44597
-0.0145981
28.8916
-18.6962
150.901
-5.14669
-0.296127
65.9028
-12.6224
172.884
-21.9917
-5.87866
-85.4704
62.9849
107.363
-173.267
-6.06497
160.284
-57.5106
-82.9916
29.6405
53.3511
87.0149
51.9199
80.5501
-8.99001
-18.0258
-139.281
5.59048
-39.353
-15.3467
16.0995
-6.92299
25.9858
-19.7622
-7.14617
-1.92631
1.84336
28.908
119.685
-133.392
-31.8177
-3.55438
23.7067
54.9586
-120.58
90.7413
-199.888
14.5413
-88.9503
-55.4647
144.415
-13.5839
-186.758
36.7197
150.038
24.5761
-169.559
-31.0647
-69.3641
100.429
-107.297
118.749
-11.4515
-1.70466
-136.594
-15.4405
173.965
28.6761
99.1106
-127.787
-5.9067
-10.4726
16.3793
-5.31307
-2.33349
147.411
-37.6236
177.158
-23.277
-9.69806
-20.8526
139.11
-5.17736
140.598
-3.02845
169.962
25.1527
-46.2506
-59.7731
-83.8805
98.0119
-37.194
-125.019
47.1876
94.5899
-144.364
-56.4659
54.0697
20.7266
-74.7963
-55.1906
-5.70182
141.289
87.654
-116.945
4.11388
4.58056
1.81909
-151.834
-18.594
170.428
-35.0697
-114.261
83.4991
-26.9666
-13.9415
-15.6051
-176.818
-56.3996
72.6857
-128.437
157.361
-28.9234
-31.9903
-4.88454
-2.57766
143.161
-26.7031
105.476
-9.08529
16.8148
-21.0503
169.714
37.1879
175.49
-118.6
14.3807
-171.193
-37.941
152.086
-4.50602
128.727
-3.55326
130.082
-23.7051
161.25
-36.5512
13.3533
-16.531
3.17763
-4.71338
-4.6391
61.4758
24.0737
-85.5495
-4.81074
43.3729
109.13
-47.7545
82.3171
-83.4495
-18.6508
129.405
-70.0587
-4.29223
-15.222
-173.306
13.1213
-48.2796
32.9256
89.2768
-122.202
90.092
-142.939
-4.07249
-145.715
-18.0676
-17.0509
-8.1551
-7.53499
20.1883
-18.1801
14.6297
-11.2045
160.155
-137.769
38.1099
-0.906934
46.9512
193.09
-27.5041
-148.446
-18.1184
-11.6565
50.3948
-146.615
96.22
-7.45839
164.942
18.3706
-172.091
153.72
-105.486
124.685
-22.7738
7.3975
-3.46855
14.9537
37.4337
-113.646
79.0025
130.604
29.901
26.9691
-88.321
61.3519
-27.2389
162.071
150.669
-2.85626
14.1941
10.2298
61.3609
-134.541
73.1798
76.3349
-111.805
-46.9776
175.705
-11.4785
-28.8659
34.4809
91.9352
-126.416
-5.6334
-46.0641
86.034
-141.349
-54.6124
7.42596
-3.36235
34.9187
-13.7853
-28.3523
-19.1991
-157.365
59.5959
-51.4056
158.335
18.8862
129.573
-65.6033
100.469
35.4117
-25.2446
-83.4703
-9.41308
78.1461
-134.543
-8.69869
-5.37097
-9.3454
34.5986
-133.223
75.024
-11.7903
-15.0419
-13.3218
106.461
-173.402
5.78572
-55.7988
50.0131
54.2715
80.9151
-135.187
-6.37903
-5.19088
-154.89
-8.058
72.7934
-107.361
-2.17425
-6.51891
-134.952
-11.1013
-20.2388
15.4931
-175.816
-9.83715
-13.016
-6.88889
-122.945
179.897
-43.9745
-155.914
-133.189
-62.2965
-9.7582
-2.03867
-47.6252
115.043
-121.418
-86.7856
-80.9153
-11.9341
37.3114
78.0924
-56.0781
176.46
74.4073
-1.7197
-130.936
-6.08105
79.6403
43.5008
-2.66574
84.3025
-53.8644
140.879
-154.053
133.809
20.2433
-116.515
69.6739
-3.02732
-18.9198
-22.0056
102.814
136.613
-174.18
37.567
58.0086
136.119
-158.241
48.1897
79.4907
-127.68
40.2948
-13.5199
-2.40846
-87.2427
-9.64442
172.544
-20.7316
-29.0528
-36.0008
-0.805722
-157.559
194.924
-154.082
85.4067
-120.512
141.707
6.59534
-6.59534
-1.15985
-7.28612
-78.4061
-89.7376
-14.418
1.89642
-176.427
121.236
-60.8122
-11.781
-160.455
-17.916
106.058
-173.09
-20.6833
-13.6838
-3.11578
79.8752
39.1775
-3.19708
-6.91548
165.494
-27.7112
-2.99479
-3.00724
-3.63888
139.41
-166.83
158.559
-27.6394
2.37905
-12.0251
1.76488
-20.7525
143.366
-187.341
-3.20774
-12.5255
-33.7122
66.4313
137.322
-158.78
143.458
-51.6393
134.757
130.479
-158.397
-2.93829
-69.3854
-2.67481
-10.9925
137.201
-52.0778
162.037
-38.4924
-85.828
64.7372
166.065
135.905
-22.1567
34.4549
31.488
147.416
-154.482
-17.1554
-29.2193
37.0448
72.5478
-166.59
141.593
24.9968
-24.9668
41.2471
45.6467
-98.4331
-111.59
-115.733
227.323
-144.419
61.7543
-82.5484
153.906
9.11846
-77.7764
58.7377
-33.3333
-4.48831
-173.703
-17.8674
-152.268
-23.4149
-7.66838
129.973
-17.0607
-2.66446
-166.854
22.5931
5.36485
22.2718
-11.5207
-17.683
111.335
-180.614
-16.8014
-9.58114
-18.3646
-3.74831
-16.3623
170.803
-120.589
12.1425
108.447
-26.1747
60.043
-146.692
86.6493
-4.51347
110.915
111.907
84.1471
-4.92517
-12.7388
-20.777
140.692
7.42437
-10.6531
-62.3288
-17.5128
-17.5971
-22.2787
134.651
-116.991
-65.9064
13.3247
-135.702
113.122
22.5797
118.077
13.8573
29.3892
-40.9362
-33.4252
-6.18255
-17.9295
54.734
-14.5075
67.9167
-104.496
-164.844
205.223
-63.7558
-4.49415
-4.24492
4.08748
3.33766
-4.24454
32.0253
129.816
-19.4788
166.514
-147.035
19.7588
-116.557
-14.5739
-1.25815
-122.292
71.8113
-2.82197
2.82197
-20.5031
177.879
-58.5223
-23.7207
82.0453
-193.911
94.8529
-6.19355
171.175
-174.508
-49.3921
38.6864
29.9879
-40.5064
-26.3452
-161.358
-6.39332
106.174
-48.9749
52.576
-69.3368
16.7608
73.3496
17.2208
-117.126
-11.8262
-27.4394
80.0805
2.16583
-2.16583
-30.3682
4.00208
-203.174
139.278
-23.6024
-142.6
-157.726
-61.8056
50.5742
-121.153
-0.00899967
-123.368
-73.3028
-161.978
145.361
-69.3641
44.0774
25.2867
-150.873
188.981
-13.1907
123.758
106.327
82.8805
-6.40531
-2.35828
2.35828
12.8009
-59.8902
-30.9042
125.825
-55.6225
15.4183
3.36983
-13.8451
-4.84433
-88.346
67.4514
-104.537
-33.446
-4.42824
2.47586
-2.33066
-2.79907
-2.97371
2.96933
-2.76401
-2.29848
37.3796
24.4261
126.81
-1.6547
-2.55478
2.44825
-2.97937
-133.426
144.46
-104.377
-13.8959
-2.3816
2.3816
32.7817
-113.706
18.2853
25.7165
-2.17762
2.17762
45.4783
-132.322
-2.31488
2.31488
-127.152
-54.7728
49.4855
-12.2548
-63.9658
-5.41217
-20.0334
87.3455
-25.0434
164.91
54.7484
-31.2881
-2.16798
2.16798
8.47612
-31.7867
-103.162
-14.6721
-103.229
-1.97876
1.97876
-56.0313
49.0038
-65.1216
-14.1449
-15.1482
-2.19206
2.19206
63.2025
62.88
-126.082
-131.983
-15.5949
-2.05121
2.05121
145.15
4.5846
65.1525
-1.85787
1.85787
-11.8644
-137.596
149.46
-177.305
133.703
-17.6798
124.284
25.1795
-151.942
-1.96248
1.96248
-48.0782
-43.956
-24.2065
-114.49
108.391
-116.309
-22.6096
5.45508
-63.0409
12.0294
17.7295
2.60206
-2.60206
-9.14661
57.4125
-140.559
83.1466
-2.00679
2.00679
-53.9884
-16.3302
-15.8799
-2.00166
2.00166
-35.9826
11.1624
-66.1219
-41.2481
37.026
2.86274
-2.86274
121.616
-53.7127
-2.19713
2.19713
-104.431
62.0884
-13.3109
-30.7289
-17.0004
62.3813
-100.169
21.3964
27.7599
-89.8106
62.0507
-15.7973
-2.06918
2.06918
-96.5497
166.062
-69.5128
-2.00932
2.00932
-20.2236
-1.7621
1.7621
-15.9221
-113.938
-145.854
-1.79272
1.79272
-16.741
-1.91319
1.91319
-116.706
68.0353
-138.671
-18.6348
-16.3716
-65.0972
-147.897
-29.6448
-7.60725
-36.1956
1.82725
-1.82725
-60.7651
-123.307
16.2573
-17.1398
-137.75
-10.0274
-150.427
-20.5644
-1.82225
1.82225
12.9585
5.75433
0.420019
-6.17435
-41.6415
110.746
-175.036
64.2899
-45.144
-1.77627
1.77627
-112.127
-79.2786
-14.5002
47.3178
20.4572
-49.3456
128.836
54.5222
-91.2275
-56.9053
1.29117
-1.29117
-33.8544
150.235
43.7894
-12.3014
40.4279
-52.2078
-2.36986
2.36986
-84.1824
-98.5066
168.787
-38.1834
-163.495
139.455
-18.2244
-32.0161
-9.68635
-25.1312
-14.6799
-18.8887
-1.82221
1.82221
-129.627
-10.5586
-21.2243
33.4005
10.3888
-2.04688
2.04688
-4.03167
-0.905121
-24.3515
-19.7442
21.1962
-26.3382
-2.31434
2.31434
109.641
-107.284
-2.35711
88.4449
-2.03154
2.03154
-54.2271
-4.90172
-95.921
3.61125
16.7452
-1.79543
1.79543
-28.5418
-99.6126
-2.49852
102.111
-2.21223
2.21223
52.1105
-183.62
-1.90687
1.90687
-33.083
45.0603
-123.38
167.755
-20.2139
13.5193
-56.2339
-1.94145
1.94145
143.828
-45.8158
78.5809
69.0526
5.51071
-0.69289
12.1576
-139.252
2.16994
-2.16994
37.9207
-13.5024
117.27
-111.69
79.4003
-26.0492
-1.86373
1.86373
-29.7451
114.564
-126.975
-59.5193
16.8818
-26.8889
22.1145
-8.20224
-1.9927
1.9927
-68.8572
9.68409
-25.1392
-0.761692
-154.099
23.9075
130.192
-73.1921
-187.917
2.06709
-2.06709
4.35425
68.4969
-156.973
-0.398203
-24.2845
2.0471
-2.0471
66.214
-141.454
-1.72365
1.72365
-5.64275
-133.283
17.0916
-14.8734
192.053
-19.7479
74.8096
-1.83043
1.83043
38.4366
-93.3444
18.063
-137.598
-23.8107
17.6783
-20.7558
-1.74286
1.74286
-59.8507
181.467
-20.1059
105.672
-173.175
8.81879
-71.3215
62.5027
-23.6252
-1.93719
1.93719
137.941
-136.304
162.282
35.2035
-2.07462
2.07462
-24.0781
-2.05809
2.05809
-164.187
21.8102
-38.2716
7.1122
-111.01
103.898
-119.838
-2.36966
2.36966
186.107
-33.988
-27.4732
-25.6721
-140.511
190.806
-34.2512
-39.4446
-2.05578
2.05578
-41.4165
-1.78519
1.78519
13.5673
39.7142
30.6444
-45.2646
-23.5188
-1.94001
1.94001
17.646
-61.1149
-23.8116
-73.8106
8.24556
-1.94882
1.94882
-29.5604
107.601
120.369
-27.7167
95.6903
37.8694
-10.4547
-27.4146
-141.094
-12.5933
93.9036
0.232736
-6.92569
2.0108
-2.0108
72.4566
-146.204
73.7471
-14.7792
-151.616
166.395
120.93
-32.0163
-31.6981
20.9193
-160.596
2.1457
-2.1457
7.25216
-76.1048
-28.0368
10.9585
17.0783
85.7416
29.2411
17.6397
42.0792
-103.005
-2.97727
2.97727
64.174
-16.9553
130.878
-52.4748
17.0211
182.629
-61.6622
106.672
-112.066
93.5113
-28.8417
-21.6241
-145.23
-1.63846
1.63846
-143.673
64.1977
-30.69
-4.61724
2.83657
-2.83657
-108.605
-92.7301
58.983
33.7471
88.5189
-29.8565
65.0626
65.3693
-18.6158
1.67457
-1.67457
-22.7412
87.6001
190.386
-58.8743
-2.06784
2.06784
0.944127
-0.944127
-78.8721
6.33273
-2.30058
2.30058
20.0737
-104.208
-31.917
62.7168
-146.644
-2.58583
2.58583
61.2208
116.568
-142.156
25.5878
-50.6446
-111.219
-2.16205
2.16205
167.817
-1.82695
3.23836
-49.5312
195.963
86.8234
-62.2865
-24.537
-2.72557
2.72557
-80.8891
5.64047
64.3633
-16.0895
-1.5658
1.5658
-159.368
-157.538
-16.2011
161.998
-145.797
-80.8823
22.0945
-26.4217
65.3213
-18.8539
-20.333
1.59874
-1.59874
122.564
-47.9674
53.725
152.868
-206.593
49.3312
-11.1603
-103.329
108.501
-175.437
-167.044
101.947
2.0423
-2.0423
-161.513
-66.8067
-0.945728
0.945728
-2.23598
2.23598
-2.24338
2.24338
133.071
-39.6609
-133.175
118.983
-103.008
19.9756
136.415
65.9451
-168.123
66.3678
-19.8249
-4.36638
72.5933
-6.78421
162.083
63.8695
-15.6087
-27.3035
-102.502
68.0633
-146.154
-34.0233
1.61638
-1.61638
13.8891
2.29676
-90.801
2.55703
2.38986
1.52546
1.64878
2.03584
3.31789
-114.149
6.32682
1.92406
-100.679
107.29
-6.61091
135.176
-163.718
10.172
2.89575
135.572
-27.1881
5.16007
89.3503
-25.4269
2.05499
-2.05499
-25.4855
86.3622
-60.8768
1.73672
-0.805008
0.805008
27.676
-8.747
-153.327
22.7424
14.5455
1.96018
-1.96018
-2.21507
2.21507
-14.3932
24.9165
115.682
-154.865
64.8495
-144.922
-13.8051
-0.44938
57.1115
-9.18568
-47.9258
63.5246
-14.5614
2.25332
-2.25332
42.7446
160.77
-51.4495
-2.26208
2.26208
28.275
-86.0471
-139.789
-1.87424
1.87424
73.405
-1.85202
1.85202
-1.60481
1.60481
149.957
-38.0496
-32.3404
98.2432
109.713
-175.383
75.5118
-129.231
53.7188
105.552
-74.3524
16.7769
-141.263
2.42952
-2.42952
-150.01
16.3035
-155.721
-6.54603
68.7314
-65.7996
195.441
-129.641
23.3444
-27.4347
-104.363
-31.3967
-2.07755
2.07755
-92.3491
125.322
76.9776
-50.5156
-129.197
17.2021
-2.18322
2.18322
59.0748
-141.805
82.7298
-129.699
124.153
-146.049
18.2098
-14.1754
-54.6901
-2.05055
2.05055
-135.674
-62.8139
198.488
67.9603
-17.2164
146.873
13.4912
-10.2708
-13.9285
-27.1797
-98.702
-31.9098
2.19051
-2.19051
-24.8619
82.6863
-57.8245
0.842335
-0.842335
121.34
-128.13
-52.0446
-22.7744
74.819
-19.134
2.89242
-111.09
-37.7235
152.959
-133.268
-19.6904
-2.9973
2.9973
144.2
-2.5338
131.602
-28.2378
-2.44768
2.44768
-7.36858
72.3531
-48.3381
-24.0149
-109.397
90.6683
18.7289
-113.905
-4.7262
-6.19565
-123.529
129.725
-3.13175
3.13175
-3.53978
-2.21246
2.21246
14.01
-51.0818
-1.78555
1.78555
-93.6012
71.084
-19.4434
-53.9447
-16.3467
70.2914
-22.1855
91.2357
-69.0502
35.2332
-14.5857
-20.6476
37.9587
-92.1611
-82.5429
26.5712
168.819
1.86323
-1.86323
10.7186
-57.939
-122.15
93.2839
82.7401
-22.5626
-60.1775
-2.23819
2.23819
-0.214428
-63.2512
-29.1391
-2.32602
2.32602
20.9334
-67.3441
151.881
-53.8909
133.099
-2.34601
2.34601
204.261
-70.9404
-133.32
3.58124
-73.082
69.5008
-7.71666
10.8057
-2.22335
2.22335
65.5004
-11.8976
13.8166
-83.0665
4.6763
127.054
-27.9437
12.7131
-6.39516
-50.6853
69.4306
8.35906
-125.785
117.426
6.52169
2.4924
-2.4924
-2.78377
2.78377
21.9665
-32.9976
11.0311
113.532
-61.6526
-51.8796
-2.73859
2.73859
-2.82089
2.82089
130.983
-17.8601
-168.419
64.6674
103.752
-2.72689
2.72689
2.32134
-88.591
28.2165
-20.4611
-7.75539
-41.3764
1.75076
1.66329
-2.4985
-75.2868
95.2086
-77.3676
0.747372
-0.747372
-126.26
143.723
-88.6219
33.1781
77.5945
-61.0701
-31.4085
187.389
-61.3184
-126.071
3.45399
-3.45399
-70.4277
-95.8074
139.211
5.12753
2.89331
-2.89331
-83.6001
141.013
76.3735
-39.7929
65.5094
-3.51382
3.51382
-61.7555
139.911
15.9171
154.511
-1.79865
116.614
-189.806
-3.03725
3.03725
35.2487
-35.2487
-95.9749
-164.247
157.463
-3.00833
3.00833
-63.6566
-33.2545
13.5648
3.11034
69.5972
-2.17298
-43.0385
-49.2643
-115.789
-6.34329
-2.3181
2.3181
-138.785
-172.412
106.033
66.3797
-201.473
-10.1588
-145.515
179.88
-34.3649
-147.222
14.3365
-12.0526
158.071
-5.98109
-16.6838
2.44952
65.7956
-11.092
-64.9702
156.921
-98.6354
-10.1546
-124.053
-5.67851
-117.198
-2.6592
2.6592
5.44067
-102.156
-182.4
115.056
-2.75316
2.75316
-129.934
-17.3958
171.081
-12.5977
5.3879
7.20982
-2.65135
2.65135
-50.4631
8.87275
-13.4629
12.6779
112.497
-86.2044
-14.1494
84.372
125.851
-134.999
15.857
-2.46921
2.46921
-16.2004
-13.4399
90.3234
56.375
-23.6676
104.783
-81.1155
-167.014
145.023
-81.8155
-64.7993
2.92959
-2.92959
-183.428
18.079
115.562
55.1374
-13.5917
-41.5457
0.721968
-0.721968
161.031
8.14028
-3.41504
-58.0922
-27.4573
-31.9505
30.1016
-3.5103
3.5103
168.474
167.885
-122.403
-33.2684
29.4751
-3.74904
3.74904
-79.8161
8.0638
64.3438
-11.266
40.9048
-3.21846
28.5927
-81.3224
128.51
-19.4433
96.9685
-19.5986
-14.4163
-81.2877
0.563442
-130.919
-18.9048
93.8951
-103.42
3.25624
-3.25624
-7.57467
31.1697
5.33811
-65.0798
74.9794
-9.89958
-12.6415
147.996
-78.7372
-106.525
-33.6893
28.5426
-107.231
198.234
-72.4444
136.142
-106.521
-29.6204
-15.4317
165.802
-150.37
-153.404
-21.1427
-182.691
174.305
7.99186
-116.337
108.345
-157.516
23.634
-26.3875
-27.4661
-74.8109
-26.9443
81.9029
157.994
55.101
-110.674
0.104606
10.1923
-93.2224
8.93302
-21.7489
-68.0617
-74.9419
-16.4525
92.8408
-76.3884
56.5367
-181.719
123.623
-123.623
148.193
-19.0246
93.7208
-114.95
81.6168
133.893
-52.9782
123.307
-140.676
17.369
-118.155
149.366
-53.1461
-89.5417
2.92961
69.9124
-9.81415
-9.02187
-76.701
82.3405
-5.63948
-62.7529
-13.9068
76.6597
-6.85416
-174.447
156.871
-148.034
-13.944
44.4222
-37.5516
60.4823
-93.2094
1.72872
-134.56
132.965
-138.142
-21.1057
46.6918
-95.0731
1.25653
-153.349
-10.8982
-73.8776
-166.153
2.87046
-9.01268
-13.7117
144.212
-162.475
-35.9476
103.302
137.597
-153.773
-130.016
6.89602
123.12
-80.2604
67.638
-3.77273
-118.38
-90.9475
72.2967
204.942
-149.083
0.425351
-45.7109
59.2722
-13.5613
-40.7147
57.9355
-114.417
-50.8189
-140.248
11.9392
182.966
-127.567
-144.816
16.2356
128.58
82.7895
-129.467
-27.4047
130.965
42.1027
1.65025
-28.3007
-12.2058
-128.147
-0.473291
0.473291
-172.409
10.037
-0.41865
-14.8053
62.8205
140.089
-14.224
-150.238
5.10174
69.9146
-9.32156
-53.6572
91.6159
-91.1656
51.8898
100.056
-29.0702
-146.647
140.101
48.4784
22.5168
-187.82
190.281
-2.46155
37.4696
63.6505
-22.373
109.064
-122.315
134.285
155.162
-41.5492
-27.471
14.2096
154.759
13.3755
-34.6788
31.4603
-161.281
148.621
-24.7983
182.178
-157.379
-104.504
89.0639
76.9688
-58.1302
120.01
120.101
-112.004
-8.09687
65.5408
-44.9949
-20.5459
-72.6876
126.097
-133.626
-57.6947
66.9302
-72.9048
-62.2818
-50.24
-4.95918
45.4522
-40.493
-57.8389
-4.6272
4.6272
-87.2104
67.177
158.302
-67.7956
-13.7486
81.5441
-54.0924
-2.98008
-25.3366
-46.3709
77.5519
-11.9125
27.3621
-29.1429
34.9415
-2.33158
-64.9918
-75.9145
-85.0196
59.1592
-95.4946
71.671
-67.9454
48.9428
19.0026
-0.544193
4.19855
-118.889
-22.4732
63.2078
-12.4015
18.7774
-6.3759
120.821
5.28662
-126.108
95.8715
0.113629
-95.9852
142.687
-27.0053
-71.62
-67.8592
-105.411
107.56
15.4463
-5.54401
87.5553
-82.0113
48.7355
-200.894
186.417
-61.6374
62.92
48.6149
-86.5279
23.9605
62.5674
-74.5563
-77.4261
-106.381
106.167
156.995
-22.2013
-94.8534
-29.4853
197.292
-151.35
-45.9423
-64.6743
47.877
-120.516
47.5909
-66.9992
9.64699
31.059
-6.7469
113.398
-6.72598
49.5466
87.0694
-73.502
-115.22
50.2183
-66.5534
-173.327
108.653
73.196
-15.2456
48.0787
103.625
-117.891
61.6358
-21.4829
-7.06634
28.4021
65.7431
157.604
-173.36
29.6949
9.0248
0.14666
-9.17146
-11.7269
-38.5435
-167.29
50.1989
136.376
-65.6438
92.1958
32.9102
66.5052
-6.42815
-37.2715
27.9132
-35.6756
1.18779
-24.2427
160.913
-136.577
-162.625
11.3673
77.1744
-76.8786
-136.969
-80.322
111.204
-137.524
-55.7905
-32.5304
-29.2762
184.573
-155.297
99.6782
-167.738
-93.0054
2.6275
-104.141
108.384
-2.4043
2.4043
23.4412
-3.99071
-19.4504
50.6856
118.249
33.1361
-151.385
-71.4173
-105.613
97.2498
-65.7241
-20.9275
55.2023
151.821
-21.8318
4.89912
-142.129
136.642
-128.231
121.922
17.6031
184.035
11.4404
-39.8402
-104.498
105.218
106.489
-126.107
-2.46355
2.46355
13.5571
-76.31
-152.41
95.3305
-2.34298
0.763875
123.564
-145.651
0.862229
14.5845
-118.479
-62.1256
48.1807
-95.4659
-32.3208
-115.339
115.696
26.6973
-35.0145
-166.826
146.161
-134.415
-23.5025
66.812
-152.533
-29.635
122.327
-176.538
-136.103
-2.5703
143.817
59.6414
150.085
-116.156
-16.0927
-147.965
89.594
-2.5703
109.897
112.35
-112.031
45.347
-62.5199
90.6333
-148.74
-13.7343
108.905
-128.305
-92.2381
-130.717
-76.6114
90.2798
0.960769
-91.2405
18.5862
-91.6464
136.026
-145.313
141.768
-56.6665
40.344
35.8226
-3.76262
-32.06
-112.105
-147.164
106.205
-117.027
-17.7277
11.9152
5.81247
114.944
-140.941
-8.12005
-92.659
-23.1052
-116.417
20.2689
-24.6212
-96.114
95.9013
-50.378
-20.8203
71.1984
-168.256
156.6
-171.386
-80.6087
1.09632
-63.3318
88.6385
-25.3067
-158.913
-25.6341
184.547
20.3359
-93.3444
97.1281
78.1538
6.02619
-123.053
18.1539
-72.0986
60.4433
-45.6805
62.9838
-17.3034
133.193
-142.891
109.32
-79.8512
-130.926
122.33
-50.0353
-20.0702
70.1055
-15.0867
-137.182
21.6749
123.346
-133.401
18.6458
-157.014
-16.294
100.104
-50.4304
-65.7832
-55.3695
-31.2347
124.519
16.4549
-25.0726
61.8331
-64.6365
126.849
3.98306
12.3694
21.1271
-28.8159
-6.90435
35.7202
25.6814
-40.79
-63.8648
-26.0733
89.9381
-152.068
-15.0904
14.5706
47.1859
-37.495
-0.665605
0.665605
132.514
-7.86344
108.611
118.873
-9.69029
54.871
129.81
-31.1886
-7.00821
38.1968
-2.67352
102.688
-100.014
49.5021
-170.938
8.34923
31.7677
79.848
-112.73
-136.653
-22.1272
49.6001
160.918
88.8675
-94.5332
-52.2826
-16.9398
69.2225
2.40312
-90.6078
-50.2219
-18.0462
68.268
1.92849
1.42545
-3.35395
-30.1772
-4.50157
153.382
-15.369
-88.841
92.4824
-12.7161
8.54589
-52.0082
-16.8528
68.861
-30.9181
-33.3406
-5.19752
38.5381
-41.1866
-11.4072
52.5938
-50.7067
-17.8688
68.5755
34.8185
-27.1233
-7.6952
4.42536
4.61282
20.363
-5.51188
-52.6628
-15.7621
68.4249
-20.7786
56.6112
-68.3777
105.938
-35.889
-0.192448
35.9696
-101.891
99.544
-96.035
-70.2673
65.9716
34.7549
92.1884
160.925
-87.5751
-39.4247
-53.9987
-21.3081
75.3068
-76.0577
97.8785
-53.4261
-21.8611
-100.422
115.065
-33.5943
-3.78664
37.3809
-165.062
-0.561599
0.561599
-55.6687
42.8122
-140.24
132.705
-71.1834
-23.1377
94.3211
168.339
-179.237
34.0023
126.151
-84.802
27.2438
13.0884
-27.9592
-150.386
68.173
-5.98799
-10.3132
-58.3472
-12.4814
70.8286
-65.5642
-27.9232
-69.9817
11.2199
113.271
-11.0346
56.3362
46.2136
25.7782
0.203977
-70.2029
-91.2247
95.4854
-87.8687
-152.113
145.734
79.8456
-56.8496
-22.7313
-68.8891
4.32985
-4.32985
-152.836
-0.620068
0.620068
27.5323
128.949
-145.999
-59.9582
-11.5702
71.5284
75.255
78.582
52.3831
-88.3348
-97.7781
-68.8376
31.593
-42.0477
-59.955
-23.1246
-56.5898
-16.475
-57.6008
-16.0376
0.189215
-75.7914
-21.9867
-53.3516
-17.557
5.89239
-75.5968
61.5003
-55.3199
-17.2553
72.5753
-67.6621
-18.975
-18.7604
-67.6366
58.7125
55.6188
-78.3932
110.587
-71.1258
-68.3721
-58.6531
79.1989
-2.82019
-61.4052
-19.7007
81.1059
-199.845
127.327
-113.47
0.19334
-151.924
55.6186
-72.5734
-29.3413
101.915
132.823
17.903
-17.2392
-65.4555
-47.2102
-63.0394
-22.5226
85.562
-135.55
-202.133
53.9947
132.354
-147.396
-2.87289
105.56
-61.0474
-134.238
-107.088
-77.2629
-158.814
-24.6137
-35.028
-39.5534
23.0146
-134.709
82.2346
-64.9442
56.6919
51.3821
75.4278
-65.6561
-20.8842
-212.618
17.4708
-94.1113
-113.317
148.925
-158.952
-93.4192
-15.978
-85.3398
96.0528
-4.48196
130.924
-156.739
-22.6432
179.382
47.4097
-62.498
-13.7808
-145.107
133.1
0.595276
-67.6169
-63.2637
-111.773
42.3828
86.8344
-109.771
-56.7638
-119.663
48.7755
-61.5158
100.097
-102.431
51.6011
-67.9478
13.7731
-145.505
-170.844
2.10016
82.3827
-20.1071
-98.1789
100.022
-67.1537
-14.9751
13.7951
-81.5907
91.5075
-97.5724
0.665613
-91.5455
30.1484
-175.664
0.127954
-97.6815
69.9648
-65.0895
-12.3924
-148.404
225.333
102.065
-187.465
19.6099
167.855
14.0048
-67.2242
58.4685
-68.7452
141.75
0.247223
129.741
-96.6779
-0.0306212
-65.672
-10.4124
76.0844
-88.9803
-23.4747
-10.4432
33.9179
99.7585
-1.38609
-18.8764
-18.9031
18.9422
17.9696
-18.8851
39.7379
134.446
-153.26
-0.120472
-69.9481
-13.2331
-34.7305
86.0003
22.5121
-108.512
148.361
92.5493
-99.6954
6.08334
-45.7701
-14.4165
-74.5182
-86.1837
62.5585
135.967
-78.4244
-15.7645
-158.828
109.853
22.426
61.3357
0.00500423
-93.7843
70.2655
-38.1789
37.7295
-0.575182
0.575182
3.32129
125.046
-32.4711
29.3465
87.2555
0.0459731
17.9134
-6.49173
-65.2541
-14.4348
79.6889
-176.309
-24.116
-8.78738
22.3248
-37.4334
32.8691
94.0869
-160.675
36.4282
-34.9984
-37.5939
-68.2572
48.5093
-115.353
75.5408
10.7854
0.54765
-159.534
-26.4372
185.972
0.367173
3.97855
3.93056
-0.224665
-157.156
-92.4077
26.2906
-71.1317
-14.6239
-173.376
44.5048
-40.164
121.781
-73.8091
64.7844
-89.1922
72.862
10.5763
-89.5865
-19.3866
108.973
16.8955
-96.9729
80.0774
39.9759
-34.6846
31.8641
0.236114
-10.4812
-9.43143
1.70724
-32.2217
-0.111443
-12.5925
110.376
-113.845
33.6788
-171.247
154.091
-0.0345783
21.2891
-96.0053
-143.871
-99.3374
84.1281
-81.5403
4.92886
16.3723
-163.844
-20.1752
141.447
-111.187
108.61
-158.409
148.651
155.649
-123.669
119.377
-68.8968
8.79905
-11.0803
32.0018
137.951
147.192
-55.0033
61.7357
99.8721
-0.128974
-36.2809
31.7926
-70.2448
-4.03692
-4.68531
-107.171
19.3164
50.7355
-0.628517
-4.83238
1.85859
-97.8335
-38.2658
-17.9141
-68.8493
87.6466
-18.7973
-88.1902
69.3015
27.7674
-30.1875
-20.5679
-9.50872
-88.2495
133.571
-45.3212
2.42126
-76.9776
-72.1682
64.2882
-91.0703
65.6433
-33.8161
12.3488
70.2428
105.158
-175.4
-117.107
112.223
0.323452
166.914
162.74
-17.379
-98.0315
99.072
-1.04053
-17.3733
-163.311
50.0045
-64.4333
-0.0484138
-109.613
-0.106777
65.6377
-74.2184
-172.843
160.818
49.2592
-190.487
172.889
26.2204
0.0875608
48.4239
35.5767
10.1566
49.7507
-0.194323
-99.1475
-82.1968
69.7234
-78.9484
70.4002
-25.1234
14.0039
-0.137435
-110.57
176.063
-55.6939
-71.0501
8.72525
-8.72525
-33.0752
30.0478
-15.2772
-29.9059
45.183
57.6168
-91.6375
-0.578683
0.578683
-13.2669
102.142
-11.4734
-73.4963
-5.60891
-63.7171
-111.712
175.429
0.270592
133.766
-20.2325
-0.154818
99.4447
34.9598
-78.7107
-34.6209
31.4238
68.3522
121.77
-128.659
83.2478
-28.1468
-99.0129
130.189
-128.395
-43.4233
48.4317
1.66775
-36.5326
61.2178
-89.141
169.921
-5.87022
4.74861
129.85
-154.711
-37.1789
191.89
141.601
-159.468
-95.8087
-84.4656
-18.0364
-47.5382
20.7377
80.516
-89.1219
73.907
102.569
-163.256
-124.938
116.88
-76.4015
66.0565
-165.737
148.054
-119.654
114.283
-61.2024
-130.259
-40.9436
33.2484
-49.2035
-219.344
151.191
-2.99076
55.7299
-73.7761
-104.508
-73.1888
-97.2682
84.0775
-55.3013
-6.45579
-90.2413
3.81961
-136.915
-59.5791
196.494
113.197
-95.5474
80.8753
55.0977
-73.4425
-4.341
-147.394
-36.4024
-42.224
-35.2553
32.5896
-149.913
203.908
-50.9157
-0.393264
-3.23829
126.861
180.253
15.2655
-13.5849
20.2148
-14.5017
21.6116
122.046
-15.853
49.5633
-77.8802
-37.4152
-126.481
117.068
37.2189
-44.2271
22.7948
-73.3629
-5.8613
-88.1787
-95.711
70.3515
-41.6595
5.49954
-0.622729
40.2338
17.7408
-2.61582
-46.8139
49.4298
-35.301
-177.242
-83.0224
96.3471
34.6911
-8.73327
-0.563525
-48.8929
61.0504
-55.6443
137.879
143.555
-161.309
61.5569
4.834
-0.482553
-2.5075
1.15977
-97.7364
7.88007
37.1202
-45.9222
-91.0423
-103.055
87.1748
-180.596
123.832
-142.039
-52.891
103.437
-27.5565
137.44
25.7424
95.8685
-107.328
-32.1694
29.9951
160.63
-176.924
-54.2478
-19.5713
145.152
-3.2538
-75.4861
-33.1165
31.3968
-108.231
91.2311
160.125
-85.6896
25.2344
-0.193682
-23.4223
109.164
-100.931
102.51
-8.43762
-119.692
28.4257
-5.42336
-72.2378
-74.7974
168.701
-174.95
156.586
44.9762
29.4311
-12.5352
-107.811
-68.5733
-19.2226
90.9971
132.362
0.140721
-0.395718
7.76457
-99.2758
110.909
-11.6333
32.7161
-0.597948
0.597948
102.744
-36.1728
5.11936
149.744
32.8926
39.2247
45.7921
-101.358
85.7634
8.403
-59.6217
120.077
-85.235
-55.3241
41.6695
-30.7667
0.586649
86.3078
22.1072
-2.31477
-19.7924
-69.4315
-42.7819
-115.119
-80.9345
-133.117
123.473
-140.268
-8.62476
-0.137339
8.7621
146.835
-8.40606
-180.555
156.834
60.598
-75.5731
-134.406
116.49
-0.25489
6.51599
-1.99892
-130.558
96.5342
-127.111
119.442
67.2548
-178.967
-93.5246
155.289
-167.937
-129.772
102.299
0.598643
35.2482
-37.923
169.702
-74.5756
0.297721
72.7377
-139.296
-39.1269
0.387845
-15.5882
-114.977
98.605
0.0222163
-38.2324
34.6739
-90.9373
41.4145
0.247215
-43.9274
6.98178
124.204
-7.52152
-138.952
118.269
135.298
-65.1689
110.618
-10.8627
10.4287
-113.381
-2.81659
4.40158
-1.585
9.07424
141.966
-101.3
11.1115
-136.701
110.526
139.775
0.35197
-87.7513
167.991
-25.9366
33.6529
-0.808019
-29.3909
-113.209
-0.105672
150.106
-181.01
0.61742
89.4287
16.2791
-106.677
90.3977
162.522
-212.053
-184.314
152.323
23.5434
-166.665
-110.002
154.582
-44.5796
97.9239
-103.602
-75.346
-21.6269
-188.699
11.1351
-76.1269
-33.3964
28.7067
11.7044
-10.5112
-74.0655
-47.3292
-191.95
133.076
-80.7618
34.2699
52.7953
-45.3366
120.667
-114.126
-6.54092
-100.638
161.644
-61.0068
137.71
-0.242708
-12.2944
3.50906
4.15784
1.96814
37.6035
-43.0335
-0.499386
0.499386
-24.3186
-43.6268
-0.684072
-9.19528
73.582
-10.6957
57.9428
-84.1632
168.016
-11.5235
5.12027
-65.8161
0.919288
0.426912
-108.05
109.431
-114.817
18.6099
96.2072
-46.1399
39.3589
147.934
-89.9255
112.646
49.6675
-66.6574
-2.47633
-7.42806
61.0992
-86.2297
16.4456
-184.165
152.803
-145.553
113.766
59.6455
-62.144
-202.47
146.439
-186.924
125.262
6.81034
-63.587
48.1047
-186.756
166.581
49.3463
-65.1992
-94.5226
94.6679
172.105
49.2844
-68.0332
-157.873
119.601
104.055
-117.418
93.8537
-93.4455
-0.0878244
50.7781
9.75618
49.2695
-69.0724
-22.8647
-9.23031
32.095
-19.4823
-64.6837
50.1445
-11.162
-37.7137
-70.9331
43.9672
-27.3149
-0.0199916
-175.23
161.646
-173.133
-40.915
27.1296
34.0726
-62.2181
84.4672
-81.9953
-3.80266
6.69026
0.122657
107.268
-111.294
-97.5871
97.3102
-7.2791
-40.4016
-39.7344
-64.0454
50.3889
-65.6843
48.2658
-106.895
160.662
153.835
-167.156
10.6279
-144.036
135.7
153.156
-54.7484
-63.8298
51.1875
-165.87
115.052
119.121
-1.6945
-4.93075
-4.77525
-0.189222
0.278712
-5.89587
-109.51
101.212
-40.2851
-35.4372
-2.88153
-102.859
168.758
54.344
-45.6531
-8.69084
7.52092
-114.98
-36.8979
3.50158
-176.906
36.8005
-189.881
-17.3725
-57.5924
74.9648
28.69
85.4055
-69.1482
-201.618
57.5819
26.0351
-36.1606
6.47347
-44.025
63.2372
-163.875
152.051
-110.343
83.4677
-139.609
64.7949
4.59819
-62.2929
126.268
-59.4559
-0.540195
0.540195
73.9223
0.0289225
-149.493
112.236
-155.267
178.802
131.332
-101.688
64.619
-194.26
164.898
0.69023
-10.6812
9.21056
1.47062
64.6354
-87.1979
-159.925
108.476
32.2088
-8.5298
116.499
25.6527
-34.5427
-64.2377
60.5979
-72.6299
26.9509
0.000825644
-95.8318
95.5145
-0.446319
-2.90763
7.64659
102.049
-97.0472
95.3987
-91.475
71.3691
-42.2072
8.138
-157.242
188.131
34.0562
-0.0939655
-62.6369
45.3951
44.8567
-97.6972
96.0172
20.8616
-28.6854
30.8298
-5.31247
0.101812
-36.4638
57.493
-68.6875
-64.9335
54.6482
75.5689
-104.969
-72.2426
177.211
0.18214
-10.4905
79.7012
144.744
-111.608
-17.9946
-19.6047
6.03639
-12.2653
-135.404
17.5803
57.3195
-8.87479
83.4895
-84.2978
10.4187
6.25734
143.827
-0.752499
5.22061
-4.46811
-0.580709
-110.099
-6.23778
93.3924
20.3497
-28.6908
-196.93
133.679
-66.0078
56.7383
71.1507
-80.4054
-0.238732
42.9344
-7.68562
143.094
-156.11
99.6589
36.2655
-6.94603
24.9824
116.519
-57.3393
-2.63086
-3.83391
-22.0105
135.853
-39.149
23.2266
15.9225
-26.7514
-113.924
132.7
-89.6525
-0.546727
0.546727
-57.9111
62.2654
154.603
-1.52476
-170.598
156.024
91.6095
168.008
-70.0212
-61.1467
46.6392
6.66702
-103.104
26.3865
-183.766
-99.8998
-47.0992
12.0295
-100.544
130.085
55.5589
-64.0066
8.74607
-145.04
136.294
48.6842
-25.9942
-137.821
-85.5609
70.881
-8.5101
29.7946
51.2535
5.16852
-2.65068
18.2651
37.1533
125.368
-57.0818
3.03401
-59.8163
54.0072
-9.40905
-0.94179
114.062
-5.71701
5.24968
-70.8529
-87.3545
153.786
-51.3069
3.10994
-11.9741
-0.742322
61.691
-71.79
-104.729
103.024
-56.3923
-36.3305
-65.4035
55.6004
26.7271
83.0742
103.214
-68.7586
121.348
30.7285
-9.08336
-17.4061
13.8749
-91.9988
145.13
-156.335
2.09216
-138.005
-14.8312
54.6813
-203.765
-28.1985
1.80874
-1.77072
36.6687
-1.80874
-0.0185112
-30.1149
117.411
165.319
-94.9744
2.11762
97.3258
-100.354
-144.758
-46.3091
56.6756
0.937818
-17.6187
-78.2229
123.943
-58.1997
-101.701
98.1464
2.19629
-68.9706
60.9523
13.1574
-2.19629
-64.9962
-21.5317
17.9212
2.69444
115.323
46.2784
-35.8865
-55.9829
-11.872
41.5589
-55.0195
-12.8759
-38.2059
26.851
46.7297
-59.2798
-65.3857
-93.0236
158.409
-9.16277
-118.722
178.939
-24.6107
-92.426
24.3642
-44.3797
21.1235
76.755
-38.1054
-37.5518
-5.64365
22.8567
95.7063
-35.3252
-110.088
0.325923
-0.325923
3.39335
-129.871
8.50128
110.204
-32.1739
-13.0378
-25.2406
24.1616
15.2246
-39.3862
-14.2258
-83.0742
-130.567
1.48829
-29.9337
-144.127
77.3326
-82.9721
-23.9204
-20.6714
-25.004
56.2974
-72.2722
64.8569
5.87931
-5.93498
0.0556637
-123.405
119.332
103.25
-112.94
-17.2071
-17.9219
-19.9544
77.888
-117.293
-27.1541
-12.1901
39.3442
-13.3816
40.5112
37.793
-23.3097
18.1085
-114.254
109.444
13.1672
-125.171
-5.24182
16.9709
-140.267
44.4592
178.854
-33.6717
-125.187
27.5676
97.6195
12.1579
-18.101
-78.9901
70.3926
-7.40346
-50.072
-16.5844
-6.02236
-1.39691
-63.6518
52.4898
11.162
-23.0343
-9.96322
1.19615
112.921
-115.777
-52.0589
87.8746
24.7626
-39.7068
29.698
-17.8073
-38.7941
141.863
-61.7829
20.8527
96.4228
-82.9901
32.5184
-134.148
54.6216
7.64379
-107.519
65.3288
-15.1371
-60.0754
107.208
22.607
-70.9452
-115.664
111.158
64.7061
42.723
51.244
-10.7956
-15.019
13.1341
-139.456
150.1
53.3486
-172.278
117.085
-27.8426
169.575
-90.9351
7.21588
83.7193
11.936
-8.14426
-5.64969
-7.59726
13.247
0.826671
10.4626
-50.0795
-13.8464
25.9594
-18.9506
-7.00878
-156.693
132.458
68.805
-53.7199
0.64192
0.0694714
-151.413
1.07011
-126.982
94.6615
95.5696
-88.7515
-6.81813
4.85474
-55.0948
-167.826
48.6009
-57.1618
149.82
-111.744
-26.4604
-179.89
162.829
6.60941
-4.50925
50.3461
-76.7656
67.1622
-13.1442
-46.4197
195.876
-124.028
124.028
-11.6188
9.70875
64.9848
-76.5633
51.9912
15.926
-26.007
-59.4897
31.7923
-36.3058
-0.217576
-8.24731
-1.70721
-8.17962
1.72157
38.5313
-9.96801
5.1793
-11.7746
12.6367
-12.4742
-0.118295
-120.554
114.035
-6.4927
24.8616
-27.9774
-83.9077
70.3647
168.426
-104.468
95.7696
-23.1261
-53.5257
162.002
-105.145
-6.92724
31.364
-34.5718
-130.206
-111.916
184.866
-120.017
33.229
30.7888
18.3753
166.172
23.6047
1.84679
70.952
-87.4677
63.5923
-89.2644
-0.0280813
-6.17396
-97.6135
12.6857
84.9279
-44.9285
-0.841567
128.323
54.6423
-27.4279
5.32009
-19.1545
15.3648
3.78963
130.58
0.278471
-0.278471
-145.616
139.283
6.33253
-184.33
166.817
-24.9629
13.77
-0.780481
-3.10506
122.933
-129.014
-10.7943
-5.06345
10.7887
-92.8814
149.152
-158.989
12.774
124.194
147.065
-163.866
-12.2614
10.0624
137.575
-5.06827
-4.37437
104.019
-88.0048
-77.2577
55.9495
6.94113
2.08367
-92.8972
33.0987
-134.685
125.34
-66.1664
-84.909
26.9018
-29.8966
-8.07454
-17.0489
-85.105
61.9804
-158.934
-14.4424
-8.3495
0.624377
-29.1973
-13.358
1.8668
146.937
-219.381
8.55159
-4.51413
-1.8668
-86.716
-1.58293
39.2906
13.8847
24.7657
-26.8043
163.784
106.707
-127.46
-1.2965
9.67158
-12.236
-21.0386
1.72825
-168.785
150.855
-1.72825
-12.0763
11.5539
54.866
-17.1698
5.18427
-174.024
85.8998
104.375
19.0197
52.7283
15.0322
-71.5944
51.9897
-95.0516
34.0966
15.8439
53.3571
23.9472
-35.4178
-68.5046
128.013
-142.975
-0.12932
47.7527
-38.8407
35.4335
-153.177
109.284
-117.814
15.8814
54.0508
168.281
-100.822
-67.4597
-126.335
114.566
14.2461
79.6238
-29.7876
8.8488
0.122396
-8.9712
-68.5763
50.5817
23.4363
-20.7216
85.2839
-99.4288
-11.7354
3.20729
-30.1264
165.104
128.872
-98.9852
83.837
-4.63164
26.6431
37.9513
92.3668
140.487
-169.973
-156.533
144.743
3.23952
-5.20607
5.20607
-70.4674
-5.10495
-153.374
144.168
-54.5742
-134.138
115.218
-66.4684
86.3157
-83.7707
-12.5484
-196.19
133.861
-84.7683
-18.2399
-35.9477
4.4068
-6.97164
11.7253
5.72071
-104.356
-15.2224
187.107
-58.7839
-10.6131
109.245
112.148
-65.7558
155.39
18.9668
20.1488
-76.1811
56.0322
-8.846
66.1655
55.3793
-0.757742
-8.84675
71.1521
-89.7868
11.876
84.1768
49.5671
-4.50685
7.63487
96.1023
-109.413
-9.38533
-102.407
-41.8997
39.2352
88.8441
-8.38799
151.191
13.2706
-8.21742
-5.0532
-74.0264
1.85625
-0.40805
-1.4482
117.407
-128.928
-159.811
-48.6888
113.426
-135.583
-141.089
96.7971
-9.15155
-3.12435
71.6707
43.2029
-9.97398
-37.445
-119.793
-53.4057
176.066
17.234
-71.803
54.5689
24.711
-76.6275
-19.1812
-47.3543
2.42572
23.5243
25.2195
60.4892
-106.186
-13.3216
45.0498
-36.0446
-9.00515
-13.1448
10.5365
117.86
-76.7458
164.346
-9.80287
44.0727
-13.0408
-50.3828
108.11
-123.908
-46.2882
41.1096
40.6288
12.2209
-105.822
89.8227
-109.567
1.95539
-0.0139427
-16.5504
22.3628
-109.122
1.26895
-1.95539
-13.9322
-15.5014
-51.7228
92.6174
-165.269
-134.443
-92.392
-2.11506
2.11506
1.97011
-1.97011
1.91642
-1.91642
2.40221
-2.40221
1.57849
-1.57849
-1.92001
1.92001
1.96354
-1.96354
-2.13041
2.13041
-1.964
1.964
-2.25332
2.25332
1.99583
-1.99583
1.8861
-1.8861
2.00771
-2.00771
-2.47182
2.47182
-1.87084
1.87084
-2.85688
2.85688
2.91375
-2.91375
-1.54204
1.54204
-1.91874
1.91874
2.06086
-2.06086
2.0119
-2.0119
-2.04531
2.04531
-2.53027
2.53027
-2.31279
2.31279
-1.96195
1.96195
2.26775
-2.26775
2.22319
-2.22319
-1.93327
1.93327
-2.3767
2.3767
-2.13704
2.13704
2.08048
-2.08048
-2.01058
2.01058
2.63013
-2.63013
-1.74315
1.74315
-2.2934
2.2934
1.98858
-1.98858
2.33576
-2.33576
-1.625
1.625
-1.6038
1.6038
-2.0086
2.0086
-2.02294
2.02294
1.73615
-1.73615
-1.98818
1.98818
-1.64674
1.64674
2.14775
-2.14775
1.99733
-1.99733
2.37961
-2.37961
-1.92051
1.92051
2.25558
-2.25558
2.02677
-2.02677
-1.9799
1.9799
2.3511
-2.3511
-2.17181
2.17181
-2.05792
2.05792
2.66965
-2.66965
1.9499
-1.9499
1.85132
-1.85132
-2.02517
2.02517
2.05712
-2.05712
2.04103
-2.04103
2.68209
-2.68209
-2.38046
2.38046
1.96032
-1.96032
-2.31823
2.31823
2.40278
-2.40278
-2.05552
2.05552
2.7005
-2.7005
1.58329
-1.58329
2.35962
-2.35962
2.03914
-2.03914
2.02737
-2.02737
-1.98501
1.98501
2.16713
-2.16713
2.0464
-2.0464
-2.08423
2.08423
4.48873
-4.48873
2.1743
-2.1743
1.6641
-1.6641
-1.95591
1.95591
2.02516
-2.02516
2.05163
-2.05163
1.97507
-1.97507
-1.86194
1.86194
-2.02737
2.02737
-1.76632
1.76632
-1.77682
1.77682
2.03708
-2.03708
-1.80291
1.80291
1.57713
-1.57713
-2.11941
2.11941
1.81069
-1.81069
1.82586
-1.82586
-2.02967
2.02967
1.99618
-1.99618
2.00953
-2.00953
-2.16772
2.16772
-2.13949
2.13949
1.97152
-1.97152
2.09719
-2.09719
1.94146
-1.94146
-1.80335
1.80335
1.92181
-1.92181
-2.08895
2.08895
1.86951
-1.86951
-2.1211
2.1211
-2.08539
2.08539
2.37496
-2.37496
-2.1015
2.1015
1.86062
-1.86062
-2.17108
2.17108
-1.93932
1.93932
1.8689
-1.8689
-1.97334
1.97334
2.1483
-2.1483
-1.61033
1.61033
-1.9625
1.9625
2.15893
-2.15893
2.31774
-2.31774
-2.29669
2.29669
2.01894
-2.01894
-1.9839
1.9839
2.24839
-2.24839
-2.06255
2.06255
2.45284
-2.45284
-1.93078
1.93078
-2.13914
2.13914
1.9312
-1.9312
-2.1344
2.1344
-2.42773
2.42773
-2.05869
2.05869
2.51791
-2.51791
2.09634
-2.09634
-2.00355
2.00355
2.17314
-2.17314
-1.8526
1.8526
-21.4817
64.2047
9.89032
-130.576
-65.8081
122.183
-26.7059
66.1082
-5.6803
-60.4279
142.585
151.564
-114.411
52.0041
-158.154
-132.71
148.086
-5.69558
-99.1905
134.15
95.2796
-41.8315
-53.4481
132.343
-160.302
-95.3818
22.371
-3.86304
11.0729
142.104
-8.91119
-130.433
105.479
-132.368
15.2879
-14.8469
-7.22036
-70.3403
54.8389
33.1089
150.906
-182.194
-42.3276
-137.979
110.54
40.4766
-46.7001
-49.7388
13.5965
-15.4188
47.0703
-50.2506
-109.822
174.489
-25.7985
-0.516952
6.2085
-5.69155
-44.4823
0.0584686
7.00849
-12.7388
21.4641
136.791
8.41334
79.2332
4.484
-7.29947
20.4551
-32.8955
-12.0362
-135.051
-0.810096
-76.616
-20.7704
12.6959
4.28734
-94.5501
22.4829
2.433
-16.4683
-3.44075
-4.51321
132.71
125.03
-106.58
1.25417
-164.644
19.492
130.613
-125.327
-2.21262
-0.130356
-26.0179
-11.5139
1.49261
-150.226
-2.28803
-9.58162
-103.666
49.8901
5.48924
-5.6156
-44.5032
53.3759
-1.49261
-75.1236
-7.03242
-66.0496
30.3988
-36.7921
-120.668
4.16241
15.0508
-57.2748
73.8088
20.0795
-17.2092
39.0447
-17.0382
-143.075
109.221
118.333
-102.706
-22.5604
-2.49657
1.01664
0.944323
-95.8303
107.085
19.6883
-1.56343
12.9671
3.55156
-16.5187
-34.6048
49.9701
-0.0799839
6.12457
-77.1151
70.0827
-18.6726
166.485
23.6061
-81.4306
44.4214
-126.861
-42.9561
-22.2653
-0.979418
0.0352908
-40.1919
-123.378
-157.738
-74.8956
-76.575
70.1468
-28.3854
-12.0094
138.106
55.3787
-17.212
-7.19512
125.966
-108.8
28.9639
-75.2016
14.8769
-20.7307
-77.7996
9.94043
-95.7491
84.2976
171.207
-6.8121
-1.81266
27.3224
-199.334
114.754
-10.2634
-105.392
201.936
-128.136
-155.609
114.193
-9.23923
-49.0065
-13.1191
162.922
-14.1843
-40.7489
-128.141
-125.286
-2.92617
-18.1099
1.78838
0.204324
-10.5068
-63.103
-1.78838
28.9891
-19.2178
36.7909
-82.3504
-34.4303
-18.7571
-131.914
5.32918
1.01862
-126.393
-78.2714
48.1266
-127.025
123.787
58.546
128.561
-5.55327
91.9963
-13.5607
-94.8193
146.774
10.5062
105.305
-73.6519
-204.142
70.8219
-12.0022
-22.7013
3.56474
51.4215
-59.4652
-53.194
54.8523
-28.9138
-27.6991
-65.0198
-1.86694
-0.00350096
14.9877
126.1
1.32704
3.62134
3.83023
-1.64688
45.6283
95.8802
15.0024
-41.9133
-20.3505
-11.9418
57.7435
-0.199906
2.31765
0.515492
18.524
-79.5941
0.282697
-73.7608
33.3592
4.30322
-2.36
-0.979418
-17.6478
-167.336
-32.264
-34.3273
-6.96362
6.92904
-184.625
-23.7337
-7.64588
-2.22751
9.87339
-39.3874
164.756
0.264736
-119.957
6.82736
-17.2999
-40.7219
17.2611
-78.8985
-10.0128
114.813
-132.673
121.931
54.7607
-131.814
-38.1442
-13.093
-18.2302
3.06963
-12.8162
3.11832
25.5582
7.28301
-6.34519
142.388
-0.147608
2.24062
-119.909
-23.2745
136.314
-116.735
-129.163
63.7776
5.92187
9.03183
-17.3142
-147.386
-51.9482
-5.43891
-33.7237
-2.52792
-69.0921
142.447
11.1842
-51.1853
2.37031
-2.37031
51.9286
28.4754
-20.4793
-79.2354
104.978
-9.01844
96.1792
161.861
-73.3457
-135.451
-41.9687
48.3367
-16.8573
-6.85964
29.8743
-188.672
174.23
-111.685
3.89429
-58.2227
-152.757
-33.6731
-24.4212
-81.1717
-27.4533
18.3024
8.42122
-8.59905
0.559245
164.379
0.614096
-40.2654
-6.97685
-57.8833
-22.4387
7.89192
-48.9841
74.0531
6.35693
7.13427
1.64068
-0.247163
-67.2855
-60.5225
8.90723
-3.55455
-77.4795
101.751
54.2788
-20.2482
-10.4729
30.721
-114.899
-93.1522
-66.0259
-53.589
6.77503
-66.2328
11.1413
4.14654
-0.806321
17.8362
147.594
-151.443
9.20878
-62.7413
-138.016
169.193
-155.324
-35.0132
-138.604
-17.2414
9.58861
41.5904
40.1365
-6.78801
-6.40822
24.6536
22.0382
-88.8314
-22.9906
3.08407
-7.85244
8.57013
157.732
-52.1796
7.49149
135.954
-65.7417
11.0534
-3.61562
-161.557
16.1232
129.534
8.02284
-23.0441
2.59598
20.4481
35.2773
41.7003
63.4923
17.197
-7.1257
-0.177884
7.30359
-2.56524
2.56524
-29.3086
-89.3327
169.052
75.6328
8.7392
-48.6525
9.89251
-11.9819
12.3436
-91.1207
2.70761
-56.8
100.663
73.4003
1.41416
35.6682
-138.473
125.39
15.8175
2.05912
-2.05912
100.313
138.553
31.9777
4.32429
90.8843
-0.148917
-119.555
-3.27064
-31.1264
-18.9459
6.71122
-8.57968
0.407333
154.199
42.8728
-148.605
-46.1537
54.9564
-31.6771
-78.2466
95.0225
-75.4204
-49.4184
157.778
-2.53401
54.2195
-29.5659
12.9146
121.184
17.1109
62.3869
-160.398
3.50633
81.1093
-43.7763
16.8065
-63.1774
-56.2551
-3.50633
-61.6347
-7.01163
-65.1282
11.9558
53.1724
60.4154
60.4598
16.8503
-103.456
105.182
-28.1332
-77.0484
107.748
136.789
-3.69034
2.04148
0.445377
-83.5472
-37.9476
-2.04148
6.30136
-84.653
72.3916
-23.7919
89.7636
9.0495
-81.5675
21.39
-74.7223
33.5098
18.3825
-46.891
-179.408
-22.0542
49.0885
13.3309
4.95434
78.1623
18.1848
0.098562
-107.903
13.2094
-2.23406
-11.7972
18.6236
131.11
5.02027
-1.74451
29.4124
0.319179
-13.943
123.177
-46.8535
-36.0816
71.4265
106.02
-153.548
-141.286
136.928
150.067
-165.751
-1.00608
88.5475
27.0584
1.32704
-15.3929
149.407
1.45032
-1.45032
69.6804
-20.4831
21.4973
-91.3658
24.0661
-1.53062
-34.1018
-135.871
-41.3653
112.554
-8.98111
55.1771
17.3982
-90.6268
29.6595
7.71705
-15.3143
24.1627
6.53358
-1.22995
-5.30363
-70.623
12.2921
25.6524
126.542
-25.0729
70.7256
28.5007
-0.672166
-123.173
83.6464
19.8316
-114.38
78.3176
-102.739
70.0779
22.6819
-4.95185
-4.97541
0.524417
72.3479
-154.705
6.85191
1.99689
8.60165
99.3696
-47.5375
2.30812
158.835
64.7556
-3.98364
27.4182
-55.6851
-119.853
-38.2497
-100.932
2.90968
5.07097
7.42009
1.47685
-141.434
-35.4715
16.1946
79.2733
15.6549
-19.1596
116.233
105.939
-5.44134
-1.8849
-93.857
20.7867
-46.6361
117.491
71.2666
8.06391
0.57436
57.1216
-48.5655
5.77359
72.4832
-72.2088
-0.0408094
-74.3003
8.3529
0.587202
119.793
19.7195
1.1152
8.18894
14.6713
-3.68006
100.65
0.848013
113.063
-90.9155
-16.8953
3.43357
-116.006
135.576
54.9198
20.011
-82.5615
-2.36
-118.947
19.6711
-110.986
36.6872
-18.9179
98.0235
155.108
113.413
-67.9352
8.96229
-1.53792
-125.774
7.74068
-63.2016
176.398
26.222
117.12
106.838
125.756
97.4463
7.07931
6.12024
0.570028
-119.235
82.7132
-58.0754
-0.57436
0.101069
20.3436
28.7843
-35.3734
96.2777
3.32293
150.323
21.1595
24.898
-30.2105
-33.3918
-23.6281
-122.371
163.097
-21.5066
-27.8453
8.05231
1.45761
-164.11
0.187483
30.5616
-31.8514
186.389
-48.0997
-141.893
171.7
103.982
-151.311
-59.5853
-4.08679
-15.0677
-1.7732
79.0154
155.469
40.0073
12.5865
-57.5864
89.1473
-124.66
-42.6765
-7.33989
-4.74878
-26.5277
-10.9042
-8.13245
-151.653
1.40046
8.59987
-8.70608
-1.40046
-20.2867
17.8152
-3.22659
71.3107
-16.1335
32.9329
-31.4446
-66.883
-0.430525
142.618
-69.5693
92.0814
-118.504
140.726
159.556
130.285
28.6851
-52.9402
-148.323
-67.7561
-69.4315
36.483
0.897912
13.9197
12.6338
15.8241
80.4468
9.09793
10.0187
28.5566
110.911
-106.995
4.33284
-12.4445
-20.0534
-7.91942
7.80112
34.8808
-7.63705
-139.737
-35.4888
-85.4603
168.341
-153.753
113.972
2.02402
87.7771
-20.6001
27.2606
0.547466
8.46422
-23.8
-71.911
60.1237
-52.48
-97.2592
27.401
-5.98269
1.33581
-15.4197
-1.33581
-116.143
33.7951
0.177363
1.80737
-75.1717
83.7478
-0.101463
117.191
39.7325
-23.4528
-8.87765
-64.4911
-145.79
-0.173596
-22.8892
-106.919
129.185
31.477
-94.3791
-1.93878
-118.385
124.109
-165.318
114.357
-99.9261
50.498
-117.221
1.63882
80.7844
-166.71
103.223
-154.39
-104.768
-101.825
-17.7522
30.6344
129.371
-144.675
-3.06909
-29.8808
88.5537
-52.2737
23.7944
-115.684
121.99
-6.30638
132.065
-192.14
9.93744
0.784621
178.474
13.6578
2.47918
81.3632
-27.0499
22.9632
-0.604394
111.536
-45.7606
83.0229
-28.7114
-49.6178
-23.3404
-39.8265
35.3487
-16.9832
166.359
-120.153
81.8318
9.02014
146.499
-9.37641
12.1552
-112.003
8.37312
0.196211
-75.4426
-34.1487
-59.0043
70.5779
1.29074
-33.8494
-9.75274
152.885
-110.58
10.8667
2.30812
-0.62663
4.99553
-5.00948
-92.8726
160.102
2.57222
81.1756
-7.76107
72.5932
-27.6171
39.696
-14.3332
14.1251
24.1238
2.88837
30.0445
141.266
-8.74892
-9.91018
131.77
0.200544
-7.32625
20.6246
28.9438
-25.574
8.99123
-8.40054
-24.756
23.1013
-25.1821
22.6273
-25.1323
22.153
25.1583
-22.71
-1.31611
-5.53399
-92.0942
104.78
59.0646
131.742
39.501
-19.0989
131.387
-22.2082
65.3991
2.11339
-7.7223
-45.1309
22.1965
19.8669
-117.799
41.4599
57.0537
-77.959
-39.8476
-79.7896
-69.3893
52.1822
-104.37
69.1635
-21.0875
23.3842
-20.6543
23.458
-21.9325
131.482
27.1642
-25.4275
14.0117
5.86976
-19.8815
76.227
0.347619
-7.5401
155.058
3.22482
-39.8298
41.5669
-22.6212
72.4462
49.8686
33.0568
40.2145
104.255
-52.1448
87.3326
-6.99226
9.78688
-27.5581
1.91135
153.197
5.16901
-49.5487
-62.1953
-8.55088
8.03393
48.025
-53.7053
-99.2828
-73.4159
-20.2683
111.793
-53.295
61.3588
121.447
71.7475
97.8571
-83.9936
111.028
30.5011
-144.015
104.627
69.7833
41.7285
23.3612
115.624
-40.1965
16.121
-0.75617
-25.8953
1.11533
-1.11533
32.746
-13.0157
3.47916
-40.8973
47.9808
28.5985
27.3247
-59.0891
-61.6347
120.724
-70.478
7.69902
-69.959
-95.0469
172.818
-99.2397
77.46
21.7797
-18.4055
107.605
-169.543
51.0646
-83.0303
23.6301
61.9635
-3.48876
-26.309
74.4138
105.333
-7.63878
77.8731
-2.50424
-146.401
204.915
-58.5142
5.50589
-9.74231
13.5319
0.294215
-7.59368
0.117621
6.57481
-6.69243
52.2216
-111.637
-8.31942
74.1587
-116.571
-78.2799
-76.0399
84.0138
45.6458
-34.9638
8.32655
-27.799
-72.3236
56.6701
-10.3311
89.7862
29.7098
-105.539
-47.123
2.62044
-120.404
-1.73392
1.87241
76.6111
-21.6548
166.151
-73.7841
-37.6142
43.7951
74.0319
-79.9282
5.89636
100.725
-111.908
97.383
-2.097
8.98563
42.9961
-51.9817
3.48175
-62.8074
-2.32079
57.0574
32.2995
157.328
10.2298
-62.9176
1.18586
-6.31843
-0.612083
-1.18586
-64.7061
53.1832
24.9472
1.08325
-1.08325
-38.4414
8.83688
131.265
144.766
37.4029
-1.53062
-65.0412
148.823
-12.0313
-10.8699
-35.3064
-101.718
-0.135915
-36.5729
21.9873
3.90309
-31.7313
-54.7802
55.1046
154.049
-50.2971
14.0935
-52.2994
147.846
-166.518
-9.44223
-149.51
-107.396
-89.873
1.06061
-1.36891
-1.06061
-45.623
1.66289
46.186
97.9915
-135.764
148.678
14.0587
19.9164
51.3943
53.8775
85.2357
1.17347
109.29
-1.17347
95.1168
-128.87
0.396957
60.3407
-12.2073
195.971
-103.288
-120.074
-0.396957
-47.0875
180.949
-37.9472
3.9935
6.10905
100.683
-0.347264
-2.71016
-26.6139
76.8721
-187.105
-41.1391
129.48
3.20983
80.2491
18.4985
-7.24236
0.606124
166.211
-10.0596
-15.0129
-55.6213
-2.54135
-5.64629
-85.3778
-56.6856
-158.706
29.706
-6.47947
-108.879
39.2015
-27.172
88.8645
-9.20837
39.0091
103.571
-0.755556
-0.340039
120.329
-57.6289
-42.577
-94.8044
91.268
21.6452
148.959
-153.527
4.56753
27.8637
-80.0444
165.944
-42.3167
37.8099
8.62747
0.587202
-1.65334
162.3
-48.5326
1.20385
-2.03148
5.2382
157.181
-126.653
-0.302206
111.762
24.2094
-20.6579
-2.28711
-14.2316
-15.6982
85.9637
-80.3114
160.358
-0.310712
9.47813
-7.55476
-99.7866
-78.352
-7.54448
-71.9208
7.52774
-127.174
-26.3475
-31.7193
-94.0372
124.826
-26.2832
125.947
-22.4897
-77.0135
78.9398
-0.0404697
-0.119229
0.328371
-0.00367816
-0.0839962
-0.0569256
0.00159585
0.0375986
-0.078628
-0.0210204
-0.211293
-0.0799132
-0.0378324
-0.10805
0.177313
0.0921855
0.0920846
-0.17259
0.0713278
0.0704953
0.0661449
0.109214
-0.0765056
0.382277
0.652421
0.0492605
0.146412
-0.116088
-0.00462991
-0.127959
-0.02333
0.0374152
-0.0515096
-0.0400801
0.120934
0.110258
0.212249
-0.855063
-0.139246
-0.0368682
-0.115496
-0.0531957
-0.0926942
-0.171717
-0.0190344
0.25688
0.0499348
0.189594
0.145643
0.0615877
-0.0191191
0.245059
-0.0574341
-0.240383
-0.335827
-0.033929
0.0933632
-0.0430447
-0.0355887
0.112725
-0.175825
-0.107721
-147.036
-86.7348
-3.41988
90.1547
-72.888
113.001
-99.8511
-13.1499
-41.4902
-86.7411
-5.36929
-1.59433
135.38
-102.032
196.83
-67.3491
28.0212
72.8189
29.2052
-27.2733
-1.93188
0.110722
0.362569
-0.944033
-22.9273
4.69486
5.72185
-22.7844
-143.926
-31.4379
92.4852
20.1765
101.745
129.4
26.4951
57.4427
-138.766
-28.904
-6.55109
75.5644
-77.2253
1.78329
-56.458
-43.1813
10.1048
-10.4521
-5.12417
-75.376
-55.0598
7.2402
-68.4511
-76.3701
-6.12012
164.073
-24.6385
48.2381
-126.301
-37.714
-89.4274
65.6274
10.1033
135.631
18.0285
-53.3043
142.148
26.4119
-34.049
7.05803
-7.07802
-10.3128
-1.72338
13.7209
31.9952
36.3738
21.6332
-15.3318
164.1
-125.298
55.5042
-40.0071
91.348
74.0602
-25.3155
54.5172
38.3782
-9.75183
190.427
94.7818
29.1104
-3.55225
7.68445
41.8994
41.1235
-29.2094
-65.2608
-149.329
32.8732
-144.481
-116.139
116.987
-34.0875
-18.9884
-10.1857
140.144
71.5131
54.4398
1.40567
-9.62309
-97.6263
80.7309
1.28978
-1.28978
-0.187896
-3.64602
-111.254
-34.7426
27.5475
-159.13
88.9578
12.3578
205.577
124.261
-2.37898
-51.3263
-87.3301
32.109
34.9145
-23.8834
29.6286
-108.621
63.4469
104.701
76.9302
-162.968
41.7429
6.52193
0.0528836
-33.1341
21.7374
22.5909
84.8288
56.5724
-58.6358
58.6743
-49.502
-19.2245
-108.829
172.163
100.431
-82.2463
-3.41355
88.3414
-151.189
137.814
-29.9659
-94.3301
-5.74799
53.5114
-91.2254
10.2664
-1.31727
-52.0408
13.8699
139.649
36.1089
-78.7083
-4.79847
124.241
-53.5644
151.847
-111.567
-64.717
123.305
-58.5881
13.6568
-24.7951
-46.0802
107.298
0.547466
-73.735
93.4998
6.72396
5.00132
-75.0355
124.538
-0.311916
-3.20765
38.1221
83.8188
97.6271
-108.646
7.08666
-18.8736
18.6665
32.8899
-1.95776
76.6986
-4.0335
-135.111
-41.0493
54.7963
-33.3241
-112.327
0.927081
-5.41581
-109.706
-16.687
25.759
-106.534
19.3227
77.2015
2.62261
-0.540178
74.3576
40.02
72.1582
-143.466
137.823
13.7292
-51.2111
134.358
-7.88381
-4.18521
52.8776
17.4935
-61.4361
-142.706
2.9656
-30.8383
18.6172
150.576
106.622
-52.9638
-107.779
17.7833
-5.75865
-74.5604
-0.129908
-7.98738
22.9282
101.104
-105.902
21.2808
157.682
63.8446
-52.6826
9.12038
-6.66037
8.0712
3.0041
-135.818
-20.9733
-152.724
-6.11088
15.756
-0.860638
0.461838
-115.519
1.68338
-0.18433
-8.45131
166.463
-28.0949
102.787
-79.2996
74.5508
160.993
-10.4167
-62.6818
9.91439
4.14356
49.8637
2.02402
-82.5964
-13.0656
126.142
92.9496
71.794
69.2186
146.917
-126.886
133.219
-17.246
72.3437
-15.7443
-111.715
-0.461838
50.1154
189.965
96.5882
-14.8873
28.2791
0.931466
-2.37967
-6.37077
-6.65864
6.69924
6.61207
-6.61198
6.07982
-6.10084
-7.24279
-8.0008
7.96393
7.67339
7.19801
7.09697
7.40437
-7.42341
-7.05248
145.232
-149.554
-1.33324
-152.104
8.12858
-68.5333
-135.789
150.846
-23.8319
109.552
106.449
8.04304
-49.8527
146.894
-50.3432
0.904422
10.1489
-25.0589
27.5347
20.2414
-22.572
75.3638
-18.3064
-5.48074
78.369
137.817
72.2165
0.826897
-21.5995
24.1565
17.6549
-82.9596
24.8087
153.329
-4.36957
1.42652
-1.42652
-100.624
-23.1277
-6.69542
-59.637
51.6426
-70.3268
126.434
-56.1071
-29.57
50.7044
-50.4276
45.8394
5.08262
8.64154
54.1183
109.858
-42.8592
-90.3946
66.4741
-157.453
79.665
7.54822
51.6706
-192.847
130.651
-79.7319
-28.96
-2.89135
-79.0681
5.06139
-126.342
-99.0292
-6.89114
-106.622
-5.88302
6.21472
-55.4733
10.9237
10.7095
6.96142
1.23921
-1.23921
-113.168
-16.5535
59.1703
12.6182
24.0644
-81.4439
-30.596
69.9717
-74.8018
22.657
-61.726
78.1572
184.11
-5.57943
8.00872
-80.8777
3.84721
56.4902
-109.086
32.0693
-24.9189
6.44229
-2.98214
6.22327
-6.33005
28.9717
-10.6305
31.0729
-6.08367
-57.9374
23.9541
-21.9182
-10.9117
-61.105
-3.46214
92.0159
74.0179
4.41448
0.987935
-93.9757
130.644
-85.0964
24.2197
-20.9018
0.787284
-7.69443
-2.57507
9.16841
78.2312
-5.44412
-2.56428
-2.02159
-29.7921
31.8137
-4.56988
4.85439
54.6209
59.176
-0.95268
23.9158
38.0335
122.96
10.1965
15.1287
7.50314
-90.6731
98.862
-77.8551
32.9337
-142.027
-42.928
105.805
-6.69553
-99.1092
6.31972
4.73715
22.9792
-20.6579
118.652
-59.9573
70.119
-19.6241
-2.91882
-41.442
-125.372
-166.045
7.26799
-0.0546429
-7.02337
10.6918
7.74004
32.4733
-101.863
-145.732
94.8649
-97.222
-1.13969
1.13969
73.2076
-1.41991
8.34796
-10.1541
60.3105
-66.3249
6.01436
167.675
-41.5333
128.912
51.485
-73.5077
61.4314
70.4494
99.0788
-40.4441
-81.4275
-4.76005
-5.17074
75.0093
67.5508
49.582
5.03894
35.1516
38.2534
-39.7661
55.083
74.6167
-21.2904
58.1214
-45.5349
80.2906
-1.83135
-17.0866
-6.91683
24.4651
-25.4178
105.096
56.1535
-16.5614
-148.334
86.2955
66.4681
-71.569
-7.77243
-90.4952
-100.32
-132.772
115.125
140.857
142.837
-120.285
8.28897
33.9354
-37.1946
-63.6264
143.479
-101.216
116.347
-15.1307
-64.0365
88.9666
21.7052
152.393
15.9458
10.3189
-53.1004
-10.9361
-2.50424
1.85845
-116.11
-12.477
128.587
1.96073
-1.94738
3.75538
-72.919
57.2208
-101.094
19.1814
-133.538
-1.36509
10.1641
-33.308
-8.06438
92.2958
-70.5161
-62.4858
-141.131
-8.38251
-54.5066
-6.44257
-1.15036
-4.92137
23.1597
27.2835
-34.2758
-17.1723
-70.7424
23.2733
-21.6245
-89.2553
-4.63923
21.7176
-4.79068
8.61217
114.615
29.615
73.9219
6.15654
9.01441
-4.00417
35.5074
-83.0968
7.64836
-3.24235
-62.1178
90.6702
79.0772
83.8043
-10.9328
112.562
4.42502
4.43549
81.2838
-90.8932
9.60937
77.1298
-70.8732
6.66871
6.01255
-25.564
-34.4426
27.6135
-23.2527
-4.80517
147.418
-82.3598
-2.59525
29.9573
152.953
0.340039
4.10946
-83.7913
69.6071
-21.8831
-80.8224
-0.387579
5.66434
-7.90849
-0.984688
-5.5664
112.872
-16.9472
64.7084
-47.7612
-8.3033
121.175
-3.82567
0.528516
-116.822
3.751
-80.3961
105.905
-0.229663
130.101
7.78447
128.95
-6.24258
6.33594
-0.236755
101.664
-108.052
-24.7201
-30.8205
-26.5776
82.3368
7.44934
-93.9554
-67.9536
-174.16
106.206
21.6887
58.2119
-78.1809
-20.4901
-91.1357
-72.739
109.771
11.7038
-6.73822
-62.2255
2.61901
-5.36506
4.08027
-55.874
60.913
19.5358
40.9555
-2.14682
-99.0926
-157.042
-65.4217
69.1771
36.244
-19.9508
76.2438
-77.5605
0.310712
-8.63884
60.7123
-113.665
68.7079
-11.9205
-95.5097
94.0678
-93.8958
9.22671
-65.3306
-18.4608
203.811
57.7634
139.84
-4.97403
2.65422
161.446
10.4262
29.4222
9.26598
17.8975
-21.0545
2.12406
-80.4764
-12.4513
-141.418
111.41
-14.1737
74.6545
-55.3304
-105.399
-18.6191
133.412
-15.7657
-108.126
-95.0336
146.717
1.66289
8.24122
70.6747
-45.2484
0.358477
151.586
-125.707
17.7552
57.122
0.366893
-1.08678
-4.39396
22.7839
-16.8684
-31.8489
99.6905
4.50598
-113.74
12.655
-0.628012
-114.392
55.8044
6.04132
-29.2663
-60.4475
52.0595
1.03544
49.3733
-125.749
4.07397
113.018
3.77181
-3.56749
-124.082
-98.1065
22.7476
9.63259
-52.1383
-11.0209
56.9104
-0.141289
1.2386
-1.53206
-8.50078
-22.3054
-63.1083
59.2827
-5.69389
-25.4649
11.3695
-97.5484
-28.3345
-75.8652
-142.975
-82.5426
51.0017
68.2183
-26.2458
155.196
3.98921
48.9625
-77.3479
54.0312
-54.2609
-50.4107
3.02991
-1.37827
-4.20115
-110.623
-81.65
-21.7522
-14.8786
-1.61261
-120.25
19.5956
-163.522
-2.17637
-4.15368
-108.904
4.65533
-18.9573
47.0982
-5.60076
5.7738
5.84123
-47.9351
-89.6428
32.8475
-162.819
19.1748
18.5281
18.9011
-19.0025
173.276
67.5777
21.9702
4.68739
-4.6498
57.9428
-6.51099
6.6574
-96.7951
-89.8138
93.5648
18.5777
-72.1768
-105.183
123.57
96.688
96.8701
-19.475
-0.0224336
56.2102
-111.926
103.524
-93.3274
-50.7953
31.0385
34.9185
5.00398
-4.96656
151.492
31.514
72.6375
60.4378
-124.886
-133.965
110.232
19.6793
1.88205
-96.2665
-14.0655
16.1313
-80.0228
5.59445
68.9294
-87.6865
16.1223
160.436
71.4712
146.223
-69.7668
-5.68432
5.79458
2.08974
-0.987993
-3.80268
-18.8405
54.2985
-4.07677
-80.4994
76.4298
129.554
-36.6618
27.5012
38.558
-5.00591
86.5843
23.0297
-23.3705
-23.1296
-23.148
-144.786
-46.4383
-2.23895
-60.8804
-65.7699
7.48549
-5.7187
-0.89328
8.09137
5.22582
-5.67278
-0.985862
0.585188
-18.0794
64.6727
75.1669
-20.2691
-16.195
85.5201
34.3451
86.3743
-110.27
106.58
7.7043
-1.19486
1.10985
3.99212
-152.239
100.356
-127.809
-5.13903
-2.86177
5.17686
-11.3873
-60.332
5.81711
-5.84666
0.559267
-5.19642
140.957
5.71563
-5.65603
73.0236
3.55546
97.2163
-10.842
-125.039
112.24
-127.838
15.5111
-5.7204
-1.25369
-15.3442
67.5399
-52.1956
-1.01021
68.482
46.2212
19.1366
137.585
40.4942
-42.9065
0.651621
-5.47338
14.8561
-23.935
26.554
60.8538
-71.3606
-5.7805
3.88216
-3.32289
73.906
84.1212
-5.6923
-4.65776
4.70374
4.57376
5.16828
-5.28751
-5.33614
5.44535
-5.55201
14.9846
2.15503
6.21692
3.88717
37.413
-5.35805
5.47898
5.14648
-42.3458
5.39471
-5.5108
25.9866
-24.1281
10.6548
0.624499
115.598
5.36236
-5.83432
-5.76391
-2.27611
10.822
20.1603
-99.171
5.39598
0.760557
-0.770598
-48.7036
124.326
-106.625
83.35
-46.6072
-52.5638
21.5407
4.41037
-4.42948
4.79965
-4.88365
4.22993
5.07061
-5.17866
84.2792
1.89278
3.07986
-3.34141
71.5964
25.6199
109.63
-130.604
-12.4435
16.201
16.1371
-16.0331
16.2296
-3.04592
16.5647
0.525854
5.48807
-1.29662
0.00690868
-77.4743
-5.35381
5.3023
-24.892
77.4994
6.99653
-7.16951
-7.01092
-6.9
0.755594
74.3374
-18.1272
0.726422
-9.58664
-76.5286
16.7945
-43.7876
5.38186
-17.3574
-5.02748
4.9874
-45.9623
20.8436
-0.127982
4.13519
-4.06904
5.0369
-5.09383
-16.5793
2.67192
4.13942
-4.02669
-8.46172
59.4208
-74.9351
66.7997
8.13547
10.6186
-183.228
-30.2175
4.96144
4.85181
-4.96731
146.984
-1.00156
-4.67302
24.3219
4.67275
-0.984842
-3.95015
3.85746
-1.76359
82.5057
-36.3588
4.80814
0.55422
-4.83523
-0.343424
-38.1174
-2.60628
17.4967
-0.421083
0.17879
94.7102
99.2708
69.7528
12.9455
-42.3004
)
;
boundaryField
{
frontAndBack
{
type empty;
value nonuniform 0();
}
bottom
{
type calculated;
value uniform 0;
}
inlet
{
type calculated;
value uniform -1000;
}
top
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value nonuniform List<scalar>
28
(
1000.01
999.998
999.989
999.99
999.991
999.992
999.994
999.997
1000.01
999.999
999.996
1000
1000
1000
1000.01
1000.01
1000.01
1000.01
1000.01
1000.01
999.991
999.988
1000.01
1000
999.989
1000.01
999.99
999.993
)
;
}
car
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //
| [
"kmeyer299@gmail.com"
] | kmeyer299@gmail.com | |
f360b858acbf52d092f1fe17f5c371850377cd1a | 0250c33a7e5b2af8214ae0bd6f6adbf6de4aab16 | /downloader.cpp | 321971e7812f9be8c91316159c91c6bbd7219dbc | [] | no_license | RostikMoroziuk/exchange-calculator | be45161beb32fc511666c88a4739212324d139cf | 76ddbccf07bf67e787eedc77fe0275c383d36ab3 | refs/heads/master | 2021-01-19T10:01:27.216109 | 2017-04-10T13:59:15 | 2017-04-10T13:59:15 | 87,581,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | cpp | #include "downloader.h"
#include <QThread>
Downloader::Downloader(QStandardItemModel* model, int *cnt):tempModel(model), tempCount(cnt)
{
manager = new QNetworkAccessManager();
connect(manager, &QNetworkAccessManager::finished, this, &Downloader::result);
}
Downloader::~Downloader()
{
delete manager;
}
void Downloader::getData()
{
QUrl url("http://resources.finance.ua/ua/public/currency-cash.xml");//формуємо адресу
QNetworkRequest request(url); //створюємо запит
manager->get(request);//робимо сам запит
}
void Downloader::result(QNetworkReply* reply)
{
if(reply->error())//не вдалося підключитися, скачати
{
QApplication::beep();
QMessageBox::warning(this, tr("Помилка"), tr("Не вдалося оновити дані. Провітре з'єднання з Інтернетом."));
emit loadStatus(tr("Помилка: ") + reply->errorString());
}
else
{
QFile file(QCoreApplication::applicationDirPath()+"/exchange.xml");//дані скачано, записуємо їх у файл
if(file.open(QFile::WriteOnly))
{
file.write(reply->readAll());
file.close();
emit downloaded();
}
emit loadStatus(tr("Дані оновлено"));
LoadData();//записуємо їх
}
}
void Downloader::LoadData()
{
ParsWorker *parser = new ParsWorker(tempModel, tempCount);
QThread* thread = new QThread();
parser->moveToThread(thread);
connect(thread, SIGNAL(started()), parser, SLOT(process()));
connect(parser, SIGNAL(finish()), this, SIGNAL(ready()));
connect(parser, SIGNAL(finish()), thread, SLOT(quit()));
connect(parser, SIGNAL(error()), this, SLOT(getData()));
connect(parser, SIGNAL(finish()), parser, SLOT(deleteLater()));
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
thread->start(QThread::NormalPriority);//зразу задаємо пріоритет для даного потоку
}
| [
"rmorozyukua@gmail.com"
] | rmorozyukua@gmail.com |
e2a74381dab9d397bfdbd1cb10fd524156f95370 | a8789f24d1093ab6f0688c457c8f0b603384c52a | /DXUT_2DElements.h | 2365a7dcdc976fd44faa8005ef4fe22cc37b7ddb | [] | no_license | Hao-HUST/Ocean-Wave-Simulation-Based-on-Wind-Field | 45c6f06f0481fa8cd44becac9d30f645f1f67284 | 3083e8a8706ae3c5bf197dfc2e42211fff1c5020 | refs/heads/master | 2021-01-10T17:45:31.633241 | 2016-01-07T11:43:20 | 2016-01-07T11:43:20 | 49,198,758 | 4 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,182 | h | //ÎÄ×ֺͿؼþ
#pragma once
#include "DXUT.h"
#include "DXUTgui.h"
#include "SDKmisc.h"
#include "DXUTcamera.h"
enum Control_ID
{
IDC_FULLSCREEN = 1000,
IDC_WIREFRAME,
};
class DXUT_2DElements
{
public:
DXUT_2DElements(void);
~DXUT_2DElements(void);
HRESULT OnD3D11CreateDevice( ID3D11Device* pd3dDevice );
HRESULT OnD3D11ResizedSwapChain(ID3D11Device* pd3dDevice, const DXGI_SURFACE_DESC* pBackBufferSurfaceDesc);
void OnD3D11DestroyDevice();
void OnD3D11ReleasingSwapChain();
bool MsgProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
void Render( float fElapsedTime ,size_t num );
public:
static int m_Mode ;
static inline int GetMode(){return m_Mode;}
private:
CDXUTDialogResourceManager m_DialogResourceManager; // manager for shared resources of dialogs
CDXUTTextHelper* m_pTxtHelper ; // 2D text
CDXUTDialog m_Controls; // dialog for button controls
void RenderText( size_t num );
};
void CALLBACK OnGUIEvent( UINT nEvent, int nControlID, CDXUTControl* pControl, void* pUserContext ); | [
"wanghao4110@gmail.com"
] | wanghao4110@gmail.com |
1e273b6e2abdcec8041d9250c499feacbd63db37 | a68823773e764142c7b5c69f31bf2f916ca02c5f | /Code/PluginCustomizer/CustomParameterModel.cpp | b63b8b11c39ff0b0d7c9fe3e814dd20a3f65be46 | [
"BSD-3-Clause"
] | permissive | hh-wu/FastCAE-linux | 0a4b8ac6e1535a43f4047027cb2e01d5f2816f2d | 4ab6f653e5251acfd707e678bd63437666b3900b | refs/heads/main | 2023-06-16T13:43:56.204083 | 2021-07-12T16:20:39 | 2021-07-12T16:20:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include "CustomParameterModel.h"
#include "EditorDescripttionSetup.h"
#include <QProcess>
#include <QCoreApplication>
#include <QDebug>
#pragma execution_character_set("utf-8")
namespace FastCAEDesigner
{
CustomParameterModel::CustomParameterModel(QString nameEng, QString nameChn, QString iconName, int type, QObject *parent)
:ModelBase(nameEng, nameChn, iconName, type, parent)
{
}
CustomParameterModel::~CustomParameterModel()
{
}
int CustomParameterModel::ShowEditor(QTreeWidgetItem* treeItem, QWidget* parent)
{
// QString designer = qApp->applicationDirPath()+"/../bin/designer.exe";
// QProcess *process = new QProcess(parent);
// process->start(designer);
// if (!process->waitForStarted())
// return -1;
// process->waitForFinished();
//
// qDebug() << process->readAll();
// qDebug() << process->exitCode();//退出码
// qDebug() << process->exitStatus();//退出状态
FastCAEDesigner::EditorDescripttionSetup dlg(treeItem, this, parent);
return dlg.exec();
}
} | [
"1229331300@qq.com"
] | 1229331300@qq.com |
f0bebf0c1e681c20e74a43ad082a82585b8c05e7 | 9031c25072a81afd99a3ae51974093ef9da0c5e4 | /Prog-Repartie-M4102C/prog-repartie-M4102-master/tp02/batterie-partagee/BatteurJazz.hpp | 9711786b706296b4f35e57b03082c3dc2d2fff57 | [] | no_license | Lleiro/TPs | e58ce8cddba25d0a38add4e8c698364f253f4fd9 | 654274f47241090f94ab1f0f459a11de3dd18ed5 | refs/heads/master | 2020-04-08T16:40:58.041000 | 2019-04-15T09:29:23 | 2019-04-15T09:29:23 | 159,529,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | hpp | #ifndef BATTEUR_JAZZ_HPP_
#define BATTEUR_JAZZ_HPP_
#include "Batteur.hpp"
#include "Batterie.hpp"
// Classe avec opérateur parenthèses défini
class BatteurJazz : public Batteur
{
public :
BatteurJazz(const unsigned long numero_, Batterie& batterie_);
void operator()(void);
};
#endif // BATTEUR_JAZZ_HPP_
| [
"monteile@hostname.iut2.upmf-grenoble.fr"
] | monteile@hostname.iut2.upmf-grenoble.fr |
3c22122058cd466125479101a59f643cece47e1d | 7faf95f8f8864ce06e4f5238b638c902d4f019e2 | /graph_fpga.h | 48f93e033886438616a7886a7af0e8626132fd4c | [] | no_license | SoldierChen/graph_processing | 6c0bdb74f0c3e49e370a175e66a2f0a374d1c0b8 | e403d392cbf8df27e02605f8670060eba8a0045a | refs/heads/master | 2021-05-29T03:40:22.215338 | 2020-04-09T07:57:22 | 2020-04-09T07:57:22 | 254,308,070 | 0 | 0 | null | 2020-04-09T07:59:45 | 2020-04-09T07:59:45 | null | UTF-8 | C++ | false | false | 3,643 | h | #ifndef __GRAPH_FPGA_H__
#define __GRAPH_FPGA_H__
#define AP_INT_MAX_W 4096
#include <ap_int.h>
#include "config.h"
#define DATA_WIDTH (512)
#define INT_WIDTH (32)
#define INT_WIDTH_SHIFT (5)
#define SIZE_BY_INT (DATA_WIDTH/INT_WIDTH)
#define LOG2_SIZE_BY_INT (4) //change manual
#define SIZE_BY_INT_MASK (SIZE_BY_INT - 1)
#define BURST_READ_SIZE (4)
#define LOG2_BURST_READ_SIZE (2) //change manual
#define BURST_BUFFER_SIZE (SIZE_BY_INT)
#define BURST_BUFFER_MASK (BURST_BUFFER_SIZE - 1)
#define BURST_ALL_BITS (DATA_WIDTH)
typedef ap_uint<8> ushort_raw;
typedef ap_uint<32> uint_raw;
typedef ap_uint<DATA_WIDTH> uint16;
typedef ap_uint<128> uint4_raw;
typedef ap_uint<BURST_ALL_BITS> burst_raw;
typedef ap_uint<64> uint_uram;
#define BITMAP_SLICE_SIZE (16)
#define BITMAP_SLICE_SHIFT (4)
#define EDGE_MAX (2*1024*1024)//5610680////163840 // (1024*1024)
#define BRAM_BANK 16
#define LOG2_BRAM_BANK 4
#define PAD_TYPE int16
#define PAD_WITH 16
#define uchar unsigned char
typedef struct __int2__
{
int x;
int y;
} int2;
typedef struct __int4__
{
int s0;
int s1;
int s2;
int s3;
} int4;
typedef struct EdgeInfo {
int2 data[EDGE_NUM];
} edge_tuples_t;
typedef struct shuffledData {
uint_raw num;
uint_raw idx;
} shuffled_type;
typedef struct filterData {
bool end;
uchar num;
int2 data[EDGE_NUM];
} filter_type;
typedef struct processinfo {
uint_raw outDeg;
uint_raw data;
} process_type;
//#define SW_DEBUG
#ifdef SW_DEBUG
#include "stdio.h"
#define DEBUG_PRINTF(fmt,...) printf(fmt,##__VA_ARGS__); fflush(stdout);
#else
#define DEBUG_PRINTF(fmt,...) ;
#endif
#ifdef CACHE_DEBUG
#include "stdio.h"
#define C_PRINTF(fmt,...) printf(fmt,##__VA_ARGS__); fflush(stdout);
#else
#define C_PRINTF(fmt,...) ;
#endif
#define CLEAR_CYCLE (256)
template <typename T>
inline int clear_stream (hls::stream<T> &stream)
{
#pragma HLS INLINE
int end_counter = 0;
clear_stream: while (true)
{
T clear_data;
if ( read_from_stream_nb(stream, clear_data) == 0)
{
end_counter ++;
}
if (end_counter > CLEAR_CYCLE)
{
break;
}
}
return 0;
}
template <typename T>
inline int empty_stream (hls::stream<T> &stream)
{
#pragma HLS INLINE
int end_counter = 0;
empty_stream: while (true)
{
T clear_data;
if ( read_from_stream_nb(stream, clear_data) == 0)
{
end_counter ++;
}
else
{
end_counter = 0;
}
if (end_counter > 4096)
{
break;
}
}
return 0;
}
template <typename T>
inline int write_to_stream (hls::stream<T> &stream, T const& value)
{
#pragma HLS INLINE
int count = 0;
stream << value;
return 0;
}
template <typename T>
inline int read_from_stream (hls::stream<T> &stream, T & value)
{
#pragma HLS INLINE
value = stream.read();
return 0;
#if 0
if (stream.read_nb(value))
{
return 0;
}
else
{
return -1;
}
#endif
}
template <typename T>
inline int read_from_stream_nb (hls::stream<T> &stream, T & value)
{
#pragma HLS INLINE
if (stream.empty())
{
return 0;
}
else
{
value = stream.read();
return 1;
}
}
#endif /* __GRAPH_FPGA_H__ */
| [
"lemuel.tan1995@outlook.com"
] | lemuel.tan1995@outlook.com |
2f2c3057dee8a823a7e2544e6ae36ed2e42f7c0f | 2f9f97f7dbb76f887fe705bcd92f173efd68997c | /examples/TemplateExample/TemplateExample.ino | de1e656c207b0905bda5e0698626d84c5067c0a4 | [] | no_license | juniorheptachords/ArduinoWebTemplate | 2fa6f5b900da0bf2a7d604c2d990bfcaaac9150e | efd12f3314dd666baef819693ebb7d2246b6ffa4 | refs/heads/master | 2021-09-04T07:31:18.505223 | 2018-01-17T01:48:44 | 2018-01-17T01:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | ino | #include <ArduinoWebTemplate.h>
void setup() {
Serial.begin(115200);
// Home template
ArduinoWebTemplate::Data homeDatas[] = {
{"title", "Home"},
{"what", "awesome"}
};
ArduinoWebTemplate homeTemplate(getHeader(), getHome(),getFooter());
Serial.print(homeTemplate.render(homeDatas));
// ABout template
ArduinoWebTemplate::Data aboutDatas[] = {
{"title", "About"},
{"abouttext", "I'm an awesome template!"}
};
ArduinoWebTemplate aboutTemplate(getHeader(), getAbout(),getFooter());
Serial.print(aboutTemplate.render(aboutDatas));
}
void loop() {
}
char* getHeader(){
return (R"foo(
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<style>
*{padding:0; margin:0; box-sizing:border-box;}
html,body{font-size:16px;}
</style>
</head>
<body>
<header>
</header>
)foo");
}
char* getFooter(){
return (R"foo(
</body>
</html>
)foo");
}
char* getHome(){
return R"foo(
<h1>Home</h1>
<p>This is {{what}}!</p>
)foo";
}
char* getAbout(){
return R"foo(
<h1>Home</h1>
<p>{{abouttext}}</p>
)foo";
} | [
"christophe@MacBook-Pro-de-Christophe-3.local"
] | christophe@MacBook-Pro-de-Christophe-3.local |
67a6d77a36381536ccacaa76681499389227b49b | 8f54a0c5f63184d4230e3045a40255914d12ef42 | /Deque-2/Main.cpp | 7392f83dac1620ba3d6f202888b8b57c1eb87da5 | [] | no_license | mxstrong/2-uzduotis | 64c48449ae98ccf3e4bea85bf553af9732313001 | ac5a31310794810b85348a5d0f10beb757f1d628 | refs/heads/master | 2021-01-04T19:44:39.390717 | 2020-04-05T17:02:25 | 2020-04-05T17:02:25 | 240,723,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | #include <algorithm>
#include <iostream>
#include <filesystem>
#include "Student.h"
#include "Random.h"
#include "PrintResults.h"
#include "Choices.h"
#include "ReadData.h"
#include "Benchmark.h"
using namespace std::chrono;
int main()
{
auto start = steady_clock::now();
std::deque<Student> students;
bool toBenchmark = chooseToBenchmark(students);
if (toBenchmark)
{
doBenchmark();
}
else
{
std::string choice = chooseInputSource();
if (choice == "skaityti")
{
readDataFromFile(students);
}
else if (choice == "generuoti")
{
generateData(students);
}
else
{
readDataFromInput(students);
}
std::deque<Student> badStudents;
std::string final = chooseFinal();
sortStudents(students);
divideStudents(students, badStudents, final);
printResultsToFile(students, "pazangus.txt", final);
printResultsToFile(badStudents, "nepazangus.txt", final);
}
auto end = steady_clock::now();
duration<double> diff = end - start;
std::cout << "Visos programos veikimo laikas: " << diff.count() << std::endl;
system("pause");
return 0;
} | [
"mantas.ptakauskas@gmail.com"
] | mantas.ptakauskas@gmail.com |
ab98dd4ed688789ed415ce26b069da63b7ccff3a | d60690a429dc2aa31c2858004fe98bd08344db97 | /GameWorld.h | 9d8550e9493742e63081c6a12a5593a1eacedf4f | [] | no_license | dkhachatrian/FrackMan | bb6c2a7feaafa6995805a858d0c7c742c7e8a9e5 | 616922bb6b83e0f2e8afa43b2c0c7a6cc168a277 | refs/heads/master | 2021-05-04T11:28:23.411815 | 2016-02-27T01:05:03 | 2016-02-27T01:05:03 | 52,052,348 | 0 | 1 | null | 2017-07-18T20:39:07 | 2016-02-19T01:31:16 | C++ | UTF-8 | C++ | false | false | 1,376 | h | #ifndef GAMEWORLD_H_
#define GAMEWORLD_H_
#include "GameConstants.h"
#include <string>
#include <vector>
const int START_PLAYER_LIVES = 3;
class GameController;
class Actor;
class GameWorld
{
public:
GameWorld(std::string assetDir)
: m_lives(START_PLAYER_LIVES), m_score(0), m_level(0),
m_controller(nullptr), m_assetDir(assetDir)
{
}
virtual ~GameWorld()
{
}
virtual int init() = 0;
virtual int move() = 0;
virtual void cleanUp() = 0;
void setGameStatText(std::string text);
bool getKey(int& value);
void playSound(int soundID);
unsigned int getLevel() const
{
return m_level;
}
unsigned int getLives() const
{
return m_lives;
}
void decLives()
{
m_lives--;
}
void incLives()
{
m_lives++;
}
unsigned int getScore() const
{
return m_score;
}
void increaseScore(unsigned int howMuch)
{
m_score += howMuch;
}
// The following should be used by only the framework, not the student
bool isGameOver() const
{
return m_lives == 0;
}
void advanceToNextLevel()
{
++m_level;
}
void setController(GameController* controller)
{
m_controller = controller;
}
std::string assetDirectory() const
{
return m_assetDir;
}
private:
unsigned int m_lives;
unsigned int m_score;
unsigned int m_level;
GameController* m_controller;
std::string m_assetDir;
};
#endif // GAMEWORLD_H_
| [
"david.g.khachatrian@gmail.com"
] | david.g.khachatrian@gmail.com |
e4593b063fb6ad727493f658d068f57563062ea9 | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/Android/Release/app/src/main/include/Fuse.Controls.Native.ViewHandle.Invalidation.h | a9737a6b9e6158b3d78dab82884274e62b2c60a8 | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Nodes/1.12.0/ViewHandle.Android.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Controls{
namespace Native{
// public enum ViewHandle.Invalidation
uEnumType* ViewHandle__Invalidation_typeof();
}}}} // ::g::Fuse::Controls::Native
| [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
ef0a421ff9d47f54087089ef00f2697b0d5b4529 | ea491ffd8dbc355a3f6883ce2bab3c76343dd89e | /sys_error.h | 6cf55d9a3acefe9fa191cdb3badff9412aa06d5b | [] | no_license | EricJeffrey/MicroContainer | 6c7d2ac253cdaa1b52629369a04985bb8bed758e | 7f0c6bfb11a4d1d60df828fc3aad28a1c04a4da4 | refs/heads/master | 2023-02-22T15:13:35.575335 | 2021-01-13T08:48:21 | 2021-01-13T08:48:21 | 248,660,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #if !defined(SYS_ERROR_H)
#define SYS_ERROR_H
#include <cstring>
#include <exception>
#include <stdexcept>
#include <string>
using std::string;
// error when making syscall
struct SysError : public std::exception {
const int err;
const string errMsg;
SysError(int err, const char *msg) : err(err), errMsg(string(msg) + ": " + strerror(err)) {}
SysError(int err, const string &msg) : err(err), errMsg(msg + ": " + strerror(err)) {}
const char *what() const noexcept override { return errMsg.c_str(); }
};
#endif // SYS_ERROR_H
| [
"1719937412@qq.com"
] | 1719937412@qq.com |
f607df6a1b107713af1395057968c2916a9ee46a | 5122098dec5bd7c23b40faeb47a0bdb4ede2cb91 | /University/Semester 2/FileSystem/FileSystem/Shortcut.h | 3b08a9ac0c96669ad591180bb03ae008f749461c | [] | no_license | Jivkomg/university | 0dff86cf70260e6b3129aa38fc0d65c04f98c7dc | 61f3cb5e8e6f4fc135432556546e930ac9058064 | refs/heads/master | 2020-05-30T09:49:12.233975 | 2019-06-24T20:31:25 | 2019-06-24T20:31:25 | 189,653,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | //
// Shortcut.h
// FileSystem
//
// Created by Zhivko Georgiev on 28.05.19.
// Copyright © 2019 Zhivko Georgiev. All rights reserved.
//
#ifndef Shortcut_h
#define Shortcut_h
#include "File.h"
class Shortcut: public File{
protected:
public:
Shortcut();
// Shortcut(std::string fileName);
};
#endif /* Shortcut_h */
| [
"zhivkogeorgiev@Zhivkos-MacBook-Pro.local"
] | zhivkogeorgiev@Zhivkos-MacBook-Pro.local |
7f4fc4b0e89c372e67feb030f04d9590ba7756a0 | f02984173d9ea24ec3b826a783495754bd60677c | /array/array/284-PeekingIterator.cpp | 5f86c346fa650c8d1ae0340f6d1a45555a59b69a | [] | no_license | chuckll/leetcode | 4279efaf2de7c62a534c46a53cc40148924965cb | 2f30ca4651dad66651caad7b8d3fe73d0d0517fa | refs/heads/master | 2021-06-19T22:06:02.875855 | 2019-08-27T06:51:26 | 2019-08-27T06:51:26 | 144,985,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include<stdio.h>
#include<vector>
using namespace std;
// Below is the interface for Iterator, which is already defined for you.
// **DO NOT** modify the interface for Iterator.
class Iterator {
struct Data;
Data* data;
public:
Iterator(const vector<int>& nums);
Iterator(const Iterator& iter);
virtual ~Iterator();
// Returns the next element in the iteration.
int next();
// Returns true if the iteration has more elements.
bool hasNext() const;
};
class PeekingIterator : public Iterator {
public:
PeekingIterator(const vector<int>& nums) : Iterator(nums) {
// Initialize any member here.
// **DO NOT** save a copy of nums and manipulate it directly.
// You should only use the Iterator interface methods.
}
// Returns the next element in the iteration without advancing the iterator.
int peek() {
PeekingIterator it = *this;
return it.next();
}
// hasNext() and next() should behave the same as in the Iterator interface.
// Override them if needed.
int next() {
return Iterator::next();
}
bool hasNext() const {
return Iterator::hasNext();
}
}; | [
"361818710@qq.com"
] | 361818710@qq.com |
e8e055840ad219a18f11be7e80797c8907e1edeb | d6267349b7bf174f23e7642e6b52a297a5666da9 | /C/C_Yet_Another_Card_Deck.cpp | abfb04604b7d700797d9ef57b10ae2a0964664d2 | [] | no_license | pradyuman-verma/CodeForcesProblems | 2734f81d1fba80691731f78c7591648babe9d2e8 | 8595dd1eb5a01451c7f0281a9a2312c5a8478990 | refs/heads/main | 2023-06-08T02:17:23.032562 | 2021-06-29T11:42:04 | 2021-06-29T11:42:04 | 377,835,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | cpp | //pradyuman_verma
/* When you hit a roadblock, remember to rethink the solution ground up, not just try hacky fixes */
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define mod 1000000007
#define ps(x, y) fixed << setprecision(y) << x
#define w(x) int x; cin >> x; while(x --)
#define gcd(x, y) __gcd(x, y)
#define lcm(a,b) ((a)*(b)) / gcd((a),(b))
#define endl "\n"
#define print(x) cout << (x ? "YES" : "NO") << endl
#define for0(i, n) for (int i = 0; i < (int)(n); i ++) //0 based indexing
#define for1(i, n) for (int i = 1; i <= (int)(n); i ++) // 1 based indexing
#define forr0(i, n) for (int i = (int)(n) - 1; i >= 0; --i) // reverse 0 based.
#define forr1(i, n) for (int i = (int)(n); i >= 1; --i) // reverse 1 base
#define debug(x) cout << "debug : " << x << endl //debug tools
//short for common types
typedef vector<int> vi;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef map<int, int> mpp;
//short hand for usual tokens
#define pb push_back
#define fi first
#define se second
#define mp make_pair
// to be used with algorithms that processes a container Eg: find(all(c),42)
#define all(x) (x).begin(), (x).end() //Forward traversal
#define rall(x) (x).rbegin(), (x).rend() //reverse traversal
// code here
void solve(){
int n, q;
cin >> n >> q;
int arr[n], t[q], temp[51];
memset(temp, -1, sizeof(temp));
for0(i, n){
cin >> arr[i];
if(temp[arr[i]] == -1){
temp[arr[i]] = i + 1;
}
}
for0(i, q){
cin >> t[i];
}
int cnt = 0, cnt1 = 0;
for0(i, q){
cout << temp[t[i]] << " ";
for(int j = 1; j <= 50; j ++){
if(temp[j] < temp[t[i]] && temp[j] != 0) temp[j] += 1;
}
temp[t[i]] = 1;
}
}
signed main(){
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
solve();
return 0;
}
/* - map is like dict in python,
- use pair not map, it can be sort easily, for(auto [key, value] : map)
- static_cast<new_type>(expression),
- swap(a,b),
- sort(a, a + n) sort in ascending order,
- sort(a, a + n, greater<int>()) to sort in descending order,
- sort(all(x)), reverse(all(x))
- (about −9 · 10^18 ... 9 · 10^18) long long int
- gcd(a, b) divides every linear combination of a, b i.e. as + bt
- cout << fixed << setprecision(12) aka ps(x, y)
- to take input of a vector arr(n) use {for(auto &it : arr) cin >> it;}
- unsigned long long int > signed long long int on +ve x axis
- sort(all(v)); v.erase(unique(all(v)),end(v)); sort and remove duplicates.
- (s1.find(s2) != string::npos) it checks if s2 is in s1 or not (The function returns the index of the first occurrence of sub-string).
- s.subs(l, r) give substring from l to r;
- memset(temp, value, size);
- 4 + 3 + 7 + 6 + 3 */ | [
"pradyumn_verma27@users.noreply.github.com"
] | pradyumn_verma27@users.noreply.github.com |
062983493d8e37c65efa652592fbd89b66abb7a9 | 806fdce612d3753d219e7b3474c52a419e382fb1 | /Renderer/RendererRuntime/include/RendererRuntime/Resource/Scene/SceneResource.h | 3aa2b46c33e95875396cebb52feca52fd222ecb3 | [
"MIT"
] | permissive | whaison/unrimp | 4ca650ac69e4e8fd09b35d9caa198fe05a0246a3 | 8fb5dfb80a3818b0b12e474160602cded4972d11 | refs/heads/master | 2021-01-11T15:19:21.726753 | 2017-01-25T19:55:54 | 2017-01-25T21:55:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,075 | h | /*********************************************************\
* Copyright (c) 2012-2017 The Unrimp Team
*
* 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.
\*********************************************************/
//[-------------------------------------------------------]
//[ Header guard ]
//[-------------------------------------------------------]
#pragma once
//[-------------------------------------------------------]
//[ Includes ]
//[-------------------------------------------------------]
#include "RendererRuntime/Resource/Scene/ISceneResource.h"
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
namespace RendererRuntime
{
//[-------------------------------------------------------]
//[ Classes ]
//[-------------------------------------------------------]
class SceneResource : public ISceneResource
{
//[-------------------------------------------------------]
//[ Friends ]
//[-------------------------------------------------------]
friend class SceneFactory; // Needs to be able to create scene resource instances
//[-------------------------------------------------------]
//[ Public definitions ]
//[-------------------------------------------------------]
public:
RENDERERRUNTIME_API_EXPORT static const SceneResourceTypeId TYPE_ID;
//[-------------------------------------------------------]
//[ Public methods ]
//[-------------------------------------------------------]
public:
inline virtual ~SceneResource();
//[-------------------------------------------------------]
//[ Public RendererRuntime::ISceneResource methods ]
//[-------------------------------------------------------]
public:
inline virtual SceneResourceTypeId getSceneResourceTypeId() const override;
//[-------------------------------------------------------]
//[ Protected methods ]
//[-------------------------------------------------------]
protected:
inline SceneResource(IRendererRuntime& rendererRuntime, ResourceId resourceId);
SceneResource(const SceneResource&) = delete;
SceneResource& operator=(const SceneResource&) = delete;
};
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
} // RendererRuntime
//[-------------------------------------------------------]
//[ Implementation ]
//[-------------------------------------------------------]
#include "RendererRuntime/Resource/Scene/SceneResource.inl"
| [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
fd521faff209fbf0240c0eedf778dc1d36e33689 | 73ca6983849ffb856d87b66183dd59ff98ee4824 | /include/layered_hardware/joint_limits_layer.hpp | f6338eb2e367aefdb925266b385f991f7072a024 | [
"MIT"
] | permissive | xxkeitoxx/layered_hardware | 1d09cc7d9f586787d9d9e3eb90f1aa461232972d | d77a0400fa95e943cc3998e6ca6b515af8ba028f | refs/heads/master | 2023-01-04T02:48:40.674370 | 2020-05-04T22:08:26 | 2020-05-04T22:08:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,908 | hpp | #ifndef LAYERED_HARDWARE_JOINT_LIMITS_LAYER_HPP
#define LAYERED_HARDWARE_JOINT_LIMITS_LAYER_HPP
#include <list>
#include <string>
#include <hardware_interface/controller_info.h>
#include <hardware_interface/internal/demangle_symbol.h>
#include <hardware_interface/joint_command_interface.h>
#include <hardware_interface/posvel_command_interface.h>
#include <hardware_interface/robot_hw.h>
#include <joint_limits_interface/joint_limits.h>
#include <joint_limits_interface/joint_limits_interface.h>
#include <joint_limits_interface/joint_limits_urdf.h>
#include <layered_hardware/common_namespaces.hpp>
#include <layered_hardware/layer_base.hpp>
#include <ros/console.h>
#include <ros/duration.h>
#include <ros/node_handle.h>
#include <ros/time.h>
#include <urdf/model.h>
#include <boost/foreach.hpp>
namespace layered_hardware {
// TODO: support soft limits
class JointLimitsLayer : public LayerBase {
public:
virtual bool init(hi::RobotHW *const hw, const ros::NodeHandle ¶m_nh,
const std::string &urdf_str) {
// we do NOT register joint limit interfaces to the hardware
// to prevent other layers from updating the interfaces
// because the interfaces are stateful
/*
hw->registerInterface(&pos_iface_);
...
*/
// extract the robot model from the given URDF, which contains joint limits info
urdf::Model urdf_model;
if (!urdf_model.initString(urdf_str)) {
ROS_ERROR("JointLimitsLayer::init(): Failed to parse URDF");
return false;
}
// associate joints already registered in the joint interface of the hardware
// and joint limits loaded from the URDF.
// associated pairs will be stored in the local limits interface.
tieJointsAndLimits< hi::PositionJointInterface, jli::PositionJointSaturationHandle,
jli::PositionJointSoftLimitsHandle >(hw, urdf_model, &pos_iface_,
&pos_soft_iface_);
tieJointsAndLimits< hi::VelocityJointInterface, jli::VelocityJointSaturationHandle,
jli::VelocityJointSoftLimitsHandle >(hw, urdf_model, &vel_iface_,
&vel_soft_iface_);
tieJointsAndLimits< hi::EffortJointInterface, jli::EffortJointSaturationHandle,
jli::EffortJointSoftLimitsHandle >(hw, urdf_model, &eff_iface_,
&eff_soft_iface_);
return true;
}
virtual bool prepareSwitch(const std::list< hi::ControllerInfo > &start_list,
const std::list< hi::ControllerInfo > &stop_list) {
// always ready to switch
return true;
}
virtual void doSwitch(const std::list< hi::ControllerInfo > &start_list,
const std::list< hi::ControllerInfo > &stop_list) {
// reset position-based joint limits
// because new position-based controllers may be starting
pos_iface_.reset();
pos_soft_iface_.reset();
}
virtual void read(const ros::Time &time, const ros::Duration &period) {
// nothing to do
}
virtual void write(const ros::Time &time, const ros::Duration &period) {
// saturate joint commands
pos_iface_.enforceLimits(period);
vel_iface_.enforceLimits(period);
eff_iface_.enforceLimits(period);
pos_soft_iface_.enforceLimits(period);
vel_soft_iface_.enforceLimits(period);
eff_soft_iface_.enforceLimits(period);
}
protected:
template < typename CommandInterface, typename SaturationHandle, typename SoftLimitsHandle,
typename SaturationInterface, typename SoftLimitsInterface >
void tieJointsAndLimits(hi::RobotHW *const hw, const urdf::Model &urdf_model,
SaturationInterface *const sat_iface,
SoftLimitsInterface *const soft_iface) {
// find joint command interface that joints have been registered
CommandInterface *const cmd_iface(hw->get< CommandInterface >());
if (!cmd_iface) {
return;
}
// associate joints already registered and limits in the given URDF
const std::vector< std::string > hw_jnt_names(cmd_iface->getNames());
BOOST_FOREACH (const std::string &hw_jnt_name, hw_jnt_names) {
// find a joint from URDF
const urdf::JointConstSharedPtr urdf_jnt(urdf_model.getJoint(hw_jnt_name));
if (!urdf_jnt) {
continue;
}
// find hard limits for the joint
jli::JointLimits limits;
if (!jli::getJointLimits(urdf_jnt, limits)) {
continue;
}
// associate the joint and hard limits
ROS_INFO_STREAM("JointLimitsLayer::init(): Initialized the joint limits ("
<< hi::internal::demangledTypeName< SaturationHandle >()
<< ") for the joint '" << hw_jnt_name << "'");
sat_iface->registerHandle(SaturationHandle(cmd_iface->getHandle(hw_jnt_name), limits));
// find soft limits for the joint
jli::SoftJointLimits soft_limits;
if (!jli::getSoftJointLimits(urdf_jnt, soft_limits)) {
continue;
}
// associate the joint and soft limits
ROS_INFO_STREAM("JointLimitsLayer::init(): Initialized the soft joint limits ("
<< hi::internal::demangledTypeName< SoftLimitsHandle >()
<< ") for the joint '" << hw_jnt_name << "'");
soft_iface->registerHandle(
SoftLimitsHandle(cmd_iface->getHandle(hw_jnt_name), limits, soft_limits));
}
}
protected:
jli::PositionJointSaturationInterface pos_iface_;
jli::VelocityJointSaturationInterface vel_iface_;
jli::EffortJointSaturationInterface eff_iface_;
jli::PositionJointSoftLimitsInterface pos_soft_iface_;
jli::VelocityJointSoftLimitsInterface vel_soft_iface_;
jli::EffortJointSoftLimitsInterface eff_soft_iface_;
};
} // namespace layered_hardware
#endif | [
"okada@rm.is.tohoku.ac.jp"
] | okada@rm.is.tohoku.ac.jp |
167ed503d160008c22989a37c204f739b6abfe2a | a4d10c015319a67daf2052d79d23ebe0dec66883 | /source/PKB.cpp | 5021c54c03a48716b244e5f9a3ca9d260535eab7 | [] | no_license | G12ProjectTeam/SpaProjectRepo | 8249314166ba19c669186b921784b19366f3c511 | 9f17473fa57169c413e217ebb0acbee235eabd23 | refs/heads/master | 2020-03-27T10:46:22.995072 | 2018-09-02T06:59:27 | 2018-09-02T06:59:27 | 146,444,175 | 0 | 3 | null | 2018-09-03T16:36:37 | 2018-08-28T12:27:56 | XSLT | UTF-8 | C++ | false | false | 256 | cpp | #pragma once
#include<stdio.h>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#include "PKB.h"
#include "TNode.h"
int PKB::setProcToAST(PROC p, TNode* r) {
return NULL;
}
TNode* PKB::getRootAST (PROC p){
return NULL;
}
| [
"danielkwang@outlook.com"
] | danielkwang@outlook.com |
3a9a126a226dd95a16d240c1ebda4532e3561056 | f46e5258241338e79e062ead8ed8b6952ac5016a | /leetcode/binary-index-tree/327.count-of-range-sum.cpp | d1d657ac838be590677e991c717a06d4a000d356 | [] | no_license | riveridea/algorithm | a58fde65ac693b56329bc2dc064a131d9a519b69 | 6151ae9ae7684b020c03a85da154b1b9b00661e8 | refs/heads/master | 2021-01-02T09:32:25.500821 | 2019-11-04T00:32:13 | 2019-11-04T00:32:13 | 8,842,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | /*
* @lc app=leetcode id=327 lang=cpp
*
* [327] Count of Range Sum
*
* https://leetcode.com/problems/count-of-range-sum/description/
*
* algorithms
* Hard (33.35%)
* Total Accepted: 33.9K
* Total Submissions: 101.6K
* Testcase Example: '[-2,5,-1]\n-2\n2'
*
* Given an integer array nums, return the number of range sums that lie in
* [lower, upper] inclusive.
* Range sum S(i, j) is defined as the sum of the elements in nums between
* indices i and j (i ≤ j), inclusive.
*
* Note:
* A naive algorithm of O(n2) is trivial. You MUST do better than that.
*
* Example:
*
*
* Input: nums = [-2,5,-1], lower = -2, upper = 2,
* Output: 3
* Explanation: The three ranges are : [0,0], [2,2], [0,2] and their respective
* sums are: -2, -1, 2.
*
*/
class Solution {
public:
int countRangeSum(vector<int>& nums, int lower, int upper) {
//lets try binary index tree, this is very hard problem
int n = nums.size();
if(n == 0) return 0;
vector<long> prefixsum(n, 0);
prefixsum[0] = nums[0];
for(int i = 1; i < n; i++){
prefixsum[i] = prefixsum[i-1] + nums[i];
}
vector<long> osum;
set<long> st;
for(int i = 0; i < n; i++)
{
if(st.find(prefixsum[i]) != st.end()) continue;
st.insert(prefixsum[i]);
osum.push_back(prefixsum[i]);
}
sort(osum.begin(), osum.end());
int m = osum.size();
//binary index tree
vector<long> bitree(m+1, 0);
int ans = 0;
for(int i = 0; i < n; i++){
int l = lower_bound(osum.begin(), osum.end(), prefixsum[i] - upper) - osum.begin();
int r = upper_bound(osum.begin(), osum.end(), prefixsum[i] - lower) - osum.begin();
//cout << "pfix[" << i << "]=" << prefixsum[i] << " l=" << l << " r=" << r;
ans += query(bitree, r) - query(bitree, l);
if(prefixsum[i] >= lower && prefixsum[i] <= upper) ans++;
update(bitree, upper_bound(osum.begin(), osum.end(), prefixsum[i]) - osum.begin(), m, 1);
//cout << "ans=" << ans;
//cout <<"\n";
}
return ans;
}
//binary tree implementation
void update(vector<long>& btree, int k, int n, int val)
{
while(k <= n){
btree[k] += val;
k += k&(-k);
}
}
int query(vector<long>& btree, int k)
{
int sum = 0;
while(k > 0){
sum += btree[k];
k -= k&(-k);
}
return sum;
}
};
| [
"you@example.com"
] | you@example.com |
242fd70f726ac9049fbb29029ca6fb1bce2b7856 | 607aa56c1583e930e9e2eda4036a16ce6f517c4d | /ObjRenderer/ObjRenderer/MaterialReader.h | eaebfcd524736da6b3f5a53974fd5642a7c3f6ca | [] | no_license | juliorenner/computacao-grafica | 615d264c0d35f72e1f2f83a36ca540fbd29e113c | 906055408f33640c5573235030cb35cba5c99979 | refs/heads/master | 2020-03-25T19:22:49.190776 | 2018-12-04T23:18:30 | 2018-12-04T23:18:30 | 144,079,558 | 0 | 0 | null | 2018-12-04T23:18:31 | 2018-08-08T23:54:55 | C | UTF-8 | C++ | false | false | 572 | h | //
// MaterialReader.hpp
// ObjRenderer
//
// Created by Júlio Renner on 07/10/18.
// Copyright © 2018 RENNERJ. All rights reserved.
//
#ifndef MaterialReader_hpp
#define MaterialReader_hpp
#include <stdio.h>
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
#include "Material.h"
#include <vector>
class MaterialReader {
private:
string filename;
ifstream file;
bool success;
public:
MaterialReader(string filename);
vector<Material*> readFile();
};
#endif /* MaterialReader_hpp */
| [
"julio.renner@hotmail.com"
] | julio.renner@hotmail.com |
a269568bb18b03c55f65d1832d843f681d4a725c | 6b342e06bf8ec9bf89af44eb96bb716240947981 | /84.cpp | 15945ffbb6d07e736e6681ae6dfa894673431921 | [] | no_license | githubcai/leetcode | d822198f07db33ffbb1bc98813e5cd332be56562 | 4b63186b522cb80a0bc4939a89f5b6294c1b11ca | refs/heads/master | 2021-01-13T03:32:38.704206 | 2017-03-14T02:06:35 | 2017-03-14T02:06:35 | 77,529,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | class Solution {
public:
int largestRectangleArea(vector<int>& heights) {
if(heights.size() == 0) return 0;
stack<int> stk;
stk.push(heights[0]);
int ans = heights[0];
for(int i = 1; i < heights.size(); ++i){
if(stk.top() <= heights[i]){
stk.push(heights[i]);
}else{
int cnt = 1;
while(!stk.empty() && stk.top() >= heights[i]){
int temp = stk.top() * cnt;
cnt += 1;
stk.pop();
if(temp > ans) ans = temp;
}
for(int j = 0; j < cnt; ++j) stk.push(heights[i]);
}
}
int cnt = 1;
while(!stk.empty()){
int temp = stk.top() * cnt;
stk.pop();
cnt += 1;
if(temp > ans) ans = temp;
}
return ans;
}
};
| [
"2468085704@qq.com"
] | 2468085704@qq.com |
eaa1cb0c7a391d587d156d549fe0ff8c6e390245 | 4d0300263d28fb461f285cc2c3dfd7c51621cb4d | /external/Angle/Project/src/libGLESv2/renderer/SwapChain.h | bbfb359a07a872374353d5d7f74c4c92c477ae52 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | coronalabs/corona | 6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2 | 5e853b590f6857f43f4d1eb98ee2b842f67eef0d | refs/heads/master | 2023-08-30T14:29:19.542726 | 2023-08-22T15:18:29 | 2023-08-22T15:18:29 | 163,527,358 | 2,487 | 326 | MIT | 2023-09-02T16:46:40 | 2018-12-29T17:05:15 | C++ | UTF-8 | C++ | false | false | 1,290 | h | //
// Copyright (c) 2012 The ANGLE 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.
//
// SwapChain.h: Defines a back-end specific class that hides the details of the
// implementation-specific swapchain.
#ifndef LIBGLESV2_RENDERER_SWAPCHAIN_H_
#define LIBGLESV2_RENDERER_SWAPCHAIN_H_
#include "common/angleutils.h"
namespace rx
{
class SwapChain
{
public:
SwapChain(EGLNativeWindowType window, HANDLE shareHandle, GLenum backBufferFormat, GLenum depthBufferFormat)
: mWindow(window), mShareHandle(shareHandle), mBackBufferFormat(backBufferFormat), mDepthBufferFormat(depthBufferFormat)
{
}
virtual ~SwapChain() {};
virtual EGLint resize(EGLint backbufferWidth, EGLint backbufferSize) = 0;
virtual EGLint reset(EGLint backbufferWidth, EGLint backbufferHeight, EGLint swapInterval) = 0;
virtual EGLint swapRect(EGLint x, EGLint y, EGLint width, EGLint height) = 0;
virtual void recreate() = 0;
virtual HANDLE getShareHandle() {return mShareHandle;};
protected:
EGLNativeWindowType mWindow;
const GLenum mBackBufferFormat;
const GLenum mDepthBufferFormat;
HANDLE mShareHandle;
};
}
#endif // LIBGLESV2_RENDERER_SWAPCHAIN_H_
| [
"vlad@coronalabs.com"
] | vlad@coronalabs.com |
d96267b7fe44725fdbbecbc0f473d416e5d0ce47 | 8b9b16bfaf1619b42644b0e01f568f48b2150ce8 | /check triangle.cpp | d6786b28dc0b5fb87ed1fc9128fe13f3e8fabb7f | [
"MIT"
] | permissive | Meetzanonymous/CPPExamples | 68ed78e3ae693df6dd763a1e6057daad5df820fc | e741b33e22eb85566cad3278fd4585df5bd38947 | refs/heads/master | 2020-08-13T18:13:39.751641 | 2019-10-14T10:32:29 | 2019-10-14T10:32:29 | 215,014,190 | 0 | 0 | MIT | 2019-10-14T10:28:57 | 2019-10-14T10:28:57 | null | UTF-8 | C++ | false | false | 533 | cpp | // C++ program to check if three
// sides form a triangle or not
#include<bits/stdc++.h>
using namespace std;
// function to check if three sider
// form a triangle or not
bool checkValidity(int a, int b, int c)
{
// check condition
if (a + b <= c || a + c <= b || b + c <= a)
return false;
else
return true;
}
// Driver function
int main()
{
int a = 7, b = 10, c = 5;
if (checkValidity(a, b, c))
cout << "Valid";
else
cout << "Invalid";
} | [
"30690468+Meetzanonymous@users.noreply.github.com"
] | 30690468+Meetzanonymous@users.noreply.github.com |
adbd3978b74da7879a920887e3abb534da1e792b | 9a3c2c07baa0b1d8b0826f945d2195ed8768f6dd | /core/libp2p/multi/converters/ip_v4_converter.hpp | 64e1c5a3ba1a1056ca811ceacf0412200800e7eb | [
"Apache-2.0"
] | permissive | hotpoor/kagome | 58578e47b175416ad0125f0db9229e73b486720f | f2451b6d376bac28faab1edce9024847266736e3 | refs/heads/master | 2020-07-30T23:40:22.788489 | 2019-09-23T09:37:26 | 2019-09-23T09:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | hpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_IPV4CONVERTER_HPP
#define KAGOME_IPV4CONVERTER_HPP
#include <outcome/outcome.hpp>
namespace libp2p::multi::converters {
/**
* Converts an ip4 part of a multiaddress (an IP address)
* to bytes representation as a hex string
*/
class IPv4Converter {
public:
static auto addressToHex(std::string_view addr)
-> outcome::result<std::string>;
};
} // namespace libp2p::multi::converters
#endif // KAGOME_IPV4CONVERTER_HPP
| [
"bogdan@soramitsu.co.jp"
] | bogdan@soramitsu.co.jp |
cc69728f26feb806507e40cbe3df76ac8449c8b1 | fd2921a1003d81dd9d24a805dc6bdc10ac71c82c | /Merge_Sort/main.cpp | ddf7b82bc27cb0ef99bc81e112bbefbcb3dc8bd6 | [] | no_license | lvj5077/CMSC_501_VCU | b668e4a9107eb8c106440e9110251eeba2b8d568 | 1e637174aaf571daf11560eac3dcb5874a54f140 | refs/heads/master | 2021-09-05T20:17:29.578004 | 2018-01-30T20:59:40 | 2018-01-30T20:59:40 | 118,669,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cpp | #include <iostream>
#include <math.h>
#include <stdlib.h>
using namespace std;
void mergearray(int a[], int first, int mid, int last, int temp[])
{
int i = first, j = mid + 1;
int m = mid, n = last;
int k = 0;
while (i <= m && j <= n)
{
if (a[i] <= a[j])
temp[k++] = a[i++];
else
temp[k++] = a[j++];
}
while (i <= m)
temp[k++] = a[i++];
while (j <= n)
temp[k++] = a[j++];
for (i = 0; i < k; i++)
a[first + i] = temp[i];
}
void mergeSort(int a[], int first, int last, int temp[])
{
if (first < last)
{
int mid = (first + last) / 2;
mergeSort(a, first, mid, temp); //左边有序
mergeSort(a, mid + 1, last, temp); //右边有序
mergearray(a, first, mid, last, temp); //再将二个有序数列合并
}
}
bool MergeSorted(int a[], int length){
int *temp = new int[length];
if(temp == NULL){
return false;
}
mergeSort (a, 0, length-1, temp);
return true;
}
int main(){
int a[10]={0};
for (int i=0;i<10;i++){
a[i] = rand()%20;
}
int length = sizeof(a)/sizeof(*a);
for (int i=0;i<length;i++){
cout << a[i] <<" ";
}
cout << endl << "~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl;
bool gotResult = MergeSorted(a,length);
if (gotResult){
for (int i=0;i<length;i++){
cout << a[i] <<" ";
}
}
return 0;
} | [
"lingqiujin@gmail.com"
] | lingqiujin@gmail.com |
00064796639c50d3aec0da401d989260ee5afe7e | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /net/third_party/quic/core/crypto/aes_256_gcm_decrypter.h | 57bda1e448fe6e86804dd6cd01515b6a76b7eb21 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 1,144 | h | // Copyright (c) 2017 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 NET_THIRD_PARTY_QUIC_CORE_CRYPTO_AES_256_GCM_DECRYPTER_H_
#define NET_THIRD_PARTY_QUIC_CORE_CRYPTO_AES_256_GCM_DECRYPTER_H_
#include <cstdint>
#include "base/macros.h"
#include "net/third_party/quic/core/crypto/aead_base_decrypter.h"
#include "net/third_party/quic/platform/api/quic_export.h"
namespace net {
// An Aes256GcmDecrypter is a QuicDecrypter that implements the
// AEAD_AES_256_GCM algorithm specified in RFC 5116 for use in IETF QUIC.
//
// It uses an authentication tag of 16 bytes (128 bits). It uses a 12 byte IV
// that is XOR'd with the packet number to compute the nonce.
class QUIC_EXPORT_PRIVATE Aes256GcmDecrypter : public AeadBaseDecrypter {
public:
enum {
kAuthTagSize = 16,
};
Aes256GcmDecrypter();
~Aes256GcmDecrypter() override;
uint32_t cipher_id() const override;
private:
DISALLOW_COPY_AND_ASSIGN(Aes256GcmDecrypter);
};
} // namespace net
#endif // NET_THIRD_PARTY_QUIC_CORE_CRYPTO_AES_256_GCM_DECRYPTER_H_
| [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
e5c2059bc3eeb5b97695a02e8ac630bb8eb9fa81 | 5dcca85df8aa337b42d6987ae24ef5d2fc23beb8 | /Data Structure/Programming Assignent 2/mergelists.cpp | a432889f37743d4263976361d1f475e0256dcdef | [] | no_license | alandreamsbig/Portfolio | c4b86631935b6023d3c2501dd2cb88b074c6cf2e | a49467fa58adbea90911e0722623bd92d68b6784 | refs/heads/master | 2021-01-20T05:34:31.488306 | 2018-08-03T20:51:21 | 2018-08-03T20:51:21 | 101,439,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,393 | cpp | /************************
//Alan Tsai
//CS260
//Mergelists
//Uses as reference: https://github.com/erieiler/LinkedListMergeSort/blob/master/mergesortexle.cpp*/
/////////////////////////////////////////
#include <iostream>
#include <stdlib.h>
#include <string>
#include <fstream>
#include <time.h>
using namespace std;
/*Node struct */
struct node
{
int data;
node* next;
};
/*Generate random numbers for the size of node */
node* generate(int size){
srand(time(NULL));
node* head = NULL;
for (int i = 0; i < size; i++)
{
node* temp = new node;
if (size < RAND_MAX)
temp -> data = rand()%size;
else
temp->data = rand();
temp -> next = head;
head = temp;
}
return head;
}
/* Display the node */
void display(node* head)
{
int newLine = 1;
for (node* temp = head; temp != NULL; temp = temp -> next, newLine++)
{
cout << temp -> data << endl;
if (newLine % 15 == 0)
cout << "\n" << endl;
}
}
/*Gets the item from the middle of the list */
node* middleList(node* head)
{
if (head == NULL)
{
return head;
}
node* first = head;
node* last = head;
while(last -> next != NULL && last->next->next != NULL)
{
first = first-> next;
first = first->next -> next;
}
return last;
}
/*Merge the lower and upper bound of the node */
node * merge(node * lower, node * upper)
{
node* head = new node;
node* curr;
curr = head;
while(lower != NULL && upper != NULL)
{
if (lower-> data > upper->data)
{
curr ->next = upper;
upper = upper -> next;
}
else
{
curr -> next = lower;
lower = lower -> next;
}
curr = curr -> next;
}
if (lower == NULL)
for(node* temp = upper; temp != NULL; temp = temp -> next)
{
curr -> next = temp;
curr = curr -> next;
}
else
for (node* temp = lower; temp != NULL; temp = temp -> next)
{
curr -> next = temp;
curr = curr -> next;
}
return head -> next;
}
/*Sorts the node */
node * sort(node * head)
{
if (head == NULL || head -> next == NULL);
{
return head;
}
node* middle = middleList(head);
node* half = middle -> next;
middle -> next = NULL;
return merge(sort(head), sort(half));
}
/*Main function for testing */
int main()
{
int size;
cout << "Enter the size of list: ";
cin >> size;
cout << endl;
cout << "Generating lists" << endl;
node* head = generate(size);
display(head);
cout << "Sorting list" << endl;
head = sort(head);
display(head);
}
| [
"ayt32@drexel.edu"
] | ayt32@drexel.edu |
694a60562879b108d15b4fa992d83cc31c6d7e23 | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/components/certificate_transparency/mock_log_dns_traffic.h | d70119e98874566f3d50120a71f5c5016b0b90a7 | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 6,711 | h | // Copyright 2016 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 COMPONENTS_CERTIFICATE_TRANSPARENCY_MOCK_LOG_DNS_TRAFFIC_H_
#define COMPONENTS_CERTIFICATE_TRANSPARENCY_MOCK_LOG_DNS_TRAFFIC_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
#include "net/dns/dns_client.h"
#include "net/socket/socket_test_util.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_interceptor.h"
namespace net {
struct DnsConfig;
}
namespace certificate_transparency {
// Mocks DNS requests and responses for a Certificate Transparency (CT) log.
// This is implemented using mock sockets. Call the CreateDnsClient() method to
// get a net::DnsClient wired up to these mock sockets.
// The Expect*() methods must be called from within a GTest test case.
//
// Example Usage:
// // net::DnsClient requires an I/O message loop for async operations.
// base::MessageLoopForIO message_loop;
//
// // Create a mock NetworkChangeNotifier to propagate DNS config.
// std::unique_ptr<net::NetworkChangeNotifier> net_change_notifier(
// net::NetworkChangeNotifier::CreateMock());
//
// MockLogDnsTraffic mock_dns;
// mock_dns.InitializeDnsConfig();
// // Use the Expect* methods to define expected DNS requests and responses.
// mock_dns.ExpectLeafIndexRequestAndResponse(
// "D4S6DSV2J743QJZEQMH4UYHEYK7KRQ5JIQOCPMFUHZVJNFGHXACA.hash.ct.test.",
// "123456");
//
// LogDnsClient log_client(mock_dns.CreateDnsClient(), ...);
// log_client.QueryAuditProof("ct.test", ..., base::Bind(...));
class MockLogDnsTraffic {
public:
MockLogDnsTraffic();
~MockLogDnsTraffic();
// Expect a CT DNS request for the domain |qname|.
// Such a request will receive a DNS response indicating that the error
// specified by |rcode| occurred. See RFC1035, Section 4.1.1 for |rcode|
// values.
// Returns false if any of the arguments are invalid.
WARN_UNUSED_RESULT
bool ExpectRequestAndErrorResponse(base::StringPiece qname, uint8_t rcode);
// Expect a CT DNS request for the domain |qname|.
// Such a request will trigger a socket error of type |error|.
// Returns false if any of the arguments are invalid.
WARN_UNUSED_RESULT
bool ExpectRequestAndSocketError(base::StringPiece qname, net::Error error);
// Expect a CT DNS request for the domain |qname|.
// Such a request will timeout.
// This will reduce the DNS timeout to minimize test duration.
// Returns false if |qname| is invalid.
WARN_UNUSED_RESULT
bool ExpectRequestAndTimeout(base::StringPiece qname);
// Expect a CT DNS request for the domain |qname|.
// Such a request will receive a DNS TXT response containing |txt_strings|.
// Returns false if any of the arguments are invalid.
WARN_UNUSED_RESULT
bool ExpectRequestAndResponse(
base::StringPiece qname,
const std::vector<base::StringPiece>& txt_strings);
// Expect a CT DNS request for the domain |qname|.
// Such a request will receive a DNS response containing |leaf_index|.
// A description of such a request and response can be seen here:
// https://github.com/google/certificate-transparency-rfcs/blob/c8844de6bd0b5d3d16bac79865e6edef533d760b/dns/draft-ct-over-dns.md#hash-query-hashquery
// Returns false if any of the arguments are invalid.
WARN_UNUSED_RESULT
bool ExpectLeafIndexRequestAndResponse(base::StringPiece qname,
uint64_t leaf_index);
// Expect a CT DNS request for the domain |qname|.
// Such a request will receive a DNS response containing the inclusion proof
// nodes between |audit_path_start| and |audit_path_end|.
// A description of such a request and response can be seen here:
// https://github.com/google/certificate-transparency-rfcs/blob/c8844de6bd0b5d3d16bac79865e6edef533d760b/dns/draft-ct-over-dns.md#tree-query-treequery
// Returns false if any of the arguments are invalid.
WARN_UNUSED_RESULT
bool ExpectAuditProofRequestAndResponse(
base::StringPiece qname,
std::vector<std::string>::const_iterator audit_path_start,
std::vector<std::string>::const_iterator audit_path_end);
// Sets the initial DNS config appropriate for testing.
// Requires that net::NetworkChangeNotifier is initialized first.
// The DNS config is propogated to NetworkChangeNotifier::DNSObservers
// asynchronously.
void InitializeDnsConfig();
// Sets the DNS config to |config|.
// Requires that net::NetworkChangeNotifier is initialized first.
// The DNS config is propogated to NetworkChangeNotifier::DNSObservers
// asynchronously.
void SetDnsConfig(const net::DnsConfig& config);
// Creates a DNS client that uses mock sockets.
// It is this DNS client that the expectations will be tested against.
std::unique_ptr<net::DnsClient> CreateDnsClient();
private:
// Allows tests to change socket read mode. Only the LogDnsClient tests should
// need to do so, to ensure consistent behaviour regardless of mode.
friend class LogDnsClientTest;
friend class SingleTreeTrackerTest;
class DohJobInterceptor : public net::URLRequestInterceptor {
public:
DohJobInterceptor() {}
net::URLRequestJob* MaybeInterceptRequest(
net::URLRequest* request,
net::NetworkDelegate* network_delegate) const override;
};
class MockSocketData;
// Sets whether mock reads should complete synchronously or asynchronously.
// By default, they complete asynchronously.
void SetSocketReadMode(net::IoMode read_mode) {
socket_read_mode_ = read_mode;
}
// Constructs MockSocketData from |args| and adds it to |socket_factory_|.
template <typename... Args>
void EmplaceMockSocketData(Args&&... args);
// Sets the timeout used for DNS queries.
// Requires that net::NetworkChangeNotifier is initialized first.
// The new timeout is propogated to NetworkChangeNotifier::DNSObservers
// asynchronously.
void SetDnsTimeout(const base::TimeDelta& timeout);
// One MockSocketData for each socket that is created. This corresponds to one
// for each DNS request sent.
std::vector<std::unique_ptr<MockSocketData>> mock_socket_data_;
// Provides as many mock sockets as there are entries in |mock_socket_data_|.
net::MockClientSocketFactory socket_factory_;
// Controls whether mock socket reads are asynchronous.
net::IoMode socket_read_mode_;
DISALLOW_COPY_AND_ASSIGN(MockLogDnsTraffic);
};
} // namespace certificate_transparency
#endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_MOCK_LOG_DNS_TRAFFIC_H_
| [
"csineneo@gmail.com"
] | csineneo@gmail.com |
a63c722a8bdd8b7d99499507d9b4b051c3f62873 | aab5fac70cd96d09307ecced10a2f81e2e7dc319 | /seminars/seminar20/type_traits/6_2_is_assignable.cpp | f37a0213cb4dc89fcef7adb409bc2179f3b549a8 | [] | no_license | morell5/HSE-Course | 7c74c2f23055a30f0f93490a79dfda442ac155a9 | 9c75a83a247dbe64918c823b584ac713580251f6 | refs/heads/master | 2023-07-14T22:01:03.746863 | 2021-08-22T10:06:25 | 2021-08-22T10:06:25 | 293,108,056 | 13 | 66 | null | 2021-06-15T16:12:43 | 2020-09-05T15:59:41 | C++ | UTF-8 | C++ | false | false | 715 | cpp | #include <iostream>
#include <type_traits>
#include <utility>
template <typename T, typename U, typename Enable>
struct is_assignable_impl : std::false_type {};
template <typename T, typename U>
// is_assignable_impl<T, U, void> resolution algo:
// 1. ensure well-formedness std::declval<T>() = std::declval<U>()
// 2. cast expression to void
// 3. use void as third parameter (decltype)
// 4. add spec as candidate
struct is_assignable_impl< T, U, decltype(static_cast<void>( std::declval<T>() = std::declval<U>() ))> : std::true_type {};
template <typename T, typename U>
struct is_assignable : is_assignable_impl<T, U, void> {};
int main() {
std::cout << is_assignable<int&, int>::value;
return 0;
} | [
"morell@DESKTOP-K5VODHO.localdomain"
] | morell@DESKTOP-K5VODHO.localdomain |
5a26073b7724b8810494d21590420c17810ec996 | dfc7f333d577d11ec47e42904066606546159c92 | /post_information/post_detailed_info.cpp | b7aeb06be098e14ae594da6c488d76590f29d3b4 | [] | no_license | Han-Bug/Software-Engineering-Practice | f69a602845c85fcb5131e259337a62995db2adab | c787eab5ad061eeb6c6570fffcd7d4541e76e6ed | refs/heads/main | 2023-05-14T13:27:23.337173 | 2021-06-11T08:23:45 | 2021-06-11T08:23:45 | 366,269,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,939 | cpp | #include "post_detailed_info.h"
#include "ui_post_detailed_info.h"
post_detailed_info::post_detailed_info(article_post *_ap, article_postData *apd, QWidget *parent) :
QWidget(parent),
ui(new Ui::post_detailed_info)
{
ui->setupUi(this);
ap=_ap;
this->apd=apd;
db=Data::dataBaseInter;
pi=Data::personalInfo;
//ui->textBrowser->setGeometry(this->width()/50,this->height()/10,this->width()*0.96,this->height()/8*7);
//ui->label->setGeometry(this->width()/50,this->height()/40,this->width()*0.96,this->height()/20);
QPalette pal =ui->textBrowser->palette();//添加背景图片
pal.setBrush(QPalette::Background,QBrush(QPixmap(":/white.png")));
setPalette(pal);
QFont font( "YouYuan",15,75); //第一个属性是字体样式,第二个是大小,第三个是加粗(权重是75)
ui->label->setFont(font);//title
QFont fontt( "YouYuan",10,20); //第一个属性是字体样式,第二个是大小,第三个是加粗(权重是75)
ui->textBrowser->setFont(fontt);
ui->label_thumbNum->setStyleSheet ("QLabel { color: gray; text-decoration: underline; }");//灰色加下划线
ui->label_collectNum->setStyleSheet ("QLabel { color: gray; text-decoration: underline; }");//灰色加下划线
ui->label_author->setText("作者:"+ap->author_name);
ui->label_collectNum->setText("收藏:"+QString::number(apd->collectNum));
ui->label_thumbNum->setText("点赞:"+QString::number(apd->thumbNum));
ui->pushButton_thumb->show();
ui->pushButton_collect->show();
ui->pushButton_collect->setDisabled(true);
ui->pushButton_thumb->setDisabled(true);
layout=new QVBoxLayout(ui->scrollAreaWidgetContents);
layout->setSpacing(10);
updateInfo();
updateComments();
}
bool post_detailed_info::updateInfo()
{
if(ap==NULL)return false;
ui->textBrowser->setText(ap->text);
ui->label->setText(ap->title);
if(Data::personalInfo!=NULL){
bool num1,num2;
ui->pushButton_collect->setDisabled(false);
ui->pushButton_thumb->setDisabled(false);
num1 = db->Fabulous_UserToPost(ap->postId,Data::personalInfo->account);
num2 = db->Collect_UserToPost(ap->postId,Data::personalInfo->account);
ui->pushButton_Delthumb->show();
ui->pushButton_Delcollect->show();
if(num1)//已经点赞
ui->pushButton_thumb->hide();//显示取消点赞
else
ui->pushButton_Delthumb->hide();//显示点赞
if(num2)//已经收藏
ui->pushButton_collect->hide();//显示取消收藏
else
ui->pushButton_Delcollect->hide();//显示收藏
}
else{
}
if (Data::personalInfo == nullptr){
ui->pushButton_thumb->hide();
ui->pushButton_Delthumb->hide();
ui->pushButton_collect->hide();
ui->pushButton_Delcollect->hide();
}
return true;
}
bool post_detailed_info::updateComments()
{
for(auto &w:com_widgets){
w->close();
layout->removeWidget(w);
}
//清除已有评论数据
com_widgets.clear();
list<comment*> l;
//获取评论内容,-1即获取所有文章
db->getComments(l,ap->postId,"000000000000","900000000000",-1);
l.sort(compareCommentsByTime);
while(l.size()!=0){
comment* cm=l.front();
comments_widget* cw=new comments_widget(cm);
cw->setAttribute(Qt::WA_DeleteOnClose);
com_widgets.push_back(cw);
l.pop_front();
}
for(auto &w:com_widgets){
layout->addWidget(w);
}
}
//void post_detailed_info::resizeEvent(QResizeEvent *ev)
//{
// QSize oldSize,newSize;
// //获取开始的size
// oldSize = ev->oldSize();
// //获取现在的size
// newSize = ev->size();
// //获取长宽变化的比率
// qreal ratioW,ratioH;
// ratioW = newSize.width()/oldSize.width();
// ratioH = newSize.height()/oldSize.height();
// ui->textBrowser->resize(QSize(ui->textBrowser->size().width()*ratioW,
// ui->textBrowser->size().height()*ratioH));
// ui->label->resize(QSize(ui->label->size().width()*ratioW,
// ui->label->size().height()*ratioH));
//}
post_detailed_info::~post_detailed_info()
{
delete ui;
}
void post_detailed_info::on_pushButton_thumb_clicked()//点赞
{
ui->pushButton_thumb->hide();
ui->pushButton_Delthumb->show();
//db.updateData_post_dynamic_properties_add(ap->postId,1);//点赞数++
qDebug()<<"insertData_thumb:"<<db->insertData_Fabulous_UserToPost(ap->postId,Data::personalInfo->account);
}
void post_detailed_info::on_pushButton_collect_clicked()//收藏
{
ui->pushButton_collect->hide();
ui->pushButton_Delcollect->show();
//db.updateData_post_dynamic_properties_add(ap->postId,2);//收藏数++
qDebug()<<"insertData_collect:"<<db->insertData_Collect_UserToPost(ap->postId,Data::personalInfo->account);
}
void post_detailed_info::on_pushButton_Delthumb_clicked()//取消点赞
{
ui->pushButton_thumb->show();
ui->pushButton_Delthumb->hide();
//db.updateData_post_dynamic_properties_sub(ap->postId,1);//点赞数--
db->deleteData_Fabulous_UserToPost(ap->postId,Data::personalInfo->account);
}
void post_detailed_info::on_pushButton_Delcollect_clicked()//取消收藏
{
ui->pushButton_collect->show();
ui->pushButton_Delcollect->hide();
//db.updateData_post_dynamic_properties_sub(ap->postId,2);//收藏数--
db->deleteData_Collect_UserToPost(ap->postId,Data::personalInfo->account);
}
//
//
//
//
//
void post_detailed_info::on_pushButton_comment_clicked()
{
if(pi==NULL){
QMessageBox mb;
mb.setText("请先登录,再进行评论!");
mb.exec();
}
else{
comment_widget *pai=new comment_widget();
pai->setAuthor(pi->account,pi->name);
pai->setId(ap->postId);
pai->show();
}
}
//
//
//
//
//
//
| [
"81460817+Han-Bug@users.noreply.github.com"
] | 81460817+Han-Bug@users.noreply.github.com |
5eef17befe3930b946743d986c48ded800646504 | e303f243213c6374bb1ec2fad8e8ed435c19766f | /src/novatel/src/novatel.cpp | 619ce4a46a49ddcfbacb25f4ab7e4427af3418cd | [
"MIT",
"BSD-3-Clause"
] | permissive | CastielLiu/novatel_ws | bcdceadd38de55d3586a8b7685f3185f151bf0f0 | 793f4e51a24489a08ad409a3c93946e3860a5782 | refs/heads/master | 2020-04-28T01:33:41.182676 | 2020-01-08T13:03:11 | 2020-01-08T13:03:11 | 174,861,816 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 67,728 | cpp | #include "novatel/novatel.h"
#include <cmath>
#include <iostream>
#include <valarray>
#include <fstream>
#include <iostream>
#include <sstream>
#include<ros/ros.h>
using namespace std;
using namespace novatel;
/////////////////////////////////////////////////////
// includes for default time callback
#define WIN32_LEAN_AND_MEAN
#include "boost/date_time/posix_time/posix_time.hpp"
////////////////////////////////////////////////////
/* --------------------------------------------------------------------------
Calculate a CRC value to be used by CRC calculation functions.
-------------------------------------------------------------------------- */
unsigned long CRC32Value(int i)
{
int j;
unsigned long ulCRC;
ulCRC = i;
for ( j = 8 ; j > 0; j-- ) {
if ( ulCRC & 1 )
ulCRC = ( ulCRC >> 1 ) ^ CRC32_POLYNOMIAL;
else
ulCRC >>= 1;
}
return ulCRC;
}
/* --------------------------------------------------------------------------
Calculates the CRC-32 of a block of data all at once
-------------------------------------------------------------------------- */
unsigned long CalculateBlockCRC32 ( unsigned long ulCount, /* Number of bytes in the data block */
unsigned char *ucBuffer ) /* Data block */
{
unsigned long ulTemp1;
unsigned long ulTemp2;
unsigned long ulCRC = 0;
while ( ulCount-- != 0 ) {
ulTemp1 = ( ulCRC >> 8 ) & 0x00FFFFFFL;
ulTemp2 = CRC32Value( ((int) ulCRC ^ *ucBuffer++ ) & 0xff );
ulCRC = ulTemp1 ^ ulTemp2;
}
return( ulCRC );
}
unsigned long Novatel::CalculateBlockCRC32ByTable ( unsigned long ulCount, /* Number of bytes in the data block */
const unsigned char *ucBuffer, /* Data block */
const uint32_t* table)
{
unsigned long ulTemp1, ulTemp2, ulCRC = 0;
while ( ulCount-- != 0 )
{
ulTemp1 = ( ulCRC >> 8 ) & 0x00FFFFFFL;
ulTemp2 = table[((int) ulCRC ^ *ucBuffer++ ) & 0xff];
ulCRC = ulTemp1 ^ ulTemp2;
}
return ulCRC ;
}
/*!
* Default callback method for timestamping data. Used if a
* user callback is not set. Returns the current time from the
* CPU clock as the number of seconds from Jan 1, 1970
*/
inline double DefaultGetTime() {
boost::posix_time::ptime present_time(boost::posix_time::microsec_clock::universal_time());
boost::posix_time::time_duration duration(present_time.time_of_day());
return (double)(duration.total_milliseconds())/1000.0;
}
inline void SaveMessageToFile(unsigned char *message, size_t length, const char *filename) {
ofstream outfile;
outfile.open(filename, ios::out | ios::app); // "./test_data/filename.txt"
if(outfile.is_open()) {
for (int index =0; index < length; index++) {
outfile << message[index];
}
}
outfile.close();
}
inline void printHex(unsigned char *data, int length) {
for (int i = 0; i < length; ++i) {
printf("0x%X ", (unsigned) (unsigned char) data[i]);
}
printf("\n");
}
// stolen from: http://oopweb.com/CPP/Documents/CPPHOWTO/Volume/C++Programming-HOWTO-7.html
void Tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = " ") {
// Skip delimiters at beginning.
std::string::size_type lastPos = str.find_first_not_of(delimiters, 0);
// Find first "non-delimiter".
std::string::size_type pos = str.find_first_of(delimiters, lastPos);
while (std::string::npos != pos || std::string::npos != lastPos)
{
// Found a token, add it to the vector.
tokens.push_back(str.substr(lastPos, pos - lastPos));
// Skip delimiters. Note the "not_of"
lastPos = str.find_first_not_of(delimiters, pos);
// Find next "non-delimiter"
pos = str.find_first_of(delimiters, lastPos);
}
}
inline void DefaultAcknowledgementHandler() {
;//std::cout << "Acknowledgement received." << std::endl;
}
inline void DefaultDebugMsgCallback(const std::string &msg) {
;//std::cout << "Novatel Debug: " << msg << std::endl;
}
inline void DefaultInfoMsgCallback(const std::string &msg) {
std::cout << "Novatel Info: " << msg << std::endl;
}
inline void DefaultWarningMsgCallback(const std::string &msg) {
std::cout << "Novatel Warning: " << msg << std::endl;
}
inline void DefaultErrorMsgCallback(const std::string &msg) {
std::cout << "Novatel Error: " << msg << std::endl;
}
inline void DefaultBestPositionCallback(Position best_position, double time_stamp){
std:: cout << "BESTPOS: \nGPS Week: " << best_position.header.gps_week <<
" GPS milliseconds: " << best_position.header.gps_millisecs << std::endl <<
" Latitude: " << best_position.latitude << std::endl <<
" Longitude: " << best_position.longitude << std::endl <<
" Height: " << best_position.height << std::endl << std::endl <<
" Solution status: " << best_position.solution_status << std::endl <<
" position type: " << best_position.position_type << std::endl <<
" number of svs tracked: " << (double)best_position.number_of_satellites << std::endl <<
" number of svs used: " << (double)best_position.number_of_satellites_in_solution << std::endl;
}
inline void DefaultRawEphemCallback(RawEphemeris ephemeris, double time_stamp) {
std::cout << "Got RAWEPHEM for PRN " << ephemeris.prn << std::endl;
}
Novatel::Novatel() {
serial_port_=NULL;
reading_status_=false;
time_handler_ = DefaultGetTime;
handle_acknowledgement_=DefaultAcknowledgementHandler;
best_position_callback_=DefaultBestPositionCallback;
raw_ephemeris_callback_=DefaultRawEphemCallback;
log_debug_=DefaultDebugMsgCallback;
log_info_=DefaultInfoMsgCallback;
log_warning_=DefaultWarningMsgCallback;
log_error_=DefaultErrorMsgCallback;
reading_acknowledgement_=false;
buffer_index_=0;
read_timestamp_=0;
parse_timestamp_=0;
ack_received_=false;
waiting_for_reset_complete_=false;
is_connected_ = false;
is_short_header = false;
}
Novatel::~Novatel() {
Disconnect();
}
bool Novatel::Connect(std::string port, int baudrate, bool search) {
bool connected = Connect_(port, baudrate);
if (!connected && search) {
// search additional baud rates
int bauds_to_search[9]={1200,2400,4800,9600,19200,38400,57600,115200,230400};
bool found = false;
for (int ii=0; ii<9; ii++){
std::stringstream search_msg;
search_msg << "Searching for receiver with baudrate: " << bauds_to_search[ii];
log_info_(search_msg.str());
if (Connect_(port, bauds_to_search[ii])) {
found = true;
break;
}
}
// if the receiver was found on a different baud rate,
// change its setting to the selected baud rate and reconnect
if (found) {
// change baud rate to selected value
std::stringstream cmd;
cmd << "COM THISPORT " << baudrate << "\r\n";
std::stringstream baud_msg;
baud_msg << "Changing receiver baud rate to " << baudrate;
log_info_(baud_msg.str());
try {
serial_port_->write(cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error changing baud rate: " << e.what();
log_error_(output.str());
return false;
}
Disconnect();
boost::this_thread::sleep(boost::posix_time::milliseconds(100));
connected = Connect_(port, baudrate);
}
}
if (connected) {
// start reading
StartReading();
is_connected_ = true;
return true;
} else {
log_error_("Failed to connect.");
return false;
}
}
bool Novatel::Connect_(std::string port, int baudrate=115200) {
try {
//serial::Timeout my_timeout(50, 200, 0, 200, 0); // 115200 working settings
//serial_port_ = new serial::Serial(port,baudrate,my_timeout);
serial_port_ = new serial::Serial(port,baudrate,serial::Timeout::simpleTimeout(10));
if (!serial_port_->isOpen()){
std::stringstream output;
output << "Serial port: " << port << " failed to open." << std::endl;
log_error_(output.str());
delete serial_port_;
serial_port_ = NULL;
return false;
} else {
std::stringstream output;
output << "Serial port: " << port << " opened successfully." << std::endl;
log_info_(output.str());
}
// stop any incoming data and flush buffers
serial_port_->write("UNLOGALL THISPORT\r\n");
// wait for data to stop cominig in
boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
// clear serial port buffers
serial_port_->flush();
// look for GPS by sending ping and waiting for response
if (!Ping()){
std::stringstream output;
output << "Novatel GPS not found on port: " << port << " at baudrate " << baudrate << std::endl;
log_error_(output.str());
delete serial_port_;
serial_port_ = NULL;
is_connected_ = false;
return false;
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error connecting to gps on com port " << port << ": " << e.what();
log_error_(output.str());
is_connected_ = false;
return false;
}
return true;
}
void Novatel::Disconnect() {
log_info_("Novatel disconnecting.");
StopReading();
// sleep longer than the timeout period
boost::this_thread::sleep(boost::posix_time::milliseconds(150));
try {
if ((serial_port_!=NULL) && (serial_port_->isOpen()) ) {
log_info_("Sending UNLOGALL and closing port.");
serial_port_->write("UNLOGALL THISPORT\r\n");
serial_port_->close();
delete serial_port_;
serial_port_=NULL;
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error during disconnect: " << e.what();
log_error_(output.str());
}
}
bool Novatel::Ping(int num_attempts) {
while ((num_attempts--)>0) {
std::stringstream output;
output << "Searching for Novatel receiver..." << std::endl;
log_info_(output.str());
if (UpdateVersion()) {
std::stringstream output;
output << "Found Novatel receiver." << std::endl;
output << "\tModel: " << model_ << std::endl;
output << "\tSerial Number: " << serial_number_ << std::endl;
output << "\tHardware version: " << hardware_version_ << std::endl;
output << "\tSoftware version: " << software_version_ << std::endl << std::endl;;
output << "Receiver capabilities:" << std::endl;
output << "\tL2: ";
if (l2_capable_)
output << "+" << std::endl;
else
output << "-" << std::endl;
output << "\tRaw measurements: ";
if (raw_capable_)
output << "+" << std::endl;
else
output << "-" << std::endl;
output << "\tRTK: ";
if (rtk_capable_)
output << "+" << std::endl;
else
output << "-" << std::endl;
output << "\tSPAN: ";
if (span_capable_)
output << "+" << std::endl;
else
output << "-" << std::endl;
output << "\tGLONASS: ";
if (glonass_capable_)
output << "+" << std::endl;
else
output << "-" << std::endl;
log_info_(output.str());
return true;
}
}
// no response found
return false;
}
void Novatel::SendRawEphemeridesToReceiver(RawEphemerides raw_ephemerides) {
try{
for(uint8_t index=0;index<MAX_NUM_SAT; index++){
cout << "SIZEOF: " << sizeof(raw_ephemerides.ephemeris[index]) << endl;
if(sizeof(raw_ephemerides.ephemeris[index]) == 106+HEADER_SIZE) {
uint8_t* msg_ptr = (unsigned char*)&raw_ephemerides.ephemeris[index];
bool result = SendBinaryDataToReceiver(msg_ptr, sizeof(raw_ephemerides.ephemeris[index]));
if(result)
cout << "Sent RAWEPHEM for PRN " << (double)raw_ephemerides.ephemeris[index].prn << endl;
}
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SendRawEphemeridesToReceiver(): " << e.what();
log_error_(output.str());
}
}
bool Novatel::SendBinaryDataToReceiver(uint8_t* msg_ptr, size_t length) {
try {
stringstream output1;
std::cout << length << std::endl;
std::cout << "Message Pointer" << endl;
printHex((unsigned char*) msg_ptr, length);
size_t bytes_written;
if ((serial_port_!=NULL)&&(serial_port_->isOpen())) {
bytes_written=serial_port_->write(msg_ptr, length);
} else {
log_error_("Unable to send message. Serial port not open.");
return false;
}
// check that full message was sent to serial port
if (bytes_written == length) {
return true;
} else {
log_error_("Full message was not sent over serial port.");
output1 << "Attempted to send " << length << "bytes. " << bytes_written << " bytes sent.";
log_error_(output1.str());
return false;
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SendBinaryDataToReceiver(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::SendCommand(std::string cmd_msg, bool wait_for_ack) {
try {
// sends command to GPS receiver
serial_port_->write(cmd_msg + "\r\n");
// wait for acknowledgement (or 2 seconds)
if(wait_for_ack) {
boost::mutex::scoped_lock lock(ack_mutex_);
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(2000);
if (ack_condition_.timed_wait(lock,timeout)) {
log_info_("Command `" + cmd_msg + "` sent to GPS receiver.");
return true;
} else {
log_error_("Command '" + cmd_msg + "' failed.");
return false;
}
} else {
log_info_("Command `" + cmd_msg + "` sent to GPS receiver.");
return true;
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SendCommand(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::SetSvElevationAngleCutoff(float angle) {
try {
std::stringstream ang_cmd;
ang_cmd << "ECUTOFF " << angle;
return SendCommand(ang_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SetSvElevationCutoff(): " << e.what();
log_error_(output.str());
return false;
}
}
void Novatel::PDPFilterDisable() {
try{
std::stringstream pdp_cmd;
pdp_cmd << "PDPFILTER DISABLE" ;
bool result = SendCommand(pdp_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::PDPFilterDisable(): " << e.what();
log_error_(output.str());
}
}
void Novatel::PDPFilterEnable() {
try{
std::stringstream pdp_cmd;
pdp_cmd << "PDPFILTER ENABLE" ;
bool result = SendCommand(pdp_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::PDPFilterEnable(): " << e.what();
log_error_(output.str());
}
}
void Novatel::PDPFilterReset() {
try{
std::stringstream pdp_cmd;
pdp_cmd << "PDPFILTER RESET";
bool result = SendCommand(pdp_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::PDPFilterReset(): " << e.what();
log_error_(output.str());
}
}
//! TODO: PROPAK DOESN"T ACCEPT, LIKES REV.1 PASSTOPASSMODE INSTEAD
void Novatel::PDPModeConfigure(PDPMode mode, PDPDynamics dynamics) {
try {
std::stringstream pdp_cmd;
pdp_cmd << "PDPMODE ";
if (mode == NORMAL)
pdp_cmd << "NORMAL ";
else if (mode == RELATIVE)
pdp_cmd << "RELATIVE ";
else {
log_error_("PDPModeConfigure() input 'mode'' is not valid!");
return;
}
if (dynamics == AUTO)
pdp_cmd << "AUTO";
else if (dynamics == STATIC)
pdp_cmd << "STATIC";
else if (dynamics == DYNAMIC)
pdp_cmd << "DYNAMIC";
else {
log_error_("PDPModeConfigure() input 'dynamics' is not valid!");
return;
}
bool result = SendCommand(pdp_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::PDPModeConfigure(): " << e.what();
log_error_(output.str());
}
}
void Novatel::SetPositionTimeout(uint32_t seconds){
try {
if(seconds<=86400) {
std::stringstream pdp_cmd;
pdp_cmd << "POSTIMEOUT " << seconds;
bool result = SendCommand(pdp_cmd.str());
} else
log_error_("Seconds is not a valid value!");
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SetPositionTimeout(): " << e.what();
log_error_(output.str());
}
}
bool Novatel::SetInitialPosition(double latitude, double longitude, double height) {
std::stringstream pos_cmd;
pos_cmd << "SETAPPROXPOS " << latitude << " " << longitude << " " << height;
return SendCommand(pos_cmd.str());
}
bool Novatel::SetInitialTime(uint32_t gps_week, double gps_seconds) {
std::stringstream time_cmd;
time_cmd << "SETAPPROXTIME " << gps_week << " " << gps_seconds;
return SendCommand(time_cmd.str());
}
/*
uint8_t sync1; //!< start of packet first byte (0xAA)
uint8_t sync2; //!< start of packet second byte (0x44)
uint8_t sync3; //!< start of packet third byte (0x12)
uint8_t header_length; //!< Length of the header in bytes ( From start of packet )
uint16_t message_id; //!< Message ID number
uint8_t message_type; //!< Message type - binary, ascii, nmea, etc...
uint8_t port_address; //!< Address of the data port the log was received on
uint16_t message_length; //!< Message length (Not including header or CRC)
uint16_t sequence; //!< Counts down from N-1 to 0 for multiple related logs
uint8_t idle; //!< Time the processor was idle in last sec between logs with same ID
uint8_t time_status; //!< Indicates the quality of the GPS time
uint16_t gps_week; //!< GPS Week number
uint32_t gps_millisecs; //!< Milliseconds into week
uint32_t status; //!< Receiver status word
uint16_t Reserved; //!< Reserved for internal use
uint16_t version; //!< Receiver software build number (0-65535)
*/
bool Novatel::InjectAlmanac(Almanac almanac) {
try {
MessageType type;
type.format = BINARY;
type.response = ORIGINAL_MESSAGE;
almanac.header.sync1 = NOVATEL_SYNC_BYTE_1;
almanac.header.sync2 = NOVATEL_SYNC_BYTE_2;
almanac.header.sync3 = NOVATEL_SYNC_BYTE_3;
almanac.header.header_length = HEADER_SIZE;
almanac.header.message_id = ALMANACB_LOG_TYPE;
almanac.header.message_type = type;
almanac.header.port_address = THISPORT;
almanac.header.message_length = 4+almanac.number_of_prns*112;
almanac.header.sequence = 0;
almanac.header.idle = 0; //!< ignored on input
almanac.header.time_status = 0; //!< ignored on input
almanac.header.gps_week = 0; //!< ignored on input
almanac.header.gps_millisecs = 0; //!< ignored on input
almanac.header.status = 0; //!< ignored on input
almanac.header.Reserved = 0; //!< ignored on input
almanac.header.version = 0; //!< ignored on input
cout << "SIZEOF: " << sizeof(almanac) << endl;
uint8_t* msg_ptr = (unsigned char*)&almanac;
uint32_t crc = CalculateBlockCRC32 (sizeof(almanac)-4, msg_ptr);
memcpy(almanac.crc, &crc, sizeof(crc)); // TODO: check byte ordering for crc
bool result = SendBinaryDataToReceiver(msg_ptr, sizeof(almanac));
if(result) {
cout << "Sent ALMANAC." << endl;
return true;
}
} catch (std::exception &e){
std::stringstream output;
output << "Error in Novatel::InjectAlmanac(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::SetCarrierSmoothing(uint32_t l1_time_constant, uint32_t l2_time_constant) {
try {
std::stringstream smooth_cmd;
if ((2 >= l1_time_constant) || (l1_time_constant >= 2000)) {
log_error_("Error in SetCarrierSmoothing: l1_time_constant set to improper value.");
return false;
} else if ((5 >= l2_time_constant) || (l2_time_constant >= 2000)) {
log_error_("Error in SetCarrierSmoothing: l2_time_constant set to improper value.");
return false;
} else {
smooth_cmd << "CSMOOTH " << l1_time_constant << " " << l2_time_constant;
}
return SendCommand(smooth_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SetCarrierSmoothing(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::HardwareReset() {
// Resets receiver to cold start, does NOT clear non-volatile memory!
try {
std::stringstream rst_cmd;
rst_cmd << "RESET";
bool command_sent = SendCommand(rst_cmd.str(),false);
if(command_sent) {
boost::mutex::scoped_lock lock(reset_mutex_);
waiting_for_reset_complete_ = true;
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(5000);
if (reset_condition_.timed_wait(lock,timeout)) {
log_info_("Hardware Reset Complete.");
return true;
} else {
log_error_("Hardware Reset never Completed.");
waiting_for_reset_complete_ = false;
return false;
}
} else {
return false;
}
} catch (std::exception &e) {
std::stringstream output;
waiting_for_reset_complete_ = false;
output << "Error in Novatel::HardwareReset(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::HotStartReset() {
try {
std::stringstream rst_cmd;
rst_cmd << "RESET";
bool command_sent = SendCommand(rst_cmd.str(),false);
if(command_sent) {
boost::mutex::scoped_lock lock(reset_mutex_);
waiting_for_reset_complete_ = true;
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(10000);
if (reset_condition_.timed_wait(lock,timeout)) {
log_info_("HotStartReset Complete.");
return true;
} else {
log_error_("HotStartReset never Completed.");
waiting_for_reset_complete_ = false;
return false;
}
} else {
return false;
}
} catch (std::exception &e) {
std::stringstream output;
waiting_for_reset_complete_ = false;
output << "Error in Novatel::HotStartReset(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::WarmStartReset() {
try {
std::stringstream rst_pos_cmd;
std::stringstream rst_time_cmd;
rst_pos_cmd << "FRESET " << LAST_POSITION; //!< FRESET doesn't reply with an ACK
bool pos_reset = SendCommand(rst_pos_cmd.str(),false);
rst_time_cmd << "FRESET " << LBAND_TCXO_OFFSET ; //!< FRESET doesn't reply with an ACK
bool time_reset = SendCommand(rst_time_cmd.str(),false);
if(pos_reset && time_reset) {
boost::mutex::scoped_lock lock(reset_mutex_);
waiting_for_reset_complete_ = true;
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(10000);
if (reset_condition_.timed_wait(lock,timeout)) {
log_info_("WarmStartReset Complete.");
return true;
} else {
log_error_("WarmStartReset never Completed.");
waiting_for_reset_complete_ = false;
return false;
}
} else {
return false;
}
} catch (std::exception &e) {
std::stringstream output;
waiting_for_reset_complete_ = false;
output << "Error in Novatel::WarmStartReset(): " << e.what();
log_error_(output.str());
return false;
}
}
bool Novatel::ColdStartReset() {
try {
std::stringstream rst_cmd;
rst_cmd << "FRESET STANDARD";
bool command_sent = SendCommand(rst_cmd.str(),false); //!< FRESET doesn't reply with an ACK
if(command_sent) {
boost::mutex::scoped_lock lock(reset_mutex_);
waiting_for_reset_complete_ = true;
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(10000);
if (reset_condition_.timed_wait(lock,timeout)) {
log_info_("ColdStartReset Complete.");
return true;
} else {
log_error_("ColdStartReset never Completed.");
waiting_for_reset_complete_ = false;
return false;
}
} else {
return false;
}
} catch (std::exception &e) {
std::stringstream output;
waiting_for_reset_complete_ = false;
output << "Error in Novatel::ColdStartReset(): " << e.what();
log_error_(output.str());
return false;
}
}
void Novatel::SaveConfiguration() {
try {
bool result = SendCommand("SAVECONFIG");
if(result)
log_info_("Receiver configuration has been saved.");
else
log_error_("Failed to save receiver configuration!");
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::SaveConfiguration(): " << e.what();
log_error_(output.str());
}
}
void Novatel::ConfigureLogs(std::string log_string) {
// parse log_string on semicolons (;)
std::vector<std::string> logs;
Tokenize(log_string, logs, ";");
// request each log from the receiver and wait for an ack
for (std::vector<std::string>::iterator it = logs.begin() ; it != logs.end(); ++it)
{
// try each command up to five times
int ii=0;
while (ii<5) {
try {
// send log command to gps (e.g. "LOG BESTUTMB ONTIME 1.0")
serial_port_->write("LOG " + *it + "\r\n");
std::stringstream cmd;
cmd << "LOG " << *it << "\r\n";
log_info_(cmd.str());
// wait for acknowledgement (or 2 seconds)
boost::mutex::scoped_lock lock(ack_mutex_);
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(2000);
if (ack_condition_.timed_wait(lock,timeout)) {
log_info_("Ack received for requested log: " + *it);
break;
} else {
log_error_("No acknowledgement received for log: " + *it);
}
ii++;
} catch (std::exception &e) {
std::stringstream output;
output << "Error configuring receiver logs: " << e.what();
log_error_(output.str());
}
}
}
}
void Novatel::Unlog(std::string log) {
try {
std::stringstream unlog_cmd;
unlog_cmd << "UNLOG " << log;
bool result = SendCommand(unlog_cmd.str());
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::Unlog(): " << e.what();
log_error_(output.str());
}
}
void Novatel::UnlogAll() {
try {
bool result = SendCommand("UNLOGALL THISPORT");
} catch (std::exception &e) {
std::stringstream output;
output << "Error in Novatel::UnlogAll(): " << e.what();
log_error_(output.str());
}
}
void Novatel::ConfigureInterfaceMode(std::string com_port,
std::string rx_mode, std::string tx_mode) {
try {
// send command to set interface mode on com port
// ex: INTERFACEMODE COM2 RX_MODE TX_MODE
serial_port_->write("INTERFACEMODE " + com_port + " " + rx_mode + " " + tx_mode + "\r\n");
// wait for acknowledgement (or 2 seconds)
boost::mutex::scoped_lock lock(ack_mutex_);
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(2000);
if (ack_condition_.timed_wait(lock,timeout)) {
log_info_("Ack received. Interface mode for port " +
com_port + " set to: " + rx_mode + " " + tx_mode);
} else {
log_error_("No acknowledgement received for interface mode command.");
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error configuring interface mode: " << e.what();
log_error_(output.str());
}
}
void Novatel::ConfigureBaudRate(std::string com_port, int baudrate) {
try {
// send command to set baud rate on GPS com port
// ex: COM com1 9600 n 8 1 n off on
std::stringstream cmd;
cmd << "COM " << com_port << " " << baudrate << " n 8 1 n off on\r\n";
serial_port_->write(cmd.str());
// wait for acknowledgement (or 2 seconds)
boost::mutex::scoped_lock lock(ack_mutex_);
boost::system_time const timeout=boost::get_system_time()+ boost::posix_time::milliseconds(2000);
if (ack_condition_.timed_wait(lock,timeout)) {
std::stringstream log_out;
log_out << "Ack received. Baud rate on com port " <<
com_port << " set to " << baudrate << std::endl;
log_info_(log_out.str());
} else {
log_error_("No acknowledgement received for com configure command.");
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error configuring baud rate: " << e.what();
log_error_(output.str());
}
}
bool Novatel::UpdateVersion()
{
// request the receiver version and wait for a response
// example response:
//#VERSIONA,COM1,0,71.5,FINESTEERING,1362,340308.478,00000008,3681,2291;
// 1,GPSCARD,"L12RV","DZZ06040010","OEMV2G-2.00-2T","3.000A19","3.000A9",
// "2006/Feb/ 9","17:14:33"*5e8df6e0
try {
// clear port
serial_port_->flush();
// read out any data currently in the buffer
std::string read_data = serial_port_->read(5000);
while (read_data.length())
read_data = serial_port_->read(5000);
// send request for version
serial_port_->write("log versiona once\r\n");
// wait for response from the receiver
boost::this_thread::sleep(boost::posix_time::milliseconds(500));
// read from the serial port until a new line character is seen
std::string gps_response = serial_port_->read(15000);
std::vector<std::string> packets;
Tokenize(gps_response, packets, "\n");
// loop through all packets in file and check for version messages
// stop when the first is found or all packets are read
for (size_t ii=0; ii<packets.size(); ii++) {
if (ParseVersion(packets[ii])) {
return true;
}
}
} catch (std::exception &e) {
std::stringstream output;
output << "Error reading version info from receiver: " << e.what();
log_error_(output.str());
return false;
}
return false;
}
bool Novatel::ParseVersion(std::string packet) {
// parse the results - message should start with "#VERSIONA"
size_t found_version=packet.find("VERSIONA");
if (found_version==string::npos)
return false;
// parse version information
// remove header
size_t pos=packet.find(";");
if (pos==string::npos) {
log_error_("Error parsing received version."
" End of message was not found");
log_debug_(packet);
return false;
}
// remove header from message
std::string message=packet.substr(pos+1, packet.length()-pos-2);
// parse message body by tokening on ","
typedef boost::tokenizer<boost::char_separator<char> >
tokenizer;
boost::char_separator<char> sep(",");
tokenizer tokens(message, sep);
// set up iterator to go through token list
tokenizer::iterator current_token=tokens.begin();
string num_comps_string=*(current_token);
int number_components=atoi(num_comps_string.c_str());
// make sure the correct number of tokens were found
int token_count=0;
for(current_token=tokens.begin(); current_token!=tokens.end();++current_token)
{
//log_debug_(*current_token);
token_count++;
}
// should be 9 tokens, if not something is wrong
if (token_count!=(8*number_components+1)) {
log_error_("Error parsing received version. "
"Incorrect number of tokens found.");
std::stringstream err_out;
err_out << "Found: " << token_count << " Expected: " << (8*number_components+1);
log_error_(err_out.str());
log_debug_(packet);
return false;
}
current_token=tokens.begin();
// device type is 2nd token
string device_type=*(++current_token);
// model is 3rd token
model_=*(++current_token);
// serial number is 4th token
serial_number_=*(++current_token);
// model is 5rd token
hardware_version_=*(++current_token);
// model is 6rd token
software_version_=*(++current_token);
// parse the version:
if (hardware_version_.length()>3)
protocol_version_=hardware_version_.substr(1,4);
else
protocol_version_="UNKNOWN";
// parse model number:
// is the receiver capable of raw measurements?
if (model_.find("L")!=string::npos)
raw_capable_=true;
else
raw_capable_=false;
// can the receiver receive L2?
if (model_.find("12")!=string::npos)
l2_capable_=true;
else
l2_capable_=false;
// can the receiver receive GLONASS?
if (model_.find("G")!=string::npos)
glonass_capable_=true;
else
glonass_capable_=false;
// Is this a SPAN unit?
if ((model_.find("I")!=string::npos)||(model_.find("J")!=string::npos))
span_capable_=true;
else
span_capable_=false;
// Can the receiver process RTK?
if (model_.find("R")!=string::npos)
rtk_capable_=true;
else
rtk_capable_=false;
// fix for oem4 span receivers - do not use l12 notation
// i think all oem4 spans are l1 l2 capable and raw capable
if ((protocol_version_=="OEM4")&&(span_capable_)) {
l2_capable_=true;
raw_capable_=true;
}
return true;
}
void Novatel::StartReading() {
if (reading_status_)
return;
// create thread to read from sensor
reading_status_=true;
read_thread_ptr_ = boost::shared_ptr<boost::thread >
(new boost::thread(boost::bind(&Novatel::ReadSerialPort, this)));
}
void Novatel::StopReading() {
reading_status_=false;
}
void Novatel::ReadSerialPort() {
unsigned char buffer[MAX_NOUT_SIZE];
size_t len;
log_info_("Started read thread.");
// continuously read data from serial port
while (reading_status_) {
try {
// read data
len = serial_port_->read(buffer, MAX_NOUT_SIZE);
} catch (std::exception &e) {
std::stringstream output;
output << "Error reading from serial port: " << e.what();
log_error_(output.str());
//return;
}
// timestamp the read
if (time_handler_)
read_timestamp_ = time_handler_();
else
read_timestamp_ = 0;
//std::cout << read_timestamp_ << " bytes: " << len << std::endl;
// add data to the buffer to be parsed
BufferIncomingData(buffer, len);
}
}
void Novatel::ReadFromFile(unsigned char* buffer, unsigned int length)
{
BufferIncomingData(buffer, length);
}
void Novatel::BufferIncomingData(unsigned char *message, unsigned int length)
{
// add incoming data to buffer
for (unsigned int ii=0; ii<length; ii++)
{
// make sure bufIndex is not larger than buffer
if (buffer_index_ >= MAX_NOUT_SIZE)
{
buffer_index_=0;
log_warning_("Overflowed receive buffer. Buffer cleared.");
}
if (buffer_index_ == 0)
{ // looking for beginning of message
if (message[ii] == NOVATEL_SYNC_BYTE_1)
{ // beginning of msg found - add to buffer
data_buffer_[buffer_index_++] = message[ii];
bytes_remaining_ = 0;
}
else if (message[ii] == NOVATEL_ACK_BYTE_1)
{
// received beginning of acknowledgement
reading_acknowledgement_ = true;
buffer_index_ = 1;
}
else if ((message[ii] == NOVATEL_RESET_BYTE_1) && waiting_for_reset_complete_)
{
// received {COM#} acknowledging receiver reset complete
reading_reset_complete_ = true;
buffer_index_ = 1;
}
else
{
//log_debug_("BufferIncomingData::Received unknown data.");
}
}
else if (buffer_index_ == 1)
{ // verify 2nd character of header
if (message[ii] == NOVATEL_SYNC_BYTE_2)
{ // 2nd byte ok - add to buffer
data_buffer_[buffer_index_++] = message[ii];
}
else if ( (message[ii] == NOVATEL_ACK_BYTE_2) && reading_acknowledgement_ )
{
// 2nd byte of acknowledgement
buffer_index_ = 2;
}
else if ((message[ii] == NOVATEL_RESET_BYTE_2) && reading_reset_complete_) {
// 2nd byte of receiver reset complete message
buffer_index_ = 2;
}
else
{
// start looking for new message again
buffer_index_ = 0;
bytes_remaining_=0;
reading_acknowledgement_=false;
reading_reset_complete_=false;
} // end if (msg[i]==0x44)
}
else if (buffer_index_ == 2)
{ // verify 3rd character of header
if (message[ii] == NOVATEL_SYNC_BYTE_3)
{ // 2nd byte ok - add to buffer
data_buffer_[buffer_index_++] = message[ii];
is_short_header = false;
}
else if(message[ii] == NOVATEL_SHORT_SYNC_BYTE_3)
{
data_buffer_[buffer_index_++] = message[ii];
is_short_header = true;
}
else if ( (message[ii] == NOVATEL_ACK_BYTE_3) && (reading_acknowledgement_) )
{
log_info_("RECEIVED AN ACK.");
// final byte of acknowledgement received
buffer_index_ = 0;
reading_acknowledgement_ = false;
boost::lock_guard<boost::mutex> lock(ack_mutex_);
ack_received_ = true;
ack_condition_.notify_all();
// ACK received
handle_acknowledgement_();
}
else if ((message[ii] == NOVATEL_RESET_BYTE_3) && reading_reset_complete_)
{
// 3rd byte of receiver reset complete message
buffer_index_ = 3;
}
else
{
// start looking for new message again
buffer_index_ = 0;
bytes_remaining_ = 0;
reading_acknowledgement_ = false;
reading_reset_complete_ = false;
} // end if (msg[i]==0x12)
}
else if (buffer_index_ == 3)
{ // number of bytes in header - not including sync
if((message[ii] == NOVATEL_RESET_BYTE_4) && (message[ii+2] == NOVATEL_RESET_BYTE_6)
&& reading_reset_complete_ && waiting_for_reset_complete_)
{
// 4th byte of receiver reset complete message
// log_info_("RECEIVER RESET COMPLETE RECEIVED.");
buffer_index_ = 0;
reading_reset_complete_ = false;
boost::lock_guard<boost::mutex> lock(reset_mutex_);
waiting_for_reset_complete_ = false;
reset_condition_.notify_all();
}
else
{
reading_reset_complete_ = false;
data_buffer_[buffer_index_++] = message[ii];
if(is_short_header)
{
short_message_length_ = message[ii];
}
else
// length of header is in byte 4
header_length_ = message[ii];
}
}
else if (buffer_index_ == 5)
{ // get message id
data_buffer_[buffer_index_++] = message[ii];
bytes_remaining_--;
message_id_ = BINARY_LOG_TYPE( ((data_buffer_[buffer_index_-1]) << 8) + data_buffer_[buffer_index_-2] );
if(is_short_header)
{
bytes_remaining_ = short_message_length_ + 4 + 6; //len + crc + header_remaind
}
// } else if (buffer_index_ == 8) { // set number of bytes
// data_buffer_[buffer_index_++] = message[ii];
// // length of message is in byte 8
// // bytes remaining = remainder of header + 4 byte checksum + length of body
// // TODO: added a -2 to make things work right, figure out why i need this
// bytes_remaining_ = message[ii] + 4 + (header_length_-7) - 2;
}
else if (!is_short_header && buffer_index_ == 9)
{
data_buffer_[buffer_index_++] = message[ii];
bytes_remaining_ = (header_length_ - 10) + 4 + (data_buffer_[9] << 8) + data_buffer_[8];
}
else if (bytes_remaining_ == 1)
{ // add last byte and parse
data_buffer_[buffer_index_++] = message[ii];
// BINARY_LOG_TYPE message_id = (BINARY_LOG_TYPE) (((data_buffer_[5]) << 8) + data_buffer_[4]);
// log_info_("Sending to ParseBinary");
if(CalculateBlockCRC32ByTable(buffer_index_-4,data_buffer_)==*(uint32_t*)(data_buffer_+buffer_index_-4))
ParseBinary(data_buffer_, buffer_index_, message_id_);
// reset counters
buffer_index_ = 0;
bytes_remaining_ = 0;
}
else
{ // add data to buffer
data_buffer_[buffer_index_++] = message[ii];
bytes_remaining_--;
}
} // end for
}
void Novatel::ParseBinary(unsigned char *message, size_t length, BINARY_LOG_TYPE message_id) {
//stringstream output;
//output << "Parsing Log: " << message_id << endl;
//log_debug_(output.str());
uint16_t payload_length;
uint16_t header_length;
// obtain the received crc
//ROS_INFO("message id = %d\r\n",message_id);
switch (message_id) {
case BESTGPSPOS_LOG_TYPE:
Position best_gps;
memcpy(&best_gps, message, sizeof(best_gps));
if (best_gps_position_callback_)
best_gps_position_callback_(best_gps, read_timestamp_);
break;
case BESTLEVERARM_LOG_TYPE:
BestLeverArm best_lever;
memcpy(&best_lever, message, sizeof(best_lever));
if (best_lever_arm_callback_)
best_lever_arm_callback_(best_lever, read_timestamp_);
break;
case BESTPOSB_LOG_TYPE:
Position best_pos;
memcpy(&best_pos, message, sizeof(best_pos));
if (best_position_callback_)
best_position_callback_(best_pos, read_timestamp_);
break;
case BESTUTMB_LOG_TYPE:
UtmPosition best_utm;
memcpy(&best_utm, message, sizeof(best_utm));
if (best_utm_position_callback_)
best_utm_position_callback_(best_utm, read_timestamp_);
break;
case BESTVELB_LOG_TYPE:
Velocity best_vel;
memcpy(&best_vel, message, sizeof(best_vel));
if (best_velocity_callback_)
best_velocity_callback_(best_vel, read_timestamp_);
break;
case BESTXYZB_LOG_TYPE:
PositionEcef best_xyz;
memcpy(&best_xyz, message, sizeof(best_xyz));
if (best_position_ecef_callback_)
best_position_ecef_callback_(best_xyz, read_timestamp_);
break;
case INSPVA_LOG_TYPE:
InsPositionVelocityAttitude ins_pva;
memcpy(&ins_pva, message, sizeof(ins_pva));
if (ins_position_velocity_attitude_callback_)
ins_position_velocity_attitude_callback_(ins_pva, read_timestamp_);
break;
case INSPVAS_LOG_TYPE:
InsPositionVelocityAttitudeShort ins_pva_short;
memcpy(&ins_pva_short, message, sizeof(ins_pva_short));
if (ins_position_velocity_attitude_short_callback_)
ins_position_velocity_attitude_short_callback_(ins_pva_short, read_timestamp_);
break;
//add by wendao begin
case INSPVAX_LOG_TYPE:
Inspvax inspvax;
memcpy(&inspvax, message, sizeof(inspvax));
if (inspvax_callback_)
inspvax_callback_(inspvax, read_timestamp_);
break;
case BESTGNSSPOS_LOG_TYPE:
BestGnss best_gnss;
memcpy(&best_gnss, message, sizeof(best_gnss));
if (bestgnss_callback_)
bestgnss_callback_(best_gnss, read_timestamp_);
break;
case CORRIMUDATAS_LOG_TYPE:
CorrImuShort corr_imu;
memcpy(&corr_imu,message,sizeof(corr_imu));
if(corrImu_short_callback_)
corrImu_short_callback_(corr_imu,read_timestamp_);
break;
//end
case VEHICLEBODYROTATION_LOG_TYPE:
VehicleBodyRotation vehicle_body_rotation;
memcpy(&vehicle_body_rotation, message, sizeof(vehicle_body_rotation));
if (vehicle_body_rotation_callback_)
vehicle_body_rotation_callback_(vehicle_body_rotation, read_timestamp_);
break;
case INSSPD_LOG_TYPE:
InsSpeed ins_speed;
memcpy(&ins_speed, message, sizeof(ins_speed));
if (ins_speed_callback_)
ins_speed_callback_(ins_speed, read_timestamp_);
break;
case RAWIMU_LOG_TYPE:
RawImu raw_imu;
memcpy(&raw_imu, message, sizeof(raw_imu));
if (raw_imu_callback_)
raw_imu_callback_(raw_imu, read_timestamp_);
break;
case RAWIMUS_LOG_TYPE:
RawImuShort raw_imu_s;
memcpy(&raw_imu_s, message, sizeof(raw_imu_s));
if (raw_imu_short_callback_)
raw_imu_short_callback_(raw_imu_s, read_timestamp_);
break;
case INSCOV_LOG_TYPE:
InsCovariance ins_cov;
memcpy(&ins_cov, message, sizeof(ins_cov));
if (ins_covariance_callback_)
ins_covariance_callback_(ins_cov, read_timestamp_);
break;
case INSCOVS_LOG_TYPE:
InsCovarianceShort ins_cov_s;
memcpy(&ins_cov_s, message, sizeof(ins_cov_s));
if (ins_covariance_short_callback_)
ins_covariance_short_callback_(ins_cov_s, read_timestamp_);
break;
case PSRDOPB_LOG_TYPE:
Dop psr_dop;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) +
((uint16_t) *(message+8));
// Copy header and unrepeated fields
memcpy(&psr_dop, message, header_length+24);
//Copy repeated fields
memcpy(&psr_dop.prn, message+header_length+28, (4*psr_dop.number_of_prns));
//Copy CRC
memcpy(&psr_dop.crc, message+header_length+payload_length, 4);
if (pseudorange_dop_callback_)
pseudorange_dop_callback_(psr_dop, read_timestamp_);
break;
case RTKDOPB_LOG_TYPE:
Dop rtk_dop;
memcpy(&rtk_dop, message, sizeof(rtk_dop));
if (rtk_dop_callback_)
rtk_dop_callback_(rtk_dop, read_timestamp_);
break;
case BSLNXYZ_LOG_TYPE:
BaselineEcef baseline_xyz;
memcpy(&baseline_xyz, message, sizeof(baseline_xyz));
if (baseline_ecef_callback_)
baseline_ecef_callback_(baseline_xyz, read_timestamp_);
break;
case IONUTCB_LOG_TYPE:
IonosphericModel ion;
memcpy(&ion, message, sizeof(ion));
if (ionospheric_model_callback_)
ionospheric_model_callback_(ion, read_timestamp_);
break;
case RANGEB_LOG_TYPE:
RangeMeasurements ranges;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) +
((uint16_t) *(message+8));
// Copy header and #observations following
memcpy(&ranges, message, header_length+4);
//Copy repeated fields
memcpy(&ranges.range_data,
message + header_length + 4,
(44*ranges.number_of_observations));
//Copy CRC
memcpy(&ranges.crc,
message + header_length + payload_length,
4);
if (range_measurements_callback_)
{
range_measurements_callback_(ranges, read_timestamp_);
}
break;
case RANGECMPB_LOG_TYPE: {
CompressedRangeMeasurements cmp_ranges;
header_length = (uint16_t) *(message + 3);
payload_length = (((uint16_t) *(message + 9)) << 8) +
((uint16_t) *(message + 8));
// unsigned long crc_of_received = CalculateBlockCRC32(length-4, message);
// std::stringstream asdf;
// asdf << "------\nheader_length: " << header_length << "\npayload_length: " << payload_length << "\n";
// asdf << "length idx: " << length << "\nsizeof: " << sizeof(cmp_ranges) << "\n";
//asdf << "crc of received: " << crc_of_received << "\n";
// log_info_(asdf.str().c_str()); asdf.str("");
//Copy header and unrepeated message block
memcpy(&cmp_ranges.header, message, header_length);
memcpy(&cmp_ranges.number_of_observations,
message + header_length,
4);
// Copy Repeated portion of message block)
memcpy(&cmp_ranges.range_data,
message + header_length + 4,
(24 * cmp_ranges.number_of_observations));
// Copy the CRC
memcpy(&cmp_ranges.crc,
message + header_length + payload_length,
4);
// asdf << "sizeof after memcpy : " << sizeof(cmp_ranges) << "\n";
// asdf << "crc after shoving: " ;
// log_info_(asdf.str().c_str()); asdf.str("");
// printHex((char*)cmp_ranges.crc,4);
// asdf << "\nMessage from BufferIncomingData\n";
// log_info_(asdf.str().c_str()); asdf.str("");
// printHex((char*)message,length);
//printHex((char*)cmp_ranges.range_data[0],sizeof(24*((int32_t)*(message+header_length))));
// memcpy(&cmp_ranges, message, length);
if (compressed_range_measurements_callback_)
{
compressed_range_measurements_callback_(cmp_ranges,
read_timestamp_);
}
if (range_measurements_callback_)
{
RangeMeasurements rng;
rng.header = cmp_ranges.header;
rng.number_of_observations = cmp_ranges.number_of_observations;
memcpy(rng.crc, cmp_ranges.crc, 4);
for (size_t kk = 0; kk < cmp_ranges.number_of_observations; ++kk)
{
UnpackCompressedRangeData(cmp_ranges.range_data[kk],
rng.range_data[kk]);
}
range_measurements_callback_(rng, read_timestamp_);
}
break;
}
case GPSEPHEMB_LOG_TYPE: {
GpsEphemeris ephemeris;
header_length = (uint16_t) *(message+3);
std::cout << "GPSEPHEMB message: " << std::endl
<< "PRN #: " << (double)*(message+header_length)<< std::endl;
//printHex(message, length);
if (length>sizeof(ephemeris)) {
std::stringstream ss;
ss << "Novatel Driver: GpsEphemeris mismatch\n";
ss << "\tlength = " << length << "\n";
ss << "\tsizeof msg = " << sizeof(ephemeris);
log_warning_(ss.str().c_str());
} else {
memcpy(&ephemeris, message, sizeof(ephemeris));
if (gps_ephemeris_callback_)
gps_ephemeris_callback_(ephemeris, read_timestamp_);
}
break;
}
case RAWEPHEMB_LOG_TYPE: {
RawEphemeris raw_ephemeris;
memcpy(&raw_ephemeris, message, sizeof(raw_ephemeris));
// cout << "Parse Log:" << endl;
// cout << "Length: " << length << endl;
// printHex(message, length);
// test_ephems_.ephemeris[raw_ephemeris.prn] = raw_ephemeris;
if (raw_ephemeris_callback_)
raw_ephemeris_callback_(raw_ephemeris, read_timestamp_);
// bool result = SendBinaryDataToReceiver(message, length);
break;}
case RAWALMB_LOG_TYPE:
RawAlmanac raw_almanac;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) + ((uint16_t) *(message+8));
//Copy header and unrepeated message block
memcpy(&raw_almanac.header,message, header_length+12);
// Copy Repeated portion of message block)
memcpy(&raw_almanac.subframe_data, message+header_length+12, (32*raw_almanac.num_of_subframes));
// Copy the CRC
memcpy(&raw_almanac.crc, message+header_length+payload_length, 4);
if(raw_almanac_callback_)
raw_almanac_callback_(raw_almanac, read_timestamp_);
break;
case ALMANACB_LOG_TYPE:
Almanac almanac;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) + ((uint16_t) *(message+8));
//Copy header and unrepeated message block
memcpy(&almanac.header,message, header_length+4);
// Copy Repeated portion of message block)
memcpy(&almanac.data, message+header_length+4, (112*almanac.number_of_prns));
// Copy the CRC
memcpy(&raw_almanac.crc, message+header_length+payload_length, 4);
/*
//TODO: Test crc calculation, see if need to flip byte order
cout << "Output crc: ";
printHex((unsigned char*)almanac.crc,4);
uint8_t* msg_ptr = (unsigned char*)&almanac;
uint32_t crc = CalculateBlockCRC32 (sizeof(almanac)-4, msg_ptr);
cout << "Calculated crc: ";
printHex((unsigned char*)crc,4);
*/
if(almanac_callback_)
almanac_callback_(almanac, read_timestamp_);
break;
case SATXYZB_LOG_TYPE:
SatellitePositions sat_pos;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) + ((uint16_t) *(message+8));
// Copy header and unrepeated part of message
memcpy(&sat_pos, message, header_length+12);
//Copy repeated fields
memcpy(&sat_pos.data, message+header_length+12, (68*sat_pos.number_of_satellites));
//Copy CRC
memcpy(&ranges.crc, message+header_length+payload_length, 4);
if (satellite_positions_callback_)
satellite_positions_callback_(sat_pos, read_timestamp_);
break;
case SATVISB_LOG_TYPE:
SatelliteVisibility sat_vis;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) + ((uint16_t) *(message+8));
// Copy header and unrepeated part of message
memcpy(&sat_pos, message, header_length+12);
//Copy repeated fields
memcpy(&sat_vis.data, message+header_length+12, (40*sat_vis.number_of_satellites));
//Copy CRC
memcpy(&ranges.crc, message+header_length+payload_length, 4);
if(satellite_visibility_callback_)
satellite_visibility_callback_(sat_vis, read_timestamp_);
break;
case TIMEB_LOG_TYPE:
TimeOffset time_offset;
memcpy(&time_offset, message, sizeof(time_offset));
if (time_offset_callback_)
time_offset_callback_(time_offset, read_timestamp_);
break;
case TRACKSTATB_LOG_TYPE:
TrackStatus tracking_status;
header_length = (uint16_t) *(message+3);
payload_length = (((uint16_t) *(message+9)) << 8) + ((uint16_t) *(message+8));
// Copy header and unrepeated part of message
memcpy(&tracking_status, message, header_length+16);
//Copy repeated fields
memcpy(&tracking_status.data, message+header_length+16, (40*tracking_status.number_of_channels));
//Copy CRC
memcpy(&tracking_status.crc, message+header_length+payload_length, 4);
if(tracking_status_callback_)
tracking_status_callback_(tracking_status, read_timestamp_);
break;
case RXHWLEVELSB_LOG_TYPE:
ReceiverHardwareStatus hw_levels;
memcpy(&hw_levels, message, sizeof(hw_levels));
if (receiver_hardware_status_callback_)
receiver_hardware_status_callback_(hw_levels, read_timestamp_);
break;
case PSRPOSB_LOG_TYPE:
Position psr_pos;
memcpy(&psr_pos, message, sizeof(psr_pos));
if (best_pseudorange_position_callback_)
best_pseudorange_position_callback_(psr_pos, read_timestamp_);
break;
case RTKPOSB_LOG_TYPE:
Position rtk_pos;
memcpy(&rtk_pos, message, sizeof(rtk_pos));
if (rtk_position_callback_)
rtk_position_callback_(rtk_pos, read_timestamp_);
break;
default:
break;
}
}
void Novatel::UnpackCompressedRangeData(const CompressedRangeData &cmp,
RangeData &rng)
{
rng.satellite_prn = cmp.range_record.satellite_prn;
rng.channel_status = cmp.channel_status;
rng.pseudorange = double(cmp.range_record.pseudorange) / 128.0;
rng.pseudorange_standard_deviation =
UnpackCompressedPsrStd(cmp.range_record.pseudorange_standard_deviation);
rng.accumulated_doppler =
UnpackCompressedAccumulatedDoppler(cmp, rng.pseudorange);
rng.accumulated_doppler_std_deviation =
(cmp.range_record.accumulated_doppler_std_deviation + 1.0) / 512.0;
rng.doppler = cmp.range_record.doppler / 256.0;
rng.locktime = cmp.range_record.locktime / 32.0;
rng.carrier_to_noise = (float)(cmp.range_record.carrier_to_noise + 20);
}
double Novatel::UnpackCompressedPsrStd(const uint16_t &val) const
{
switch(val)
{
case 0:
return(0.050);
break;
case 1:
return(0.075);
break;
case 2:
return(0.113);
break;
case 3:
return(0.169);
break;
case 4:
return(0.253);
break;
case 5:
return(0.380);
break;
case 6:
return(0.570);
break;
case 7:
return(0.854);
break;
case 8:
return(1.281);
break;
case 9:
return(2.375);
break;
case 10:
return(4.750);
break;
case 11:
return(9.500);
break;
case 12:
return(19.000);
break;
case 13:
return(38.000);
break;
case 14:
return(76.000);
break;
case 15:
return(152.000);
break;
default:
return(0);
}
}
double Novatel::UnpackCompressedAccumulatedDoppler(
const CompressedRangeData &cmp,
const double &uncmpPsr) const
{
double scaled_adr = (double)cmp.range_record.accumulated_doppler / 256.0;
double adr_rolls = uncmpPsr;
switch (cmp.channel_status.satellite_sys)
{
case 0: // GPS
if (cmp.channel_status.signal_type == 0) // L1
{
adr_rolls /= CMP_GPS_WAVELENGTH_L1;
}
else if ((cmp.channel_status.signal_type == 5) || // L2 P
(cmp.channel_status.signal_type == 9) || // L2 P codeless
(cmp.channel_status.signal_type == 17)) // L2C
{
adr_rolls /= CMP_GPS_WAVELENGTH_L2;
}
else
{
/* std::cout << "Unknown GPS Frequency type!" << std::endl;
std::cout << "PRN: "
<< cmp.range_record.satellite_prn
<< "\tSatellite System: "
<< cmp.channel_status.satellite_sys
<< "\tSignal Type: "
<< cmp.channel_status.signal_type
<< std::endl;*/
}
break;
case 1: // GLO
// TODO: Need to compute actual wavelengths here, this is incorrect
if (cmp.channel_status.signal_type == 0) // L1
{
adr_rolls /= CMP_GPS_WAVELENGTH_L1;
}
else if (cmp.channel_status.signal_type == 5) // L2 P
{
adr_rolls /= CMP_GPS_WAVELENGTH_L2;
}
else
{
/* std::cout << "Unknown GLO Frequency type!" << std::endl;
std::cout << "PRN: "
<< cmp.range_record.satellite_prn
<< "\tSatellite System: "
<< cmp.channel_status.satellite_sys
<< "\tSignal Type: "
<< cmp.channel_status.signal_type
<< std::endl;*/
}
break;
case 2: // WAAS
if (cmp.channel_status.signal_type == 1) // L1
{
adr_rolls /= CMP_GPS_WAVELENGTH_L1;
}
else
{
/* std::cout << "Unknown WAAS Frequency type!" << std::endl;
std::cout << "PRN: "
<< cmp.range_record.satellite_prn
<< "\tSatellite System: "
<< cmp.channel_status.satellite_sys
<< "\tSignal Type: "
<< cmp.channel_status.signal_type
<< std::endl;*/
}
break;
default:
/* std::cout << "Unknown Satellite System type!" << std::endl;
std::cout << "PRN: "
<< cmp.range_record.satellite_prn
<< "\tSatellite System: "
<< cmp.channel_status.satellite_sys
<< "\tSignal Type: "
<< cmp.channel_status.signal_type
<< std::endl;*/
break;
}
adr_rolls = (adr_rolls + scaled_adr) / CMP_MAX_VALUE;
if(adr_rolls <= 0)
{
adr_rolls -= 0.5;
}
else
{
adr_rolls += 0.5;
}
return(scaled_adr - (CMP_MAX_VALUE * (int)adr_rolls));
}
/* --------------------------------------------------------------------------
Calculate a CRC value to be used by CRC calculation functions.
-------------------------------------------------------------------------- */
unsigned long Novatel::CRC32Value(int i)
{
int j;
unsigned long ulCRC;
ulCRC = i;
for ( j = 8 ; j > 0; j-- ) {
if ( ulCRC & 1 )
ulCRC = ( ulCRC >> 1 ) ^ CRC32_POLYNOMIAL;
else
ulCRC >>= 1;
}
return ulCRC;
}
/* --------------------------------------------------------------------------
Calculates the CRC-32 of a block of data all at once
-------------------------------------------------------------------------- */
unsigned long Novatel::CalculateBlockCRC32 ( unsigned long ulCount, /* Number of bytes in the data block */
unsigned char *ucBuffer ) /* Data block */
{
unsigned long ulTemp1;
unsigned long ulTemp2;
unsigned long ulCRC = 0;
while ( ulCount-- != 0 ) {
ulTemp1 = ( ulCRC >> 8 ) & 0x00FFFFFFL;
ulTemp2 = CRC32Value( ((int) ulCRC ^ *ucBuffer++ ) & 0xff );
ulCRC = ulTemp1 ^ ulTemp2;
}
return( ulCRC );
}
// this functions matches the conversion done by the Novatel receivers
bool Novatel::ConvertLLaUTM(double Lat, double Long, double *northing, double *easting, int *zone, bool *north)
{
const double a = 6378137.0;
const double ee = 0.00669437999;
const double k0 = 0.9996;
const double e2 = ee / (1-ee);
double LongTemp = (Long+180)-int((Long+180)/360)*360-180; // -180.00 .. 179.9;
double LatRad = GRAD_A_RAD(Lat);
double LongRad = GRAD_A_RAD(LongTemp);
double LongOriginRad;
double N, T, C, A, M;
//Make sure the longitude is between -180.00 .. 179.9
*zone = int((LongTemp + 180)/6.0) + 1;
if (Lat >= 56.0 && Lat < 64.0 && LongTemp >= 3.0 && LongTemp < 12.0)
*zone = 32;
// Special zones for Svalbard
if (Lat >= 72.0 && Lat < 84.0) {
if (LongTemp>=0.0 && LongTemp<9.0)
*zone = 31;
else if (LongTemp>=9.0 && LongTemp<21.0)
*zone = 33;
else if (LongTemp>=21.0 && LongTemp<33.0)
*zone = 35;
else if (LongTemp>=33.0 && LongTemp<42.0)
*zone = 37;
}
LongOriginRad = GRAD_A_RAD((*zone-1)*6 - 180 + 3);
N = a/sqrt(1-ee*sin(LatRad)*sin(LatRad));
T = tan(LatRad)*tan(LatRad);
C = e2*cos(LatRad)*cos(LatRad);
A = cos(LatRad)*(LongRad-LongOriginRad);
M = a*((1 - ee/4 - 3*ee*ee/64 - 5*ee*ee*ee/256)*LatRad
- (3*ee/8 + 3*ee*ee/32 + 45*ee*ee*ee/1024)*sin(2*LatRad)
+ (15*ee*ee/256 + 45*ee*ee*ee/1024)*sin(4*LatRad)
- (35*ee*ee*ee/3072)*sin(6*LatRad));
*easting = (double)(k0*N*(A+(1-T+C)*A*A*A/6
+ (5-18*T+T*T+72*C-58*e2)*A*A*A*A*A/120) + 500000.0);
*northing = (double)(k0*(M+N*tan(LatRad)*(A*A/2+(5-T+9*C+4*C*C)*A*A*A*A/24
+ (61-58*T+T*T+600*C-330*e2)*A*A*A*A*A*A/720)));
if (Lat < 0) {
*northing += 10000000; //10000000 meter offset for southern hemisphere
*north = false;
} else
*north = true;
return true;
}
| [
"castiel_liu@outlook.com"
] | castiel_liu@outlook.com |
8117388ebe079e14ec40cf1381ead221a9180902 | 27da58458e8f4a70adcb0c1d8a7ed84e8342367f | /Fbx2BinVS2015/Fbx2BinVS2015/DxWindow.cpp | 978ffc4ba25d324ea8b75a40a78cac1ccd188637 | [] | no_license | WiZFramework/BaseCross | f5c5d41abb1bfc8c5e7e0fc397a522318c95a7d2 | 3166d3870e818c947c2b598ff9d629c58780168d | refs/heads/master | 2020-05-22T02:44:26.650636 | 2019-09-17T17:46:08 | 2019-09-17T17:46:08 | 64,080,808 | 16 | 4 | null | null | null | null | SHIFT_JIS | C++ | false | false | 354 | cpp | // DxWindow.cpp : 実装ファイル
//
#include "stdafx.h"
#include "Fbx2BinVS2015.h"
#include "DxWindow.h"
// CDxWindow
IMPLEMENT_DYNAMIC(CDxWindow, CWnd)
CDxWindow::CDxWindow()
{
}
CDxWindow::~CDxWindow()
{
}
BEGIN_MESSAGE_MAP(CDxWindow, CWnd)
END_MESSAGE_MAP()
// CDxWindow メッセージ ハンドラー
| [
"wiz.yamanoi@wiz.ac.jp"
] | wiz.yamanoi@wiz.ac.jp |
43a529f344e79510c2b4d8d1e1bb5e1c2c642e63 | 9594717431a92058bc368a7c55e79c777119d8b1 | /src/tools.cpp | 3a2de91653132a47e9dd940254ed642fd9e41028 | [] | no_license | dills003/Extended_Kalman_Filter | bf064e9b3ee3009ac151d08a3002a04b0989f73c | 2c939302fc56663079efb56ab7be5f0b63f3aab8 | refs/heads/master | 2021-01-23T01:17:50.667637 | 2017-05-31T01:30:03 | 2017-05-31T01:30:03 | 92,864,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | #include <iostream>
#include "tools.h"
using Eigen::VectorXd;
using Eigen::MatrixXd;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
/**
TODO:
* Calculate the RMSE here. This was copied from the quiz.
*/
VectorXd rmse(4);
rmse << 0, 0, 0, 0;
// check the validity of the following inputs:
// * the estimation vector size should not be zero
// * the estimation vector size should equal ground truth vector size
if (estimations.size() != ground_truth.size()
|| estimations.size() == 0) {
cout << "Invalid estimation or ground_truth data" << endl;
return rmse;
}
//accumulate squared residuals
for (unsigned int i = 0; i < estimations.size(); ++i) {
VectorXd residual = estimations[i] - ground_truth[i];
//coefficient-wise multiplication
residual = residual.array()*residual.array();
rmse += residual;
}
//calculate the mean
rmse = rmse / estimations.size();
//calculate the squared root
rmse = rmse.array().sqrt();
//return the result
return rmse;
}
MatrixXd Tools::CalculateJacobian(const VectorXd& x_state) {
/**
TODO:
* Calculate a Jacobian here. Copied from the quiz.
*/
MatrixXd Hj(3, 4);
//recover state parameters
float px = x_state(0);
float py = x_state(1);
float vx = x_state(2);
float vy = x_state(3);
//pre-compute a set of terms to avoid repeated calculation
float c1 = px*px + py*py;
float c2 = sqrt(c1);
float c3 = (c1*c2);
//check division by zero
if (fabs(c1) < 0.0001) {
cout << "CalculateJacobian () - Error - Division by Zero" << endl; //making sure we don't divide by 0
return Hj;
}
//compute the Jacobian matrix
Hj << (px / c2), (py / c2), 0, 0,
-(py / c1), (px / c1), 0, 0,
py*(vx*py - vy*px) / c3, px*(px*vy - py*vx) / c3, px / c2, py / c2;
return Hj;
}
| [
"dills003@gmail.com"
] | dills003@gmail.com |
61690cb02b13eef2f82b0f5dac944c8665586b36 | 502f2ff4dddc707b2ced51e3cd4058b5ad8f1502 | /codeforces/601A_the_two_routes.cpp | c6b88929c5e3558d96e1a9fc9b26dce264322b9b | [] | no_license | miguelAlessandro/CompetitiveProgramming | 609a68a646f0976ed1c00fbcf861777844c7040d | 64ac15eafb9c62dc713ce3d4b679ba6a032e1d5f | refs/heads/master | 2021-06-01T11:02:22.439109 | 2020-10-08T06:26:27 | 2020-10-08T06:26:27 | 51,873,676 | 1 | 1 | null | 2020-10-08T06:26:28 | 2016-02-16T22:01:20 | C++ | UTF-8 | C++ | false | false | 1,166 | cpp | #include <bits/stdc++.h>
#define N 405
using namespace::std;
bool G[N][N],
visit[N];
int d[N],
n, m, dm;
bool visto;
void bfs(int source)
{
visit[source] = true;
d[source] = 0;
queue<int> Q;
Q.push(source);
while(not Q.empty())
{
int q = Q.front(); Q.pop();
for(int i = 0; i < n; i++)
{
if(G[q][i] == visto && !visit[i] && i != q)
{
visit[i] = true;
d[i] = d[q] + 1;
Q.push(i);
}
}
}
}
int main( void )
{
cin >> n >> m;
while(m--)
{
int u, v;
cin >> u >> v;
--u, --v;
G[v][u] = G[u][v] = true;
}
d[n-1] = -1;
memset(visit, false, sizeof visit);
visto = true;
bfs(0);
if(d[n-1] != -1)
{
dm = d[n-1];
d[n-1] = -1;
memset(visit, false, sizeof visit);
visto = false;
bfs(0);
if(d[n-1] == -1)
cout << -1 << endl;
else
cout << max(dm, d[n-1]) << endl;
}
else
cout << -1 << endl;
return 0;
}
| [
"mminih@uni.pe"
] | mminih@uni.pe |
bc0856d415491cf4ac5ca5adff4a031154080f16 | 79eff0802fb893fcda692473f2d9693021f54515 | /PCA9933Library/PCA9633.cpp | c740f94ae9f7b54559d7e528cd193ed46b0623fc | [] | no_license | matteocivale/libraries | 3ab3b28de00d39903a98a8239ea70ef2cf2f46bd | 3b48ec320f337bbda26c96b77043cd788dc2fe7a | refs/heads/master | 2020-04-06T14:17:53.144651 | 2016-10-09T15:16:13 | 2016-10-09T15:16:13 | 55,366,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | cpp | #include <PCA9633.h>
//All leds settings at same time
byte Set_Selected_PCA9633_AllOut(byte address,byte *dimming_value)
{
Wire.beginTransmission(0x80|address);
Wire.write(((PWMX_OFFSET)&0x0F)|ALL_LED_INC_MASK);
Wire.write(dimming_value,4);
return Wire.endTransmission();
}
/*************************************************************************************************************/
/* The PCA identfy by address paramiter will be configurated as follo: */
/* */
/* 1) disable auto increment */
/* 2) enable normal mode */
/* 3) not respond to any subaddress */
/* 4) inverting output */
/* 5) output egual to 0 when driver disabled */
/*************************************************************************************************************/
byte Inizilize_PCA9633(byte address)
{
byte c;
byte MODE1_reg;
byte MODE2_reg;
byte LEDOUT_reg;
MODE1_reg=0x01;
Wire.beginTransmission(address);
Wire.write(MODE1_regAdr);
Wire.write(MODE1_reg);
c=Wire.endTransmission();
delay(1);//delay al last 500us to oscillator power on
//
MODE2_reg=0x14;//00010100
Wire.beginTransmission(address);
Wire.write(MODE2_regAdr);
Wire.write(MODE2_reg);
c|=Wire.endTransmission();
//
delay(1);
LEDOUT_reg=0xAA;//enable all output
Wire.beginTransmission(address);
Wire.write(LEDOUT_regAdr);
Wire.write(LEDOUT_reg);
c|=Wire.endTransmission();
//
return c;
}
byte Set_Selected_PCA9633_AllOff(byte address)
{
byte zeros[4]={0,0,0,0};
return Set_Selected_PCA9633_AllOut(address,zeros);
} | [
"matteo.civale@gmail.com"
] | matteo.civale@gmail.com |
b3e243b0ddfacd014db57c94e1c249b9f8033f40 | 652265a7a61f64a5aad99190de9d2c18b75fd76c | /Unix/serialusbreader.cpp | 6fe72fbf7f2f0ea4dd84a53bee99320fe0721afc | [] | no_license | nericCU/QuadcopterProject | 4c23c52b8a0c6912855631adce35482af16ba2d4 | 952f2336744511cee1a45d31399fc4bffc8e4750 | refs/heads/master | 2020-04-22T14:34:11.178890 | 2015-05-14T00:37:19 | 2015-05-14T00:37:19 | 31,289,087 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | cpp | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#define MODEM "/dev/ttyUSB4"
#define BAUDRATE B4800
int main(int argc,char** argv)
{
struct termios tio;
struct termios stdio;
struct termios old_stdio;
int tty_fd, flags;
unsigned char c='D';
tcgetattr(STDOUT_FILENO,&old_stdio);
printf("Please start with %s /dev/ttyUSB3 (for example)\n",argv[0]);
memset(&stdio,0,sizeof(stdio));
stdio.c_iflag=0;
stdio.c_oflag=0;
stdio.c_cflag=0;
stdio.c_lflag=0;
stdio.c_cc[VMIN]=1;
stdio.c_cc[VTIME]=0;
tcsetattr(STDOUT_FILENO,TCSANOW,&stdio);
tcsetattr(STDOUT_FILENO,TCSAFLUSH,&stdio);
fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK); // make the reads non-blocking
memset(&tio,0,sizeof(tio));
tio.c_iflag=0;
tio.c_oflag=0;
tio.c_cflag=CS8|CREAD|CLOCAL; // 8n1, see termios.h for more information
tio.c_lflag=0;
tio.c_cc[VMIN]=1;
tio.c_cc[VTIME]=5;
if((tty_fd = open(MODEM , O_RDWR | O_NONBLOCK)) == -1){
printf("Error while opening\n"); // Just if you want user interface error control
return -1;
}
cfsetospeed(&tio,BAUDRATE);
cfsetispeed(&tio,BAUDRATE); // baudrate is declarated above
tcsetattr(tty_fd,TCSANOW,&tio);
while (c!='q'){
if (read(tty_fd,&c,1)>0){
write(STDOUT_FILENO,&c,1); // if new data is available on the serial port, print it out
printf("\n");
}
if (read(STDIN_FILENO,&c,1)>0){
write(tty_fd,&c,1);//if new data is available on the console, send it to serial port
printf("\n");
}
}
close(tty_fd);
tcsetattr(STDOUT_FILENO,TCSANOW,&old_stdio);
return EXIT_SUCCESS;
} | [
"KainosGurung@gmail.com"
] | KainosGurung@gmail.com |
8be241801ed4f089885148a07524b6c3766d0a06 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/chrome/browser/extensions/api/omnibox/omnibox_api.cc | 400fc32ada6e37a0726c8b14936e64f2d96de76c | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,404 | cc | // Copyright (c) 2012 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.
#include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
#include "base/json/json_writer.h"
#include "base/lazy_instance.h"
#include "base/metrics/histogram.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/extensions/event_router.h"
#include "chrome/browser/extensions/extension_prefs.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_system.h"
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/search_engines/template_url_service.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/api/omnibox.h"
#include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
#include "chrome/common/extensions/extension.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "ui/gfx/image/image.h"
namespace events {
const char kOnInputStarted[] = "omnibox.onInputStarted";
const char kOnInputChanged[] = "omnibox.onInputChanged";
const char kOnInputEntered[] = "omnibox.onInputEntered";
const char kOnInputCancelled[] = "omnibox.onInputCancelled";
} // namespace events
namespace extensions {
namespace omnibox = api::omnibox;
namespace SendSuggestions = omnibox::SendSuggestions;
namespace SetDefaultSuggestion = omnibox::SetDefaultSuggestion;
namespace {
const char kSuggestionContent[] = "content";
const char kSuggestionDescription[] = "description";
const char kSuggestionDescriptionStyles[] = "descriptionStyles";
const char kSuggestionDescriptionStylesRaw[] = "descriptionStylesRaw";
const char kDescriptionStylesType[] = "type";
const char kDescriptionStylesOffset[] = "offset";
const char kDescriptionStylesLength[] = "length";
const char kCurrentTabDisposition[] = "currentTab";
const char kForegroundTabDisposition[] = "newForegroundTab";
const char kBackgroundTabDisposition[] = "newBackgroundTab";
// Pref key for omnibox.setDefaultSuggestion.
const char kOmniboxDefaultSuggestion[] = "omnibox_default_suggestion";
#if defined(OS_LINUX)
static const int kOmniboxIconPaddingLeft = 2;
static const int kOmniboxIconPaddingRight = 2;
#elif defined(OS_MACOSX)
static const int kOmniboxIconPaddingLeft = 0;
static const int kOmniboxIconPaddingRight = 2;
#else
static const int kOmniboxIconPaddingLeft = 0;
static const int kOmniboxIconPaddingRight = 0;
#endif
scoped_ptr<omnibox::SuggestResult> GetOmniboxDefaultSuggestion(
Profile* profile,
const std::string& extension_id) {
ExtensionPrefs* prefs =
ExtensionSystem::Get(profile)->extension_service()->extension_prefs();
scoped_ptr<omnibox::SuggestResult> suggestion;
const base::DictionaryValue* dict = NULL;
if (prefs && prefs->ReadPrefAsDictionary(extension_id,
kOmniboxDefaultSuggestion,
&dict)) {
suggestion.reset(new omnibox::SuggestResult);
omnibox::SuggestResult::Populate(*dict, suggestion.get());
}
return suggestion.Pass();
}
// Tries to set the omnibox default suggestion; returns true on success or
// false on failure.
bool SetOmniboxDefaultSuggestion(
Profile* profile,
const std::string& extension_id,
const omnibox::DefaultSuggestResult& suggestion) {
ExtensionPrefs* prefs =
ExtensionSystem::Get(profile)->extension_service()->extension_prefs();
if (!prefs)
return false;
scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue();
// Add the content field so that the dictionary can be used to populate an
// omnibox::SuggestResult.
dict->SetWithoutPathExpansion(kSuggestionContent, new base::StringValue(""));
prefs->UpdateExtensionPref(extension_id,
kOmniboxDefaultSuggestion,
dict.release());
return true;
}
} // namespace
// static
void ExtensionOmniboxEventRouter::OnInputStarted(
Profile* profile, const std::string& extension_id) {
scoped_ptr<Event> event(new Event(
events::kOnInputStarted, make_scoped_ptr(new base::ListValue())));
event->restrict_to_profile = profile;
ExtensionSystem::Get(profile)->event_router()->
DispatchEventToExtension(extension_id, event.Pass());
}
// static
bool ExtensionOmniboxEventRouter::OnInputChanged(
Profile* profile, const std::string& extension_id,
const std::string& input, int suggest_id) {
if (!extensions::ExtensionSystem::Get(profile)->event_router()->
ExtensionHasEventListener(extension_id, events::kOnInputChanged))
return false;
scoped_ptr<base::ListValue> args(new base::ListValue());
args->Set(0, Value::CreateStringValue(input));
args->Set(1, Value::CreateIntegerValue(suggest_id));
scoped_ptr<Event> event(new Event(events::kOnInputChanged, args.Pass()));
event->restrict_to_profile = profile;
ExtensionSystem::Get(profile)->event_router()->
DispatchEventToExtension(extension_id, event.Pass());
return true;
}
// static
void ExtensionOmniboxEventRouter::OnInputEntered(
content::WebContents* web_contents,
const std::string& extension_id,
const std::string& input,
WindowOpenDisposition disposition) {
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
const Extension* extension =
ExtensionSystem::Get(profile)->extension_service()->extensions()->
GetByID(extension_id);
CHECK(extension);
extensions::TabHelper::FromWebContents(web_contents)->
active_tab_permission_granter()->GrantIfRequested(extension);
scoped_ptr<base::ListValue> args(new base::ListValue());
args->Set(0, Value::CreateStringValue(input));
if (disposition == NEW_FOREGROUND_TAB)
args->Set(1, Value::CreateStringValue(kForegroundTabDisposition));
else if (disposition == NEW_BACKGROUND_TAB)
args->Set(1, Value::CreateStringValue(kBackgroundTabDisposition));
else
args->Set(1, Value::CreateStringValue(kCurrentTabDisposition));
scoped_ptr<Event> event(new Event(events::kOnInputEntered, args.Pass()));
event->restrict_to_profile = profile;
ExtensionSystem::Get(profile)->event_router()->
DispatchEventToExtension(extension_id, event.Pass());
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED,
content::Source<Profile>(profile),
content::NotificationService::NoDetails());
}
// static
void ExtensionOmniboxEventRouter::OnInputCancelled(
Profile* profile, const std::string& extension_id) {
scoped_ptr<Event> event(new Event(
events::kOnInputCancelled, make_scoped_ptr(new base::ListValue())));
event->restrict_to_profile = profile;
ExtensionSystem::Get(profile)->event_router()->
DispatchEventToExtension(extension_id, event.Pass());
}
OmniboxAPI::OmniboxAPI(Profile* profile)
: profile_(profile),
url_service_(TemplateURLServiceFactory::GetForProfile(profile)) {
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
content::Source<Profile>(profile));
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
content::Source<Profile>(profile));
if (url_service_) {
registrar_.Add(this, chrome::NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED,
content::Source<TemplateURLService>(url_service_));
}
// Use monochrome icons for Omnibox icons.
omnibox_popup_icon_manager_.set_monochrome(true);
omnibox_icon_manager_.set_monochrome(true);
omnibox_icon_manager_.set_padding(gfx::Insets(0, kOmniboxIconPaddingLeft,
0, kOmniboxIconPaddingRight));
}
OmniboxAPI::~OmniboxAPI() {
}
static base::LazyInstance<ProfileKeyedAPIFactory<OmniboxAPI> >
g_factory = LAZY_INSTANCE_INITIALIZER;
// static
ProfileKeyedAPIFactory<OmniboxAPI>* OmniboxAPI::GetFactoryInstance() {
return &g_factory.Get();
}
// static
OmniboxAPI* OmniboxAPI::Get(Profile* profile) {
return ProfileKeyedAPIFactory<OmniboxAPI>::GetForProfile(profile);
}
void OmniboxAPI::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
if (type == chrome::NOTIFICATION_EXTENSION_LOADED) {
const Extension* extension =
content::Details<const Extension>(details).ptr();
const std::string& keyword = OmniboxInfo::GetKeyword(extension);
if (!keyword.empty()) {
// Load the omnibox icon so it will be ready to display in the URL bar.
omnibox_popup_icon_manager_.LoadIcon(profile_, extension);
omnibox_icon_manager_.LoadIcon(profile_, extension);
if (url_service_) {
url_service_->Load();
if (url_service_->loaded()) {
url_service_->RegisterExtensionKeyword(extension->id(),
extension->name(),
keyword);
} else {
pending_extensions_.insert(extension);
}
}
}
} else if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
const Extension* extension =
content::Details<const UnloadedExtensionInfo>(details)->extension;
if (!OmniboxInfo::GetKeyword(extension).empty()) {
if (url_service_) {
if (url_service_->loaded())
url_service_->UnregisterExtensionKeyword(extension->id());
else
pending_extensions_.erase(extension);
}
}
} else {
DCHECK(type == chrome::NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED);
// Load pending extensions.
for (PendingExtensions::const_iterator i(pending_extensions_.begin());
i != pending_extensions_.end(); ++i) {
url_service_->RegisterExtensionKeyword((*i)->id(),
(*i)->name(),
OmniboxInfo::GetKeyword(*i));
}
pending_extensions_.clear();
}
}
gfx::Image OmniboxAPI::GetOmniboxIcon(const std::string& extension_id) {
return gfx::Image::CreateFrom1xBitmap(
omnibox_icon_manager_.GetIcon(extension_id));
}
gfx::Image OmniboxAPI::GetOmniboxPopupIcon(const std::string& extension_id) {
return gfx::Image::CreateFrom1xBitmap(
omnibox_popup_icon_manager_.GetIcon(extension_id));
}
template <>
void ProfileKeyedAPIFactory<OmniboxAPI>::DeclareFactoryDependencies() {
DependsOn(ExtensionSystemFactory::GetInstance());
DependsOn(TemplateURLServiceFactory::GetInstance());
}
bool OmniboxSendSuggestionsFunction::RunImpl() {
scoped_ptr<SendSuggestions::Params> params(
SendSuggestions::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params);
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY,
content::Source<Profile>(profile_->GetOriginalProfile()),
content::Details<SendSuggestions::Params>(params.get()));
return true;
}
bool OmniboxSetDefaultSuggestionFunction::RunImpl() {
scoped_ptr<SetDefaultSuggestion::Params> params(
SetDefaultSuggestion::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params);
if (SetOmniboxDefaultSuggestion(profile(),
extension_id(),
params->suggestion)) {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED,
content::Source<Profile>(profile_->GetOriginalProfile()),
content::NotificationService::NoDetails());
}
return true;
}
// This function converts style information populated by the JSON schema
// compiler into an ACMatchClassifications object.
ACMatchClassifications StyleTypesToACMatchClassifications(
const omnibox::SuggestResult &suggestion) {
ACMatchClassifications match_classifications;
if (suggestion.description_styles) {
string16 description = UTF8ToUTF16(suggestion.description);
std::vector<int> styles(description.length(), 0);
for (std::vector<linked_ptr<omnibox::SuggestResult::DescriptionStylesType> >
::iterator i = suggestion.description_styles->begin();
i != suggestion.description_styles->end(); ++i) {
omnibox::SuggestResult::DescriptionStylesType* style = i->get();
int length = description.length();
if (style->length)
length = *style->length;
size_t offset = style->offset >= 0 ? style->offset :
std::max(0, static_cast<int>(description.length()) + style->offset);
int type_class;
switch (style->type) {
case omnibox::SuggestResult::DescriptionStylesType::TYPE_URL:
type_class = AutocompleteMatch::ACMatchClassification::URL;
break;
case omnibox::SuggestResult::DescriptionStylesType::TYPE_MATCH:
type_class = AutocompleteMatch::ACMatchClassification::MATCH;
break;
case omnibox::SuggestResult::DescriptionStylesType::TYPE_DIM:
type_class = AutocompleteMatch::ACMatchClassification::DIM;
break;
default:
type_class = AutocompleteMatch::ACMatchClassification::NONE;
return match_classifications;
}
for (size_t j = offset; j < offset + length && j < styles.size(); ++j)
styles[j] |= type_class;
}
for (size_t i = 0; i < styles.size(); ++i) {
if (i == 0 || styles[i] != styles[i-1])
match_classifications.push_back(
ACMatchClassification(i, styles[i]));
}
} else {
match_classifications.push_back(
ACMatchClassification(0, ACMatchClassification::NONE));
}
return match_classifications;
}
void ApplyDefaultSuggestionForExtensionKeyword(
Profile* profile,
const TemplateURL* keyword,
const string16& remaining_input,
AutocompleteMatch* match) {
DCHECK(keyword->IsExtensionKeyword());
scoped_ptr<omnibox::SuggestResult> suggestion(
GetOmniboxDefaultSuggestion(profile, keyword->GetExtensionId()));
if (!suggestion || suggestion->description.empty())
return; // fall back to the universal default
const string16 kPlaceholderText(ASCIIToUTF16("%s"));
const string16 kReplacementText(ASCIIToUTF16("<input>"));
string16 description = UTF8ToUTF16(suggestion->description);
ACMatchClassifications& description_styles = match->contents_class;
description_styles = StyleTypesToACMatchClassifications(*suggestion);
// Replace "%s" with the user's input and adjust the style offsets to the
// new length of the description.
size_t placeholder(description.find(kPlaceholderText, 0));
if (placeholder != string16::npos) {
string16 replacement =
remaining_input.empty() ? kReplacementText : remaining_input;
description.replace(placeholder, kPlaceholderText.length(), replacement);
for (size_t i = 0; i < description_styles.size(); ++i) {
if (description_styles[i].offset > placeholder)
description_styles[i].offset += replacement.length() - 2;
}
}
match->contents.assign(description);
}
} // namespace extensions
| [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
26d7cf3ff4313dbb7efd5683b26bd7224920c417 | fe2836176ca940977734312801f647c12e32a297 | /UVa/Data Structures and Libraries/Data Structures with Our-Own Libraries/Graph Data Structures Problems/599 - The Forrest for the Trees/599.cpp | aaf1e31bfa62c07a2a0e13951fbc1da371efd3a0 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> g[26];
bool has[26];
int tree, acorn;
bool has_cycle, visited[26];
void dfs(int u, int par)
{
visited[u] = true;
for(int i : g[u]) {
if(visited[i] == true && i != par) {
has_cycle = true;
} else if(visited[i] == false){
dfs(i, u);
}
}
}
int main()
{
int ncase;
scanf("%d", &ncase);
while(ncase--) {
tree = 0, acorn = 0;
memset(has, false, sizeof(has));
for(int i = 0; i < 26; i++)
g[i].clear();
char inp[1000];
while(scanf("%s", inp) == 1) {
if(inp[0] == '*')
break;
g[inp[1] - 'A'].push_back(inp[3] - 'A');
g[inp[3] - 'A'].push_back(inp[1] - 'A');
}
scanf("%s", inp);
for(int i = 0; inp[i] != '\0'; i++) {
if('A' <= inp[i] && inp[i] <= 'Z') {
has[inp[i] - 'A'] = true;
}
}
for(int i = 0; i < 26; i++) {
if(has[i] == true && g[i].size() == 0)
acorn++;
}
memset(visited, false, sizeof(visited));
for(int i = 0; i < 26; i++) {
has_cycle = false;
if(has[i] == true && g[i].size() > 0 && visited[i] == false) {
dfs(i, -1);
if(has_cycle == false)
tree++;
}
}
printf("There are %d tree(s) and %d acorn(s).\n", tree, acorn);
}
return 0;
}
| [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
04dd859e3ff83934b6bea54feca97c364f25c95f | 086faaf44bae566033ee44f377341d5280d47d4f | /141.cpp | 94b80f85f6f42eb2f5ea9d3476f731d4f718900f | [] | no_license | guhaohit/leetcode | 486fcddd7e517b94600447d739cbb76aa705e3b9 | 707c9955b3e5b85875b1881e76f480adfcc2c799 | refs/heads/master | 2021-01-17T05:58:31.854317 | 2015-11-23T14:11:23 | 2015-11-23T14:11:23 | 29,893,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool hasCycle(ListNode *head) {
if(head == NULL)
return false;
ListNode *fast = head;
ListNode *low = head;
while(true){
if(low->next == NULL || fast->next == NULL)
return false;
low = low->next;
fast = fast->next;
if(fast->next == NULL)
return false;
else
fast = fast->next;
if(fast == low)
return true;
}
}
}; | [
"ghgh_576290605@qq.com"
] | ghgh_576290605@qq.com |
92daa1fe5bb7b8238b98b378314e0b9529dfdb8d | 17adb0e72c9dd190124a8d21171d9c8fcb23e333 | /ui/CxRunCtrl/Varutils.cpp | 4b7e399c7ec9edbd221830c90451bc93871403af | [
"MIT"
] | permissive | jafo2128/SuperCxHMI | 16dc0abb56da80db0f207d9194a37258575276b5 | 5a5afe2de68dc9a0c06e2eec945a579467ef51ff | refs/heads/master | 2020-04-01T16:30:20.771434 | 2016-02-06T00:40:53 | 2016-02-06T00:40:53 | 48,529,344 | 1 | 0 | null | 2015-12-24T06:45:45 | 2015-12-24T06:45:45 | null | UTF-8 | C++ | false | false | 2,721 | cpp | #include "stdafx.h"
#include "RunInc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
class INVOKEKIND_ENTRY
{
public:
LPCTSTR pszName;
INVOKEKIND invokekind;
};
static INVOKEKIND_ENTRY g_aInvokeKinds[] =
{
{ _T( "Method" ), INVOKE_FUNC },
{ _T( "PropGet" ), INVOKE_PROPERTYGET },
{ _T( "PropPut" ), INVOKE_PROPERTYPUT },
{ _T( "PropPutRef" ), INVOKE_PROPERTYPUTREF }
};
const int NUM_INVOKEKINDS = sizeof( g_aInvokeKinds )/sizeof(
g_aInvokeKinds[0] );
LPCTSTR InvokeKindToString( INVOKEKIND invokekind )
{
int iInvokeKind;
for( iInvokeKind = 0; iInvokeKind < NUM_INVOKEKINDS; iInvokeKind++ )
{
if( g_aInvokeKinds[iInvokeKind].invokekind == invokekind )
{
return( g_aInvokeKinds[iInvokeKind].pszName );
}
}
return( NULL );
}
class VARTYPE_ENTRY
{
public:
LPCTSTR pszName;
VARTYPE vt;
};
static VARTYPE_ENTRY g_aVarTypes[] =
{
{ _T( "VT_EMPTY" ), VT_EMPTY },
{ _T( "VT_BOOL" ), VT_BOOL },
{ _T( "VT_UI1" ), VT_UI1 },
{ _T( "VT_UI2" ), VT_UI2 },
{ _T( "VT_UI4" ), VT_UI4 },
{ _T( "VT_UI8" ), VT_UI8 },
{ _T( "VT_I1" ), VT_I1 },
{ _T( "VT_I2" ), VT_I2 },
{ _T( "VT_I4" ), VT_I4 },
{ _T( "VT_I8" ), VT_I8 },
{ _T( "VT_R4" ), VT_R4 },
{ _T( "VT_R8" ), VT_R8 },
{ _T( "VT_BSTR" ), VT_BSTR },
{ _T( "VT_CY" ), VT_CY },
{ _T( "VT_DATE" ), VT_DATE },
{ _T( "VT_ERROR" ), VT_ERROR },
{ _T( "VT_COLOR" ), VT_COLOR },
{ _T( "VT_FONT" ), VT_FONT },
{ _T( "VT_UNKNOWN" ), VT_UNKNOWN }
};
LPCTSTR VTIToString( int iType )
{
return( g_aVarTypes[iType].pszName );
}
VARTYPE VTIToVT( int iType )
{
return( g_aVarTypes[iType].vt );
}
LPCTSTR VTToString( VARTYPE vt )
{
int iType;
for( iType = 0; iType < NUM_VARTYPES; iType++ )
{
if( g_aVarTypes[iType].vt == vt )
{
return( g_aVarTypes[iType].pszName );
}
}
return( NULL );
}
int VTToVTI( VARTYPE vt )
{
int iType;
for( iType = 0; iType < NUM_VARTYPES; iType++ )
{
if( g_aVarTypes[iType].vt == vt )
{
return( iType );
}
}
return( -1 );
}
CString VariantToString( const VARIANT& var )
{
USES_CONVERSION;
CString strResult;
COleVariant varString;
BOOL tHandled;
tHandled = FALSE;
switch( var.vt )
{
case VT_BOOL:
if( var.boolVal == VARIANT_FALSE )
{
strResult = _T( "FALSE" );
}
else
{
strResult = _T( "TRUE" );
}
tHandled = TRUE;
break;
}
if( !tHandled )
{
varString = var;
TRY
{
varString.ChangeType( VT_BSTR );
}
CATCH( COleException, e )
{
TRACE( "ChangeType() failed.\n" );
}
END_CATCH
strResult = varString.bstrVal;
}
return( strResult );
}
| [
"qinyong99@126.com"
] | qinyong99@126.com |
87f135e5372b438921be770c4130c8959660e054 | 625d8f6db8cf475acdbd851c2078ba1a28ded023 | /src/Drawing.h | 6842c84752c2a1027ae76ccc425a277a093c656f | [] | no_license | luanapatriciac/CorrigeEtape8 | 92df5277dc64b486f97dd2c29e11b8ace367ec86 | 8096cda60fce1bb455c064a53102550f3e09a0a0 | refs/heads/main | 2023-03-20T02:07:27.763292 | 2021-03-12T17:17:56 | 2021-03-12T17:17:56 | 320,060,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | #pragma once
#include "Group.h"
#include "SFML_output.h"
class Drawing
{
public:
Drawing(pugi::xml_node node);
void print(std::ostream &stream) const;
void draw(SFML_output & out) const;
private:
Group group;
};
std::ostream &operator<<(std::ostream &stream, Drawing const& d);
| [
"52115435+luanapatriciac@users.noreply.github.com"
] | 52115435+luanapatriciac@users.noreply.github.com |
222fd78a30a831eb7ba31876a59a03b6944a7c02 | 22c330290355f9f8efd9c4a6dad346036932cc61 | /sample19.cpp | be2daa092aa75aceb3b482d7a3f32fecd057abf1 | [
"MIT"
] | permissive | sunjinbo/wapiti | 394411dc893eb7edae3e2f669b970e70953aa518 | b7cb8b0007f9df708522da74a233541dd4e24afa | refs/heads/main | 2023-07-04T21:18:08.368766 | 2021-08-27T13:07:14 | 2021-08-27T13:07:14 | 329,784,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | // 多态
#include <iostream>
using namespace std;
class Shape {
protected:
int width, height;
public:
Shape( int a=0, int b=0)
{
width = a;
height = b;
}
int area()
{
cout << "Parent class area :" <<endl;
return 0;
}
};
class Rectangle: public Shape{
public:
Rectangle( int a=0, int b=0):Shape(a, b) { }
int area ()
{
cout << "Rectangle class area :" <<endl;
return (width * height);
}
};
class Triangle: public Shape{
public:
Triangle( int a=0, int b=0):Shape(a, b) { }
int area ()
{
cout << "Triangle class area :" <<endl;
return (width * height / 2);
}
};
// 程序的主函数
int main( )
{
Shape *shape;
Rectangle rec(10,7);
Triangle tri(10,5);
// 存储矩形的地址
shape = &rec;
// 调用矩形的求面积函数 area
shape->area();
// 存储三角形的地址
shape = &tri;
// 调用三角形的求面积函数 area
shape->area();
return 0;
} | [
"sunjinbo@360.cn"
] | sunjinbo@360.cn |
e9abf647fe94adcd141e69bd15812d694ce2f0e0 | 8221833a33265d21e0704a0f7b7cac609228fa33 | /common_hw_libs/h264/at/h264dec_at/ldecod/src/mbuffer.cpp | 1699aa084fe22f3447d17e8d2c35b1f90cccef5d | [] | no_license | jonmcdonald/jpeg_platform | 3a0f95e127bffaee854a08276f85155c4a8c8762 | ab3d7139fac1e544bcdd8e0891646864a8391909 | refs/heads/master | 2021-01-18T00:50:13.341631 | 2016-01-19T20:44:02 | 2016-01-19T20:44:02 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 95,684 | cpp |
/*!
***********************************************************************
* \file
* mbuffer.c
*
* \brief
* Frame buffer functions
*
* \author
* Main contributors (see contributors.h for copyright, address and affiliation details)
* - Karsten Sühring <suehring@hhi.de>
* - Alexis Tourapis <alexismt@ieee.org>
***********************************************************************
*/
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include "global.h"
#include "mbuffer.h"
#include "memalloc.h"
#include "output.h"
#include "image.h"
static void insert_picture_in_dpb(FrameStore* fs, StorablePicture* p);
static void output_one_frame_from_dpb();
static int is_used_for_reference(FrameStore* fs);
static void get_smallest_poc(int *poc,int * pos);
static int remove_unused_frame_from_dpb();
static int is_short_term_reference(FrameStore* fs);
static int is_long_term_reference(FrameStore* fs);
DecodedPictureBuffer dpb;
StorablePicture **listX[6];
extern StorablePicture *dec_picture;
int listXsize[6];
#define MAX_LIST_SIZE 33
/*!
************************************************************************
* \brief
* Print out list of pictures in DPB. Used for debug purposes.
************************************************************************
*/
void dump_dpb()
{
unsigned i;
return;
for (i=0; i<dpb.used_size;i++)
{
printf("(");
printf("fn=%d ", dpb.fs[i]->frame_num);
if (dpb.fs[i]->is_used & 1)
printf("T: poc=%d ", dpb.fs[i]->top_field->poc);
if (dpb.fs[i]->is_used & 2)
printf("B: poc=%d ", dpb.fs[i]->bottom_field->poc);
if (dpb.fs[i]->is_used == 3)
printf("F: poc=%d ", dpb.fs[i]->frame->poc);
printf("G: poc=%d) ", dpb.fs[i]->poc);
if (dpb.fs[i]->is_reference) printf ("ref ");
if (dpb.fs[i]->is_output) printf ("out ");
printf ("\n");
}
}
/*!
************************************************************************
* \brief
* Returns the size of the dpb depending on level and picture size
*
*
************************************************************************
*/
int getDpbSize()
{
int pic_size = (active_sps->pic_width_in_mbs_minus1 + 1) * (active_sps->pic_height_in_map_units_minus1 + 1) * (active_sps->frame_mbs_only_flag?1:2) * 384;
switch (active_sps->level_idc)
{
case 10:
return 152064 / pic_size;
case 11:
return 345600 / pic_size;
case 12:
return 912384 / pic_size;
case 13:
return 912384 / pic_size;
case 20:
return 912384 / pic_size;
case 21:
return 1824768 / pic_size;
case 22:
return 3110400 / pic_size;
case 30:
return 3110400 / pic_size;
case 31:
return 6912000 / pic_size;
case 32:
return 7864320 / pic_size;
case 40:
return 12582912 / pic_size;
case 41:
return 12582912 / pic_size;
case 42:
return 12582912 / pic_size;
case 50:
return 42393600 / pic_size;
case 51:
return 70778880 / pic_size;
default:
error ("undefined level", 500);
}
return 0;
}
/*!
************************************************************************
* \brief
* Allocate memory for decoded picture buffer an initialize with sane values.
*
************************************************************************
*/
void init_dpb()
{
unsigned i,j;
if (dpb.init_done)
{
free_dpb();
}
dpb.size = getDpbSize();
if (0==dpb.size)
{
printf("warning: DPB size of zero frames at specified level / frame size. Decoding may fail.\n");
}
// dpb.size = input->dpb_size;
dpb.used_size = 0;
dpb.last_picture = NULL;
dpb.ref_frames_in_buffer = 0;
dpb.ltref_frames_in_buffer = 0;
#ifdef ESLCPP
dpb.fs = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
dpb.fs = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==dpb.fs)
no_mem_exit("init_dpb: dpb->fs");
#ifdef ESLCPP
dpb.fs_ref = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
dpb.fs_ref = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==dpb.fs_ref)
no_mem_exit("init_dpb: dpb->fs_ref");
#ifdef ESLCPP
dpb.fs_ltref = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
dpb.fs_ltref = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==dpb.fs_ltref)
no_mem_exit("init_dpb: dpb->fs_ltref");
for (i=0; i<dpb.size; i++)
{
dpb.fs[i] = alloc_frame_store();
dpb.fs_ref[i] = NULL;
dpb.fs_ltref[i] = NULL;
}
for (i=0; i<6; i++)
{
#ifdef ESLCPP
listX[i] = (StorablePicture**)calloc(MAX_LIST_SIZE, sizeof (StorablePicture*)); // +1 for reordering
#else
listX[i] = calloc(MAX_LIST_SIZE, sizeof (StorablePicture*)); // +1 for reordering
#endif
if (NULL==listX[i])
no_mem_exit("init_dpb: listX[i]");
}
for (j=0;j<6;j++)
{
for (i=0; i<MAX_LIST_SIZE; i++)
{
listX[j][i] = NULL;
}
listXsize[j]=0;
}
dpb.last_output_poc = INT_MIN;
img->last_has_mmco_5 = 0;
dpb.init_done = 1;
}
/*!
************************************************************************
* \brief
* Free memory for decoded picture buffer.
************************************************************************
*/
void free_dpb()
{
unsigned i;
if (dpb.fs)
{
for (i=0; i<dpb.size; i++)
{
free_frame_store(dpb.fs[i]);
}
free (dpb.fs);
dpb.fs=NULL;
}
if (dpb.fs_ref)
{
free (dpb.fs_ref);
}
if (dpb.fs_ltref)
{
free (dpb.fs_ltref);
}
dpb.last_output_poc = INT_MIN;
for (i=0; i<6; i++)
if (listX[i])
{
free (listX[i]);
listX[i] = NULL;
}
dpb.init_done = 0;
}
/*!
************************************************************************
* \brief
* Allocate memory for decoded picture buffer frame stores an initialize with sane values.
*
* \return
* the allocated FrameStore structure
************************************************************************
*/
FrameStore* alloc_frame_store()
{
FrameStore *f;
#ifdef ESLCPP
f = (FrameStore*)calloc (1, sizeof(FrameStore));
#else
f = calloc (1, sizeof(FrameStore));
#endif
if (NULL==f)
no_mem_exit("alloc_frame_store: f");
f->is_used = 0;
f->is_reference = 0;
f->is_long_term = 0;
f->is_output = 0;
f->frame = NULL;;
f->top_field = NULL;
f->bottom_field = NULL;
return f;
}
/*!
************************************************************************
* \brief
* Allocate memory for a stored picture.
*
* \param structure
* picture structure
* \param size_x
* horizontal luma size
* \param size_y
* vertical luma size
* \param size_x_cr
* horizontal chroma size
* \param size_y_cr
* vertical chroma size
*
* \return
* the allocated StorablePicture structure
************************************************************************
*/
StorablePicture* alloc_storable_picture(PictureStructure structure, int size_x, int size_y, int size_x_cr, int size_y_cr)
{
StorablePicture *s;
//printf ("Allocating (%s) picture (x=%d, y=%d, x_cr=%d, y_cr=%d)\n", (type == FRAME)?"FRAME":(type == TOP_FIELD)?"TOP_FIELD":"BOTTOM_FIELD", size_x, size_y, size_x_cr, size_y_cr);
#ifdef ESLCPP
s = (StorablePicture*)calloc (1, sizeof(StorablePicture));
#else
s = calloc (1, sizeof(StorablePicture));
#endif
if (NULL==s)
no_mem_exit("alloc_storable_picture: s");
get_mem2D (&(s->imgY), size_y, size_x);
get_mem3D (&(s->imgUV), 2, size_y_cr, size_x_cr );
#ifdef ESLCPP
s->mb_field = (byte*)calloc (img->PicSizeInMbs, sizeof(int));
#else
s->mb_field = calloc (img->PicSizeInMbs, sizeof(int));
#endif
get_mem3Dint (&(s->ref_idx), 2, size_x / BLOCK_SIZE, size_y / BLOCK_SIZE);
get_mem3Dint64 (&(s->ref_pic_id), 2, size_x / BLOCK_SIZE, size_y / BLOCK_SIZE);
get_mem3Dint64 (&(s->ref_poc), 2, size_x / BLOCK_SIZE, size_y / BLOCK_SIZE);
get_mem4Dint (&(s->mv), 2, size_x / BLOCK_SIZE, size_y / BLOCK_SIZE,2 );
get_mem2D (&(s->moving_block), size_x / BLOCK_SIZE, size_y / BLOCK_SIZE);
s->pic_num=0;
s->long_term_frame_idx=0;
s->long_term_pic_num=0;
s->used_for_reference=0;
s->is_long_term=0;
s->non_existing=0;
s->is_output = 0;
s->structure=structure;
s->size_x = size_x;
s->size_y = size_y;
s->size_x_cr = size_x_cr;
s->size_y_cr = size_y_cr;
s->top_field = NULL;
s->bottom_field = NULL;
s->frame = NULL;
s->coded_frame = 0;
s->mb_adaptive_frame_field_flag = 0;
return s;
}
/*!
************************************************************************
* \brief
* Free frame store memory.
*
* \param f
* FrameStore to be freed
*
************************************************************************
*/
void free_frame_store(FrameStore* f)
{
if (f)
{
if (f->frame)
{
free_storable_picture(f->frame);
f->frame=NULL;
}
if (f->top_field)
{
free_storable_picture(f->top_field);
f->top_field=NULL;
}
if (f->bottom_field)
{
free_storable_picture(f->bottom_field);
f->bottom_field=NULL;
}
free(f);
}
}
/*!
************************************************************************
* \brief
* Free picture memory.
*
* \param p
* Picture to be freed
*
************************************************************************
*/
void free_storable_picture(StorablePicture* p)
{
if (p)
{
free_mem3Dint (p->ref_idx, 2);
free_mem3Dint64 (p->ref_pic_id, 2);
free_mem3Dint64 (p->ref_poc, 2);
free_mem4Dint (p->mv, 2, p->size_x / BLOCK_SIZE);
if (p->moving_block)
{
free_mem2D (p->moving_block);
p->moving_block=NULL;
}
if (p->imgY)
{
free_mem2D (p->imgY);
p->imgY=NULL;
}
if (p->imgUV)
{
free_mem3D (p->imgUV, 2);
p->imgUV=NULL;
}
free(p->mb_field);
free(p);
}
}
/*!
************************************************************************
* \brief
* mark FrameStore unused for reference
*
************************************************************************
*/
static void unmark_for_reference(FrameStore* fs)
{
if (fs->is_used & 1)
{
fs->top_field->used_for_reference = 0;
}
if (fs->is_used & 2)
{
fs->bottom_field->used_for_reference = 0;
}
if (fs->is_used == 3)
{
fs->frame->used_for_reference = 0;
}
fs->is_reference = 0;
}
/*!
************************************************************************
* \brief
* mark FrameStore unused for reference and reset long term flags
*
************************************************************************
*/
static void unmark_for_long_term_reference(FrameStore* fs)
{
if (fs->is_used & 1)
{
fs->top_field->used_for_reference = 0;
fs->top_field->is_long_term = 0;
}
if (fs->is_used & 2)
{
fs->bottom_field->used_for_reference = 0;
fs->bottom_field->is_long_term = 0;
}
if (fs->is_used == 3)
{
fs->frame->used_for_reference = 0;
fs->frame->is_long_term = 0;
}
fs->is_reference = 0;
fs->is_long_term = 0;
}
/*!
************************************************************************
* \brief
* compares two stored pictures by picture number for qsort in descending order
*
************************************************************************
*/
static int compare_pic_by_pic_num_desc( const void *arg1, const void *arg2 )
{
if ( (*(StorablePicture**)arg1)->pic_num < (*(StorablePicture**)arg2)->pic_num)
return 1;
if ( (*(StorablePicture**)arg1)->pic_num > (*(StorablePicture**)arg2)->pic_num)
return -1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two stored pictures by picture number for qsort in descending order
*
************************************************************************
*/
static int compare_pic_by_lt_pic_num_asc( const void *arg1, const void *arg2 )
{
if ( (*(StorablePicture**)arg1)->long_term_pic_num < (*(StorablePicture**)arg2)->long_term_pic_num)
return -1;
if ( (*(StorablePicture**)arg1)->long_term_pic_num > (*(StorablePicture**)arg2)->long_term_pic_num)
return 1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two frame stores by pic_num for qsort in descending order
*
************************************************************************
*/
static int compare_fs_by_frame_num_desc( const void *arg1, const void *arg2 )
{
if ( (*(FrameStore**)arg1)->frame_num_wrap < (*(FrameStore**)arg2)->frame_num_wrap)
return 1;
if ( (*(FrameStore**)arg1)->frame_num_wrap > (*(FrameStore**)arg2)->frame_num_wrap)
return -1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two frame stores by lt_pic_num for qsort in descending order
*
************************************************************************
*/
static int compare_fs_by_lt_pic_idx_asc( const void *arg1, const void *arg2 )
{
if ( (*(FrameStore**)arg1)->long_term_frame_idx < (*(FrameStore**)arg2)->long_term_frame_idx)
return -1;
if ( (*(FrameStore**)arg1)->long_term_frame_idx > (*(FrameStore**)arg2)->long_term_frame_idx)
return 1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two stored pictures by poc for qsort in ascending order
*
************************************************************************
*/
static int compare_pic_by_poc_asc( const void *arg1, const void *arg2 )
{
if ( (*(StorablePicture**)arg1)->poc < (*(StorablePicture**)arg2)->poc)
return -1;
if ( (*(StorablePicture**)arg1)->poc > (*(StorablePicture**)arg2)->poc)
return 1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two stored pictures by poc for qsort in descending order
*
************************************************************************
*/
static int compare_pic_by_poc_desc( const void *arg1, const void *arg2 )
{
if ( (*(StorablePicture**)arg1)->poc < (*(StorablePicture**)arg2)->poc)
return 1;
if ( (*(StorablePicture**)arg1)->poc > (*(StorablePicture**)arg2)->poc)
return -1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two frame stores by poc for qsort in ascending order
*
************************************************************************
*/
static int compare_fs_by_poc_asc( const void *arg1, const void *arg2 )
{
if ( (*(FrameStore**)arg1)->poc < (*(FrameStore**)arg2)->poc)
return -1;
if ( (*(FrameStore**)arg1)->poc > (*(FrameStore**)arg2)->poc)
return 1;
else
return 0;
}
/*!
************************************************************************
* \brief
* compares two frame stores by poc for qsort in descending order
*
************************************************************************
*/
static int compare_fs_by_poc_desc( const void *arg1, const void *arg2 )
{
if ( (*(FrameStore**)arg1)->poc < (*(FrameStore**)arg2)->poc)
return 1;
if ( (*(FrameStore**)arg1)->poc > (*(FrameStore**)arg2)->poc)
return -1;
else
return 0;
}
/*!
************************************************************************
* \brief
* returns true, if picture is short term reference picture
*
************************************************************************
*/
int is_short_ref(StorablePicture *s)
{
return ((s->used_for_reference) && (!(s->is_long_term)));
}
/*!
************************************************************************
* \brief
* returns true, if picture is long term reference picture
*
************************************************************************
*/
int is_long_ref(StorablePicture *s)
{
return ((s->used_for_reference) && (s->is_long_term));
}
/*!
************************************************************************
* \brief
* Generates a alternating field list from a given FrameStore list
*
************************************************************************
*/
static void gen_pic_list_from_frame_list(PictureStructure currStrcture, FrameStore **fs_list, int list_idx, StorablePicture **list, int *list_size, int long_term)
{
int top_idx = 0;
int bot_idx = 0;
int (*is_ref)(StorablePicture *s);
if (long_term)
is_ref=is_long_ref;
else
is_ref=is_short_ref;
if (currStrcture == TOP_FIELD)
{
while ((top_idx<list_idx)||(bot_idx<list_idx))
{
for ( ; top_idx<list_idx; top_idx++)
{
if(fs_list[top_idx]->is_used & 1)
{
if(is_ref(fs_list[top_idx]->top_field))
{
// short term ref pic
list[*list_size] = fs_list[top_idx]->top_field;
(*list_size)++;
top_idx++;
break;
}
}
}
for ( ; bot_idx<list_idx; bot_idx++)
{
if(fs_list[bot_idx]->is_used & 2)
{
if(is_ref(fs_list[bot_idx]->bottom_field))
{
// short term ref pic
list[*list_size] = fs_list[bot_idx]->bottom_field;
(*list_size)++;
bot_idx++;
break;
}
}
}
}
}
if (currStrcture == BOTTOM_FIELD)
{
while ((top_idx<list_idx)||(bot_idx<list_idx))
{
for ( ; bot_idx<list_idx; bot_idx++)
{
if(fs_list[bot_idx]->is_used & 2)
{
if(is_ref(fs_list[bot_idx]->bottom_field))
{
// short term ref pic
list[*list_size] = fs_list[bot_idx]->bottom_field;
(*list_size)++;
bot_idx++;
break;
}
}
}
for ( ; top_idx<list_idx; top_idx++)
{
if(fs_list[top_idx]->is_used & 1)
{
if(is_ref(fs_list[top_idx]->top_field))
{
// short term ref pic
list[*list_size] = fs_list[top_idx]->top_field;
(*list_size)++;
top_idx++;
break;
}
}
}
}
}
}
/*!
************************************************************************
* \brief
* Initialize listX[0] and list 1 depending on current picture type
*
************************************************************************
*/
void init_lists(int currSliceType, PictureStructure currPicStructure)
{
int add_top = 0, add_bottom = 0;
unsigned i;
int j;
int MaxFrameNum = 1 << (active_sps->log2_max_frame_num_minus4 + 4);
int diff;
int list0idx = 0;
int list0idx_1 = 0;
int listltidx = 0;
FrameStore **fs_list0;
FrameStore **fs_list1;
FrameStore **fs_listlt;
StorablePicture *tmp_s;
if (currPicStructure == FRAME)
{
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used==3)
{
if ((dpb.fs_ref[i]->frame->used_for_reference)&&(!dpb.fs_ref[i]->frame->is_long_term))
{
if( dpb.fs_ref[i]->frame_num > img->frame_num )
{
dpb.fs_ref[i]->frame_num_wrap = dpb.fs_ref[i]->frame_num - MaxFrameNum;
}
else
{
dpb.fs_ref[i]->frame_num_wrap = dpb.fs_ref[i]->frame_num;
}
dpb.fs_ref[i]->frame->pic_num = dpb.fs_ref[i]->frame_num_wrap;
dpb.fs_ref[i]->frame->order_num=list0idx;
}
}
}
}
else
{
if (currPicStructure == TOP_FIELD)
{
add_top = 1;
add_bottom = 0;
}
else
{
add_top = 0;
add_bottom = 1;
}
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_reference)
{
if( dpb.fs_ref[i]->frame_num > img->frame_num )
{
dpb.fs_ref[i]->frame_num_wrap = dpb.fs_ref[i]->frame_num - MaxFrameNum;
}
else
{
dpb.fs_ref[i]->frame_num_wrap = dpb.fs_ref[i]->frame_num;
}
if (dpb.fs_ref[i]->is_reference & 1)
{
dpb.fs_ref[i]->top_field->pic_num = (2 * dpb.fs_ref[i]->frame_num_wrap) + add_top;
}
if (dpb.fs_ref[i]->is_reference & 2)
{
dpb.fs_ref[i]->bottom_field->pic_num = (2 * dpb.fs_ref[i]->frame_num_wrap) + add_bottom;
}
}
}
}
if ((currSliceType == I_SLICE)||(currSliceType == SI_SLICE))
{
listXsize[0] = 0;
listXsize[1] = 0;
return;
}
if ((currSliceType == P_SLICE)||(currSliceType == SP_SLICE))
{
// Calculate FrameNumWrap and PicNum
if (currPicStructure == FRAME)
{
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used==3)
{
if ((dpb.fs_ref[i]->frame->used_for_reference)&&(!dpb.fs_ref[i]->frame->is_long_term))
{
listX[0][list0idx++] = dpb.fs_ref[i]->frame;
}
}
}
// order list 0 by PicNum
qsort((void *)listX[0], list0idx, sizeof(StorablePicture*), compare_pic_by_pic_num_desc);
listXsize[0] = list0idx;
// printf("listX[0] (PicNum): "); for (i=0; i<list0idx; i++){printf ("%d ", listX[0][i]->pic_num);} printf("\n");
// long term handling
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (dpb.fs_ltref[i]->is_used==3)
{
// if we have two fields, both must be long-term
dpb.fs_ltref[i]->frame->long_term_pic_num = dpb.fs_ltref[i]->frame->long_term_frame_idx;
dpb.fs_ltref[i]->frame->order_num=list0idx;
listX[0][list0idx++]=dpb.fs_ltref[i]->frame;
}
}
qsort((void *)&listX[0][listXsize[0]], list0idx-listXsize[0], sizeof(StorablePicture*), compare_pic_by_lt_pic_num_asc);
listXsize[0] = list0idx;
}
else
{
#ifdef ESLCPP
fs_list0 = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
fs_list0 = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==fs_list0)
no_mem_exit("init_lists: fs_list0");
#ifdef ESLCPP
fs_listlt = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
fs_listlt = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==fs_listlt)
no_mem_exit("init_lists: fs_listlt");
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_reference)
{
fs_list0[list0idx++] = dpb.fs_ref[i];
}
}
qsort((void *)fs_list0, list0idx, sizeof(FrameStore*), compare_fs_by_frame_num_desc);
// printf("fs_list0 (FrameNum): "); for (i=0; i<list0idx; i++){printf ("%d ", fs_list0[i]->frame_num_wrap);} printf("\n");
listXsize[0] = 0;
gen_pic_list_from_frame_list(currPicStructure, fs_list0, list0idx, listX[0], &listXsize[0], 0);
// printf("listX[0] (PicNum): "); for (i=0; i<listXsize[0]; i++){printf ("%d ", listX[0][i]->pic_num);} printf("\n");
// long term handling
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
fs_listlt[listltidx++]=dpb.fs_ltref[i];
if (dpb.fs_ltref[i]->is_long_term & 1)
{
dpb.fs_ltref[i]->top_field->long_term_pic_num = 2 * dpb.fs_ltref[i]->top_field->long_term_frame_idx + add_top;
}
if (dpb.fs_ltref[i]->is_long_term & 2)
{
dpb.fs_ltref[i]->bottom_field->long_term_pic_num = 2 * dpb.fs_ltref[i]->bottom_field->long_term_frame_idx + add_bottom;
}
}
qsort((void *)fs_listlt, listltidx, sizeof(FrameStore*), compare_fs_by_lt_pic_idx_asc);
gen_pic_list_from_frame_list(currPicStructure, fs_listlt, listltidx, listX[0], &listXsize[0], 1);
free(fs_list0);
free(fs_listlt);
}
listXsize[1] = 0;
}
else
{
// B-Slice
if (currPicStructure == FRAME)
{
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used==3)
{
if ((dpb.fs_ref[i]->frame->used_for_reference)&&(!dpb.fs_ref[i]->frame->is_long_term))
{
if (img->framepoc >= dpb.fs_ref[i]->frame->poc)
{
dpb.fs_ref[i]->frame->order_num=list0idx;
listX[0][list0idx++] = dpb.fs_ref[i]->frame;
}
}
}
}
qsort((void *)listX[0], list0idx, sizeof(StorablePicture*), compare_pic_by_poc_desc);
list0idx_1 = list0idx;
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used==3)
{
if ((dpb.fs_ref[i]->frame->used_for_reference)&&(!dpb.fs_ref[i]->frame->is_long_term))
{
if (img->framepoc < dpb.fs_ref[i]->frame->poc)
{
dpb.fs_ref[i]->frame->order_num=list0idx;
listX[0][list0idx++] = dpb.fs_ref[i]->frame;
}
}
}
}
qsort((void *)&listX[0][list0idx_1], list0idx-list0idx_1, sizeof(StorablePicture*), compare_pic_by_poc_asc);
for (j=0; j<list0idx_1; j++)
{
listX[1][list0idx-list0idx_1+j]=listX[0][j];
}
for (j=list0idx_1; j<list0idx; j++)
{
listX[1][j-list0idx_1]=listX[0][j];
}
listXsize[0] = listXsize[1] = list0idx;
// printf("listX[0] currPoc=%d (Poc): ", img->framepoc); for (i=0; i<listXsize[0]; i++){printf ("%d ", listX[0][i]->poc);} printf("\n");
// printf("listX[1] currPoc=%d (Poc): ", img->framepoc); for (i=0; i<listXsize[1]; i++){printf ("%d ", listX[1][i]->poc);} printf("\n");
// long term handling
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (dpb.fs_ltref[i]->is_used==3)
{
// if we have two fields, both must be long-term
dpb.fs_ltref[i]->frame->long_term_pic_num = dpb.fs_ltref[i]->frame->long_term_frame_idx;
dpb.fs_ltref[i]->frame->order_num=list0idx;
listX[0][list0idx] =dpb.fs_ltref[i]->frame;
listX[1][list0idx++]=dpb.fs_ltref[i]->frame;
}
}
qsort((void *)&listX[0][listXsize[0]], list0idx-listXsize[0], sizeof(StorablePicture*), compare_pic_by_lt_pic_num_asc);
qsort((void *)&listX[1][listXsize[0]], list0idx-listXsize[0], sizeof(StorablePicture*), compare_pic_by_lt_pic_num_asc);
listXsize[0] = listXsize[1] = list0idx;
}
else
{
#ifdef ESLCPP
fs_list0 = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
fs_list0 = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==fs_list0)
no_mem_exit("init_lists: fs_list0");
#ifdef ESLCPP
fs_list1 = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
fs_list1 = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==fs_list1)
no_mem_exit("init_lists: fs_list1");
#ifdef ESLCPP
fs_listlt = (FrameStore**)calloc(dpb.size, sizeof (FrameStore*));
#else
fs_listlt = calloc(dpb.size, sizeof (FrameStore*));
#endif
if (NULL==fs_listlt)
no_mem_exit("init_lists: fs_listlt");
listXsize[0] = 0;
listXsize[1] = 1;
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used)
{
if (img->ThisPOC >= dpb.fs_ref[i]->poc)
{
fs_list0[list0idx++] = dpb.fs_ref[i];
}
}
}
qsort((void *)fs_list0, list0idx, sizeof(FrameStore*), compare_fs_by_poc_desc);
list0idx_1 = list0idx;
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_used)
{
if (img->ThisPOC < dpb.fs_ref[i]->poc)
{
fs_list0[list0idx++] = dpb.fs_ref[i];
}
}
}
qsort((void *)&fs_list0[list0idx_1], list0idx-list0idx_1, sizeof(FrameStore*), compare_fs_by_poc_asc);
for (j=0; j<list0idx_1; j++)
{
fs_list1[list0idx-list0idx_1+j]=fs_list0[j];
}
for (j=list0idx_1; j<list0idx; j++)
{
fs_list1[j-list0idx_1]=fs_list0[j];
}
// printf("fs_list0 currPoc=%d (Poc): ", img->ThisPOC); for (i=0; i<list0idx; i++){printf ("%d ", fs_list0[i]->poc);} printf("\n");
// printf("fs_list1 currPoc=%d (Poc): ", img->ThisPOC); for (i=0; i<list0idx; i++){printf ("%d ", fs_list1[i]->poc);} printf("\n");
listXsize[0] = 0;
listXsize[1] = 0;
gen_pic_list_from_frame_list(currPicStructure, fs_list0, list0idx, listX[0], &listXsize[0], 0);
gen_pic_list_from_frame_list(currPicStructure, fs_list1, list0idx, listX[1], &listXsize[1], 0);
// printf("listX[0] currPoc=%d (Poc): ", img->framepoc); for (i=0; i<listXsize[0]; i++){printf ("%d ", listX[0][i]->poc);} printf("\n");
// printf("listX[1] currPoc=%d (Poc): ", img->framepoc); for (i=0; i<listXsize[1]; i++){printf ("%d ", listX[1][i]->poc);} printf("\n");
// long term handling
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
fs_listlt[listltidx++]=dpb.fs_ltref[i];
if (dpb.fs_ltref[i]->is_long_term & 1)
{
dpb.fs_ltref[i]->top_field->long_term_pic_num = 2 * dpb.fs_ltref[i]->top_field->long_term_frame_idx + add_top;
}
if (dpb.fs_ltref[i]->is_long_term & 2)
{
dpb.fs_ltref[i]->bottom_field->long_term_pic_num = 2 * dpb.fs_ltref[i]->bottom_field->long_term_frame_idx + add_bottom;
}
}
qsort((void *)fs_listlt, listltidx, sizeof(FrameStore*), compare_fs_by_lt_pic_idx_asc);
gen_pic_list_from_frame_list(currPicStructure, fs_listlt, listltidx, listX[0], &listXsize[0], 1);
gen_pic_list_from_frame_list(currPicStructure, fs_listlt, listltidx, listX[1], &listXsize[1], 1);
free(fs_list0);
free(fs_list1);
free(fs_listlt);
}
}
if ((listXsize[0] == listXsize[1]) && (listXsize[0] > 1))
{
// check if lists are identical, if yes swap first two elements of listX[1]
diff=0;
for (j = 0; j< listXsize[0]; j++)
{
if (listX[0][j]!=listX[1][j])
diff=1;
}
if (!diff)
{
tmp_s = listX[1][0];
listX[1][0]=listX[1][1];
listX[1][1]=tmp_s;
}
}
// set max size
listXsize[0] = min (listXsize[0], img->num_ref_idx_l0_active);
listXsize[1] = min (listXsize[1], img->num_ref_idx_l1_active);
// set the unused list entries to NULL
for (i=listXsize[0]; i< (MAX_LIST_SIZE) ; i++)
{
listX[0][i] = NULL;
}
for (i=listXsize[1]; i< (MAX_LIST_SIZE) ; i++)
{
listX[1][i] = NULL;
}
}
/*!
************************************************************************
* \brief
* Initilaize listX[2..5] from lists 0 and 1
* listX[2]: list0 for current_field==top
* listX[3]: list1 for current_field==top
* listX[4]: list0 for current_field==bottom
* listX[5]: list1 for current_field==bottom
*
************************************************************************
*/
void init_mbaff_lists()
{
unsigned j;
int i;
for (i=2;i<6;i++)
{
for (j=0; j<MAX_LIST_SIZE; j++)
{
listX[i][j] = NULL;
}
listXsize[i]=0;
}
for (i=0; i<listXsize[0]; i++)
{
listX[2][2*i] =listX[0][i]->top_field;
listX[2][2*i+1]=listX[0][i]->bottom_field;
listX[4][2*i] =listX[0][i]->bottom_field;
listX[4][2*i+1]=listX[0][i]->top_field;
}
listXsize[2]=listXsize[4]=listXsize[0] * 2;
for (i=0; i<listXsize[1]; i++)
{
listX[3][2*i] =listX[1][i]->top_field;
listX[3][2*i+1]=listX[1][i]->bottom_field;
listX[5][2*i] =listX[1][i]->bottom_field;
listX[5][2*i+1]=listX[1][i]->top_field;
}
listXsize[3]=listXsize[5]=listXsize[1] * 2;
}
/*!
************************************************************************
* \brief
* Returns short term pic with given picNum
*
************************************************************************
*/
static StorablePicture* get_short_term_pic(int picNum)
{
unsigned i;
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (img->structure==FRAME)
{
if (dpb.fs_ref[i]->is_reference == 3)
if ((!dpb.fs_ref[i]->frame->is_long_term)&&(dpb.fs_ref[i]->frame->pic_num == picNum))
return dpb.fs_ref[i]->frame;
}
else
{
if (dpb.fs_ref[i]->is_reference & 1)
if ((!dpb.fs_ref[i]->top_field->is_long_term)&&(dpb.fs_ref[i]->top_field->pic_num == picNum))
return dpb.fs_ref[i]->top_field;
if (dpb.fs_ref[i]->is_reference & 2)
if ((!dpb.fs_ref[i]->bottom_field->is_long_term)&&(dpb.fs_ref[i]->bottom_field->pic_num == picNum))
return dpb.fs_ref[i]->bottom_field;
}
}
return NULL;
}
/*!
************************************************************************
* \brief
* Returns short term pic with given LongtermPicNum
*
************************************************************************
*/
static StorablePicture* get_long_term_pic(int LongtermPicNum)
{
unsigned i;
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (img->structure==FRAME)
{
if (dpb.fs_ltref[i]->is_reference == 3)
if ((dpb.fs_ltref[i]->frame->is_long_term)&&(dpb.fs_ltref[i]->frame->long_term_pic_num == LongtermPicNum))
return dpb.fs_ltref[i]->frame;
}
else
{
if (dpb.fs_ltref[i]->is_reference & 1)
if ((dpb.fs_ltref[i]->top_field->is_long_term)&&(dpb.fs_ltref[i]->top_field->long_term_pic_num == LongtermPicNum))
return dpb.fs_ltref[i]->top_field;
if (dpb.fs_ltref[i]->is_reference & 2)
if ((dpb.fs_ltref[i]->bottom_field->is_long_term)&&(dpb.fs_ltref[i]->bottom_field->long_term_pic_num == LongtermPicNum))
return dpb.fs_ltref[i]->bottom_field;
}
}
return NULL;
}
/*!
************************************************************************
* \brief
* Reordering process for short-term reference pictures
*
************************************************************************
*/
static void reorder_short_term(StorablePicture **RefPicListX, int num_ref_idx_lX_active_minus1, int picNumLX, int *refIdxLX)
{
int cIdx, nIdx;
StorablePicture *picLX;
picLX = get_short_term_pic(picNumLX);
for( cIdx = num_ref_idx_lX_active_minus1+1; cIdx > *refIdxLX; cIdx-- )
RefPicListX[ cIdx ] = RefPicListX[ cIdx - 1];
RefPicListX[ (*refIdxLX)++ ] = picLX;
nIdx = *refIdxLX;
for( cIdx = *refIdxLX; cIdx <= num_ref_idx_lX_active_minus1+1; cIdx++ )
if (RefPicListX[ cIdx ])
if( (RefPicListX[ cIdx ]->is_long_term ) || (RefPicListX[ cIdx ]->pic_num != picNumLX ))
RefPicListX[ nIdx++ ] = RefPicListX[ cIdx ];
}
/*!
************************************************************************
* \brief
* Reordering process for short-term reference pictures
*
************************************************************************
*/
static void reorder_long_term(StorablePicture **RefPicListX, int num_ref_idx_lX_active_minus1, int LongTermPicNum, int *refIdxLX)
{
int cIdx, nIdx;
StorablePicture *picLX;
picLX = get_long_term_pic(LongTermPicNum);
for( cIdx = num_ref_idx_lX_active_minus1+1; cIdx > *refIdxLX; cIdx-- )
RefPicListX[ cIdx ] = RefPicListX[ cIdx - 1];
RefPicListX[ (*refIdxLX)++ ] = picLX;
nIdx = *refIdxLX;
for( cIdx = *refIdxLX; cIdx <= num_ref_idx_lX_active_minus1+1; cIdx++ )
if( (!RefPicListX[ cIdx ]->is_long_term ) || (RefPicListX[ cIdx ]->long_term_pic_num != LongTermPicNum ))
RefPicListX[ nIdx++ ] = RefPicListX[ cIdx ];
}
/*!
************************************************************************
* \brief
* Reordering process for reference picture lists
*
************************************************************************
*/
void reorder_ref_pic_list(StorablePicture **list, int *list_size, int num_ref_idx_lX_active_minus1, int *remapping_of_pic_nums_idc, int *abs_diff_pic_num_minus1, int *long_term_pic_idx)
{
int i;
int maxPicNum, currPicNum, picNumLXNoWrap, picNumLXPred, picNumLX;
int refIdxLX = 0;
if (img->structure==FRAME)
{
maxPicNum = img->MaxFrameNum;
currPicNum = img->frame_num;
}
else
{
maxPicNum = 2 * img->MaxFrameNum;
currPicNum = 2 * img->frame_num + 1;
}
picNumLXPred = currPicNum;
for (i=0; remapping_of_pic_nums_idc[i]!=3; i++)
{
if (remapping_of_pic_nums_idc[i]>3)
error ("Invalid remapping_of_pic_nums_idc command", 500);
if (remapping_of_pic_nums_idc[i] < 2)
{
if (remapping_of_pic_nums_idc[i] == 0)
{
if( picNumLXPred - ( abs_diff_pic_num_minus1[i] + 1 ) < 0 )
picNumLXNoWrap = picNumLXPred - ( abs_diff_pic_num_minus1[i] + 1 ) + maxPicNum;
else
picNumLXNoWrap = picNumLXPred - ( abs_diff_pic_num_minus1[i] + 1 );
}
else // (remapping_of_pic_nums_idc[i] == 1)
{
if( picNumLXPred + ( abs_diff_pic_num_minus1[i] + 1 ) >= maxPicNum )
picNumLXNoWrap = picNumLXPred + ( abs_diff_pic_num_minus1[i] + 1 ) - maxPicNum;
else
picNumLXNoWrap = picNumLXPred + ( abs_diff_pic_num_minus1[i] + 1 );
}
picNumLXPred = picNumLXNoWrap;
if( picNumLXNoWrap > currPicNum )
picNumLX = picNumLXNoWrap - maxPicNum;
else
picNumLX = picNumLXNoWrap;
reorder_short_term(list, num_ref_idx_lX_active_minus1, picNumLX, &refIdxLX);
}
else //(remapping_of_pic_nums_idc[i] == 2)
{
reorder_long_term(list, num_ref_idx_lX_active_minus1, long_term_pic_idx[i], &refIdxLX);
}
}
// that's a definition
*list_size = num_ref_idx_lX_active_minus1 + 1;
}
/*!
************************************************************************
* \brief
* Update the list of frame stores that contain reference frames/fields
*
************************************************************************
*/
void update_ref_list()
{
unsigned i, j;
for (i=0, j=0; i<dpb.used_size; i++)
{
if (is_short_term_reference(dpb.fs[i]))
{
dpb.fs_ref[j++]=dpb.fs[i];
}
}
dpb.ref_frames_in_buffer = j;
while (j<dpb.size)
{
dpb.fs_ref[j++]=NULL;
}
}
/*!
************************************************************************
* \brief
* Update the list of frame stores that contain long-term reference
* frames/fields
*
************************************************************************
*/
void update_ltref_list()
{
unsigned i, j;
for (i=0, j=0; i<dpb.used_size; i++)
{
if (is_long_term_reference(dpb.fs[i]))
{
dpb.fs_ltref[j++]=dpb.fs[i];
}
}
dpb.ltref_frames_in_buffer=j;
while (j<dpb.size)
{
dpb.fs_ltref[j++]=NULL;
}
}
/*!
************************************************************************
* \brief
* Perform Memory management for idr pictures
*
************************************************************************
*/
static void idr_memory_management(StorablePicture* p)
{
unsigned i;
assert (img->idr_flag);
if (img->no_output_of_prior_pics_flag)
{
// free all stored pictures
for (i=0; i<dpb.used_size; i++)
{
// reset all reference settings
free_frame_store(dpb.fs[i]);
dpb.fs[i] = alloc_frame_store();
}
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
dpb.fs_ref[i]=NULL;
}
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
dpb.fs_ltref[i]=NULL;
}
dpb.used_size=0;
}
else
{
flush_dpb();
}
dpb.last_picture = NULL;
update_ref_list();
update_ltref_list();
dpb.last_output_poc = INT_MIN;
if (img->long_term_reference_flag)
{
dpb.max_long_term_pic_idx = 0;
p->is_long_term = 1;
p->long_term_frame_idx = 0;
}
else
{
dpb.max_long_term_pic_idx = -1;
p->is_long_term = 0;
}
}
/*!
************************************************************************
* \brief
* Perform Sliding window decoded reference picture marking process
*
************************************************************************
*/
static void sliding_window_memory_management(StorablePicture* p)
{
unsigned i;
assert (!img->idr_flag);
// if this is a reference pic with sliding sliding window, unmark first ref frame
if (dpb.ref_frames_in_buffer==active_sps->num_ref_frames - dpb.ltref_frames_in_buffer)
{
for (i=0; i<dpb.used_size;i++)
{
if (dpb.fs[i]->is_reference && (!(dpb.fs[i]->is_long_term)))
{
unmark_for_reference(dpb.fs[i]);
update_ref_list();
break;
}
}
}
p->is_long_term = 0;
}
/*!
************************************************************************
* \brief
* Calculate picNumX
************************************************************************
*/
static int get_pic_num_x (StorablePicture *p, int difference_of_pic_nums_minus1)
{
int currPicNum;
if (p->structure == FRAME)
currPicNum = img->frame_num;
else
currPicNum = 2 * img->frame_num + 1;
return currPicNum - (difference_of_pic_nums_minus1 + 1);
}
/*!
************************************************************************
* \brief
* Adaptive Memory Management: Mark short term picture unused
************************************************************************
*/
static void mm_unmark_short_term_for_reference(StorablePicture *p, int difference_of_pic_nums_minus1)
{
int picNumX;
unsigned i;
picNumX = get_pic_num_x(p, difference_of_pic_nums_minus1);
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (p->structure == FRAME)
{
if ((dpb.fs_ref[i]->is_reference==3) && (dpb.fs_ref[i]->is_long_term==0))
{
if (dpb.fs_ref[i]->frame->pic_num == picNumX)
{
unmark_for_reference(dpb.fs_ref[i]);
return;
}
}
}
else
{
if ((dpb.fs_ref[i]->is_reference & 1) && (!(dpb.fs_ref[i]->is_long_term & 1)))
{
if (dpb.fs_ref[i]->top_field->pic_num == picNumX)
{
dpb.fs_ref[i]->top_field->used_for_reference = 0;
dpb.fs_ref[i]->is_reference &= 2;
if (dpb.fs_ref[i]->is_used == 3)
{
dpb.fs_ref[i]->frame->used_for_reference = 0;
}
return;
}
}
if ((dpb.fs_ref[i]->is_reference & 2) && (!(dpb.fs_ref[i]->is_long_term & 2)))
{
if (dpb.fs_ref[i]->bottom_field->pic_num == picNumX)
{
dpb.fs_ref[i]->bottom_field->used_for_reference = 0;
dpb.fs_ref[i]->is_reference &= 1;
if (dpb.fs_ref[i]->is_used == 3)
{
dpb.fs_ref[i]->frame->used_for_reference = 0;
}
return;
}
}
}
}
}
/*!
************************************************************************
* \brief
* Adaptive Memory Management: Mark long term picture unused
************************************************************************
*/
static void mm_unmark_long_term_for_reference(StorablePicture *p, int long_term_pic_num)
{
unsigned i;
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (p->structure == FRAME)
{
if ((dpb.fs_ltref[i]->is_reference==3) && (dpb.fs_ltref[i]->is_long_term==3))
{
if (dpb.fs_ltref[i]->frame->long_term_pic_num == long_term_pic_num)
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
}
}
else
{
if ((dpb.fs_ltref[i]->is_reference & 1) && ((dpb.fs_ltref[i]->is_long_term & 1)))
{
if (dpb.fs_ltref[i]->top_field->long_term_pic_num == long_term_pic_num)
{
dpb.fs_ltref[i]->top_field->used_for_reference = 0;
dpb.fs_ltref[i]->top_field->is_long_term = 0;
dpb.fs_ltref[i]->is_reference &= 2;
dpb.fs_ltref[i]->is_long_term &= 2;
if (dpb.fs_ltref[i]->is_used == 3)
{
dpb.fs_ltref[i]->frame->used_for_reference = 0;
dpb.fs_ltref[i]->frame->is_long_term = 0;
}
return;
}
}
if ((dpb.fs_ltref[i]->is_reference & 2) && ((dpb.fs_ltref[i]->is_long_term & 2)))
{
if (dpb.fs_ltref[i]->bottom_field->long_term_pic_num == long_term_pic_num)
{
dpb.fs_ltref[i]->bottom_field->used_for_reference = 0;
dpb.fs_ltref[i]->bottom_field->is_long_term = 0;
dpb.fs_ltref[i]->is_reference &= 1;
dpb.fs_ltref[i]->is_long_term &= 1;
if (dpb.fs_ltref[i]->is_used == 3)
{
dpb.fs_ltref[i]->frame->used_for_reference = 0;
dpb.fs_ltref[i]->frame->is_long_term = 0;
}
return;
}
}
}
}
}
/*!
************************************************************************
* \brief
* Mark a long-term reference frame or complementary field pair unused for referemce
************************************************************************
*/
static void unmark_long_term_frame_for_reference_by_frame_idx(int long_term_frame_idx)
{
unsigned i;
for(i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (dpb.fs_ltref[i]->long_term_frame_idx == long_term_frame_idx)
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
}
/*!
************************************************************************
* \brief
* Mark a long-term reference field unused for referemce only if it's not
* the complementary field of the picture indicated by picNumX
************************************************************************
*/
static void unmark_long_term_field_for_reference_by_frame_idx(StorablePicture *p, int long_term_frame_idx, int picNumX)
{
unsigned i;
for(i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (dpb.fs_ltref[i]->long_term_frame_idx == long_term_frame_idx)
{
if (p->structure == TOP_FIELD)
{
if (!(dpb.fs_ltref[i]->is_reference == 3))
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
else
{
if (!(dpb.fs_ltref[i]->is_long_term == 2))
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
else
{
if (!(dpb.fs_ltref[i]->top_field->pic_num==picNumX))
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
}
}
if (p->structure == BOTTOM_FIELD)
{
if (!(dpb.fs_ltref[i]->is_reference == 3))
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
else
{
if (!(dpb.fs_ltref[i]->is_long_term == 1))
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
else
{
if (!(dpb.fs_ltref[i]->bottom_field->pic_num==picNumX))
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
}
}
}
}
}
}
/*!
************************************************************************
* \brief
* mark a picture as long-term reference
************************************************************************
*/
static void mark_pic_long_term(StorablePicture* p, int long_term_frame_idx, int picNumX)
{
unsigned i;
int add_top, add_bottom;
if (p->structure == FRAME)
{
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_reference == 3)
{
if ((!dpb.fs_ref[i]->frame->is_long_term)&&(dpb.fs_ref[i]->frame->pic_num == picNumX))
{
dpb.fs_ref[i]->long_term_frame_idx = dpb.fs_ref[i]->frame->long_term_frame_idx
= dpb.fs_ref[i]->top_field->long_term_frame_idx
= dpb.fs_ref[i]->bottom_field->long_term_frame_idx
= long_term_frame_idx;
dpb.fs_ref[i]->frame->long_term_pic_num = dpb.fs_ref[i]->top_field->long_term_pic_num
= dpb.fs_ref[i]->bottom_field->long_term_pic_num
= long_term_frame_idx;
dpb.fs_ref[i]->frame->is_long_term = dpb.fs_ref[i]->top_field->is_long_term
= dpb.fs_ref[i]->bottom_field->is_long_term
= 1;
dpb.fs_ref[i]->is_long_term = 3;
return;
}
}
}
printf ("Warning: reference frame for long term marking not found\n");
}
else
{
if (p->structure == TOP_FIELD)
{
add_top = 1;
add_bottom = 0;
}
else
{
add_top = 0;
add_bottom = 1;
}
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->is_reference & 1)
{
if ((!dpb.fs_ref[i]->top_field->is_long_term)&&(dpb.fs_ref[i]->top_field->pic_num == picNumX))
{
if ((dpb.fs_ref[i]->is_long_term) && (dpb.fs_ref[i]->long_term_frame_idx != long_term_frame_idx))
{
printf ("Warning: assigning long_term_frame_idx different from other field\n");
}
dpb.fs_ref[i]->long_term_frame_idx = dpb.fs_ref[i]->top_field->long_term_frame_idx
= long_term_frame_idx;
dpb.fs_ref[i]->top_field->long_term_pic_num = 2 * long_term_frame_idx + add_top;
dpb.fs_ref[i]->top_field->is_long_term = 1;
dpb.fs_ref[i]->is_long_term |= 1;
if (dpb.fs_ref[i]->is_long_term == 3)
{
dpb.fs_ref[i]->frame->is_long_term = 1;
dpb.fs_ref[i]->frame->long_term_frame_idx = dpb.fs_ref[i]->frame->long_term_pic_num = long_term_frame_idx;
}
return;
}
}
if (dpb.fs_ref[i]->is_reference & 2)
{
if ((!dpb.fs_ref[i]->bottom_field->is_long_term)&&(dpb.fs_ref[i]->bottom_field->pic_num == picNumX))
{
if ((dpb.fs_ref[i]->is_long_term) && (dpb.fs_ref[i]->long_term_frame_idx != long_term_frame_idx))
{
printf ("Warning: assigning long_term_frame_idx different from other field\n");
}
dpb.fs_ref[i]->long_term_frame_idx = dpb.fs_ref[i]->bottom_field->long_term_frame_idx
= long_term_frame_idx;
dpb.fs_ref[i]->bottom_field->long_term_pic_num = 2 * long_term_frame_idx + add_top;
dpb.fs_ref[i]->bottom_field->is_long_term = 1;
dpb.fs_ref[i]->is_long_term |= 2;
if (dpb.fs_ref[i]->is_long_term == 3)
{
dpb.fs_ref[i]->frame->is_long_term = 1;
dpb.fs_ref[i]->frame->long_term_frame_idx = dpb.fs_ref[i]->frame->long_term_pic_num = long_term_frame_idx;
}
return;
}
}
}
printf ("Warning: reference field for long term marking not found\n");
}
}
/*!
************************************************************************
* \brief
* Assign a long term frame index to a short term picture
************************************************************************
*/
static void mm_assign_long_term_frame_idx(StorablePicture* p, int difference_of_pic_nums_minus1, int long_term_frame_idx)
{
int picNumX;
picNumX = get_pic_num_x(p, difference_of_pic_nums_minus1);
// remove frames/fields with same long_term_frame_idx
if (p->structure == FRAME)
{
unmark_long_term_frame_for_reference_by_frame_idx(long_term_frame_idx);
}
else
{
unmark_long_term_field_for_reference_by_frame_idx(p, long_term_frame_idx, picNumX);
}
mark_pic_long_term(p, long_term_frame_idx, picNumX);
}
/*!
************************************************************************
* \brief
* Set new max long_term_frame_idx
************************************************************************
*/
void mm_update_max_long_term_frame_idx(int max_long_term_frame_idx_plus1)
{
unsigned i;
dpb.max_long_term_pic_idx = max_long_term_frame_idx_plus1 - 1;
// check for invalid frames
for (i=0; i<dpb.ltref_frames_in_buffer; i++)
{
if (dpb.fs_ltref[i]->long_term_frame_idx > dpb.max_long_term_pic_idx)
{
unmark_for_long_term_reference(dpb.fs_ltref[i]);
}
}
}
/*!
************************************************************************
* \brief
* Mark all long term reference pictures unused for reference
************************************************************************
*/
static void mm_unmark_all_long_term_for_reference ()
{
mm_update_max_long_term_frame_idx(0);
}
/*!
************************************************************************
* \brief
* Mark all short term reference pictures unused for reference
************************************************************************
*/
static void mm_unmark_all_short_term_for_reference ()
{
unsigned int i;
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
unmark_for_reference(dpb.fs_ref[i]);
}
update_ref_list();
}
/*!
************************************************************************
* \brief
* Mark the current picture used for long term reference
************************************************************************
*/
static void mm_mark_current_picture_long_term(StorablePicture *p, int long_term_frame_idx)
{
// remove long term pictures with same long_term_frame_idx
if (p->structure == FRAME)
{
unmark_long_term_frame_for_reference_by_frame_idx(long_term_frame_idx);
}
else
{
unmark_long_term_field_for_reference_by_frame_idx(p, long_term_frame_idx, 2 * p->pic_num + 1);
}
p->is_long_term = 1;
p->long_term_frame_idx = long_term_frame_idx;
}
/*!
************************************************************************
* \brief
* Perform Adaptive memory control decoded reference picture marking process
************************************************************************
*/
static void adaptive_memory_management(StorablePicture* p)
{
DecRefPicMarking_t *tmp_drpm;
img->last_has_mmco_5 = 0;
assert (!img->idr_flag);
assert (img->adaptive_ref_pic_buffering_flag);
while (img->dec_ref_pic_marking_buffer)
{
tmp_drpm = img->dec_ref_pic_marking_buffer;
switch (tmp_drpm->memory_management_control_operation)
{
case 0:
if (tmp_drpm->Next != NULL)
{
error ("memory_management_control_operation = 0 not last operation in buffer", 500);
}
break;
case 1:
mm_unmark_short_term_for_reference(p, tmp_drpm->difference_of_pic_nums_minus1);
update_ref_list();
break;
case 2:
mm_unmark_long_term_for_reference(p, tmp_drpm->long_term_pic_num);
update_ltref_list();
break;
case 3:
mm_assign_long_term_frame_idx(p, tmp_drpm->difference_of_pic_nums_minus1, tmp_drpm->long_term_frame_idx);
update_ref_list();
update_ltref_list();
break;
case 4:
mm_update_max_long_term_frame_idx (tmp_drpm->max_long_term_frame_idx_plus1);
update_ltref_list();
break;
case 5:
mm_unmark_all_short_term_for_reference();
mm_unmark_all_long_term_for_reference();
img->last_has_mmco_5 = 1;
break;
case 6:
mm_mark_current_picture_long_term(p, tmp_drpm->long_term_frame_idx);
break;
default:
error ("invalid memory_management_control_operation in buffer", 500);
}
img->dec_ref_pic_marking_buffer = tmp_drpm->Next;
free (tmp_drpm);
}
if ( img->last_has_mmco_5 )
{
img->frame_num = p->pic_num = 0;
p->poc = 0;
flush_dpb();
}
}
/*!
************************************************************************
* \brief
* Store a picture in DPB. This includes cheking for space in DPB and
* flushing frames.
* If we received a frame, we need to check for a new store, if we
* got a field, check if it's the second field of an already allocated
* store.
*
* \param p
* Picture to be stored
*
************************************************************************
*/
void store_picture_in_dpb(StorablePicture* p)
{
unsigned i;
int poc, pos;
// diagnostics
//printf ("Storing (%s) non-ref pic with frame_num #%d\n", (p->type == FRAME)?"FRAME":(p->type == TOP_FIELD)?"TOP_FIELD":"BOTTOM_FIELD", img->frame_num);
// if frame, check for new store,
assert (p!=NULL);
p->used_for_reference = (img->nal_reference_idc != 0);
img->last_has_mmco_5=0;
img->last_pic_bottom_field = img->bottom_field_flag;
if (img->idr_flag)
idr_memory_management(p);
else
{
// adaptive memory management
if (p->used_for_reference && (img->adaptive_ref_pic_buffering_flag))
adaptive_memory_management(p);
}
if ((p->structure==TOP_FIELD)||(p->structure==BOTTOM_FIELD))
{
// check for frame store with same pic_number
if (dpb.last_picture)
{
if ((int)dpb.last_picture->frame_num == p->pic_num)
{
if (((p->structure==TOP_FIELD)&&(dpb.last_picture->is_used==2))||((p->structure==BOTTOM_FIELD)&&(dpb.last_picture->is_used==1)))
{
if ((p->used_for_reference && (dpb.last_picture->is_reference!=0))||
(!p->used_for_reference && (dpb.last_picture->is_reference==0)))
{
insert_picture_in_dpb(dpb.last_picture, p);
update_ref_list();
update_ltref_list();
dump_dpb();
dpb.last_picture = NULL;
return;
}
}
}
}
}
// this is a frame or a field which has no stored complementatry field
// sliding window, if necessary
if ((!img->idr_flag)&&(p->used_for_reference && (!img->adaptive_ref_pic_buffering_flag)))
{
sliding_window_memory_management(p);
}
// first try to remove unused frames
if (dpb.used_size==dpb.size)
{
remove_unused_frame_from_dpb();
}
// then output frames until one can be removed
while (dpb.used_size==dpb.size)
{
// non-reference frames may be output directly
if (!p->used_for_reference)
{
get_smallest_poc(&poc, &pos);
if ((-1==pos) || (p->poc < poc))
{
direct_output(p, p_out);
return;
}
}
// flush a frame
output_one_frame_from_dpb();
}
// check for duplicate frame number in short term reference buffer
if ((p->used_for_reference)&&(!p->is_long_term))
{
for (i=0; i<dpb.ref_frames_in_buffer; i++)
{
if (dpb.fs_ref[i]->frame_num == img->frame_num)
{
error("duplicate frame_num im short-term reference picture buffer", 500);
}
}
}
// store at end of buffer
// printf ("store frame/field at pos %d\n",dpb.used_size);
insert_picture_in_dpb(dpb.fs[dpb.used_size],p);
if (p->structure != FRAME)
{
dpb.last_picture = dpb.fs[dpb.used_size];
}
else
{
dpb.last_picture = NULL;
}
dpb.used_size++;
update_ref_list();
update_ltref_list();
dump_dpb();
}
/*!
************************************************************************
* \brief
* Insert the picture into the DPB. A free DPB position is necessary
* for frames, .
*
* \param fs
* FrameStore into which the picture will be inserted
* \param p
* StorablePicture to be inserted
*
************************************************************************
*/
static void insert_picture_in_dpb(FrameStore* fs, StorablePicture* p)
{
// printf ("insert (%s) pic with frame_num #%d, poc %d\n", (p->structure == FRAME)?"FRAME":(p->structure == TOP_FIELD)?"TOP_FIELD":"BOTTOM_FIELD", img->frame_num, p->poc);
assert (p!=NULL);
assert (fs!=NULL);
switch (p->structure)
{
case FRAME:
fs->frame = p;
fs->is_used = 3;
if (p->used_for_reference)
{
fs->is_reference = 3;
if (p->is_long_term)
{
fs->is_long_term = 3;
}
}
// generate field views
dpb_split_field(fs);
break;
case TOP_FIELD:
fs->top_field = p;
fs->is_used |= 1;
if (p->used_for_reference)
{
fs->is_reference |= 1;
if (p->is_long_term)
{
fs->is_long_term |= 1;
fs->long_term_frame_idx = p->long_term_frame_idx;
}
}
if (fs->is_used == 3)
{
// generate frame view
dpb_combine_field(fs);
} else
{
fs->poc = p->poc;
}
break;
case BOTTOM_FIELD:
fs->bottom_field = p;
fs->is_used |= 2;
if (p->used_for_reference)
{
fs->is_reference |= 2;
if (p->is_long_term)
{
fs->is_long_term |= 2;
fs->long_term_frame_idx = p->long_term_frame_idx;
}
}
if (fs->is_used == 3)
{
// generate frame view
dpb_combine_field(fs);
} else
{
fs->poc = p->poc;
}
break;
}
fs->frame_num = p->pic_num;
fs->is_output = p->is_output;
if (fs->is_used==3)
{
if (p_ref)
find_snr(snr, fs->frame, p_ref);
}
}
/*!
************************************************************************
* \brief
* Check if one of the frames/fields in frame store is used for reference
************************************************************************
*/
static int is_used_for_reference(FrameStore* fs)
{
if (fs->is_reference)
{
return 1;
}
if (fs->is_used==3) // frame
{
if (fs->frame->used_for_reference)
{
return 1;
}
}
if (fs->is_used&1) // top field
{
if (fs->top_field->used_for_reference)
{
return 1;
}
}
if (fs->is_used&2) // bottom field
{
if (fs->bottom_field->used_for_reference)
{
return 1;
}
}
return 0;
}
/*!
************************************************************************
* \brief
* Check if one of the frames/fields in frame store is used for short-term reference
************************************************************************
*/
static int is_short_term_reference(FrameStore* fs)
{
if (fs->is_used==3) // frame
{
if ((fs->frame->used_for_reference)&&(!fs->frame->is_long_term))
{
return 1;
}
}
if (fs->is_used&1) // top field
{
if ((fs->top_field->used_for_reference)&&(!fs->top_field->is_long_term))
{
return 1;
}
}
if (fs->is_used&2) // bottom field
{
if ((fs->bottom_field->used_for_reference)&&(!fs->bottom_field->is_long_term))
{
return 1;
}
}
return 0;
}
/*!
************************************************************************
* \brief
* Check if one of the frames/fields in frame store is used for short-term reference
************************************************************************
*/
static int is_long_term_reference(FrameStore* fs)
{
if (fs->is_used==3) // frame
{
if ((fs->frame->used_for_reference)&&(fs->frame->is_long_term))
{
return 1;
}
}
if (fs->is_used&1) // top field
{
if ((fs->top_field->used_for_reference)&&(fs->top_field->is_long_term))
{
return 1;
}
}
if (fs->is_used&2) // bottom field
{
if ((fs->bottom_field->used_for_reference)&&(fs->bottom_field->is_long_term))
{
return 1;
}
}
return 0;
}
/*!
************************************************************************
* \brief
* remove one frame from DPB
************************************************************************
*/
static void remove_frame_from_dpb(int pos)
{
FrameStore* fs = dpb.fs[pos];
FrameStore* tmp;
unsigned i;
// printf ("remove frame with frame_num #%d\n", fs->frame_num);
switch (fs->is_used)
{
case 3:
free_storable_picture(fs->frame);
free_storable_picture(fs->top_field);
free_storable_picture(fs->bottom_field);
fs->frame=NULL;
fs->top_field=NULL;
fs->bottom_field=NULL;
break;
case 2:
free_storable_picture(fs->bottom_field);
fs->bottom_field=NULL;
break;
case 1:
free_storable_picture(fs->top_field);
fs->top_field=NULL;
break;
case 0:
break;
default:
error("invalid frame store type",500);
}
fs->is_used = 0;
fs->is_long_term = 0;
fs->is_reference = 0;
// move empty framestore to end of buffer
tmp = dpb.fs[pos];
for (i=pos; i<dpb.used_size-1;i++)
{
dpb.fs[i] = dpb.fs[i+1];
}
dpb.fs[dpb.used_size-1] = tmp;
dpb.used_size--;
}
/*!
************************************************************************
* \brief
* find smallest POC in the DPB.
************************************************************************
*/
static void get_smallest_poc(int *poc,int * pos)
{
unsigned i;
if (dpb.used_size<1)
{
error("Cannot determine smallest POC, DPB empty.",150);
}
*pos=-1;
*poc = INT_MAX;
for (i=0; i<dpb.used_size; i++)
{
if ((*poc>dpb.fs[i]->poc)&&(!dpb.fs[i]->is_output))
{
*poc = dpb.fs[i]->poc;
*pos=i;
}
}
}
/*!
************************************************************************
* \brief
* Remove a picture from DPB which is no longer needed.
************************************************************************
*/
static int remove_unused_frame_from_dpb()
{
unsigned i;
// check for frames that were already output and no longer used for reference
for (i=0; i<dpb.used_size; i++)
{
if (dpb.fs[i]->is_output && (!is_used_for_reference(dpb.fs[i])))
{
remove_frame_from_dpb(i);
return 1;
}
}
return 0;
}
/*!
************************************************************************
* \brief
* Output one picture stored in the DPB.
************************************************************************
*/
static void output_one_frame_from_dpb()
{
int poc, pos;
//diagnostics
if (dpb.used_size<1)
{
error("Cannot output frame, DPB empty.",150);
}
// find smallest POC
get_smallest_poc(&poc, &pos);
if(pos==-1)
{
error("no frames for output available", 150);
}
// call the output function
// printf ("output frame with frame_num #%d, poc %d (dpb. dpb.size=%d, dpb.used_size=%d)\n", dpb.fs[pos]->frame_num, dpb.fs[pos]->frame->poc, dpb.size, dpb.used_size);
//printf("pos = %d dpb.fs[pos] = %d\n", pos, dpb.fs[pos]);//cylin.debug
write_stored_frame(dpb.fs[pos], p_out);
if (dpb.last_output_poc >= poc)
{
error ("output POC must be in ascending order", 150);
}
dpb.last_output_poc = poc;
// free frame store and move empty store to end of buffer
if (!is_used_for_reference(dpb.fs[pos]))
{
remove_frame_from_dpb(pos);
}
}
/*!
************************************************************************
* \brief
* All stored picture are output. Should be called to empty the buffer
************************************************************************
*/
void flush_dpb()
{
unsigned i;
//diagnostics
// printf("Flush remaining frames from dpb. dpb.size=%d, dpb.used_size=%d\n",dpb.size,dpb.used_size);
// mark all frames unused
for (i=0; i<dpb.used_size; i++)
{
unmark_for_reference (dpb.fs[i]);
}
while (remove_unused_frame_from_dpb()) ;
// output frames in POC order
while (dpb.used_size)
{
output_one_frame_from_dpb();
}
dpb.last_output_poc = INT_MIN;
}
#define RSD(x) ((x&2)?(x|1):(x&(~1)))
/*!
************************************************************************
* \author: Ching-Yuan Lin
* \brief
* outputs one frame from dpb
************************************************************************
*/
void flush_one_dpb()//added by cyline
{
//printf("flush one frame from dpb\n");
while (remove_unused_frame_from_dpb()) ;
output_one_frame_from_dpb();
}
/*!
************************************************************************
* \brief
* Extract top field from a frame
************************************************************************
*/
void dpb_split_field(FrameStore *fs)
{
int i,j;
fs->top_field = alloc_storable_picture(TOP_FIELD, fs->frame->size_x, fs->frame->size_y/2, fs->frame->size_x_cr, fs->frame->size_y_cr/2);
fs->bottom_field = alloc_storable_picture(BOTTOM_FIELD, fs->frame->size_x, fs->frame->size_y/2, fs->frame->size_x_cr, fs->frame->size_y_cr/2);
for (i=0; i<fs->frame->size_y/2; i++)
{
memcpy(fs->top_field->imgY[i], fs->frame->imgY[i*2], fs->frame->size_x);
}
for (i=0; i<fs->frame->size_y_cr/2; i++)
{
memcpy(fs->top_field->imgUV[0][i], fs->frame->imgUV[0][i*2], fs->frame->size_x_cr);
memcpy(fs->top_field->imgUV[1][i], fs->frame->imgUV[1][i*2], fs->frame->size_x_cr);
}
for (i=0; i<fs->frame->size_y/2; i++)
{
memcpy(fs->bottom_field->imgY[i], fs->frame->imgY[i*2 + 1], fs->frame->size_x);
}
for (i=0; i<fs->frame->size_y_cr/2; i++)
{
memcpy(fs->bottom_field->imgUV[0][i], fs->frame->imgUV[0][i*2 + 1], fs->frame->size_x_cr);
memcpy(fs->bottom_field->imgUV[1][i], fs->frame->imgUV[1][i*2 + 1], fs->frame->size_x_cr);
}
fs->poc = fs->top_field->poc
= fs->frame->poc;
fs->bottom_field->poc = fs->frame->bottom_poc;
fs->top_field->used_for_reference = fs->bottom_field->used_for_reference
= fs->frame->used_for_reference;
fs->top_field->is_long_term = fs->bottom_field->is_long_term
= fs->frame->is_long_term;
fs->long_term_frame_idx = fs->top_field->long_term_frame_idx
= fs->bottom_field->long_term_frame_idx
= fs->frame->long_term_frame_idx;
fs->top_field->coded_frame = fs->bottom_field->coded_frame = 1;
fs->top_field->mb_adaptive_frame_field_flag = fs->bottom_field->mb_adaptive_frame_field_flag
= fs->frame->mb_adaptive_frame_field_flag;
fs->frame->top_field = fs->top_field;
fs->frame->bottom_field = fs->bottom_field;
if (!active_sps->frame_mbs_only_flag)
{
for (i=0;i<listXsize[LIST_1];i++)
{
fs->top_field->ref_pic_num[LIST_1][2*i] =fs->frame->ref_pic_num[2 + LIST_1][2*i];
fs->top_field->ref_pic_num[LIST_1][2*i + 1] =fs->frame->ref_pic_num[2 + LIST_1][2*i+1];
fs->bottom_field->ref_pic_num[LIST_1][2*i] =fs->frame->ref_pic_num[4 + LIST_1][2*i];
fs->bottom_field->ref_pic_num[LIST_1][2*i+1]=fs->frame->ref_pic_num[4 + LIST_1][2*i+1] ;
}
for (i=0;i<listXsize[LIST_0];i++)
{
fs->top_field->ref_pic_num[LIST_0][2*i] =fs->frame->ref_pic_num[2 + LIST_0][2*i];
fs->top_field->ref_pic_num[LIST_0][2*i + 1] =fs->frame->ref_pic_num[2 + LIST_0][2*i+1];
fs->bottom_field->ref_pic_num[LIST_0][2*i] =fs->frame->ref_pic_num[4 + LIST_0][2*i];
fs->bottom_field->ref_pic_num[LIST_0][2*i+1]=fs->frame->ref_pic_num[4 + LIST_0][2*i+1] ;
}
}
if (!active_sps->frame_mbs_only_flag || active_sps->direct_8x8_inference_flag)
{
for (i=0 ; i<fs->frame->size_x/4 ; i++)
{
for (j=0 ; j<fs->frame->size_y/8; j++)
{
int idiv4=i/4,jdiv4=j/2;
int currentmb=2*(fs->frame->size_x/16)*(jdiv4/2)+ (idiv4)*2 + (jdiv4%2);
// Assign field mvs attached to MB-Frame buffer to the proper buffer
if (img->MbaffFrameFlag && img->mb_data[currentmb].mb_field)
{
fs->bottom_field->mv[LIST_0][i][j][0] = fs->frame->mv[LIST_0][i][(j/4)*8 + j%4 + 4][0];
fs->bottom_field->mv[LIST_0][i][j][1] = fs->frame->mv[LIST_0][i][(j/4)*8 + j%4 + 4][1];
fs->bottom_field->mv[LIST_1][i][j][0] = fs->frame->mv[LIST_1][i][(j/4)*8 + j%4 + 4][0];
fs->bottom_field->mv[LIST_1][i][j][1] = fs->frame->mv[LIST_1][i][(j/4)*8 + j%4 + 4][1];
fs->bottom_field->ref_idx[LIST_0][i][j] = fs->frame->ref_idx[LIST_0][i][(j/4)*8 + j%4 + 4];
fs->bottom_field->ref_idx[LIST_1][i][j] = fs->frame->ref_idx[LIST_1][i][(j/4)*8 + j%4 + 4];
fs->top_field->mv[LIST_0][i][j][0] = fs->frame->mv[LIST_0][i][(j/4)*8 + j%4][0];
fs->top_field->mv[LIST_0][i][j][1] = fs->frame->mv[LIST_0][i][(j/4)*8 + j%4][1];
fs->top_field->mv[LIST_1][i][j][0] = fs->frame->mv[LIST_1][i][(j/4)*8 + j%4][0];
fs->top_field->mv[LIST_1][i][j][1] = fs->frame->mv[LIST_1][i][(j/4)*8 + j%4][1];
fs->top_field->ref_idx[LIST_0][i][j] = fs->frame->ref_idx[LIST_0][i][(j/4)*8 + j%4];
fs->top_field->ref_idx[LIST_1][i][j] = fs->frame->ref_idx[LIST_1][i][(j/4)*8 + j%4];
fs->top_field->ref_poc[LIST_0][i][j] = 0;
fs->top_field->ref_poc[LIST_1][i][j] = 0;
fs->bottom_field->ref_poc[LIST_0][i][j] = 0;
fs->bottom_field->ref_poc[LIST_1][i][j] = 0;
}
}
}
}
if (!active_sps->frame_mbs_only_flag || active_sps->direct_8x8_inference_flag)
{
for (j=0 ; j<fs->frame->size_y/4 ; j++)
{
for (i=0 ; i<fs->frame->size_x/4 ; i++)
{
int idiv4=i/4,jdiv4=j/4;
int currentmb=2*(fs->frame->size_x/16)*(jdiv4/2)+ (idiv4)*2 + (jdiv4%2);
if (img->MbaffFrameFlag && img->mb_data[currentmb].mb_field)
{
//! Assign frame buffers for field MBs
//! Check whether we should use top or bottom field mvs.
//! Depending on the assigned poc values.
if (fs->bottom_field->poc>fs->top_field->poc)
{
fs->frame->mv[LIST_0][i][j][0] = fs->top_field->mv[LIST_0][i][j/2][0];
fs->frame->mv[LIST_0][i][j][1] = fs->top_field->mv[LIST_0][i][j/2][1] ;
fs->frame->mv[LIST_1][i][j][0] = fs->top_field->mv[LIST_1][i][j/2][0];
fs->frame->mv[LIST_1][i][j][1] = fs->top_field->mv[LIST_1][i][j/2][1] ;
fs->frame->ref_idx[LIST_0][i][j] = fs->top_field->ref_idx[LIST_0][i][j/2];
fs->frame->ref_idx[LIST_1][i][j] = fs->top_field->ref_idx[LIST_1][i][j/2];
}
else
{
fs->frame->mv[LIST_0][i][j][0] = fs->bottom_field->mv[LIST_0][i][j/2][0];
fs->frame->mv[LIST_0][i][j][1] = fs->bottom_field->mv[LIST_0][i][j/2][1] ;
fs->frame->mv[LIST_1][i][j][0] = fs->bottom_field->mv[LIST_1][i][j/2][0];
fs->frame->mv[LIST_1][i][j][1] = fs->bottom_field->mv[LIST_1][i][j/2][1] ;
fs->frame->ref_idx[LIST_0][i][j] = fs->bottom_field->ref_idx[LIST_0][i][j/2];
fs->frame->ref_idx[LIST_1][i][j] = fs->bottom_field->ref_idx[LIST_1][i][j/2];
}
}
}
}
}
//! Generate field MVs from Frame MVs
for (i=0 ; i<fs->frame->size_x/4 ; i++)
{
for (j=0 ; j<fs->frame->size_y/8 ; j++)
{
int idiv4=i/4,jdiv4=j/2;
int currentmb=2*(fs->frame->size_x/16)*(jdiv4/2)+ (idiv4)*2 + (jdiv4%2);
//! Do nothing if macroblock as field coded in MB-AFF
if (!img->MbaffFrameFlag || !img->mb_data[currentmb].mb_field)
{
fs->top_field->mv[LIST_0][i][j][0] = fs->bottom_field->mv[LIST_0][i][j][0] = fs->frame->mv[LIST_0][RSD(i)][2*RSD(j)][0];
fs->top_field->mv[LIST_0][i][j][1] = fs->bottom_field->mv[LIST_0][i][j][1] = (fs->frame->mv[LIST_0][RSD(i)][2*RSD(j)][1]);
fs->top_field->mv[LIST_1][i][j][0] = fs->bottom_field->mv[LIST_1][i][j][0] = fs->frame->mv[LIST_1][RSD(i)][2*RSD(j)][0];
fs->top_field->mv[LIST_1][i][j][1] = fs->bottom_field->mv[LIST_1][i][j][1] = (fs->frame->mv[LIST_1][RSD(i)][2*RSD(j)][1]);
// Scaling of references is done here since it will not affect spatial direct (2*0 =0)
if (fs->frame->ref_idx[LIST_0][RSD(i)][2*RSD(j)] == -1)
fs->top_field->ref_idx[LIST_0][i][j] = fs->bottom_field->ref_idx[LIST_0][i][j] = - 1;
else
fs->top_field->ref_idx[LIST_0][i][j] = fs->bottom_field->ref_idx[LIST_0][i][j] = fs->frame->ref_idx[LIST_0][RSD(i)][2*RSD(j)] * 2;
if (fs->frame->ref_idx[LIST_1][RSD(i)][2*RSD(j)] == -1)
fs->top_field->ref_idx[LIST_1][i][j] = fs->bottom_field->ref_idx[LIST_1][i][j] = - 1;
else
fs->top_field->ref_idx[LIST_1][i][j] = fs->bottom_field->ref_idx[LIST_1][i][j] = fs->frame->ref_idx[LIST_1][RSD(i)][2*RSD(j)]*2;
fs->top_field->moving_block[i][j] = fs->bottom_field->moving_block[i][j]=
!(((fs->top_field->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->top_field->ref_idx[LIST_0][i][j] == -1) &&
(fs->top_field->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][1])>>1 == 0)));
fs->top_field->mv[LIST_0][i][j][1] /= 2;
fs->top_field->mv[LIST_1][i][j][1] /= 2;
fs->bottom_field->mv[LIST_0][i][j][1] /= 2;
fs->bottom_field->mv[LIST_1][i][j][1] /= 2;
}
else
{
fs->bottom_field->mv[LIST_0][i][j][0] = fs->bottom_field->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->bottom_field->mv[LIST_0][i][j][1] = fs->bottom_field->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->bottom_field->mv[LIST_1][i][j][0] = fs->bottom_field->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->bottom_field->mv[LIST_1][i][j][1] = fs->bottom_field->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->bottom_field->ref_idx[LIST_0][i][j] = fs->bottom_field->ref_idx[LIST_0][RSD(i)][RSD(j)];
fs->bottom_field->ref_idx[LIST_1][i][j] = fs->bottom_field->ref_idx[LIST_1][RSD(i)][RSD(j)];
fs->bottom_field->moving_block[i][j] =
!(((fs->bottom_field->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->bottom_field->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->bottom_field->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->bottom_field->ref_idx[LIST_0][i][j] == -1) &&
(fs->bottom_field->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->bottom_field->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->bottom_field->mv[LIST_1][i][j][1])>>1 == 0)));
fs->top_field->mv[LIST_0][i][j][0] = fs->top_field->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->top_field->mv[LIST_0][i][j][1] = fs->top_field->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->top_field->mv[LIST_1][i][j][0] = fs->top_field->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->top_field->mv[LIST_1][i][j][1] = fs->top_field->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->top_field->ref_idx[LIST_0][i][j] = fs->top_field->ref_idx[LIST_0][RSD(i)][RSD(j)];
fs->top_field->ref_idx[LIST_1][i][j] = fs->top_field->ref_idx[LIST_1][RSD(i)][RSD(j)];
fs->top_field->moving_block[i][j] =
!(((fs->top_field->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->top_field->ref_idx[LIST_0][i][j] == -1) &&
(fs->top_field->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][1])>>1 == 0)));
}
}
}
for (j=0 ; j<fs->frame->size_y/4 ; j++)
{
for (i=0 ; i<fs->frame->size_x/4 ; i++)
{
if (!active_sps->frame_mbs_only_flag || active_sps->direct_8x8_inference_flag)
{
//! Use inference flag to remap mvs/references
fs->frame->mv[LIST_0][i][j][0]=fs->frame->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->frame->mv[LIST_0][i][j][1]=fs->frame->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->frame->mv[LIST_1][i][j][0]=fs->frame->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->frame->mv[LIST_1][i][j][1]=fs->frame->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->frame->ref_idx[LIST_0][i][j]=fs->frame->ref_idx[LIST_0][RSD(i)][RSD(j)] ;
fs->frame->ref_idx[LIST_1][i][j]=fs->frame->ref_idx[LIST_1][RSD(i)][RSD(j)] ;
}
fs->frame->ref_poc[LIST_0][i][j] = 0;
fs->frame->ref_poc[LIST_1][i][j] = 0;
fs->frame->moving_block[i][j]=
!(((fs->frame->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->frame->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->frame->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->frame->ref_idx[LIST_0][i][j] == -1) &&
(fs->frame->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->frame->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->frame->mv[LIST_1][i][j][1])>>1 == 0)));
}
}
if (!active_sps->frame_mbs_only_flag || active_sps->direct_8x8_inference_flag)
{
for (j=0 ; j<fs->frame->size_y/4 ; j++)
{
for (i=0 ; i<fs->frame->size_x/4 ; i++)
{
int idiv4=i/4,jdiv4=j/4;
int currentmb=2*(fs->frame->size_x/16)*(jdiv4/2)+ (idiv4)*2 + (jdiv4%2);
if (img->MbaffFrameFlag && img->mb_data[currentmb].mb_field)
{
fs->frame->mv[LIST_0][i][j][1] *= 2;
fs->frame->mv[LIST_1][i][j][1] *= 2;
if (fs->frame->ref_idx[LIST_0][i][j] != -1)
fs->frame->ref_idx[LIST_0][i][j] >>= 1;
if (fs->frame->ref_idx[LIST_1][i][j] != -1)
fs->frame->ref_idx[LIST_1][i][j] >>= 1;
}
}
}
}
}
/*!
************************************************************************
* \brief
* Generate a frame from top and bottom fields
************************************************************************
*/
void dpb_combine_field(FrameStore *fs)
{
int i,j;
fs->frame = alloc_storable_picture(FRAME, fs->top_field->size_x, fs->top_field->size_y*2, fs->top_field->size_x_cr, fs->top_field->size_y_cr*2);
for (i=0; i<fs->top_field->size_y; i++)
{
memcpy(fs->frame->imgY[i*2], fs->top_field->imgY[i] , fs->top_field->size_x); // top field
memcpy(fs->frame->imgY[i*2 + 1], fs->bottom_field->imgY[i], fs->bottom_field->size_x); // bottom field
}
for (i=0; i<fs->top_field->size_y_cr; i++)
{
memcpy(fs->frame->imgUV[0][i*2], fs->top_field->imgUV[0][i], fs->top_field->size_x_cr);
memcpy(fs->frame->imgUV[0][i*2 + 1], fs->bottom_field->imgUV[0][i], fs->bottom_field->size_x_cr);
memcpy(fs->frame->imgUV[1][i*2], fs->top_field->imgUV[1][i], fs->top_field->size_x_cr);
memcpy(fs->frame->imgUV[1][i*2 + 1], fs->bottom_field->imgUV[1][i], fs->bottom_field->size_x_cr);
}
fs->poc=fs->frame->poc = min (fs->top_field->poc, fs->bottom_field->poc);
fs->frame->top_poc=fs->top_field->poc;
fs->frame->bottom_poc=fs->bottom_field->poc;
fs->frame->used_for_reference = (fs->top_field->used_for_reference && fs->bottom_field->used_for_reference );
fs->frame->is_long_term = (fs->top_field->is_long_term && fs->bottom_field->is_long_term );
if (fs->frame->is_long_term)
fs->frame->long_term_frame_idx = fs->long_term_frame_idx;
fs->frame->top_field = fs->top_field;
fs->frame->bottom_field = fs->bottom_field;
fs->top_field->frame = fs->bottom_field->frame = fs->frame;
//combine field for frame
for (i=0;i<(listXsize[LIST_1]+1)/2;i++)
{
fs->frame->ref_pic_num[LIST_1][i]= min ((fs->top_field->ref_pic_num[LIST_1][2*i]/2)*2, (fs->bottom_field->ref_pic_num[LIST_1][2*i]/2)*2);
}
for (i=0;i<(listXsize[LIST_0]+1)/2;i++)
{
fs->frame->ref_pic_num[LIST_0][i]= min ((fs->top_field->ref_pic_num[LIST_0][2*i]/2)*2, (fs->bottom_field->ref_pic_num[LIST_0][2*i]/2)*2);
}
//! Use inference flag to remap mvs/references
//! Generate Frame parameters from field information.
for (i=0 ; i<fs->top_field->size_x/4 ; i++)
{
for (j=0 ; j<fs->top_field->size_y/2 ; j++)
{
if (fs->bottom_field->poc>fs->top_field->poc)
{
fs->frame->mv[LIST_0][i][j][0] = fs->top_field->mv[LIST_0][i][j/2][0];
fs->frame->mv[LIST_0][i][j][1] = fs->top_field->mv[LIST_0][i][j/2][1] ;
fs->frame->mv[LIST_1][i][j][0] = fs->top_field->mv[LIST_1][i][j/2][0];
fs->frame->mv[LIST_1][i][j][1] = fs->top_field->mv[LIST_1][i][j/2][1] ;
fs->frame->ref_idx[LIST_0][i][j] = fs->top_field->ref_idx[LIST_0][i][j/2];
fs->frame->ref_idx[LIST_1][i][j] = fs->top_field->ref_idx[LIST_1][i][j/2];
fs->frame->ref_poc[LIST_0][i][j] = 1;
fs->frame->ref_poc[LIST_0][i][j] = 0;
}
else
{
fs->frame->mv[LIST_0][i][j][0] = fs->bottom_field->mv[LIST_0][i][j/2][0];
fs->frame->mv[LIST_0][i][j][1] = fs->bottom_field->mv[LIST_0][i][j/2][1] ;
fs->frame->mv[LIST_1][i][j][0] = fs->bottom_field->mv[LIST_1][i][j/2][0];
fs->frame->mv[LIST_1][i][j][1] = fs->bottom_field->mv[LIST_1][i][j/2][1] ;
fs->frame->ref_idx[LIST_0][i][j] = fs->bottom_field->ref_idx[LIST_0][i][j/2];
fs->frame->ref_idx[LIST_1][i][j] = fs->bottom_field->ref_idx[LIST_1][i][j/2];
if (fs->bottom_field->ref_idx[LIST_0][i][j/2]!=-1 && listX[LIST_0][fs->bottom_field->ref_idx[LIST_0][i][j/2]]->poc== fs->top_field->poc)
{
fs->frame->ref_poc[LIST_0][i][j] = 1;
}
else
{
fs->frame->ref_poc[LIST_0][i][j] = 0;
}
if (fs->bottom_field->ref_idx[LIST_1][i][j/2]!=-1 && listX[LIST_1][fs->bottom_field->ref_idx[LIST_1][i][j/2]]->poc== fs->top_field->poc)
{
fs->frame->ref_poc[LIST_1][i][j] = 1;
}
else
{
fs->frame->ref_poc[LIST_1][i][j] = 0;
}
}
}
}
for (i=0 ; i<fs->top_field->size_x/4 ; i++)
{
for (j=0 ; j<fs->top_field->size_y/2 ; j++)
{
//! Use inference flag to remap mvs/references
fs->frame->mv[LIST_0][i][j][0]=fs->frame->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->frame->mv[LIST_0][i][j][1]=fs->frame->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->frame->mv[LIST_1][i][j][0]=fs->frame->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->frame->mv[LIST_1][i][j][1]=fs->frame->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->frame->ref_idx[LIST_0][i][j]=fs->frame->ref_idx[LIST_0][RSD(i)][RSD(j)] ;
fs->frame->ref_idx[LIST_1][i][j]=fs->frame->ref_idx[LIST_1][RSD(i)][RSD(j)] ;
fs->frame->ref_poc[LIST_0][i][j]=fs->frame->ref_poc[LIST_0][RSD(i)][RSD(j)] ;
fs->frame->ref_poc[LIST_1][i][j]=fs->frame->ref_poc[LIST_1][RSD(i)][RSD(j)] ;
fs->frame->moving_block[i][j]=
!(((fs->frame->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->frame->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->frame->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->frame->ref_idx[LIST_0][i][j] == -1) &&
(fs->frame->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->frame->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->frame->mv[LIST_1][i][j][1])>>1 == 0)));
}
}
//scaling of mvs/references needs to be done separately
for (i=0 ; i<fs->top_field->size_x/4 ; i++)
{
for (j=0 ; j<fs->top_field->size_y/2 ; j++)
{
fs->frame->mv[LIST_0][i][j][1] *= 2;
fs->frame->mv[LIST_1][i][j][1] *= 2;
if (fs->bottom_field->poc>fs->top_field->poc)
{
if (fs->frame->ref_idx[LIST_0][i][j] != -1)
fs->frame->ref_idx[LIST_0][i][j] >>= 1;
if (fs->frame->ref_idx[LIST_1][i][j] != -1)
fs->frame->ref_idx[LIST_1][i][j] >>= 1;
}
else
{
if (fs->frame->ref_idx[LIST_0][i][j]> 1 && fs->frame->ref_idx[LIST_0][i][j] % 2)
{
fs->frame->ref_idx[LIST_0][i][j] = (fs->frame->ref_idx[LIST_0][i][j] - 2)>> 1;
}
else if (fs->frame->ref_idx[LIST_0][i][j] != -1)
fs->frame->ref_idx[LIST_0][i][j] >>= 1;
if (fs->frame->ref_idx[LIST_1][i][j]> 1 && fs->frame->ref_idx[LIST_1][i][j] % 2)
fs->frame->ref_idx[LIST_1][i][j] = (fs->frame->ref_idx[LIST_1][i][j] - 2)>> 1;
else if (fs->frame->ref_idx[LIST_1][i][j] != -1)
fs->frame->ref_idx[LIST_1][i][j] >>= 1;
}
}
}
if (!active_sps->frame_mbs_only_flag || active_sps->direct_8x8_inference_flag)
{
for (i=0 ; i<fs->top_field->size_x/4 ; i++)
{
for (j=0 ; j<fs->top_field->size_y/4 ; j++)
{
fs->top_field->mv[LIST_0][i][j][0]=fs->top_field->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->top_field->mv[LIST_0][i][j][1]=fs->top_field->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->top_field->mv[LIST_1][i][j][0]=fs->top_field->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->top_field->mv[LIST_1][i][j][1]=fs->top_field->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->bottom_field->mv[LIST_0][i][j][0]=fs->bottom_field->mv[LIST_0][RSD(i)][RSD(j)][0];
fs->bottom_field->mv[LIST_0][i][j][1]=fs->bottom_field->mv[LIST_0][RSD(i)][RSD(j)][1];
fs->bottom_field->mv[LIST_1][i][j][0]=fs->bottom_field->mv[LIST_1][RSD(i)][RSD(j)][0];
fs->bottom_field->mv[LIST_1][i][j][1]=fs->bottom_field->mv[LIST_1][RSD(i)][RSD(j)][1];
fs->top_field->ref_idx[LIST_0][i][j]=fs->top_field->ref_idx[LIST_0][RSD(i)][RSD(j)] ;
fs->top_field->ref_idx[LIST_1][i][j]=fs->top_field->ref_idx[LIST_1][RSD(i)][RSD(j)] ;
fs->bottom_field->ref_idx[LIST_0][i][j]=fs->bottom_field->ref_idx[LIST_0][RSD(i)][RSD(j)] ;
fs->bottom_field->ref_idx[LIST_1][i][j]=fs->bottom_field->ref_idx[LIST_1][RSD(i)][RSD(j)] ;
fs->top_field->ref_poc[LIST_0][i][j] = 0;
fs->top_field->ref_poc[LIST_1][i][j] = 0;
fs->bottom_field->ref_poc[LIST_0][i][j] = 0;
fs->bottom_field->ref_poc[LIST_1][i][j] = 0;
fs->top_field->moving_block[i][j] =
!(((fs->top_field->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->top_field->ref_idx[LIST_0][i][j] == -1) &&
(fs->top_field->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->top_field->mv[LIST_1][i][j][1])>>1 == 0)));
fs->bottom_field->moving_block[i][j]=
!(((fs->bottom_field->ref_idx[LIST_0][i][j] == 0) &&
(abs(fs->bottom_field->mv[LIST_0][i][j][0])>>1 == 0) &&
(abs(fs->bottom_field->mv[LIST_0][i][j][1])>>1 == 0)) ||
((fs->bottom_field->ref_idx[LIST_0][i][j] == -1) &&
(fs->bottom_field->ref_idx[LIST_1][i][j] == 0) &&
(abs(fs->bottom_field->mv[LIST_1][i][j][0])>>1 == 0) &&
(abs(fs->bottom_field->mv[LIST_1][i][j][1])>>1 == 0)));
}
}
}
}
/*!
************************************************************************
* \brief
* Allocate memory for buffering of reference picture reordering commands
************************************************************************
*/
void alloc_ref_pic_list_reordering_buffer(Slice *currSlice)
{
int size = img->num_ref_idx_l0_active+1;
if (img->type!=I_SLICE && img->type!=SI_SLICE)
{
#ifdef ESLCPP
if ((currSlice->remapping_of_pic_nums_idc_l0 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: remapping_of_pic_nums_idc_l0");
if ((currSlice->abs_diff_pic_num_minus1_l0 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: abs_diff_pic_num_minus1_l0");
if ((currSlice->long_term_pic_idx_l0 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: long_term_pic_idx_l0");
#else
if ((currSlice->remapping_of_pic_nums_idc_l0 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: remapping_of_pic_nums_idc_l0");
if ((currSlice->abs_diff_pic_num_minus1_l0 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: abs_diff_pic_num_minus1_l0");
if ((currSlice->long_term_pic_idx_l0 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: long_term_pic_idx_l0");
#endif
}
else
{
currSlice->remapping_of_pic_nums_idc_l0 = NULL;
currSlice->abs_diff_pic_num_minus1_l0 = NULL;
currSlice->long_term_pic_idx_l0 = NULL;
}
size = img->num_ref_idx_l1_active+1;
if (img->type==B_SLICE)
{
#ifdef ESLCPP
if ((currSlice->remapping_of_pic_nums_idc_l1 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: remapping_of_pic_nums_idc_l1");
if ((currSlice->abs_diff_pic_num_minus1_l1 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: abs_diff_pic_num_minus1_l1");
if ((currSlice->long_term_pic_idx_l1 = (int*)calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: long_term_pic_idx_l1");
#else
if ((currSlice->remapping_of_pic_nums_idc_l1 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: remapping_of_pic_nums_idc_l1");
if ((currSlice->abs_diff_pic_num_minus1_l1 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: abs_diff_pic_num_minus1_l1");
if ((currSlice->long_term_pic_idx_l1 = calloc(size,sizeof(int)))==NULL) no_mem_exit("alloc_ref_pic_list_reordering_buffer: long_term_pic_idx_l1");
#endif
}
else
{
currSlice->remapping_of_pic_nums_idc_l1 = NULL;
currSlice->abs_diff_pic_num_minus1_l1 = NULL;
currSlice->long_term_pic_idx_l1 = NULL;
}
}
/*!
************************************************************************
* \brief
* Free memory for buffering of reference picture reordering commands
************************************************************************
*/
void free_ref_pic_list_reordering_buffer(Slice *currSlice)
{
if (currSlice->remapping_of_pic_nums_idc_l0)
free(currSlice->remapping_of_pic_nums_idc_l0);
if (currSlice->abs_diff_pic_num_minus1_l0)
free(currSlice->abs_diff_pic_num_minus1_l0);
if (currSlice->long_term_pic_idx_l0)
free(currSlice->long_term_pic_idx_l0);
currSlice->remapping_of_pic_nums_idc_l0 = NULL;
currSlice->abs_diff_pic_num_minus1_l0 = NULL;
currSlice->long_term_pic_idx_l0 = NULL;
if (currSlice->remapping_of_pic_nums_idc_l1)
free(currSlice->remapping_of_pic_nums_idc_l1);
if (currSlice->abs_diff_pic_num_minus1_l1)
free(currSlice->abs_diff_pic_num_minus1_l1);
if (currSlice->long_term_pic_idx_l1)
free(currSlice->long_term_pic_idx_l1);
currSlice->remapping_of_pic_nums_idc_l1 = NULL;
currSlice->abs_diff_pic_num_minus1_l1 = NULL;
currSlice->long_term_pic_idx_l1 = NULL;
}
/*!
************************************************************************
* \brief
* Tian Dong
* June 13, 2002, Modifed on July 30, 2003
*
* If a gap in frame_num is found, try to fill the gap
* \param img
*
************************************************************************
*/
void fill_frame_num_gap(ImageParameters *img)
{
int CurrFrameNum;
int UnusedShortTermFrameNum;
StorablePicture *picture = NULL;
int nal_ref_idc_bak;
// printf("A gap in frame number is found, try to fill it.\n");
nal_ref_idc_bak = img->nal_reference_idc;
img->nal_reference_idc = 1;
UnusedShortTermFrameNum = (img->pre_frame_num + 1) % img->MaxFrameNum;
CurrFrameNum = img->frame_num;
while (CurrFrameNum != UnusedShortTermFrameNum)
{
picture = alloc_storable_picture (FRAME, img->width, img->height, img->width_cr, img->height_cr);
picture->coded_frame = 1;
picture->pic_num = UnusedShortTermFrameNum;
picture->non_existing = 1;
picture->is_output = 1;
img->adaptive_ref_pic_buffering_flag = 0;
store_picture_in_dpb(picture);
picture=NULL;
UnusedShortTermFrameNum = (UnusedShortTermFrameNum + 1) % img->MaxFrameNum;
}
img->nal_reference_idc = nal_ref_idc_bak;
}
| [
"mike_bradley@mentor.com"
] | mike_bradley@mentor.com |
ddc7f7da7020f959f81cb2aa97196626e68b6ccf | 3eb3d70e65b672f4acdc02c6dafa66f5b60d5aed | /fob2/fob2.ino | 4047f94b0deb1f3074674f17a10f9c38aa9520f7 | [] | no_license | moredip/fob | e5d5ede4a9d6b78dfa80c2a4f1d996abad9b7202 | def3ae65b68f2954f091cd4600c180c121334c04 | refs/heads/master | 2021-01-10T06:13:25.936458 | 2014-12-27T22:59:40 | 2014-12-27T22:59:40 | 48,718,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,714 | ino | #include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Time.h>
#include "sha1.h"
#include "TOTP.h"
#include "key.h"
#include "secret_keys.h"
#if (SSD1306_LCDHEIGHT != 32)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
#endif
#define OLED_RESET_PIN 4
#define PUSH_BUTTON_PIN 3
#define PUSH_BUTTON_INTERRUPT 1
// define MY_SECRET_KEYS in secret_keys.h
Key keys[] = MY_SECRET_KEYS;
int numberOfKeys = (sizeof(keys)/sizeof(*keys));
int numberOfScreens = numberOfKeys + 1; // for clock display
volatile int buttonPressCounter = 0;
Adafruit_SSD1306 display(OLED_RESET_PIN);
void setup() {
Serial.begin(9600);
pinMode(PUSH_BUTTON_PIN, INPUT);
attachInterrupt(PUSH_BUTTON_INTERRUPT, onButtonPress, RISING);
// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3C (for the 128x32)
display.setTextColor(WHITE);
display.setTextWrap(false);
display.clearDisplay();
display.setTextSize(3);
display.setCursor(0,0);
display.println("OpenFob");
display.display();
delay(700);
}
void loop() {
loopWithoutDelay();
delay(100);
}
void onButtonPress(){
static unsigned long last_interrupt_time = 0;
const unsigned long interrupt_time = millis();
if( interrupt_time - last_interrupt_time > 50 ){ // debouncing
buttonPressCounter += 1;
}
last_interrupt_time = interrupt_time;
}
void loopWithoutDelay(){
checkForTimeSync();
if( timeStatus() == timeNotSet ){
displayTimeSyncNeeded();
return;
}
//if( digitalRead(PUSH_BUTTON_PIN) ){
displayCurrentScreen();
// }else{
// blankDisplay();
// }
}
void blankDisplay(){
display.clearDisplay();
display.display();
}
void displayTimeSyncNeeded(){
display.setTextSize(2);
display.clearDisplay();
display.setCursor(0,0);
display.println("need\ntime sync");
display.display();
}
// based on Time library's sample code
#define TIME_SYNC_HEADER "T"
#define SOME_TIME_IN_THE_PAST 1419630586
void checkForTimeSync(){
if (!Serial.available()) {
return;
}
if (!Serial.find(TIME_SYNC_HEADER)) {
return;
}
unsigned long pctime = Serial.parseInt();
if( pctime < SOME_TIME_IN_THE_PAST) {
return;
}
setTime(pctime);
Serial.println("time synced:");
writeTimeToSerial();
display.setTextSize(3);
display.clearDisplay();
display.setCursor(0,0);
display.println("SYNCED!");
display.display();
delay(500);
}
void displayCurrentScreen(){
int screenIx = buttonPressCounter % numberOfScreens;
if( screenIx == 0 ){
displayClockScreen();
}else{
Key &keyToDisplay = keys[screenIx-1];
displayKeyScreen(keyToDisplay);
}
}
void displayClockScreen(){
display.setTextSize(2);
display.invertDisplay(true);
display.clearDisplay();
display.setCursor(0,0);
display.println(currentTimeString());
display.println(currentDateString());
display.display();
}
void displayKeyScreen(Key &key){
display.setTextSize(2);
display.invertDisplay(false);
display.clearDisplay();
display.setCursor(0,0);
display.print(key.getName());
display.setCursor(0,16);
display.print(" " + key.getCurrentCode());
display.display();
}
String currentTimeString(){
static char buffer[12];
sprintf(buffer, "%02d:%02d:%02d", hour(), minute(), second());
return String(buffer);
}
String currentDateString(){
static char buffer[12];
sprintf(buffer, "%d/%d/%d", day(), month(), year());
return String(buffer);
}
void writeTimeToSerial(){
Serial.println(currentTimeString());
Serial.println(currentDateString());
}
| [
"git@thepete.net"
] | git@thepete.net |
fbb80807be64739da6bf0a196ce42c6d823b5845 | 4ca0c84fb7af16b8470ab9ff408edd6d00c94f77 | /UVa/11054 - Wine trading in Gergovia/11054.cpp | 48491b4c8eb8639111f6859b738ca9cc0290f885 | [] | no_license | svanegas/programming_solutions | 87305a09dd2a2ea0c05b2e2fb703d5cd2b142fc0 | 32e5f6c566910e165effeb79ec34a8886edfccff | refs/heads/master | 2020-12-23T16:03:33.848189 | 2020-10-10T18:59:58 | 2020-10-10T18:59:58 | 12,229,967 | 8 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | //Santiago Vanegas Gil.
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <string>
#include <cstdio>
#include <vector>
#include <cmath>
#include <queue>
#include <deque>
#include <stack>
#include <list>
#include <map>
#include <set>
#include <bitset>
#define D(x) cout << #x " is " << x << endl
using namespace std;
const double EPS = 1e-9;
template <class T> string toStr(const T &x)
{ stringstream s; s << x; return s.str(); }
template <class T> int toInt(const T &x)
{ stringstream s; s << x; int r; s >> r; return r; }
typedef long long ll;
const int MAXN = 100005;
int n;
ll house[MAXN];
int
main() {
while (cin >> n && n) {
for (int i = 0; i < n; i++) {
cin >> house[i];
}
ll tot = 0LL;
for (int i = 0; i < n; i++) {
tot += abs(house[i]);
house[i+1] += house[i];
}
cout << tot << endl;
}
return 0;
}
| [
"savanegasg@gmail.com"
] | savanegasg@gmail.com |
3b8c6226e5decb2a3a6534534d4470a23ff2710a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_2754.cpp | cd6ac03fe89a199cb6b4216f865a2608575296d6 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | fprintf(stderr, "Output on stderr before sleep.\n"); | [
"993273596@qq.com"
] | 993273596@qq.com |
4b4f3058b22ccf0b3dc596c9a1e3f75d7fe42e26 | f0a4e2bc12cf59188d0d0a112db80e871e156fb6 | /G2G/gi/drillitem.h | b9632c808d88d41e7065e1610a47ad39af2390e6 | [] | no_license | free-artp/GERBER_X2 | 51bfa11d7347ed0cf44a577ade0781be5effe6c1 | 46d769e3176bb027d9ae4f626722c98bfc30a5b3 | refs/heads/master | 2020-05-23T13:26:36.384061 | 2019-05-14T14:47:36 | 2019-05-14T14:47:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | h | #ifndef DRILLITEM_H
#define DRILLITEM_H
#include "graphicsitem.h"
namespace Excellon {
class File;
class Hole;
}
class DrillItem : public GraphicsItem {
public:
DrillItem(Excellon::Hole* hole);
DrillItem(double diameter);
QRectF boundingRect() const override;
QPainterPath shape() const override;
void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override;
int type() const override;
bool isSlot();
double diameter() const;
void setDiameter(double diameter);
void updateHole();
const Excellon::File* file() const;
// GraphicsItem interface
Paths paths() const override;
private:
void create();
Excellon::Hole* const m_hole = nullptr;
double m_diameter = 0.0;
};
#endif // DRILLITEM_H
| [
"xray3d@ya.ru"
] | xray3d@ya.ru |
865be0f7f5d8974f5746990ae7287661ba39c1e3 | 1f5fc904781837900c2bc744bb9913716da52b8b | /src/base/patches.cpp | fb00667f34e1b816243837e712eab707bfcbc089 | [
"MIT",
"GPL-1.0-or-later",
"GPL-2.0-or-later"
] | permissive | probonopd/executor | d9926ee3ec4e0bef0d7030165f27fc2c8f19185f | 0fb82c09109ec27ae8707f07690f7325ee0f98e0 | refs/heads/master | 2020-07-26T14:42:00.096465 | 2019-09-13T07:43:58 | 2019-09-13T07:43:58 | 208,679,008 | 2 | 0 | MIT | 2019-09-16T00:44:41 | 2019-09-16T00:44:40 | null | UTF-8 | C++ | false | false | 4,948 | cpp | #include <OSUtil.h>
#include "emustubs.h"
#include <SegmentLdr.h>
#include <error/system_error.h>
#include <base/debugger.h>
#include <sound/soundopts.h>
#include <rsys/executor.h>
using namespace Executor;
static uint16_t bad_traps[10];
static int n_bad_traps = 0;
void
Executor::ROMlib_reset_bad_trap_addresses(void)
{
n_bad_traps = 0;
}
static void
add_to_bad_trap_addresses(bool tool_p, unsigned short index)
{
int i;
uint16_t aline_trap;
aline_trap = 0xA000 + index;
if(tool_p)
aline_trap += 0x800;
for(i = 0; i < n_bad_traps && i < std::size(bad_traps) && bad_traps[i] != aline_trap; ++i)
;
if(i >= n_bad_traps)
{
bad_traps[n_bad_traps % std::size(bad_traps)] = aline_trap;
++n_bad_traps;
}
}
RAW_68K_IMPLEMENTATION(bad_trap_unimplemented)
{
char buf[1024];
sprintf(buf,
"Fatal error.\r"
"Jumped to unimplemented trap handler, "
"probably by getting the address of one of these traps: [");
{
int i;
bool need_comma_p;
need_comma_p = false;
for(i = 0; i < (int)std::size(bad_traps) && i < n_bad_traps; ++i)
{
if(need_comma_p)
strcat(buf, ",");
{
char trap_buf[7];
sprintf(trap_buf, "0x%04x", bad_traps[i]);
gui_assert(trap_buf[6] == 0);
strcat(buf, trap_buf);
}
need_comma_p = true;
}
}
strcat(buf, "].");
system_error(buf, 0,
"Restart", nullptr, nullptr,
nullptr, nullptr, nullptr);
ExitToShell();
return /* dummy */ -1;
}
RAW_68K_IMPLEMENTATION(Unimplemented)
{
char buf[1024];
sprintf(buf,
"Fatal error.\r"
"encountered unknown, unimplemented trap `%X'.",
mostrecenttrap);
int button = system_error(buf, 0,
"Quit", base::Debugger::instance ? "Debugger" : nullptr, nullptr,
nullptr, nullptr, nullptr);
if(button == 0 || !base::Debugger::instance)
{
ExitToShell();
}
if(auto ret = base::Debugger::instance->trapBreak68K(trap_address, "Unimplemented"); ~ret)
return ret;
return POPADDR();
}
static int getTrapIndex(INTEGER trapnum, bool newTraps, bool &tool)
{
if(!newTraps)
{
trapnum &= 0x1FF;
tool = trapnum > 0x4F && trapnum != 0x54 && trapnum != 0x57;
}
return trapnum & (tool ? 0x3FF : 0xFF);
}
static bool shouldHideTrap(bool tool, int index)
{
if(tool)
{
switch(index)
{
case 0x00: /* SoundDispatch -- if sound is off, soundispatch is unimpl */
return ROMlib_PretendSound == soundoff;
case 0x8F: /* OSDispatch (Word uses old, undocumented selectors) */
return system_version < 0x700;
case 0x30: /* Pack14 */
return true;
case 0xB5: /* ScriptUtil */
return ROMlib_pretend_script ? 0 : 1;
default:
return false;
}
}
else
{
switch(index)
{
case 0x77: /* CountADBs */
case 0x78: /* GetIndADB */
case 0x79: /* GetADBInfo */
case 0x7A: /* SetADBInfo */
case 0x7B: /* ADBReInit */
case 0x7C: /* ADBOp */
case 0x3D: /* DrvrInstall */
case 0x3E: /* DrvrRemove */
case 0x4F: /* RDrvrInstall */
return true;
case 0x8B: /* Communications Toolbox */
return ROMlib_creator == "KR09"_4; /* kermit */
break;
default:
return false;
}
}
}
ProcPtr Executor::_GetTrapAddress_flags(INTEGER n, bool newTraps, bool tool)
{
int index = getTrapIndex(n, newTraps, tool);
auto addr = (tool ? tooltraptable : ostraptable)[index];
if(addr == tooltraptable[_Unimplemented & 0x3FF] || shouldHideTrap(tool, index))
{
add_to_bad_trap_addresses(tool, index);
return (ProcPtr)&stub_bad_trap_unimplemented;
}
return ptr_from_longint<ProcPtr>(addr);
}
void Executor::_SetTrapAddress_flags(ProcPtr addr, INTEGER n, bool newTraps, bool tool)
{
int index = getTrapIndex(n, newTraps, tool);
(tool ? tooltraptable : ostraptable)[index] = ptr_to_longint(addr);
}
void Executor::C_SetToolboxTrapAddress(ProcPtr addr, INTEGER n)
{
_SetTrapAddress_flags(addr, n, true, true);
}
ProcPtr Executor::C_GetToolboxTrapAddress(INTEGER n)
{
return _GetTrapAddress_flags(n, true, true);
}
ProcPtr Executor::C_NGetTrapAddress(INTEGER n, TrapType ttype) /* IMII-384 */
{
return _GetTrapAddress_flags(n, true, ttype != kOSTrapType);
}
void Executor::C_NSetTrapAddress(ProcPtr addr, INTEGER n, TrapType ttype)
{
_SetTrapAddress_flags(addr, n, true, ttype != kOSTrapType);
}
| [
"wolfgang.thaller@gmx.net"
] | wolfgang.thaller@gmx.net |
c3b9ea46bc6d5780c4968921af5e2d90185adcfc | d45e28df62de343f5dd8cde25e35fa74424fa6d4 | /src/qt/messagemodel.h | d7afd2d793cc14a05a5b7dba6134ff59fbf5bdbe | [
"MIT"
] | permissive | JayFwj/studyCoin | c3e34828af5addd5f767a18fd5f2d724503bc296 | 855607333f4d9abcd24fb62ad34aa50f7228096f | refs/heads/master | 2021-05-14T00:41:17.861982 | 2018-01-07T07:35:11 | 2018-01-07T07:35:11 | 116,546,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,403 | h | #ifndef MESSAGEMODEL_H
#define MESSAGEMODEL_H
#include "uint256.h"
#include <vector>
#include "allocators.h" /* for SecureString */
#include "smessage.h"
#include <map>
#include <QSortFilterProxyModel>
#include <QAbstractTableModel>
#include <QStringList>
#include <QDateTime>
class MessageTablePriv;
class InvoiceTableModel;
class InvoiceItemTableModel;
class ReceiptTableModel;
class CWallet;
class WalletModel;
class OptionsModel;
class SendMessagesRecipient
{
public:
QString address;
QString label;
QString pubkey;
QString message;
};
struct MessageTableEntry
{
enum Type {
Sent,
Received
};
std::vector<unsigned char> chKey;
Type type;
QString label;
QString to_address;
QString from_address;
QDateTime sent_datetime;
QDateTime received_datetime;
QString message;
MessageTableEntry() {}
MessageTableEntry(std::vector<unsigned char> &chKey,
Type type,
const QString &label,
const QString &to_address,
const QString &from_address,
const QDateTime &sent_datetime,
const QDateTime &received_datetime,
const QString &message):
chKey(chKey),
type(type),
label(label),
to_address(to_address),
from_address(from_address),
sent_datetime(sent_datetime),
received_datetime(received_datetime),
message(message)
{
}
};
/** Interface to Soomcoin Secure Messaging from Qt view code. */
class MessageModel : public QAbstractTableModel
{
Q_OBJECT
public:
explicit MessageModel(CWallet *wallet, WalletModel *walletModel, QObject *parent = 0);
~MessageModel();
enum StatusCode // Returned by sendMessages
{
OK,
InvalidAddress,
InvalidMessage,
DuplicateAddress,
MessageCreationFailed, // Error returned when DB is still locked
MessageCommitFailed,
Aborted,
FailedErrorShown
};
enum ColumnIndex {
Type = 0, /**< Sent/Received */
SentDateTime = 1, /**< Time Sent */
ReceivedDateTime = 2, /**< Time Received */
Label = 3, /**< User specified label */
ToAddress = 4, /**< To Bitcoin address */
FromAddress = 5, /**< From Bitcoin address */
Message = 6, /**< Plaintext */
TypeInt = 7, /**< Plaintext */
Key = 8, /**< chKey */
HTML = 9, /**< HTML Formatted Data */
};
/** Roles to get specific information from a message row.
These are independent of column.
*/
enum RoleIndex {
/** Type of message */
TypeRole = Qt::UserRole,
/** Date and time this message was sent */
/** message key */
KeyRole,
SentDateRole,
/** Date and time this message was received */
ReceivedDateRole,
/** From Address of message */
FromAddressRole,
/** To Address of message */
ToAddressRole,
/** Filter address related to message */
FilterAddressRole,
/** Label of address related to message */
LabelRole,
/** Full Message */
MessageRole,
/** Short Message */
ShortMessageRole,
/** HTML Formatted */
HTMLRole,
/** Ambiguous bool */
Ambiguous
};
static const QString Sent; /**< Specifies sent message */
static const QString Received; /**< Specifies sent message */
//QList<QString> ambiguous; /**< Specifies Ambiguous addresses */
/** @name Methods overridden from QAbstractTableModel
@{*/
int rowCount(const QModelIndex &parent) const;
int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
QModelIndex index(int row, int column, const QModelIndex & parent) const;
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
Qt::ItemFlags flags(const QModelIndex & index) const;
/*@}*/
/* Look up row index of a message in the model.
Return -1 if not found.
*/
int lookupMessage(const QString &message) const;
WalletModel *getWalletModel();
OptionsModel *getOptionsModel();
void resetFilter();
bool getAddressOrPubkey( QString &Address, QString &Pubkey) const;
// Send messages to a list of recipients
StatusCode sendMessages(const QList<SendMessagesRecipient> &recipients);
StatusCode sendMessages(const QList<SendMessagesRecipient> &recipients, const QString &addressFrom);
QSortFilterProxyModel *proxyModel;
private:
CWallet *wallet;
WalletModel *walletModel;
OptionsModel *optionsModel;
MessageTablePriv *priv;
QStringList columns;
void subscribeToCoreSignals();
void unsubscribeFromCoreSignals();
public slots:
/* Check for new messages */
void newMessage(const SecMsgStored& smsg);
void newOutboxMessage(const SecMsgStored& smsg);
void walletUnlocked();
void setEncryptionStatus(int status);
friend class MessageTablePriv;
signals:
// Asynchronous error notification
void error(const QString &title, const QString &message, bool modal);
};
#endif // MESSAGEMODEL_H
| [
"jay@SZVETRON-IMAC-03.local"
] | jay@SZVETRON-IMAC-03.local |
cc53c9158033e153b177b147b314c9cda63a4a96 | dea00e331512547e0b77bc1d488fd584f9f59e12 | /Source/S05_Testing_Grounds/S05_Testing_GroundsGameMode.cpp | 878aeeb4793386c73e4e37cd1aa1a6603958beb4 | [] | no_license | patrick68794/S05_Testing_Grounds | 1fb0e9f796ffbf19004b6274c0de01d90db3a096 | 3093e130931c754517cc07bb1ad3b39b7c7e22ad | refs/heads/master | 2021-09-28T14:53:38.307896 | 2018-08-26T21:27:41 | 2018-08-26T21:27:41 | 122,416,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "S05_Testing_Grounds.h"
#include "S05_Testing_GroundsGameMode.h"
#include "S05_Testing_GroundsHUD.h"
#include "Player/FirstPersonCharacter.h"
AS05_Testing_GroundsGameMode::AS05_Testing_GroundsGameMode()
: Super()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("/Game/Dynamic/Player/Behavior/FirstPersonCharacter"));
DefaultPawnClass = PlayerPawnClassFinder.Class;
// use our custom HUD class
HUDClass = AS05_Testing_GroundsHUD::StaticClass();
}
| [
"patrick68794@gmail.com"
] | patrick68794@gmail.com |
dd3891f0290132910d7f3ff78a91b0b2681c1f4c | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/exported/WebHeap.cpp | 5e641a05e4d0629bdb6655db378274651ceb080d | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,176 | cpp | /*
* Copyright (C) 2014 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "public/web/WebHeap.h"
#include "platform/heap/Handle.h"
#include "platform/heap/Heap.h"
namespace blink {
void WebHeap::CollectGarbageForTesting() {
ThreadState::Current()->CollectGarbage(
BlinkGC::kHeapPointersOnStack, BlinkGC::kGCWithSweep, BlinkGC::kForcedGC);
}
void WebHeap::CollectAllGarbageForTesting() {
ThreadState::Current()->CollectAllGarbage();
}
void WebHeap::SetAllocationHook(AllocationHook alloc_hook) {
HeapAllocHooks::SetAllocationHook(alloc_hook);
}
void WebHeap::SetFreeHook(FreeHook free_hook) {
HeapAllocHooks::SetFreeHook(free_hook);
}
} // namespace blink
| [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
4e347b8abe07eaeec60db60cba79fe9aa711b11c | cd5d90748c8606df3561f05f1481b93f0d0f9e91 | /app-sdk/utility/common/include/module_connector.h | 1d6555f42a20276a15cb2f7c9997ded47ebfabb3 | [] | no_license | zfrygt/HOS | 31a2852f65275fec722e624906ffbcabfc197d39 | c754c65a2e990fad656028c9688c511da913f778 | refs/heads/master | 2021-01-13T08:49:31.484049 | 2017-01-25T07:07:06 | 2017-01-25T07:07:06 | 73,266,272 | 1 | 0 | null | 2016-11-09T08:49:56 | 2016-11-09T08:49:56 | null | UTF-8 | C++ | false | false | 1,044 | h | #ifndef MODULE_CONNECTOR_H
#define MODULE_CONNECTOR_H
#include <macros.h>
#include <string>
#include <stdint.h>
#include <memory>
#include <utils.h>
class ServerMessage;
class ClientMessage;
class IReceivePolicy;
namespace spdlog
{
class logger;
}
// ModuleConnector class that abstracts the heartbeating and other communication details.
class COMMON_EXPORT ModuleConnector : no_copy_move
{
public:
explicit ModuleConnector(IReceivePolicy* receive_strategy, std::shared_ptr<spdlog::logger> logger, const char* uri, const char* module_name);
virtual ~ModuleConnector();
void connect();
bool poll(long timeout);
std::unique_ptr<ServerMessage> receive();
void send(const ClientMessage* client_message);
protected:
void destroy();
void init();
void reconnect();
private:
void* m_context;
void* m_socket;
std::string m_uri;
std::string m_module_name;
int64_t m_lastSendMessageTime;
int64_t m_lastReceivedMessageTime;
IReceivePolicy* m_on_receive_func;
std::shared_ptr<spdlog::logger> m_logger;
bool m_connected;
};
#endif
| [
"t.murat.guvenc@gmail.com"
] | t.murat.guvenc@gmail.com |
0fd22775adadd58a6f51eeaaef7874ccd3687725 | ad4545a66a38524baca88b78233aa537d495b110 | /Cats_3_tour/B_Binary_linear_search/find.h | 265fa3a2d7eb0d8a06882d86d3a0fb86c22ef76e | [] | no_license | kmac3063/Cpp_hm | 57eeb2bf8869dc99958cedaf0bc504173d81ed57 | a3f0d3f9358d070d68d061dac8fb161ecd5eb977 | refs/heads/master | 2023-02-18T22:57:27.941383 | 2019-12-26T04:21:43 | 2019-12-26T04:21:43 | 218,732,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | #pragma once
template<typename T, typename Iterator, typename type> struct F;
template<typename T, typename Iterator>
struct F <T, Iterator, std::random_access_iterator_tag> {
static Iterator find(const T& value, Iterator first, Iterator last) {
size_t size = last - first;
size_t l = 0, r = size - 1, m;
while (l < r) {
m = (l + r) / 2;
if (*(first + m) < value)
l = m + 1;
else
r = m;
}
return *(first + l) == value ? first + l : last;
}
};
template<typename T, typename Iterator, typename type>
struct F {
static Iterator find(const T& value, Iterator first, Iterator last) {
for (auto it = first; it != last; it++) {
if (*it == value)
return it;
}
return last;
}
};
template<typename T, typename Iterator>
Iterator Find(const T& value, Iterator first, Iterator last) {
typedef typename std::iterator_traits<Iterator>::iterator_category it_cat;
return F<T, Iterator, it_cat>::find(value, first, last);
}
| [
"lantcov.iiu@students.dvfu.ru"
] | lantcov.iiu@students.dvfu.ru |
e5b55dac511a3ff116a8fcac767e8ac986c4218a | ab39485e9a868cd1f9b88cd2af5c6217ad12eafa | /obiektowe/podstawyObiektowe.cc | ec945a88bb37d1bfe0ac386de91cb5177ea4d97b | [] | no_license | pmarecki/cpp_lo5 | 21141cc2ef59ed13b7515caa12fca7ea41a67ca4 | e73d5d7a6bcde3ffaa815af2cee64261efcacb84 | refs/heads/master | 2020-07-22T06:28:18.195099 | 2016-11-11T08:28:33 | 2016-11-11T08:28:33 | 29,973,170 | 0 | 3 | null | 2016-02-14T17:15:56 | 2015-01-28T15:10:15 | C++ | UTF-8 | C++ | false | false | 2,913 | cc | #include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(int)(n);++i)
#define FOR(i,b,n) for(int i=b;i<(n);++i)
#define ALL(c) (c).begin(),(c).end()
#define SS size()
#define CLR(a,v) memset((a),(v), sizeof a)
#define ST first
#define ND second
template<typename T, typename U> inline void AMIN(T &x, U y) { if(y < x) x = y; }
template<typename T, typename U> inline void AMAX(T &x, U y) { if(x < y) x = y; }
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
template <typename T> void printContainer(T& a) {
auto it = a.begin();
cout << "{" << *(it++);
for(; it!=a.end(); ++it) cout << ", " << (*it);
cout << "}\n";
}
class Serwer {
public:
int id;
string ip;
Serwer(int id, string ip) : id(id), ip(ip) { }
bool operator<(const Serwer& rhs) const {
return this->id < rhs.id;
}
int getId() const {
return id;
}
void setId(int id) {
Serwer::id = id;
}
string getIp() const {
return ip;
}
void setIp(string ip) {
Serwer::ip = ip;
}
};
set<Serwer> baza;
//interface
class B {
public:
virtual void saySometing()=0;
};
//implementation
class D : public B {
public:
virtual void saySometing(){
cout << "something\n";
}
};
//
class Wiad {
private:
int numer; //niedosępna z zewnątrz
public:
string tytul;
Wiad(){}
Wiad(int num, string tyt) {
numer = num;
tytul = tyt;
}
void napiszTytul() const {
cout << "tytul=" << tytul << endl;
}
bool operator<(const Wiad& inna) const {
return numer < inna.numer;
}
};
int main() {
// Serwer pierwszy(1, "dublin");
// Serwer drugi(2, "london");
// baza.insert(pierwszy);
// baza.insert(drugi);
//
// cout << baza.size() << endl;
// cout << baza.count(Serwer(1,"")) << endl;
//
// D d;
// d.saySometing();
Wiad nowa(11, "abcd");
nowa.tytul = "abcd";
Wiad inna(12,"");
inna.tytul = "tajny";
//
// nowa.napiszTytul();
// inna.napiszTytul();
//
// Wiad dziennik[20];
// for (int i = 0; i < 20; ++i) {
//// dziennik[i].numer = i;
// dziennik[i].tytul = string(10,'a'+i);
// dziennik[i].napiszTytul();
// }
//
// vector<int> w(30,1);
// cout << w[24] << endl;
//
//
//
// set<int> S;
// S.insert(12);
// S.insert(38);
// S.insert(44);
// S.insert(12);
// set<string> S;
// S.insert("abc");
// S.insert("a");
// S.insert("abc");
set<Wiad> S;
S.insert(nowa);
S.insert(inna);
S.insert(Wiad(10,"aaaa"));
bitset<5> b;
for(set<Wiad>::iterator i = S.begin(); i!= S.end(); ++i) {
(i->napiszTytul());
}
//Wskaźniki
int w = 12;
const int* pw = &w;
cout << (*pw) << endl;
// (*pw) = 11;
cout << (*pw) << endl;
cout << w << endl;
//Wskaźnik do instancji naszej klasy
Wiad* pInna = &inna;
pInna->napiszTytul();
//pętle w C++11
// for(string s : S) cout << s << endl;
};
| [
"pmarecki@gmail.com"
] | pmarecki@gmail.com |
ad491fcb16a5e227db76a8ea947690b27fc671b6 | db35122d711b63a992b6a6d2bff34e16f23673c3 | /Arduino/Arduino.ino | 1a15df07c7cf41008c2d1a2447ebe32501d429d8 | [] | no_license | camerongivler/TempController | 649d0e0020422985afc847d21336aace97469ccd | 346b0e317f20a766ab71951b53608924a0d0bdc1 | refs/heads/master | 2020-05-29T13:28:27.187135 | 2015-12-13T05:18:46 | 2015-12-13T05:18:46 | 42,891,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,843 | ino | #include <Wire.h>
#include <math.h>
#define MCP4725_ADDR 0x60
const unsigned long oneSecond = 1000;
const unsigned long numSecsBetweenReads = 60;
const unsigned long deltaSerialEvent = 100; // milliseconds
const int tempPin = A1;
const int humPin = A0;
const int numValues = 120;
float tempValues[numValues] = {
0};
float humValues[numValues] = {
0};
String inputString = ""; //This is global in case serialEvent is called mid-transmission
boolean getTemp;
void setup() {
Serial.begin(9600);
Wire.begin();
pinMode(tempPin, INPUT);
pinMode(humPin, INPUT);
pinMode(A2, OUTPUT);
pinMode(A3, OUTPUT);
pinMode(10, OUTPUT);
digitalWrite(10, HIGH);
digitalWrite(A2, LOW);//Set A2 as GND
digitalWrite(A3, HIGH);//Set A3 as Vcc
}
void loop() {
tempValues[0] = getTemperature(analogRead(tempPin) / 204.6);
humValues[0] = getHumidity(analogRead(humPin) / 204.6);
for(int i = 0; i < numSecsBetweenReads * oneSecond / deltaSerialEvent; i++) {
delay(deltaSerialEvent);
serialEvent(); //Read a serialEvent every deltaSerialEvent.
}
incrementQueue();
}
void incrementQueue() {
for(int i = numValues - 1; i > 0; i--) {
tempValues[i] = tempValues[i - 1];
}
for(int i = numValues - 1; i > 0; i--) {
humValues[i] = humValues[i - 1];
}
}
boolean serialEvent() {
while (Serial.available()) {
char inChar = (char)Serial.read();
inputString += inChar;
if (inChar == '\n') {
// This is where the command is handled
if(inputString == "get data\r\n") {
sendTemperatures();
sendHumidities();
} else if (inputString == "setTemp\r\n") {
setTemp(Serial.parseFloat());
} // End Command Handle
inputString = "";
return true;
}
}
return false;
}
void sendTemperatures(){
sendData("temperatures", tempValues);
}
void sendHumidities() {
sendData("humidities", humValues);
}
void sendData(String str, float values[]) {
Serial.println("\n" + str);
Serial.print(values[0]);
for(int i = 1; i < numValues; i++) {
Serial.print(",");
Serial.print(values[i]);
}
Serial.println();
}
void setTemp(float temp){
int voltage = getVoltage(temp) * 819; // 12-bit integer
Serial.print("setting voltage temp: ");
Serial.print(voltage);
Serial.print(" temperature: ");
Serial.println(temp);
Wire.beginTransmission(MCP4725_ADDR);
Wire.write(64); // cmd to update the DAC
Wire.write(voltage >> 4); // the 8 most significant bits
Wire.write((voltage & 15) << 4); // the 4 least significant bits
//Wire.write(voltage);
Wire.endTransmission();
}
float getVoltage(float temp) {
return 3.286*exp(-0.04819*temp);
}
float getTemperature(float voltage) {
return log(voltage / 3.286) / -0.04819;
}
float getHumidity(float voltage) {
return 50.19*voltage - 29.69;
}
| [
"cameron.givler@duke.edu"
] | cameron.givler@duke.edu |
f1d6a8508d2b2cb6a37416e53c3f3d5d0294bab2 | 6bf8e15daa50867c8b3b3cb877938aebe1414777 | /code/Li_Kruskal.cc | 1579f4367566162e893de6afd8fbcaafc363ffb9 | [] | no_license | TheRiseOfDavid/ICPC2021 | 918b19b80a4594bed37e982896f096988caff47d | 997f1f54b2c70c3bd0e568198ef2bafff0027525 | refs/heads/master | 2023-08-14T17:25:05.921281 | 2021-10-16T02:39:06 | 2021-10-16T02:39:06 | 393,017,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cc | #include <algorithm>
#include <iostream>
#include <vector>
#define MAXN 200020
using namespace std;
int p[MAXN];
class Edge {
private:
public:
int start, to, cost;
Edge() : start(0), to(0), cost(0) {}
Edge(int start, int to, int cost) : start(start), to(to), cost(cost) {}
bool operator<(const Edge& other) const {
return cost < other.cost;
}
};
int find_root(int x) {
if (p[x] != x) return p[x] = find_root(p[x]);
return x;
}
int main() {
int n, m;
while (cin >> n >> m, n != 0) {
vector<Edge> edges;
for (int i = 0; i < n; i++) p[i] = i;
for (int i = 0; i < m; i++) {
int start, to, cost;
cin >> start >> to >> cost;
edges.push_back(Edge(start, to, cost));
}
sort(edges.begin(), edges.end());
int save = 0;
for (auto i : edges) {
int start_root = find_root(i.start);
int to_root = find_root(i.to);
if (start_root != to_root) {
p[to_root] = start_root;
} else {
save += i.cost;
}
}
cout << save << endl;
}
return 0;
} | [
"david53133@gmail.com"
] | david53133@gmail.com |
2ba55c78078dd9d3a57e0bb2222087dc5874232a | 3e77b37db4085193737c925088214ac2e44bf800 | /Exercises_day1/CPP/quad.cpp | 060aafff88947ebaf37849e66c0079831d071f7a | [] | no_license | bryanchia/OSM_Lab | 16fec2141eb8893eaaf41027e25ea57ed53dd5b8 | 40ea482efcd5b1a6938adb3746edd774ad5ff9a1 | refs/heads/master | 2021-01-01T18:06:00.958640 | 2017-07-27T16:40:55 | 2017-07-27T16:40:55 | 98,249,679 | 0 | 0 | null | 2017-07-25T01:20:33 | 2017-07-25T01:20:33 | null | UTF-8 | C++ | false | false | 517 | cpp | // my first program in C++
// //
//
#include <iostream>
#include <string>
#include<cmath>
int main()
{
using namespace std;
cout << "Enter a";
double a = 0.0 ;
cin >> a;
cout << "Enter b";
double b = 0.0;
cin >> b;
cout << "Enter c";
int c = 0.0;
cin >> c;
double x1 = (-b + sqrt(pow(b, 2.0) - 4.0 *a*c))/(2.0 * a);
double x2 = (-b - sqrt(pow(b, 2.0) - 4.0 *a*c))/(2.0 * a);
cout << "Roots are:" << endl;
cout << x1<< endl;
cout << x2<<endl;
return 0;
}
| [
"rccguest0035@midway-login1.rcc.local"
] | rccguest0035@midway-login1.rcc.local |
80588bb94d3be7f6b54a740b720ecc3271b90fdc | e299ad494a144cc6cfebcd45b10ddcc8efab54a9 | /llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp | d3bf704fd4398d2176b4299b7ebe69cfdadaa952 | [
"NCSA"
] | permissive | apple-oss-distributions/lldb | 3dbd2fea5ce826b2bebec2fe88fadbca771efbdf | 10de1840defe0dff10b42b9c56971dbc17c1f18c | refs/heads/main | 2023-08-02T21:31:38.525968 | 2014-04-11T21:20:22 | 2021-10-06T05:26:12 | 413,590,587 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 95,652 | cpp | //===--- SemaObjCProperty.cpp - Semantic Analysis for ObjC @property ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements semantic analysis for Objective C @property and
// @synthesize declarations.
//
//===----------------------------------------------------------------------===//
#include "clang/Sema/SemaInternal.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Initialization.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SmallString.h"
using namespace clang;
//===----------------------------------------------------------------------===//
// Grammar actions.
//===----------------------------------------------------------------------===//
/// getImpliedARCOwnership - Given a set of property attributes and a
/// type, infer an expected lifetime. The type's ownership qualification
/// is not considered.
///
/// Returns OCL_None if the attributes as stated do not imply an ownership.
/// Never returns OCL_Autoreleasing.
static Qualifiers::ObjCLifetime getImpliedARCOwnership(
ObjCPropertyDecl::PropertyAttributeKind attrs,
QualType type) {
// retain, strong, copy, weak, and unsafe_unretained are only legal
// on properties of retainable pointer type.
if (attrs & (ObjCPropertyDecl::OBJC_PR_retain |
ObjCPropertyDecl::OBJC_PR_strong |
ObjCPropertyDecl::OBJC_PR_copy)) {
return Qualifiers::OCL_Strong;
} else if (attrs & ObjCPropertyDecl::OBJC_PR_weak) {
return Qualifiers::OCL_Weak;
} else if (attrs & ObjCPropertyDecl::OBJC_PR_unsafe_unretained) {
return Qualifiers::OCL_ExplicitNone;
}
// assign can appear on other types, so we have to check the
// property type.
if (attrs & ObjCPropertyDecl::OBJC_PR_assign &&
type->isObjCRetainableType()) {
return Qualifiers::OCL_ExplicitNone;
}
return Qualifiers::OCL_None;
}
/// Check the internal consistency of a property declaration.
static void checkARCPropertyDecl(Sema &S, ObjCPropertyDecl *property) {
if (property->isInvalidDecl()) return;
ObjCPropertyDecl::PropertyAttributeKind propertyKind
= property->getPropertyAttributes();
Qualifiers::ObjCLifetime propertyLifetime
= property->getType().getObjCLifetime();
// Nothing to do if we don't have a lifetime.
if (propertyLifetime == Qualifiers::OCL_None) return;
Qualifiers::ObjCLifetime expectedLifetime
= getImpliedARCOwnership(propertyKind, property->getType());
if (!expectedLifetime) {
// We have a lifetime qualifier but no dominating property
// attribute. That's okay, but restore reasonable invariants by
// setting the property attribute according to the lifetime
// qualifier.
ObjCPropertyDecl::PropertyAttributeKind attr;
if (propertyLifetime == Qualifiers::OCL_Strong) {
attr = ObjCPropertyDecl::OBJC_PR_strong;
} else if (propertyLifetime == Qualifiers::OCL_Weak) {
attr = ObjCPropertyDecl::OBJC_PR_weak;
} else {
assert(propertyLifetime == Qualifiers::OCL_ExplicitNone);
attr = ObjCPropertyDecl::OBJC_PR_unsafe_unretained;
}
property->setPropertyAttributes(attr);
return;
}
if (propertyLifetime == expectedLifetime) return;
property->setInvalidDecl();
S.Diag(property->getLocation(),
diag::err_arc_inconsistent_property_ownership)
<< property->getDeclName()
<< expectedLifetime
<< propertyLifetime;
}
static unsigned deduceWeakPropertyFromType(Sema &S, QualType T) {
if ((S.getLangOpts().getGC() != LangOptions::NonGC &&
T.isObjCGCWeak()) ||
(S.getLangOpts().ObjCAutoRefCount &&
T.getObjCLifetime() == Qualifiers::OCL_Weak))
return ObjCDeclSpec::DQ_PR_weak;
return 0;
}
/// \brief Check this Objective-C property against a property declared in the
/// given protocol.
static void
CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop,
ObjCProtocolDecl *Proto,
llvm::SmallPtrSet<ObjCProtocolDecl *, 16> &Known) {
// Have we seen this protocol before?
if (!Known.insert(Proto))
return;
// Look for a property with the same name.
DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName());
for (unsigned I = 0, N = R.size(); I != N; ++I) {
if (ObjCPropertyDecl *ProtoProp = dyn_cast<ObjCPropertyDecl>(R[I])) {
S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true);
return;
}
}
// Check this property against any protocols we inherit.
for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
PEnd = Proto->protocol_end();
P != PEnd; ++P) {
CheckPropertyAgainstProtocol(S, Prop, *P, Known);
}
}
Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc,
SourceLocation LParenLoc,
FieldDeclarator &FD,
ObjCDeclSpec &ODS,
Selector GetterSel,
Selector SetterSel,
bool *isOverridingProperty,
tok::ObjCKeywordKind MethodImplKind,
DeclContext *lexicalDC) {
unsigned Attributes = ODS.getPropertyAttributes();
TypeSourceInfo *TSI = GetTypeForDeclarator(FD.D, S);
QualType T = TSI->getType();
Attributes |= deduceWeakPropertyFromType(*this, T);
bool isReadWrite = ((Attributes & ObjCDeclSpec::DQ_PR_readwrite) ||
// default is readwrite!
!(Attributes & ObjCDeclSpec::DQ_PR_readonly));
// property is defaulted to 'assign' if it is readwrite and is
// not retain or copy
bool isAssign = ((Attributes & ObjCDeclSpec::DQ_PR_assign) ||
(isReadWrite &&
!(Attributes & ObjCDeclSpec::DQ_PR_retain) &&
!(Attributes & ObjCDeclSpec::DQ_PR_strong) &&
!(Attributes & ObjCDeclSpec::DQ_PR_copy) &&
!(Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained) &&
!(Attributes & ObjCDeclSpec::DQ_PR_weak)));
// Proceed with constructing the ObjCPropertyDecls.
ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext);
ObjCPropertyDecl *Res = 0;
if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
if (CDecl->IsClassExtension()) {
Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc,
FD, GetterSel, SetterSel,
isAssign, isReadWrite,
Attributes,
ODS.getPropertyAttributes(),
isOverridingProperty, TSI,
MethodImplKind);
if (!Res)
return 0;
}
}
if (!Res) {
Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD,
GetterSel, SetterSel, isAssign, isReadWrite,
Attributes, ODS.getPropertyAttributes(),
TSI, MethodImplKind);
if (lexicalDC)
Res->setLexicalDeclContext(lexicalDC);
}
// Validate the attributes on the @property.
CheckObjCPropertyAttributes(Res, AtLoc, Attributes,
(isa<ObjCInterfaceDecl>(ClassDecl) ||
isa<ObjCProtocolDecl>(ClassDecl)));
if (getLangOpts().ObjCAutoRefCount)
checkARCPropertyDecl(*this, Res);
llvm::SmallPtrSet<ObjCProtocolDecl *, 16> KnownProtos;
if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) {
// For a class, compare the property against a property in our superclass.
bool FoundInSuper = false;
if (ObjCInterfaceDecl *Super = IFace->getSuperClass()) {
DeclContext::lookup_result R = Super->lookup(Res->getDeclName());
for (unsigned I = 0, N = R.size(); I != N; ++I) {
if (ObjCPropertyDecl *SuperProp = dyn_cast<ObjCPropertyDecl>(R[I])) {
DiagnosePropertyMismatch(Res, SuperProp, Super->getIdentifier(), false);
FoundInSuper = true;
break;
}
}
}
if (FoundInSuper) {
// Also compare the property against a property in our protocols.
for (ObjCInterfaceDecl::protocol_iterator P = IFace->protocol_begin(),
PEnd = IFace->protocol_end();
P != PEnd; ++P) {
CheckPropertyAgainstProtocol(*this, Res, *P, KnownProtos);
}
} else {
// Slower path: look in all protocols we referenced.
for (ObjCInterfaceDecl::all_protocol_iterator
P = IFace->all_referenced_protocol_begin(),
PEnd = IFace->all_referenced_protocol_end();
P != PEnd; ++P) {
CheckPropertyAgainstProtocol(*this, Res, *P, KnownProtos);
}
}
} else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
for (ObjCCategoryDecl::protocol_iterator P = Cat->protocol_begin(),
PEnd = Cat->protocol_end();
P != PEnd; ++P) {
CheckPropertyAgainstProtocol(*this, Res, *P, KnownProtos);
}
} else {
ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl);
for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
PEnd = Proto->protocol_end();
P != PEnd; ++P) {
CheckPropertyAgainstProtocol(*this, Res, *P, KnownProtos);
}
}
ActOnDocumentableDecl(Res);
return Res;
}
static ObjCPropertyDecl::PropertyAttributeKind
makePropertyAttributesAsWritten(unsigned Attributes) {
unsigned attributesAsWritten = 0;
if (Attributes & ObjCDeclSpec::DQ_PR_readonly)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_readonly;
if (Attributes & ObjCDeclSpec::DQ_PR_readwrite)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_readwrite;
if (Attributes & ObjCDeclSpec::DQ_PR_getter)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_getter;
if (Attributes & ObjCDeclSpec::DQ_PR_setter)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_setter;
if (Attributes & ObjCDeclSpec::DQ_PR_assign)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_assign;
if (Attributes & ObjCDeclSpec::DQ_PR_retain)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_retain;
if (Attributes & ObjCDeclSpec::DQ_PR_strong)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_strong;
if (Attributes & ObjCDeclSpec::DQ_PR_weak)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_weak;
if (Attributes & ObjCDeclSpec::DQ_PR_copy)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_copy;
if (Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_unsafe_unretained;
if (Attributes & ObjCDeclSpec::DQ_PR_nonatomic)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_nonatomic;
if (Attributes & ObjCDeclSpec::DQ_PR_atomic)
attributesAsWritten |= ObjCPropertyDecl::OBJC_PR_atomic;
return (ObjCPropertyDecl::PropertyAttributeKind)attributesAsWritten;
}
static bool LocPropertyAttribute( ASTContext &Context, const char *attrName,
SourceLocation LParenLoc, SourceLocation &Loc) {
if (LParenLoc.isMacroID())
return false;
SourceManager &SM = Context.getSourceManager();
std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc);
// Try to load the file buffer.
bool invalidTemp = false;
StringRef file = SM.getBufferData(locInfo.first, &invalidTemp);
if (invalidTemp)
return false;
const char *tokenBegin = file.data() + locInfo.second;
// Lex from the start of the given location.
Lexer lexer(SM.getLocForStartOfFile(locInfo.first),
Context.getLangOpts(),
file.begin(), tokenBegin, file.end());
Token Tok;
do {
lexer.LexFromRawLexer(Tok);
if (Tok.is(tok::raw_identifier) &&
StringRef(Tok.getRawIdentifierData(), Tok.getLength()) == attrName) {
Loc = Tok.getLocation();
return true;
}
} while (Tok.isNot(tok::r_paren));
return false;
}
static unsigned getOwnershipRule(unsigned attr) {
return attr & (ObjCPropertyDecl::OBJC_PR_assign |
ObjCPropertyDecl::OBJC_PR_retain |
ObjCPropertyDecl::OBJC_PR_copy |
ObjCPropertyDecl::OBJC_PR_weak |
ObjCPropertyDecl::OBJC_PR_strong |
ObjCPropertyDecl::OBJC_PR_unsafe_unretained);
}
ObjCPropertyDecl *
Sema::HandlePropertyInClassExtension(Scope *S,
SourceLocation AtLoc,
SourceLocation LParenLoc,
FieldDeclarator &FD,
Selector GetterSel, Selector SetterSel,
const bool isAssign,
const bool isReadWrite,
const unsigned Attributes,
const unsigned AttributesAsWritten,
bool *isOverridingProperty,
TypeSourceInfo *T,
tok::ObjCKeywordKind MethodImplKind) {
ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext);
// Diagnose if this property is already in continuation class.
DeclContext *DC = CurContext;
IdentifierInfo *PropertyId = FD.D.getIdentifier();
ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface();
if (CCPrimary) {
// Check for duplicate declaration of this property in current and
// other class extensions.
for (ObjCInterfaceDecl::known_extensions_iterator
Ext = CCPrimary->known_extensions_begin(),
ExtEnd = CCPrimary->known_extensions_end();
Ext != ExtEnd; ++Ext) {
if (ObjCPropertyDecl *prevDecl
= ObjCPropertyDecl::findPropertyDecl(*Ext, PropertyId)) {
Diag(AtLoc, diag::err_duplicate_property);
Diag(prevDecl->getLocation(), diag::note_property_declare);
return 0;
}
}
}
// Create a new ObjCPropertyDecl with the DeclContext being
// the class extension.
// FIXME. We should really be using CreatePropertyDecl for this.
ObjCPropertyDecl *PDecl =
ObjCPropertyDecl::Create(Context, DC, FD.D.getIdentifierLoc(),
PropertyId, AtLoc, LParenLoc, T);
PDecl->setPropertyAttributesAsWritten(
makePropertyAttributesAsWritten(AttributesAsWritten));
if (Attributes & ObjCDeclSpec::DQ_PR_readonly)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readonly);
if (Attributes & ObjCDeclSpec::DQ_PR_readwrite)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readwrite);
if (Attributes & ObjCDeclSpec::DQ_PR_nonatomic)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_nonatomic);
if (Attributes & ObjCDeclSpec::DQ_PR_atomic)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_atomic);
// Set setter/getter selector name. Needed later.
PDecl->setGetterName(GetterSel);
PDecl->setSetterName(SetterSel);
ProcessDeclAttributes(S, PDecl, FD.D);
DC->addDecl(PDecl);
// We need to look in the @interface to see if the @property was
// already declared.
if (!CCPrimary) {
Diag(CDecl->getLocation(), diag::err_continuation_class);
*isOverridingProperty = true;
return 0;
}
// Find the property in continuation class's primary class only.
ObjCPropertyDecl *PIDecl =
CCPrimary->FindPropertyVisibleInPrimaryClass(PropertyId);
if (!PIDecl) {
// No matching property found in the primary class. Just fall thru
// and add property to continuation class's primary class.
ObjCPropertyDecl *PrimaryPDecl =
CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc,
FD, GetterSel, SetterSel, isAssign, isReadWrite,
Attributes,AttributesAsWritten, T, MethodImplKind, DC);
// A case of continuation class adding a new property in the class. This
// is not what it was meant for. However, gcc supports it and so should we.
// Make sure setter/getters are declared here.
ProcessPropertyDecl(PrimaryPDecl, CCPrimary, /* redeclaredProperty = */ 0,
/* lexicalDC = */ CDecl);
PDecl->setGetterMethodDecl(PrimaryPDecl->getGetterMethodDecl());
PDecl->setSetterMethodDecl(PrimaryPDecl->getSetterMethodDecl());
if (ASTMutationListener *L = Context.getASTMutationListener())
L->AddedObjCPropertyInClassExtension(PrimaryPDecl, /*OrigProp=*/0, CDecl);
return PrimaryPDecl;
}
if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) {
bool IncompatibleObjC = false;
QualType ConvertedType;
// Relax the strict type matching for property type in continuation class.
// Allow property object type of continuation class to be different as long
// as it narrows the object type in its primary class property. Note that
// this conversion is safe only because the wider type is for a 'readonly'
// property in primary class and 'narrowed' type for a 'readwrite' property
// in continuation class.
if (!isa<ObjCObjectPointerType>(PIDecl->getType()) ||
!isa<ObjCObjectPointerType>(PDecl->getType()) ||
(!isObjCPointerConversion(PDecl->getType(), PIDecl->getType(),
ConvertedType, IncompatibleObjC))
|| IncompatibleObjC) {
Diag(AtLoc,
diag::err_type_mismatch_continuation_class) << PDecl->getType();
Diag(PIDecl->getLocation(), diag::note_property_declare);
return 0;
}
}
// The property 'PIDecl's readonly attribute will be over-ridden
// with continuation class's readwrite property attribute!
unsigned PIkind = PIDecl->getPropertyAttributesAsWritten();
if (isReadWrite && (PIkind & ObjCPropertyDecl::OBJC_PR_readonly)) {
PIkind &= ~ObjCPropertyDecl::OBJC_PR_readonly;
PIkind |= ObjCPropertyDecl::OBJC_PR_readwrite;
PIkind |= deduceWeakPropertyFromType(*this, PIDecl->getType());
unsigned ClassExtensionMemoryModel = getOwnershipRule(Attributes);
unsigned PrimaryClassMemoryModel = getOwnershipRule(PIkind);
if (PrimaryClassMemoryModel && ClassExtensionMemoryModel &&
(PrimaryClassMemoryModel != ClassExtensionMemoryModel)) {
Diag(AtLoc, diag::warn_property_attr_mismatch);
Diag(PIDecl->getLocation(), diag::note_property_declare);
}
else if (getLangOpts().ObjCAutoRefCount) {
QualType PrimaryPropertyQT =
Context.getCanonicalType(PIDecl->getType()).getUnqualifiedType();
if (isa<ObjCObjectPointerType>(PrimaryPropertyQT)) {
bool PropertyIsWeak = ((PIkind & ObjCPropertyDecl::OBJC_PR_weak) != 0);
Qualifiers::ObjCLifetime PrimaryPropertyLifeTime =
PrimaryPropertyQT.getObjCLifetime();
if (PrimaryPropertyLifeTime == Qualifiers::OCL_None &&
(Attributes & ObjCDeclSpec::DQ_PR_weak) &&
!PropertyIsWeak) {
Diag(AtLoc, diag::warn_property_implicitly_mismatched);
Diag(PIDecl->getLocation(), diag::note_property_declare);
}
}
}
DeclContext *DC = cast<DeclContext>(CCPrimary);
if (!ObjCPropertyDecl::findPropertyDecl(DC,
PIDecl->getDeclName().getAsIdentifierInfo())) {
// Protocol is not in the primary class. Must build one for it.
ObjCDeclSpec ProtocolPropertyODS;
// FIXME. Assuming that ObjCDeclSpec::ObjCPropertyAttributeKind
// and ObjCPropertyDecl::PropertyAttributeKind have identical
// values. Should consolidate both into one enum type.
ProtocolPropertyODS.
setPropertyAttributes((ObjCDeclSpec::ObjCPropertyAttributeKind)
PIkind);
// Must re-establish the context from class extension to primary
// class context.
ContextRAII SavedContext(*this, CCPrimary);
Decl *ProtocolPtrTy =
ActOnProperty(S, AtLoc, LParenLoc, FD, ProtocolPropertyODS,
PIDecl->getGetterName(),
PIDecl->getSetterName(),
isOverridingProperty,
MethodImplKind,
/* lexicalDC = */ CDecl);
PIDecl = cast<ObjCPropertyDecl>(ProtocolPtrTy);
}
PIDecl->makeitReadWriteAttribute();
if (Attributes & ObjCDeclSpec::DQ_PR_retain)
PIDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_retain);
if (Attributes & ObjCDeclSpec::DQ_PR_strong)
PIDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
if (Attributes & ObjCDeclSpec::DQ_PR_copy)
PIDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_copy);
PIDecl->setSetterName(SetterSel);
} else {
// Tailor the diagnostics for the common case where a readwrite
// property is declared both in the @interface and the continuation.
// This is a common error where the user often intended the original
// declaration to be readonly.
unsigned diag =
(Attributes & ObjCDeclSpec::DQ_PR_readwrite) &&
(PIkind & ObjCPropertyDecl::OBJC_PR_readwrite)
? diag::err_use_continuation_class_redeclaration_readwrite
: diag::err_use_continuation_class;
Diag(AtLoc, diag)
<< CCPrimary->getDeclName();
Diag(PIDecl->getLocation(), diag::note_property_declare);
return 0;
}
*isOverridingProperty = true;
// Make sure setter decl is synthesized, and added to primary class's list.
ProcessPropertyDecl(PIDecl, CCPrimary, PDecl, CDecl);
PDecl->setGetterMethodDecl(PIDecl->getGetterMethodDecl());
PDecl->setSetterMethodDecl(PIDecl->getSetterMethodDecl());
if (ASTMutationListener *L = Context.getASTMutationListener())
L->AddedObjCPropertyInClassExtension(PDecl, PIDecl, CDecl);
return PDecl;
}
ObjCPropertyDecl *Sema::CreatePropertyDecl(Scope *S,
ObjCContainerDecl *CDecl,
SourceLocation AtLoc,
SourceLocation LParenLoc,
FieldDeclarator &FD,
Selector GetterSel,
Selector SetterSel,
const bool isAssign,
const bool isReadWrite,
const unsigned Attributes,
const unsigned AttributesAsWritten,
TypeSourceInfo *TInfo,
tok::ObjCKeywordKind MethodImplKind,
DeclContext *lexicalDC){
IdentifierInfo *PropertyId = FD.D.getIdentifier();
QualType T = TInfo->getType();
// Issue a warning if property is 'assign' as default and its object, which is
// gc'able conforms to NSCopying protocol
if (getLangOpts().getGC() != LangOptions::NonGC &&
isAssign && !(Attributes & ObjCDeclSpec::DQ_PR_assign))
if (const ObjCObjectPointerType *ObjPtrTy =
T->getAs<ObjCObjectPointerType>()) {
ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
if (IDecl)
if (ObjCProtocolDecl* PNSCopying =
LookupProtocol(&Context.Idents.get("NSCopying"), AtLoc))
if (IDecl->ClassImplementsProtocol(PNSCopying, true))
Diag(AtLoc, diag::warn_implements_nscopying) << PropertyId;
}
if (T->isObjCObjectType()) {
SourceLocation StarLoc = TInfo->getTypeLoc().getLocEnd();
StarLoc = PP.getLocForEndOfToken(StarLoc);
Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object)
<< FixItHint::CreateInsertion(StarLoc, "*");
T = Context.getObjCObjectPointerType(T);
SourceLocation TLoc = TInfo->getTypeLoc().getLocStart();
TInfo = Context.getTrivialTypeSourceInfo(T, TLoc);
}
DeclContext *DC = cast<DeclContext>(CDecl);
ObjCPropertyDecl *PDecl = ObjCPropertyDecl::Create(Context, DC,
FD.D.getIdentifierLoc(),
PropertyId, AtLoc, LParenLoc, TInfo);
if (ObjCPropertyDecl *prevDecl =
ObjCPropertyDecl::findPropertyDecl(DC, PropertyId)) {
Diag(PDecl->getLocation(), diag::err_duplicate_property);
Diag(prevDecl->getLocation(), diag::note_property_declare);
PDecl->setInvalidDecl();
}
else {
DC->addDecl(PDecl);
if (lexicalDC)
PDecl->setLexicalDeclContext(lexicalDC);
}
if (T->isArrayType() || T->isFunctionType()) {
Diag(AtLoc, diag::err_property_type) << T;
PDecl->setInvalidDecl();
}
ProcessDeclAttributes(S, PDecl, FD.D);
// Regardless of setter/getter attribute, we save the default getter/setter
// selector names in anticipation of declaration of setter/getter methods.
PDecl->setGetterName(GetterSel);
PDecl->setSetterName(SetterSel);
PDecl->setPropertyAttributesAsWritten(
makePropertyAttributesAsWritten(AttributesAsWritten));
if (Attributes & ObjCDeclSpec::DQ_PR_readonly)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readonly);
if (Attributes & ObjCDeclSpec::DQ_PR_getter)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_getter);
if (Attributes & ObjCDeclSpec::DQ_PR_setter)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_setter);
if (isReadWrite)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readwrite);
if (Attributes & ObjCDeclSpec::DQ_PR_retain)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_retain);
if (Attributes & ObjCDeclSpec::DQ_PR_strong)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
if (Attributes & ObjCDeclSpec::DQ_PR_weak)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_weak);
if (Attributes & ObjCDeclSpec::DQ_PR_copy)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_copy);
if (Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_unsafe_unretained);
if (isAssign)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_assign);
// In the semantic attributes, one of nonatomic or atomic is always set.
if (Attributes & ObjCDeclSpec::DQ_PR_nonatomic)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_nonatomic);
else
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_atomic);
// 'unsafe_unretained' is alias for 'assign'.
if (Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_assign);
if (isAssign)
PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_unsafe_unretained);
if (MethodImplKind == tok::objc_required)
PDecl->setPropertyImplementation(ObjCPropertyDecl::Required);
else if (MethodImplKind == tok::objc_optional)
PDecl->setPropertyImplementation(ObjCPropertyDecl::Optional);
return PDecl;
}
static void checkARCPropertyImpl(Sema &S, SourceLocation propertyImplLoc,
ObjCPropertyDecl *property,
ObjCIvarDecl *ivar) {
if (property->isInvalidDecl() || ivar->isInvalidDecl()) return;
QualType ivarType = ivar->getType();
Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime();
// The lifetime implied by the property's attributes.
Qualifiers::ObjCLifetime propertyLifetime =
getImpliedARCOwnership(property->getPropertyAttributes(),
property->getType());
// We're fine if they match.
if (propertyLifetime == ivarLifetime) return;
// These aren't valid lifetimes for object ivars; don't diagnose twice.
if (ivarLifetime == Qualifiers::OCL_None ||
ivarLifetime == Qualifiers::OCL_Autoreleasing)
return;
// If the ivar is private, and it's implicitly __unsafe_unretained
// becaues of its type, then pretend it was actually implicitly
// __strong. This is only sound because we're processing the
// property implementation before parsing any method bodies.
if (ivarLifetime == Qualifiers::OCL_ExplicitNone &&
propertyLifetime == Qualifiers::OCL_Strong &&
ivar->getAccessControl() == ObjCIvarDecl::Private) {
SplitQualType split = ivarType.split();
if (split.Quals.hasObjCLifetime()) {
assert(ivarType->isObjCARCImplicitlyUnretainedType());
split.Quals.setObjCLifetime(Qualifiers::OCL_Strong);
ivarType = S.Context.getQualifiedType(split);
ivar->setType(ivarType);
return;
}
}
switch (propertyLifetime) {
case Qualifiers::OCL_Strong:
S.Diag(ivar->getLocation(), diag::err_arc_strong_property_ownership)
<< property->getDeclName()
<< ivar->getDeclName()
<< ivarLifetime;
break;
case Qualifiers::OCL_Weak:
S.Diag(ivar->getLocation(), diag::error_weak_property)
<< property->getDeclName()
<< ivar->getDeclName();
break;
case Qualifiers::OCL_ExplicitNone:
S.Diag(ivar->getLocation(), diag::err_arc_assign_property_ownership)
<< property->getDeclName()
<< ivar->getDeclName()
<< ((property->getPropertyAttributesAsWritten()
& ObjCPropertyDecl::OBJC_PR_assign) != 0);
break;
case Qualifiers::OCL_Autoreleasing:
llvm_unreachable("properties cannot be autoreleasing");
case Qualifiers::OCL_None:
// Any other property should be ignored.
return;
}
S.Diag(property->getLocation(), diag::note_property_declare);
if (propertyImplLoc.isValid())
S.Diag(propertyImplLoc, diag::note_property_synthesize);
}
/// setImpliedPropertyAttributeForReadOnlyProperty -
/// This routine evaludates life-time attributes for a 'readonly'
/// property with no known lifetime of its own, using backing
/// 'ivar's attribute, if any. If no backing 'ivar', property's
/// life-time is assumed 'strong'.
static void setImpliedPropertyAttributeForReadOnlyProperty(
ObjCPropertyDecl *property, ObjCIvarDecl *ivar) {
Qualifiers::ObjCLifetime propertyLifetime =
getImpliedARCOwnership(property->getPropertyAttributes(),
property->getType());
if (propertyLifetime != Qualifiers::OCL_None)
return;
if (!ivar) {
// if no backing ivar, make property 'strong'.
property->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
return;
}
// property assumes owenership of backing ivar.
QualType ivarType = ivar->getType();
Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime();
if (ivarLifetime == Qualifiers::OCL_Strong)
property->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
else if (ivarLifetime == Qualifiers::OCL_Weak)
property->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_weak);
return;
}
/// DiagnosePropertyMismatchDeclInProtocols - diagnose properties declared
/// in inherited protocols with mismatched types. Since any of them can
/// be candidate for synthesis.
static void
DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc,
ObjCInterfaceDecl *ClassDecl,
ObjCPropertyDecl *Property) {
ObjCInterfaceDecl::ProtocolPropertyMap PropMap;
for (ObjCInterfaceDecl::all_protocol_iterator
PI = ClassDecl->all_referenced_protocol_begin(),
E = ClassDecl->all_referenced_protocol_end(); PI != E; ++PI) {
if (const ObjCProtocolDecl *PDecl = (*PI)->getDefinition())
PDecl->collectInheritedProtocolProperties(Property, PropMap);
}
if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass())
while (SDecl) {
for (ObjCInterfaceDecl::all_protocol_iterator
PI = SDecl->all_referenced_protocol_begin(),
E = SDecl->all_referenced_protocol_end(); PI != E; ++PI) {
if (const ObjCProtocolDecl *PDecl = (*PI)->getDefinition())
PDecl->collectInheritedProtocolProperties(Property, PropMap);
}
SDecl = SDecl->getSuperClass();
}
if (PropMap.empty())
return;
QualType RHSType = S.Context.getCanonicalType(Property->getType());
bool FirsTime = true;
for (ObjCInterfaceDecl::ProtocolPropertyMap::iterator
I = PropMap.begin(), E = PropMap.end(); I != E; I++) {
ObjCPropertyDecl *Prop = I->second;
QualType LHSType = S.Context.getCanonicalType(Prop->getType());
if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) {
bool IncompatibleObjC = false;
QualType ConvertedType;
if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC)
|| IncompatibleObjC) {
if (FirsTime) {
S.Diag(Property->getLocation(), diag::warn_protocol_property_mismatch)
<< Property->getType();
FirsTime = false;
}
S.Diag(Prop->getLocation(), diag::note_protocol_property_declare)
<< Prop->getType();
}
}
}
if (!FirsTime && AtLoc.isValid())
S.Diag(AtLoc, diag::note_property_synthesize);
}
/// ActOnPropertyImplDecl - This routine performs semantic checks and
/// builds the AST node for a property implementation declaration; declared
/// as \@synthesize or \@dynamic.
///
Decl *Sema::ActOnPropertyImplDecl(Scope *S,
SourceLocation AtLoc,
SourceLocation PropertyLoc,
bool Synthesize,
IdentifierInfo *PropertyId,
IdentifierInfo *PropertyIvar,
SourceLocation PropertyIvarLoc) {
ObjCContainerDecl *ClassImpDecl =
dyn_cast<ObjCContainerDecl>(CurContext);
// Make sure we have a context for the property implementation declaration.
if (!ClassImpDecl) {
Diag(AtLoc, diag::error_missing_property_context);
return 0;
}
if (PropertyIvarLoc.isInvalid())
PropertyIvarLoc = PropertyLoc;
SourceLocation PropertyDiagLoc = PropertyLoc;
if (PropertyDiagLoc.isInvalid())
PropertyDiagLoc = ClassImpDecl->getLocStart();
ObjCPropertyDecl *property = 0;
ObjCInterfaceDecl* IDecl = 0;
// Find the class or category class where this property must have
// a declaration.
ObjCImplementationDecl *IC = 0;
ObjCCategoryImplDecl* CatImplClass = 0;
if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) {
IDecl = IC->getClassInterface();
// We always synthesize an interface for an implementation
// without an interface decl. So, IDecl is always non-zero.
assert(IDecl &&
"ActOnPropertyImplDecl - @implementation without @interface");
// Look for this property declaration in the @implementation's @interface
property = IDecl->FindPropertyDeclaration(PropertyId);
if (!property) {
Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName();
return 0;
}
unsigned PIkind = property->getPropertyAttributesAsWritten();
if ((PIkind & (ObjCPropertyDecl::OBJC_PR_atomic |
ObjCPropertyDecl::OBJC_PR_nonatomic) ) == 0) {
if (AtLoc.isValid())
Diag(AtLoc, diag::warn_implicit_atomic_property);
else
Diag(IC->getLocation(), diag::warn_auto_implicit_atomic_property);
Diag(property->getLocation(), diag::note_property_declare);
}
if (const ObjCCategoryDecl *CD =
dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) {
if (!CD->IsClassExtension()) {
Diag(PropertyLoc, diag::error_category_property) << CD->getDeclName();
Diag(property->getLocation(), diag::note_property_declare);
return 0;
}
}
if (Synthesize&&
(PIkind & ObjCPropertyDecl::OBJC_PR_readonly) &&
property->hasAttr<IBOutletAttr>() &&
!AtLoc.isValid()) {
bool ReadWriteProperty = false;
// Search into the class extensions and see if 'readonly property is
// redeclared 'readwrite', then no warning is to be issued.
for (ObjCInterfaceDecl::known_extensions_iterator
Ext = IDecl->known_extensions_begin(),
ExtEnd = IDecl->known_extensions_end(); Ext != ExtEnd; ++Ext) {
DeclContext::lookup_result R = Ext->lookup(property->getDeclName());
if (!R.empty())
if (ObjCPropertyDecl *ExtProp = dyn_cast<ObjCPropertyDecl>(R[0])) {
PIkind = ExtProp->getPropertyAttributesAsWritten();
if (PIkind & ObjCPropertyDecl::OBJC_PR_readwrite) {
ReadWriteProperty = true;
break;
}
}
}
if (!ReadWriteProperty) {
Diag(property->getLocation(), diag::warn_auto_readonly_iboutlet_property)
<< property->getName();
SourceLocation readonlyLoc;
if (LocPropertyAttribute(Context, "readonly",
property->getLParenLoc(), readonlyLoc)) {
SourceLocation endLoc =
readonlyLoc.getLocWithOffset(strlen("readonly")-1);
SourceRange ReadonlySourceRange(readonlyLoc, endLoc);
Diag(property->getLocation(),
diag::note_auto_readonly_iboutlet_fixup_suggest) <<
FixItHint::CreateReplacement(ReadonlySourceRange, "readwrite");
}
}
}
if (Synthesize && isa<ObjCProtocolDecl>(property->getDeclContext()))
DiagnosePropertyMismatchDeclInProtocols(*this, AtLoc, IDecl, property);
} else if ((CatImplClass = dyn_cast<ObjCCategoryImplDecl>(ClassImpDecl))) {
if (Synthesize) {
Diag(AtLoc, diag::error_synthesize_category_decl);
return 0;
}
IDecl = CatImplClass->getClassInterface();
if (!IDecl) {
Diag(AtLoc, diag::error_missing_property_interface);
return 0;
}
ObjCCategoryDecl *Category =
IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier());
// If category for this implementation not found, it is an error which
// has already been reported eralier.
if (!Category)
return 0;
// Look for this property declaration in @implementation's category
property = Category->FindPropertyDeclaration(PropertyId);
if (!property) {
Diag(PropertyLoc, diag::error_bad_category_property_decl)
<< Category->getDeclName();
return 0;
}
} else {
Diag(AtLoc, diag::error_bad_property_context);
return 0;
}
ObjCIvarDecl *Ivar = 0;
bool CompleteTypeErr = false;
bool compat = true;
// Check that we have a valid, previously declared ivar for @synthesize
if (Synthesize) {
// @synthesize
if (!PropertyIvar)
PropertyIvar = PropertyId;
// Check that this is a previously declared 'ivar' in 'IDecl' interface
ObjCInterfaceDecl *ClassDeclared;
Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
QualType PropType = property->getType();
QualType PropertyIvarType = PropType.getNonReferenceType();
if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType,
diag::err_incomplete_synthesized_property,
property->getDeclName())) {
Diag(property->getLocation(), diag::note_property_declare);
CompleteTypeErr = true;
}
if (getLangOpts().ObjCAutoRefCount &&
(property->getPropertyAttributesAsWritten() &
ObjCPropertyDecl::OBJC_PR_readonly) &&
PropertyIvarType->isObjCRetainableType()) {
setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar);
}
ObjCPropertyDecl::PropertyAttributeKind kind
= property->getPropertyAttributes();
// Add GC __weak to the ivar type if the property is weak.
if ((kind & ObjCPropertyDecl::OBJC_PR_weak) &&
getLangOpts().getGC() != LangOptions::NonGC) {
assert(!getLangOpts().ObjCAutoRefCount);
if (PropertyIvarType.isObjCGCStrong()) {
Diag(PropertyDiagLoc, diag::err_gc_weak_property_strong_type);
Diag(property->getLocation(), diag::note_property_declare);
} else {
PropertyIvarType =
Context.getObjCGCQualType(PropertyIvarType, Qualifiers::Weak);
}
}
if (AtLoc.isInvalid()) {
// Check when default synthesizing a property that there is
// an ivar matching property name and issue warning; since this
// is the most common case of not using an ivar used for backing
// property in non-default synthesis case.
ObjCInterfaceDecl *ClassDeclared=0;
ObjCIvarDecl *originalIvar =
IDecl->lookupInstanceVariable(property->getIdentifier(),
ClassDeclared);
if (originalIvar) {
Diag(PropertyDiagLoc,
diag::warn_autosynthesis_property_ivar_match)
<< PropertyId << (Ivar == 0) << PropertyIvar
<< originalIvar->getIdentifier();
Diag(property->getLocation(), diag::note_property_declare);
Diag(originalIvar->getLocation(), diag::note_ivar_decl);
}
}
if (!Ivar) {
// In ARC, give the ivar a lifetime qualifier based on the
// property attributes.
if (getLangOpts().ObjCAutoRefCount &&
!PropertyIvarType.getObjCLifetime() &&
PropertyIvarType->isObjCRetainableType()) {
// It's an error if we have to do this and the user didn't
// explicitly write an ownership attribute on the property.
if (!property->hasWrittenStorageAttribute() &&
!(kind & ObjCPropertyDecl::OBJC_PR_strong)) {
Diag(PropertyDiagLoc,
diag::err_arc_objc_property_default_assign_on_object);
Diag(property->getLocation(), diag::note_property_declare);
} else {
Qualifiers::ObjCLifetime lifetime =
getImpliedARCOwnership(kind, PropertyIvarType);
assert(lifetime && "no lifetime for property?");
if (lifetime == Qualifiers::OCL_Weak) {
bool err = false;
if (const ObjCObjectPointerType *ObjT =
PropertyIvarType->getAs<ObjCObjectPointerType>()) {
const ObjCInterfaceDecl *ObjI = ObjT->getInterfaceDecl();
if (ObjI && ObjI->isArcWeakrefUnavailable()) {
Diag(property->getLocation(),
diag::err_arc_weak_unavailable_property) << PropertyIvarType;
Diag(ClassImpDecl->getLocation(), diag::note_implemented_by_class)
<< ClassImpDecl->getName();
err = true;
}
}
if (!err && !getLangOpts().ObjCARCWeak) {
Diag(PropertyDiagLoc, diag::err_arc_weak_no_runtime);
Diag(property->getLocation(), diag::note_property_declare);
}
}
Qualifiers qs;
qs.addObjCLifetime(lifetime);
PropertyIvarType = Context.getQualifiedType(PropertyIvarType, qs);
}
}
if (kind & ObjCPropertyDecl::OBJC_PR_weak &&
!getLangOpts().ObjCAutoRefCount &&
getLangOpts().getGC() == LangOptions::NonGC) {
Diag(PropertyDiagLoc, diag::error_synthesize_weak_non_arc_or_gc);
Diag(property->getLocation(), diag::note_property_declare);
}
Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl,
PropertyIvarLoc,PropertyIvarLoc, PropertyIvar,
PropertyIvarType, /*Dinfo=*/0,
ObjCIvarDecl::Private,
(Expr *)0, true);
if (RequireNonAbstractType(PropertyIvarLoc,
PropertyIvarType,
diag::err_abstract_type_in_decl,
AbstractSynthesizedIvarType)) {
Diag(property->getLocation(), diag::note_property_declare);
Ivar->setInvalidDecl();
} else if (CompleteTypeErr)
Ivar->setInvalidDecl();
ClassImpDecl->addDecl(Ivar);
IDecl->makeDeclVisibleInContext(Ivar);
if (getLangOpts().ObjCRuntime.isFragile())
Diag(PropertyDiagLoc, diag::error_missing_property_ivar_decl)
<< PropertyId;
// Note! I deliberately want it to fall thru so, we have a
// a property implementation and to avoid future warnings.
} else if (getLangOpts().ObjCRuntime.isNonFragile() &&
!declaresSameEntity(ClassDeclared, IDecl)) {
Diag(PropertyDiagLoc, diag::error_ivar_in_superclass_use)
<< property->getDeclName() << Ivar->getDeclName()
<< ClassDeclared->getDeclName();
Diag(Ivar->getLocation(), diag::note_previous_access_declaration)
<< Ivar << Ivar->getName();
// Note! I deliberately want it to fall thru so more errors are caught.
}
property->setPropertyIvarDecl(Ivar);
QualType IvarType = Context.getCanonicalType(Ivar->getType());
// Check that type of property and its ivar are type compatible.
if (!Context.hasSameType(PropertyIvarType, IvarType)) {
if (isa<ObjCObjectPointerType>(PropertyIvarType)
&& isa<ObjCObjectPointerType>(IvarType))
compat =
Context.canAssignObjCInterfaces(
PropertyIvarType->getAs<ObjCObjectPointerType>(),
IvarType->getAs<ObjCObjectPointerType>());
else {
compat = (CheckAssignmentConstraints(PropertyIvarLoc, PropertyIvarType,
IvarType)
== Compatible);
}
if (!compat) {
Diag(PropertyDiagLoc, diag::error_property_ivar_type)
<< property->getDeclName() << PropType
<< Ivar->getDeclName() << IvarType;
Diag(Ivar->getLocation(), diag::note_ivar_decl);
// Note! I deliberately want it to fall thru so, we have a
// a property implementation and to avoid future warnings.
}
else {
// FIXME! Rules for properties are somewhat different that those
// for assignments. Use a new routine to consolidate all cases;
// specifically for property redeclarations as well as for ivars.
QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType();
QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType();
if (lhsType != rhsType &&
lhsType->isArithmeticType()) {
Diag(PropertyDiagLoc, diag::error_property_ivar_type)
<< property->getDeclName() << PropType
<< Ivar->getDeclName() << IvarType;
Diag(Ivar->getLocation(), diag::note_ivar_decl);
// Fall thru - see previous comment
}
}
// __weak is explicit. So it works on Canonical type.
if ((PropType.isObjCGCWeak() && !IvarType.isObjCGCWeak() &&
getLangOpts().getGC() != LangOptions::NonGC)) {
Diag(PropertyDiagLoc, diag::error_weak_property)
<< property->getDeclName() << Ivar->getDeclName();
Diag(Ivar->getLocation(), diag::note_ivar_decl);
// Fall thru - see previous comment
}
// Fall thru - see previous comment
if ((property->getType()->isObjCObjectPointerType() ||
PropType.isObjCGCStrong()) && IvarType.isObjCGCWeak() &&
getLangOpts().getGC() != LangOptions::NonGC) {
Diag(PropertyDiagLoc, diag::error_strong_property)
<< property->getDeclName() << Ivar->getDeclName();
// Fall thru - see previous comment
}
}
if (getLangOpts().ObjCAutoRefCount)
checkARCPropertyImpl(*this, PropertyLoc, property, Ivar);
} else if (PropertyIvar)
// @dynamic
Diag(PropertyDiagLoc, diag::error_dynamic_property_ivar_decl);
assert (property && "ActOnPropertyImplDecl - property declaration missing");
ObjCPropertyImplDecl *PIDecl =
ObjCPropertyImplDecl::Create(Context, CurContext, AtLoc, PropertyLoc,
property,
(Synthesize ?
ObjCPropertyImplDecl::Synthesize
: ObjCPropertyImplDecl::Dynamic),
Ivar, PropertyIvarLoc);
if (CompleteTypeErr || !compat)
PIDecl->setInvalidDecl();
if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) {
getterMethod->createImplicitParams(Context, IDecl);
if (getLangOpts().CPlusPlus && Synthesize && !CompleteTypeErr &&
Ivar->getType()->isRecordType()) {
// For Objective-C++, need to synthesize the AST for the IVAR object to be
// returned by the getter as it must conform to C++'s copy-return rules.
// FIXME. Eventually we want to do this for Objective-C as well.
SynthesizedFunctionScope Scope(*this, getterMethod);
ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl();
DeclRefExpr *SelfExpr =
new (Context) DeclRefExpr(SelfDecl, false, SelfDecl->getType(),
VK_RValue, PropertyDiagLoc);
MarkDeclRefReferenced(SelfExpr);
Expr *IvarRefExpr =
new (Context) ObjCIvarRefExpr(Ivar, Ivar->getType(), PropertyDiagLoc,
Ivar->getLocation(),
SelfExpr, true, true);
ExprResult Res =
PerformCopyInitialization(InitializedEntity::InitializeResult(
PropertyDiagLoc,
getterMethod->getResultType(),
/*NRVO=*/false),
PropertyDiagLoc,
Owned(IvarRefExpr));
if (!Res.isInvalid()) {
Expr *ResExpr = Res.takeAs<Expr>();
if (ResExpr)
ResExpr = MaybeCreateExprWithCleanups(ResExpr);
PIDecl->setGetterCXXConstructor(ResExpr);
}
}
if (property->hasAttr<NSReturnsNotRetainedAttr>() &&
!getterMethod->hasAttr<NSReturnsNotRetainedAttr>()) {
Diag(getterMethod->getLocation(),
diag::warn_property_getter_owning_mismatch);
Diag(property->getLocation(), diag::note_property_declare);
}
if (getLangOpts().ObjCAutoRefCount && Synthesize)
switch (getterMethod->getMethodFamily()) {
case OMF_retain:
case OMF_retainCount:
case OMF_release:
case OMF_autorelease:
Diag(getterMethod->getLocation(), diag::err_arc_illegal_method_def)
<< 1 << getterMethod->getSelector();
break;
default:
break;
}
}
if (ObjCMethodDecl *setterMethod = property->getSetterMethodDecl()) {
setterMethod->createImplicitParams(Context, IDecl);
if (getLangOpts().CPlusPlus && Synthesize && !CompleteTypeErr &&
Ivar->getType()->isRecordType()) {
// FIXME. Eventually we want to do this for Objective-C as well.
SynthesizedFunctionScope Scope(*this, setterMethod);
ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl();
DeclRefExpr *SelfExpr =
new (Context) DeclRefExpr(SelfDecl, false, SelfDecl->getType(),
VK_RValue, PropertyDiagLoc);
MarkDeclRefReferenced(SelfExpr);
Expr *lhs =
new (Context) ObjCIvarRefExpr(Ivar, Ivar->getType(), PropertyDiagLoc,
Ivar->getLocation(),
SelfExpr, true, true);
ObjCMethodDecl::param_iterator P = setterMethod->param_begin();
ParmVarDecl *Param = (*P);
QualType T = Param->getType().getNonReferenceType();
DeclRefExpr *rhs = new (Context) DeclRefExpr(Param, false, T,
VK_LValue, PropertyDiagLoc);
MarkDeclRefReferenced(rhs);
ExprResult Res = BuildBinOp(S, PropertyDiagLoc,
BO_Assign, lhs, rhs);
if (property->getPropertyAttributes() &
ObjCPropertyDecl::OBJC_PR_atomic) {
Expr *callExpr = Res.takeAs<Expr>();
if (const CXXOperatorCallExpr *CXXCE =
dyn_cast_or_null<CXXOperatorCallExpr>(callExpr))
if (const FunctionDecl *FuncDecl = CXXCE->getDirectCallee())
if (!FuncDecl->isTrivial())
if (property->getType()->isReferenceType()) {
Diag(PropertyDiagLoc,
diag::err_atomic_property_nontrivial_assign_op)
<< property->getType();
Diag(FuncDecl->getLocStart(),
diag::note_callee_decl) << FuncDecl;
}
}
PIDecl->setSetterCXXAssignment(Res.takeAs<Expr>());
}
}
if (IC) {
if (Synthesize)
if (ObjCPropertyImplDecl *PPIDecl =
IC->FindPropertyImplIvarDecl(PropertyIvar)) {
Diag(PropertyLoc, diag::error_duplicate_ivar_use)
<< PropertyId << PPIDecl->getPropertyDecl()->getIdentifier()
<< PropertyIvar;
Diag(PPIDecl->getLocation(), diag::note_previous_use);
}
if (ObjCPropertyImplDecl *PPIDecl
= IC->FindPropertyImplDecl(PropertyId)) {
Diag(PropertyLoc, diag::error_property_implemented) << PropertyId;
Diag(PPIDecl->getLocation(), diag::note_previous_declaration);
return 0;
}
IC->addPropertyImplementation(PIDecl);
if (getLangOpts().ObjCDefaultSynthProperties &&
getLangOpts().ObjCRuntime.isNonFragile() &&
!IDecl->isObjCRequiresPropertyDefs()) {
// Diagnose if an ivar was lazily synthesdized due to a previous
// use and if 1) property is @dynamic or 2) property is synthesized
// but it requires an ivar of different name.
ObjCInterfaceDecl *ClassDeclared=0;
ObjCIvarDecl *Ivar = 0;
if (!Synthesize)
Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
else {
if (PropertyIvar && PropertyIvar != PropertyId)
Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
}
// Issue diagnostics only if Ivar belongs to current class.
if (Ivar && Ivar->getSynthesize() &&
declaresSameEntity(IC->getClassInterface(), ClassDeclared)) {
Diag(Ivar->getLocation(), diag::err_undeclared_var_use)
<< PropertyId;
Ivar->setInvalidDecl();
}
}
} else {
if (Synthesize)
if (ObjCPropertyImplDecl *PPIDecl =
CatImplClass->FindPropertyImplIvarDecl(PropertyIvar)) {
Diag(PropertyDiagLoc, diag::error_duplicate_ivar_use)
<< PropertyId << PPIDecl->getPropertyDecl()->getIdentifier()
<< PropertyIvar;
Diag(PPIDecl->getLocation(), diag::note_previous_use);
}
if (ObjCPropertyImplDecl *PPIDecl =
CatImplClass->FindPropertyImplDecl(PropertyId)) {
Diag(PropertyDiagLoc, diag::error_property_implemented) << PropertyId;
Diag(PPIDecl->getLocation(), diag::note_previous_declaration);
return 0;
}
CatImplClass->addPropertyImplementation(PIDecl);
}
return PIDecl;
}
//===----------------------------------------------------------------------===//
// Helper methods.
//===----------------------------------------------------------------------===//
/// DiagnosePropertyMismatch - Compares two properties for their
/// attributes and types and warns on a variety of inconsistencies.
///
void
Sema::DiagnosePropertyMismatch(ObjCPropertyDecl *Property,
ObjCPropertyDecl *SuperProperty,
const IdentifierInfo *inheritedName,
bool OverridingProtocolProperty) {
ObjCPropertyDecl::PropertyAttributeKind CAttr =
Property->getPropertyAttributes();
ObjCPropertyDecl::PropertyAttributeKind SAttr =
SuperProperty->getPropertyAttributes();
// We allow readonly properties without an explicit ownership
// (assign/unsafe_unretained/weak/retain/strong/copy) in super class
// to be overridden by a property with any explicit ownership in the subclass.
if (!OverridingProtocolProperty &&
!getOwnershipRule(SAttr) && getOwnershipRule(CAttr))
;
else {
if ((CAttr & ObjCPropertyDecl::OBJC_PR_readonly)
&& (SAttr & ObjCPropertyDecl::OBJC_PR_readwrite))
Diag(Property->getLocation(), diag::warn_readonly_property)
<< Property->getDeclName() << inheritedName;
if ((CAttr & ObjCPropertyDecl::OBJC_PR_copy)
!= (SAttr & ObjCPropertyDecl::OBJC_PR_copy))
Diag(Property->getLocation(), diag::warn_property_attribute)
<< Property->getDeclName() << "copy" << inheritedName;
else if (!(SAttr & ObjCPropertyDecl::OBJC_PR_readonly)){
unsigned CAttrRetain =
(CAttr &
(ObjCPropertyDecl::OBJC_PR_retain | ObjCPropertyDecl::OBJC_PR_strong));
unsigned SAttrRetain =
(SAttr &
(ObjCPropertyDecl::OBJC_PR_retain | ObjCPropertyDecl::OBJC_PR_strong));
bool CStrong = (CAttrRetain != 0);
bool SStrong = (SAttrRetain != 0);
if (CStrong != SStrong)
Diag(Property->getLocation(), diag::warn_property_attribute)
<< Property->getDeclName() << "retain (or strong)" << inheritedName;
}
}
if ((CAttr & ObjCPropertyDecl::OBJC_PR_nonatomic)
!= (SAttr & ObjCPropertyDecl::OBJC_PR_nonatomic)) {
Diag(Property->getLocation(), diag::warn_property_attribute)
<< Property->getDeclName() << "atomic" << inheritedName;
Diag(SuperProperty->getLocation(), diag::note_property_declare);
}
if (Property->getSetterName() != SuperProperty->getSetterName()) {
Diag(Property->getLocation(), diag::warn_property_attribute)
<< Property->getDeclName() << "setter" << inheritedName;
Diag(SuperProperty->getLocation(), diag::note_property_declare);
}
if (Property->getGetterName() != SuperProperty->getGetterName()) {
Diag(Property->getLocation(), diag::warn_property_attribute)
<< Property->getDeclName() << "getter" << inheritedName;
Diag(SuperProperty->getLocation(), diag::note_property_declare);
}
QualType LHSType =
Context.getCanonicalType(SuperProperty->getType());
QualType RHSType =
Context.getCanonicalType(Property->getType());
if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) {
// Do cases not handled in above.
// FIXME. For future support of covariant property types, revisit this.
bool IncompatibleObjC = false;
QualType ConvertedType;
if (!isObjCPointerConversion(RHSType, LHSType,
ConvertedType, IncompatibleObjC) ||
IncompatibleObjC) {
Diag(Property->getLocation(), diag::warn_property_types_are_incompatible)
<< Property->getType() << SuperProperty->getType() << inheritedName;
Diag(SuperProperty->getLocation(), diag::note_property_declare);
}
}
}
bool Sema::DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *property,
ObjCMethodDecl *GetterMethod,
SourceLocation Loc) {
if (!GetterMethod)
return false;
QualType GetterType = GetterMethod->getResultType().getNonReferenceType();
QualType PropertyIvarType = property->getType().getNonReferenceType();
bool compat = Context.hasSameType(PropertyIvarType, GetterType);
if (!compat) {
if (isa<ObjCObjectPointerType>(PropertyIvarType) &&
isa<ObjCObjectPointerType>(GetterType))
compat =
Context.canAssignObjCInterfaces(
GetterType->getAs<ObjCObjectPointerType>(),
PropertyIvarType->getAs<ObjCObjectPointerType>());
else if (CheckAssignmentConstraints(Loc, GetterType, PropertyIvarType)
!= Compatible) {
Diag(Loc, diag::error_property_accessor_type)
<< property->getDeclName() << PropertyIvarType
<< GetterMethod->getSelector() << GetterType;
Diag(GetterMethod->getLocation(), diag::note_declared_at);
return true;
} else {
compat = true;
QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType();
QualType rhsType =Context.getCanonicalType(GetterType).getUnqualifiedType();
if (lhsType != rhsType && lhsType->isArithmeticType())
compat = false;
}
}
if (!compat) {
Diag(Loc, diag::warn_accessor_property_type_mismatch)
<< property->getDeclName()
<< GetterMethod->getSelector();
Diag(GetterMethod->getLocation(), diag::note_declared_at);
return true;
}
return false;
}
/// CollectImmediateProperties - This routine collects all properties in
/// the class and its conforming protocols; but not those in its super class.
void Sema::CollectImmediateProperties(ObjCContainerDecl *CDecl,
ObjCContainerDecl::PropertyMap &PropMap,
ObjCContainerDecl::PropertyMap &SuperPropMap) {
if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(),
E = IDecl->prop_end(); P != E; ++P) {
ObjCPropertyDecl *Prop = *P;
PropMap[Prop->getIdentifier()] = Prop;
}
// scan through class's protocols.
for (ObjCInterfaceDecl::all_protocol_iterator
PI = IDecl->all_referenced_protocol_begin(),
E = IDecl->all_referenced_protocol_end(); PI != E; ++PI)
CollectImmediateProperties((*PI), PropMap, SuperPropMap);
}
if (ObjCCategoryDecl *CATDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) {
if (!CATDecl->IsClassExtension())
for (ObjCContainerDecl::prop_iterator P = CATDecl->prop_begin(),
E = CATDecl->prop_end(); P != E; ++P) {
ObjCPropertyDecl *Prop = *P;
PropMap[Prop->getIdentifier()] = Prop;
}
// scan through class's protocols.
for (ObjCCategoryDecl::protocol_iterator PI = CATDecl->protocol_begin(),
E = CATDecl->protocol_end(); PI != E; ++PI)
CollectImmediateProperties((*PI), PropMap, SuperPropMap);
}
else if (ObjCProtocolDecl *PDecl = dyn_cast<ObjCProtocolDecl>(CDecl)) {
for (ObjCProtocolDecl::prop_iterator P = PDecl->prop_begin(),
E = PDecl->prop_end(); P != E; ++P) {
ObjCPropertyDecl *Prop = *P;
ObjCPropertyDecl *PropertyFromSuper = SuperPropMap[Prop->getIdentifier()];
// Exclude property for protocols which conform to class's super-class,
// as super-class has to implement the property.
if (!PropertyFromSuper ||
PropertyFromSuper->getIdentifier() != Prop->getIdentifier()) {
ObjCPropertyDecl *&PropEntry = PropMap[Prop->getIdentifier()];
if (!PropEntry)
PropEntry = Prop;
}
}
// scan through protocol's protocols.
for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(),
E = PDecl->protocol_end(); PI != E; ++PI)
CollectImmediateProperties((*PI), PropMap, SuperPropMap);
}
}
/// CollectSuperClassPropertyImplementations - This routine collects list of
/// properties to be implemented in super class(s) and also coming from their
/// conforming protocols.
static void CollectSuperClassPropertyImplementations(ObjCInterfaceDecl *CDecl,
ObjCInterfaceDecl::PropertyMap &PropMap) {
if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) {
ObjCInterfaceDecl::PropertyDeclOrder PO;
while (SDecl) {
SDecl->collectPropertiesToImplement(PropMap, PO);
SDecl = SDecl->getSuperClass();
}
}
}
/// IvarBacksCurrentMethodAccessor - This routine returns 'true' if 'IV' is
/// an ivar synthesized for 'Method' and 'Method' is a property accessor
/// declared in class 'IFace'.
bool
Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
ObjCMethodDecl *Method, ObjCIvarDecl *IV) {
if (!IV->getSynthesize())
return false;
ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(),
Method->isInstanceMethod());
if (!IMD || !IMD->isPropertyAccessor())
return false;
// look up a property declaration whose one of its accessors is implemented
// by this method.
for (ObjCContainerDecl::prop_iterator P = IFace->prop_begin(),
E = IFace->prop_end(); P != E; ++P) {
ObjCPropertyDecl *property = *P;
if ((property->getGetterName() == IMD->getSelector() ||
property->getSetterName() == IMD->getSelector()) &&
(property->getPropertyIvarDecl() == IV))
return true;
}
return false;
}
/// \brief Default synthesizes all properties which must be synthesized
/// in class's \@implementation.
void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl,
ObjCInterfaceDecl *IDecl) {
ObjCInterfaceDecl::PropertyMap PropMap;
ObjCInterfaceDecl::PropertyDeclOrder PropertyOrder;
IDecl->collectPropertiesToImplement(PropMap, PropertyOrder);
if (PropMap.empty())
return;
ObjCInterfaceDecl::PropertyMap SuperPropMap;
CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
for (unsigned i = 0, e = PropertyOrder.size(); i != e; i++) {
ObjCPropertyDecl *Prop = PropertyOrder[i];
// Is there a matching property synthesize/dynamic?
if (Prop->isInvalidDecl() ||
Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional)
continue;
// Property may have been synthesized by user.
if (IMPDecl->FindPropertyImplDecl(Prop->getIdentifier()))
continue;
if (IMPDecl->getInstanceMethod(Prop->getGetterName())) {
if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readonly)
continue;
if (IMPDecl->getInstanceMethod(Prop->getSetterName()))
continue;
}
// If property to be implemented in the super class, ignore.
if (SuperPropMap[Prop->getIdentifier()]) {
ObjCPropertyDecl *PropInSuperClass = SuperPropMap[Prop->getIdentifier()];
if ((Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readwrite) &&
(PropInSuperClass->getPropertyAttributes() &
ObjCPropertyDecl::OBJC_PR_readonly) &&
!IMPDecl->getInstanceMethod(Prop->getSetterName()) &&
!IDecl->HasUserDeclaredSetterMethod(Prop)) {
Diag(Prop->getLocation(), diag::warn_no_autosynthesis_property)
<< Prop->getIdentifier()->getName();
Diag(PropInSuperClass->getLocation(), diag::note_property_declare);
}
continue;
}
if (ObjCPropertyImplDecl *PID =
IMPDecl->FindPropertyImplIvarDecl(Prop->getIdentifier())) {
if (PID->getPropertyDecl() != Prop) {
Diag(Prop->getLocation(), diag::warn_no_autosynthesis_shared_ivar_property)
<< Prop->getIdentifier()->getName();
if (!PID->getLocation().isInvalid())
Diag(PID->getLocation(), diag::note_property_synthesize);
}
continue;
}
if (isa<ObjCProtocolDecl>(Prop->getDeclContext())) {
// We won't auto-synthesize properties declared in protocols.
Diag(IMPDecl->getLocation(),
diag::warn_auto_synthesizing_protocol_property);
Diag(Prop->getLocation(), diag::note_property_declare);
continue;
}
// We use invalid SourceLocations for the synthesized ivars since they
// aren't really synthesized at a particular location; they just exist.
// Saying that they are located at the @implementation isn't really going
// to help users.
ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>(
ActOnPropertyImplDecl(S, SourceLocation(), SourceLocation(),
true,
/* property = */ Prop->getIdentifier(),
/* ivar = */ Prop->getDefaultSynthIvarName(Context),
Prop->getLocation()));
if (PIDecl) {
Diag(Prop->getLocation(), diag::warn_missing_explicit_synthesis);
Diag(IMPDecl->getLocation(), diag::note_while_in_implementation);
}
}
}
void Sema::DefaultSynthesizeProperties(Scope *S, Decl *D) {
if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile())
return;
ObjCImplementationDecl *IC=dyn_cast_or_null<ObjCImplementationDecl>(D);
if (!IC)
return;
if (ObjCInterfaceDecl* IDecl = IC->getClassInterface())
if (!IDecl->isObjCRequiresPropertyDefs())
DefaultSynthesizeProperties(S, IC, IDecl);
}
void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl,
ObjCContainerDecl *CDecl) {
ObjCContainerDecl::PropertyMap NoNeedToImplPropMap;
ObjCInterfaceDecl *IDecl;
// Gather properties which need not be implemented in this class
// or category.
if (!(IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)))
if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) {
// For categories, no need to implement properties declared in
// its primary class (and its super classes) if property is
// declared in one of those containers.
if ((IDecl = C->getClassInterface())) {
ObjCInterfaceDecl::PropertyDeclOrder PO;
IDecl->collectPropertiesToImplement(NoNeedToImplPropMap, PO);
}
}
if (IDecl)
CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap);
ObjCContainerDecl::PropertyMap PropMap;
CollectImmediateProperties(CDecl, PropMap, NoNeedToImplPropMap);
if (PropMap.empty())
return;
llvm::DenseSet<ObjCPropertyDecl *> PropImplMap;
for (ObjCImplDecl::propimpl_iterator
I = IMPDecl->propimpl_begin(),
EI = IMPDecl->propimpl_end(); I != EI; ++I)
PropImplMap.insert(I->getPropertyDecl());
SelectorSet InsMap;
// Collect property accessors implemented in current implementation.
for (ObjCImplementationDecl::instmeth_iterator
I = IMPDecl->instmeth_begin(), E = IMPDecl->instmeth_end(); I!=E; ++I)
InsMap.insert((*I)->getSelector());
ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl);
ObjCInterfaceDecl *PrimaryClass = 0;
if (C && !C->IsClassExtension())
if ((PrimaryClass = C->getClassInterface()))
// Report unimplemented properties in the category as well.
if (ObjCImplDecl *IMP = PrimaryClass->getImplementation()) {
// When reporting on missing setter/getters, do not report when
// setter/getter is implemented in category's primary class
// implementation.
for (ObjCImplementationDecl::instmeth_iterator
I = IMP->instmeth_begin(), E = IMP->instmeth_end(); I!=E; ++I)
InsMap.insert((*I)->getSelector());
}
for (ObjCContainerDecl::PropertyMap::iterator
P = PropMap.begin(), E = PropMap.end(); P != E; ++P) {
ObjCPropertyDecl *Prop = P->second;
// Is there a matching propery synthesize/dynamic?
if (Prop->isInvalidDecl() ||
Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional ||
PropImplMap.count(Prop) ||
Prop->getAvailability() == AR_Unavailable)
continue;
// When reporting on missing property getter implementation in
// categories, do not report when they are declared in primary class,
// class's protocol, or one of it super classes. This is because,
// the class is going to implement them.
if (!InsMap.count(Prop->getGetterName()) &&
(PrimaryClass == 0 ||
!PrimaryClass->lookupPropertyAccessor(Prop->getGetterName(), C))) {
Diag(IMPDecl->getLocation(),
isa<ObjCCategoryDecl>(CDecl) ?
diag::warn_setter_getter_impl_required_in_category :
diag::warn_setter_getter_impl_required)
<< Prop->getDeclName() << Prop->getGetterName();
Diag(Prop->getLocation(),
diag::note_property_declare);
if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile())
if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl))
if (const ObjCInterfaceDecl *RID = ID->isObjCRequiresPropertyDefs())
Diag(RID->getLocation(), diag::note_suppressed_class_declare);
}
// When reporting on missing property setter implementation in
// categories, do not report when they are declared in primary class,
// class's protocol, or one of it super classes. This is because,
// the class is going to implement them.
if (!Prop->isReadOnly() && !InsMap.count(Prop->getSetterName()) &&
(PrimaryClass == 0 ||
!PrimaryClass->lookupPropertyAccessor(Prop->getSetterName(), C))) {
Diag(IMPDecl->getLocation(),
isa<ObjCCategoryDecl>(CDecl) ?
diag::warn_setter_getter_impl_required_in_category :
diag::warn_setter_getter_impl_required)
<< Prop->getDeclName() << Prop->getSetterName();
Diag(Prop->getLocation(),
diag::note_property_declare);
if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile())
if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl))
if (const ObjCInterfaceDecl *RID = ID->isObjCRequiresPropertyDefs())
Diag(RID->getLocation(), diag::note_suppressed_class_declare);
}
}
}
void
Sema::AtomicPropertySetterGetterRules (ObjCImplDecl* IMPDecl,
ObjCContainerDecl* IDecl) {
// Rules apply in non-GC mode only
if (getLangOpts().getGC() != LangOptions::NonGC)
return;
for (ObjCContainerDecl::prop_iterator I = IDecl->prop_begin(),
E = IDecl->prop_end();
I != E; ++I) {
ObjCPropertyDecl *Property = *I;
ObjCMethodDecl *GetterMethod = 0;
ObjCMethodDecl *SetterMethod = 0;
bool LookedUpGetterSetter = false;
unsigned Attributes = Property->getPropertyAttributes();
unsigned AttributesAsWritten = Property->getPropertyAttributesAsWritten();
if (!(AttributesAsWritten & ObjCPropertyDecl::OBJC_PR_atomic) &&
!(AttributesAsWritten & ObjCPropertyDecl::OBJC_PR_nonatomic)) {
GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName());
LookedUpGetterSetter = true;
if (GetterMethod) {
Diag(GetterMethod->getLocation(),
diag::warn_default_atomic_custom_getter_setter)
<< Property->getIdentifier() << 0;
Diag(Property->getLocation(), diag::note_property_declare);
}
if (SetterMethod) {
Diag(SetterMethod->getLocation(),
diag::warn_default_atomic_custom_getter_setter)
<< Property->getIdentifier() << 1;
Diag(Property->getLocation(), diag::note_property_declare);
}
}
// We only care about readwrite atomic property.
if ((Attributes & ObjCPropertyDecl::OBJC_PR_nonatomic) ||
!(Attributes & ObjCPropertyDecl::OBJC_PR_readwrite))
continue;
if (const ObjCPropertyImplDecl *PIDecl
= IMPDecl->FindPropertyImplDecl(Property->getIdentifier())) {
if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic)
continue;
if (!LookedUpGetterSetter) {
GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName());
LookedUpGetterSetter = true;
}
if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) {
SourceLocation MethodLoc =
(GetterMethod ? GetterMethod->getLocation()
: SetterMethod->getLocation());
Diag(MethodLoc, diag::warn_atomic_property_rule)
<< Property->getIdentifier() << (GetterMethod != 0)
<< (SetterMethod != 0);
// fixit stuff.
if (!AttributesAsWritten) {
if (Property->getLParenLoc().isValid()) {
// @property () ... case.
SourceRange PropSourceRange(Property->getAtLoc(),
Property->getLParenLoc());
Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) <<
FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic");
}
else {
//@property id etc.
SourceLocation endLoc =
Property->getTypeSourceInfo()->getTypeLoc().getBeginLoc();
endLoc = endLoc.getLocWithOffset(-1);
SourceRange PropSourceRange(Property->getAtLoc(), endLoc);
Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) <<
FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic) ");
}
}
else if (!(AttributesAsWritten & ObjCPropertyDecl::OBJC_PR_atomic)) {
// @property () ... case.
SourceLocation endLoc = Property->getLParenLoc();
SourceRange PropSourceRange(Property->getAtLoc(), endLoc);
Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) <<
FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic, ");
}
else
Diag(MethodLoc, diag::note_atomic_property_fixup_suggest);
Diag(Property->getLocation(), diag::note_property_declare);
}
}
}
}
void Sema::DiagnoseOwningPropertyGetterSynthesis(const ObjCImplementationDecl *D) {
if (getLangOpts().getGC() == LangOptions::GCOnly)
return;
for (ObjCImplementationDecl::propimpl_iterator
i = D->propimpl_begin(), e = D->propimpl_end(); i != e; ++i) {
ObjCPropertyImplDecl *PID = *i;
if (PID->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize)
continue;
const ObjCPropertyDecl *PD = PID->getPropertyDecl();
if (PD && !PD->hasAttr<NSReturnsNotRetainedAttr>() &&
!D->getInstanceMethod(PD->getGetterName())) {
ObjCMethodDecl *method = PD->getGetterMethodDecl();
if (!method)
continue;
ObjCMethodFamily family = method->getMethodFamily();
if (family == OMF_alloc || family == OMF_copy ||
family == OMF_mutableCopy || family == OMF_new) {
if (getLangOpts().ObjCAutoRefCount)
Diag(PID->getLocation(), diag::err_ownin_getter_rule);
else
Diag(PID->getLocation(), diag::warn_owning_getter_rule);
Diag(PD->getLocation(), diag::note_property_declare);
}
}
}
}
void Sema::DiagnoseMissingDesignatedInitOverrides(
const ObjCImplementationDecl *ImplD,
const ObjCInterfaceDecl *IFD) {
assert(IFD->hasDesignatedInitializers());
const ObjCInterfaceDecl *SuperD = IFD->getSuperClass();
if (!SuperD)
return;
SelectorSet InitSelSet;
for (ObjCImplementationDecl::instmeth_iterator
I = ImplD->instmeth_begin(), E = ImplD->instmeth_end(); I!=E; ++I)
if ((*I)->getMethodFamily() == OMF_init)
InitSelSet.insert((*I)->getSelector());
SmallVector<const ObjCMethodDecl *, 8> DesignatedInits;
SuperD->getDesignatedInitializers(DesignatedInits);
for (SmallVector<const ObjCMethodDecl *, 8>::iterator
I = DesignatedInits.begin(), E = DesignatedInits.end(); I != E; ++I) {
const ObjCMethodDecl *MD = *I;
if (!InitSelSet.count(MD->getSelector())) {
Diag(ImplD->getLocation(),
diag::warn_objc_implementation_missing_designated_init_override)
<< MD->getSelector();
Diag(MD->getLocation(), diag::note_objc_designated_init_marked_here);
}
}
}
/// AddPropertyAttrs - Propagates attributes from a property to the
/// implicitly-declared getter or setter for that property.
static void AddPropertyAttrs(Sema &S, ObjCMethodDecl *PropertyMethod,
ObjCPropertyDecl *Property) {
// Should we just clone all attributes over?
for (Decl::attr_iterator A = Property->attr_begin(),
AEnd = Property->attr_end();
A != AEnd; ++A) {
if (isa<DeprecatedAttr>(*A) ||
isa<UnavailableAttr>(*A) ||
isa<AvailabilityAttr>(*A))
PropertyMethod->addAttr((*A)->clone(S.Context));
}
}
/// ProcessPropertyDecl - Make sure that any user-defined setter/getter methods
/// have the property type and issue diagnostics if they don't.
/// Also synthesize a getter/setter method if none exist (and update the
/// appropriate lookup tables. FIXME: Should reconsider if adding synthesized
/// methods is the "right" thing to do.
void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property,
ObjCContainerDecl *CD,
ObjCPropertyDecl *redeclaredProperty,
ObjCContainerDecl *lexicalDC) {
ObjCMethodDecl *GetterMethod, *SetterMethod;
GetterMethod = CD->getInstanceMethod(property->getGetterName());
SetterMethod = CD->getInstanceMethod(property->getSetterName());
DiagnosePropertyAccessorMismatch(property, GetterMethod,
property->getLocation());
if (SetterMethod) {
ObjCPropertyDecl::PropertyAttributeKind CAttr =
property->getPropertyAttributes();
if ((!(CAttr & ObjCPropertyDecl::OBJC_PR_readonly)) &&
Context.getCanonicalType(SetterMethod->getResultType()) !=
Context.VoidTy)
Diag(SetterMethod->getLocation(), diag::err_setter_type_void);
if (SetterMethod->param_size() != 1 ||
!Context.hasSameUnqualifiedType(
(*SetterMethod->param_begin())->getType().getNonReferenceType(),
property->getType().getNonReferenceType())) {
Diag(property->getLocation(),
diag::warn_accessor_property_type_mismatch)
<< property->getDeclName()
<< SetterMethod->getSelector();
Diag(SetterMethod->getLocation(), diag::note_declared_at);
}
}
// Synthesize getter/setter methods if none exist.
// Find the default getter and if one not found, add one.
// FIXME: The synthesized property we set here is misleading. We almost always
// synthesize these methods unless the user explicitly provided prototypes
// (which is odd, but allowed). Sema should be typechecking that the
// declarations jive in that situation (which it is not currently).
if (!GetterMethod) {
// No instance method of same name as property getter name was found.
// Declare a getter method and add it to the list of methods
// for this class.
SourceLocation Loc = redeclaredProperty ?
redeclaredProperty->getLocation() :
property->getLocation();
GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc,
property->getGetterName(),
property->getType(), 0, CD, /*isInstance=*/true,
/*isVariadic=*/false, /*isPropertyAccessor=*/true,
/*isImplicitlyDeclared=*/true, /*isDefined=*/false,
(property->getPropertyImplementation() ==
ObjCPropertyDecl::Optional) ?
ObjCMethodDecl::Optional :
ObjCMethodDecl::Required);
CD->addDecl(GetterMethod);
AddPropertyAttrs(*this, GetterMethod, property);
// FIXME: Eventually this shouldn't be needed, as the lexical context
// and the real context should be the same.
if (lexicalDC)
GetterMethod->setLexicalDeclContext(lexicalDC);
if (property->hasAttr<NSReturnsNotRetainedAttr>())
GetterMethod->addAttr(
::new (Context) NSReturnsNotRetainedAttr(Loc, Context));
if (property->hasAttr<ObjCReturnsInnerPointerAttr>())
GetterMethod->addAttr(
::new (Context) ObjCReturnsInnerPointerAttr(Loc, Context));
if (getLangOpts().ObjCAutoRefCount)
CheckARCMethodDecl(GetterMethod);
} else
// A user declared getter will be synthesize when @synthesize of
// the property with the same name is seen in the @implementation
GetterMethod->setPropertyAccessor(true);
property->setGetterMethodDecl(GetterMethod);
// Skip setter if property is read-only.
if (!property->isReadOnly()) {
// Find the default setter and if one not found, add one.
if (!SetterMethod) {
// No instance method of same name as property setter name was found.
// Declare a setter method and add it to the list of methods
// for this class.
SourceLocation Loc = redeclaredProperty ?
redeclaredProperty->getLocation() :
property->getLocation();
SetterMethod =
ObjCMethodDecl::Create(Context, Loc, Loc,
property->getSetterName(), Context.VoidTy, 0,
CD, /*isInstance=*/true, /*isVariadic=*/false,
/*isPropertyAccessor=*/true,
/*isImplicitlyDeclared=*/true,
/*isDefined=*/false,
(property->getPropertyImplementation() ==
ObjCPropertyDecl::Optional) ?
ObjCMethodDecl::Optional :
ObjCMethodDecl::Required);
// Invent the arguments for the setter. We don't bother making a
// nice name for the argument.
ParmVarDecl *Argument = ParmVarDecl::Create(Context, SetterMethod,
Loc, Loc,
property->getIdentifier(),
property->getType().getUnqualifiedType(),
/*TInfo=*/0,
SC_None,
0);
SetterMethod->setMethodParams(Context, Argument, None);
AddPropertyAttrs(*this, SetterMethod, property);
CD->addDecl(SetterMethod);
// FIXME: Eventually this shouldn't be needed, as the lexical context
// and the real context should be the same.
if (lexicalDC)
SetterMethod->setLexicalDeclContext(lexicalDC);
// It's possible for the user to have set a very odd custom
// setter selector that causes it to have a method family.
if (getLangOpts().ObjCAutoRefCount)
CheckARCMethodDecl(SetterMethod);
} else
// A user declared setter will be synthesize when @synthesize of
// the property with the same name is seen in the @implementation
SetterMethod->setPropertyAccessor(true);
property->setSetterMethodDecl(SetterMethod);
}
// Add any synthesized methods to the global pool. This allows us to
// handle the following, which is supported by GCC (and part of the design).
//
// @interface Foo
// @property double bar;
// @end
//
// void thisIsUnfortunate() {
// id foo;
// double bar = [foo bar];
// }
//
if (GetterMethod)
AddInstanceMethodToGlobalPool(GetterMethod);
if (SetterMethod)
AddInstanceMethodToGlobalPool(SetterMethod);
ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(CD);
if (!CurrentClass) {
if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CD))
CurrentClass = Cat->getClassInterface();
else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD))
CurrentClass = Impl->getClassInterface();
}
if (GetterMethod)
CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown);
if (SetterMethod)
CheckObjCMethodOverrides(SetterMethod, CurrentClass, Sema::RTC_Unknown);
}
void Sema::CheckObjCPropertyAttributes(Decl *PDecl,
SourceLocation Loc,
unsigned &Attributes,
bool propertyInPrimaryClass) {
// FIXME: Improve the reported location.
if (!PDecl || PDecl->isInvalidDecl())
return;
if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
(Attributes & ObjCDeclSpec::DQ_PR_readwrite))
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "readonly" << "readwrite";
ObjCPropertyDecl *PropertyDecl = cast<ObjCPropertyDecl>(PDecl);
QualType PropertyTy = PropertyDecl->getType();
unsigned PropertyOwnership = getOwnershipRule(Attributes);
// 'readonly' property with no obvious lifetime.
// its life time will be determined by its backing ivar.
if (getLangOpts().ObjCAutoRefCount &&
Attributes & ObjCDeclSpec::DQ_PR_readonly &&
PropertyTy->isObjCRetainableType() &&
!PropertyOwnership)
return;
// Check for copy or retain on non-object types.
if ((Attributes & (ObjCDeclSpec::DQ_PR_weak | ObjCDeclSpec::DQ_PR_copy |
ObjCDeclSpec::DQ_PR_retain | ObjCDeclSpec::DQ_PR_strong)) &&
!PropertyTy->isObjCRetainableType() &&
!PropertyDecl->getAttr<ObjCNSObjectAttr>()) {
Diag(Loc, diag::err_objc_property_requires_object)
<< (Attributes & ObjCDeclSpec::DQ_PR_weak ? "weak" :
Attributes & ObjCDeclSpec::DQ_PR_copy ? "copy" : "retain (or strong)");
Attributes &= ~(ObjCDeclSpec::DQ_PR_weak | ObjCDeclSpec::DQ_PR_copy |
ObjCDeclSpec::DQ_PR_retain | ObjCDeclSpec::DQ_PR_strong);
PropertyDecl->setInvalidDecl();
}
// Check for more than one of { assign, copy, retain }.
if (Attributes & ObjCDeclSpec::DQ_PR_assign) {
if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "assign" << "copy";
Attributes &= ~ObjCDeclSpec::DQ_PR_copy;
}
if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "assign" << "retain";
Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
}
if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "assign" << "strong";
Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
}
if (getLangOpts().ObjCAutoRefCount &&
(Attributes & ObjCDeclSpec::DQ_PR_weak)) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "assign" << "weak";
Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
}
if (PropertyDecl->getAttr<IBOutletCollectionAttr>())
Diag(Loc, diag::warn_iboutletcollection_property_assign);
} else if (Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained) {
if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "unsafe_unretained" << "copy";
Attributes &= ~ObjCDeclSpec::DQ_PR_copy;
}
if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "unsafe_unretained" << "retain";
Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
}
if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "unsafe_unretained" << "strong";
Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
}
if (getLangOpts().ObjCAutoRefCount &&
(Attributes & ObjCDeclSpec::DQ_PR_weak)) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "unsafe_unretained" << "weak";
Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
}
} else if (Attributes & ObjCDeclSpec::DQ_PR_copy) {
if (Attributes & ObjCDeclSpec::DQ_PR_retain) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "copy" << "retain";
Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
}
if (Attributes & ObjCDeclSpec::DQ_PR_strong) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "copy" << "strong";
Attributes &= ~ObjCDeclSpec::DQ_PR_strong;
}
if (Attributes & ObjCDeclSpec::DQ_PR_weak) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "copy" << "weak";
Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
}
}
else if ((Attributes & ObjCDeclSpec::DQ_PR_retain) &&
(Attributes & ObjCDeclSpec::DQ_PR_weak)) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "retain" << "weak";
Attributes &= ~ObjCDeclSpec::DQ_PR_retain;
}
else if ((Attributes & ObjCDeclSpec::DQ_PR_strong) &&
(Attributes & ObjCDeclSpec::DQ_PR_weak)) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "strong" << "weak";
Attributes &= ~ObjCDeclSpec::DQ_PR_weak;
}
if ((Attributes & ObjCDeclSpec::DQ_PR_atomic) &&
(Attributes & ObjCDeclSpec::DQ_PR_nonatomic)) {
Diag(Loc, diag::err_objc_property_attr_mutually_exclusive)
<< "atomic" << "nonatomic";
Attributes &= ~ObjCDeclSpec::DQ_PR_atomic;
}
// Warn if user supplied no assignment attribute, property is
// readwrite, and this is an object type.
if (!(Attributes & (ObjCDeclSpec::DQ_PR_assign | ObjCDeclSpec::DQ_PR_copy |
ObjCDeclSpec::DQ_PR_unsafe_unretained |
ObjCDeclSpec::DQ_PR_retain | ObjCDeclSpec::DQ_PR_strong |
ObjCDeclSpec::DQ_PR_weak)) &&
PropertyTy->isObjCObjectPointerType()) {
if (getLangOpts().ObjCAutoRefCount)
// With arc, @property definitions should default to (strong) when
// not specified; including when property is 'readonly'.
PropertyDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
else if (!(Attributes & ObjCDeclSpec::DQ_PR_readonly)) {
bool isAnyClassTy =
(PropertyTy->isObjCClassType() ||
PropertyTy->isObjCQualifiedClassType());
// In non-gc, non-arc mode, 'Class' is treated as a 'void *' no need to
// issue any warning.
if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC)
;
else if (propertyInPrimaryClass) {
// Don't issue warning on property with no life time in class
// extension as it is inherited from property in primary class.
// Skip this warning in gc-only mode.
if (getLangOpts().getGC() != LangOptions::GCOnly)
Diag(Loc, diag::warn_objc_property_no_assignment_attribute);
// If non-gc code warn that this is likely inappropriate.
if (getLangOpts().getGC() == LangOptions::NonGC)
Diag(Loc, diag::warn_objc_property_default_assign_on_object);
}
}
// FIXME: Implement warning dependent on NSCopying being
// implemented. See also:
// <rdar://5168496&4855821&5607453&5096644&4947311&5698469&4947014&5168496>
// (please trim this list while you are at it).
}
if (!(Attributes & ObjCDeclSpec::DQ_PR_copy)
&&!(Attributes & ObjCDeclSpec::DQ_PR_readonly)
&& getLangOpts().getGC() == LangOptions::GCOnly
&& PropertyTy->isBlockPointerType())
Diag(Loc, diag::warn_objc_property_copy_missing_on_block);
else if ((Attributes & ObjCDeclSpec::DQ_PR_retain) &&
!(Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
!(Attributes & ObjCDeclSpec::DQ_PR_strong) &&
PropertyTy->isBlockPointerType())
Diag(Loc, diag::warn_objc_property_retain_of_block);
if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) &&
(Attributes & ObjCDeclSpec::DQ_PR_setter))
Diag(Loc, diag::warn_objc_readonly_property_has_setter);
}
| [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
8e470937bc549b6d6eb757f1790d2b9db5dc14af | 7a1124d8e6c25fd6077354609f71cc7cc9caa93a | /LOGICA/Aula 04/prog1.cpp | f42f2b2008283fc1e404f8d28186311ed4f49af5 | [] | no_license | AguiarVicente/COTI | 739f00bb6ecc81b1844fc90a9a0bcb56eabbc347 | 0dbf09955cc36c41bfed7ea532998fa78e83b148 | refs/heads/master | 2020-09-14T17:43:44.250536 | 2019-11-21T15:24:49 | 2019-11-21T15:24:49 | 223,203,882 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 1,087 | cpp | #include<stdio.h>
#include<stdlib.h>
/*
Escreva um programa que leia o prešo
e a quantidade de um produto.
A) O programa devera calcular o
total a pagar.
B) Calcular um desconto de 10% se o prešo
for maior que 300.
C) Calcular um desconto de 8% se o quantidade
de produto for maior que 5.
D) Imprimir o novo valor total a ser pago.
*/
float preco;
int quantidade;
int main(){
float total = 0;
float desc1 = 0;
float desc2 = 0;
float totaldesc = 0;
printf("Digite o preco : ");
scanf("%f", &preco);
printf("Digite a quantidade : ");
scanf("%d", &quantidade);
total = preco * quantidade;
if(preco > 300){
desc1 = (total * 10)/100;
}
/*
IF SEQUENCIAL -> 2C
*/
if(quantidade > 5){
desc2 = (total * 8)/100;
}
totaldesc = total - (desc1 + desc2);
printf("Desconto 1 : %0.2f \n", desc1);
printf("Desconto 2 : %0.2f \n", desc2);
printf("Total a pagar : %0.2f \n", total);
printf("Total a pagar com desconto : %0.2f \n", totaldesc);
system("pause");
return 0;
}
| [
"aguiar14564@gmail.com"
] | aguiar14564@gmail.com |
6d0d948c709a7d55f03d08f56b82d392a28df46d | 2ba0d38518ef33f8c9acfa40f121d8e619061c10 | /src/tp_x/kernel/src/libra_test/ulibra_test1.h | 0d37e53ec1a43712e6ab846cb9ec8517f0d2039d | [] | no_license | bravesoftdz/tp-exchange | 9889793c8cf39b2a1ca8ce09ac97eedb8ebddcc1 | 11f919b5ded80a1d1de91084955608655ee66550 | refs/heads/master | 2020-03-25T22:22:59.689214 | 2012-02-27T07:16:28 | 2012-02-27T07:16:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | h | //$$---- Form HDR ----
//---------------------------------------------------------------------------
#ifndef ulibra_test1H
#define ulibra_test1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "IBDatabase.hpp"
#include "IBSQL.hpp"
#include <DB.hpp>
//---------------------------------------------------------------------------
class __declspec(dllexport) XLibraTovar
{
public:
int nomen_num;
char name[128];
double price;
char date[16];
int termin;
XLibraTovar();
XLibraTovar(int inomen_num, char *iname, double iprice, char *idate, int itermin);
~XLibraTovar();
};
class TForm3 : public TForm
{
__published: // IDE-managed Components
TIBDatabase *base;
TIBTransaction *trR;
TIBSQL *qR;
TMemo *ed_log;
TButton *Button1;
TButton *Button2;
TButton *Button5;
TButton *Button6;
TButton *Button7;
TButton *Button8;
TButton *Button3;
void __fastcall FormDestroy(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall Button4Click(TObject *Sender);
void __fastcall Button5Click(TObject *Sender);
void __fastcall Button6Click(TObject *Sender);
void __fastcall Button7Click(TObject *Sender);
void __fastcall Button8Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm3(TComponent* Owner);
int ProgrammingTovar(XLibraTovar tovar) ;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm3 *Form3;
//---------------------------------------------------------------------------
#endif
| [
"Dudko.Vadim.Olegovich@gmail.com"
] | Dudko.Vadim.Olegovich@gmail.com |
5c4b9a22c5de7d12b6ab1ebae354b7b7fece320c | b77bff161ca63917848de8251ca65a47856512fb | /MQTools/src/producer/mysqlhelper.cpp | 4c93f5c9c9001d62bb36375054c66e068c497f98 | [] | no_license | Alger0518/wallet | 2da3c15fea2516a0274aeedb08724b7dc61e193e | d12da71ca16daf57bdb71c4ad566b7bc036441fd | refs/heads/master | 2021-04-06T01:03:49.761368 | 2018-03-13T17:38:33 | 2018-03-13T17:38:33 | 125,077,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,181 | cpp | #include "mysqlhelper.h"
using namespace std;
CMySqlHelper::CMySqlHelper()
{
user = "root";
pswd = "123456";
host = "localhost";
schema = "walletdb";
port = 3306;
bConnected = false;
}
CMySqlHelper::CMySqlHelper(const string &username, const string &password, const string &hostip, const string &schemaname, int iport)
{
setArgs(username,password,hostip,schemaname,iport);
}
void CMySqlHelper::setArgs(const string &username, const string &password, const string &hostip, const string &schemaname, int iport)
{
user = username;
pswd = password;
host = hostip;
schema = schemaname;
port = iport;
bConnected = false;
}
CMySqlHelper::~CMySqlHelper()
{
mysql_close(&m_Mysql);
}
bool CMySqlHelper::connect()
{
mysql_init(&m_Mysql);
MYSQL* pMysql = mysql_real_connect(&m_Mysql, host.c_str(), user.c_str(), pswd.c_str(), schema.c_str(), port, NULL, 0);
if (pMysql)
{
bConnected = true;
return true;
}
else
{
bConnected = false;
return false;
}
}
bool CMySqlHelper::connect(const string &username, const string &password, const string &hostip, const string &schemaname, int iport)
{
user = username;
pswd = password;
host = hostip;
schema = schemaname;
port = iport;
bConnected = false;
mysql_init(&m_Mysql);
MYSQL* pMysql = mysql_real_connect(&m_Mysql, host.c_str(), user.c_str(), pswd.c_str(), schema.c_str(), port, NULL, 0);
if (pMysql)
{
bConnected = true;
return true;
}
else
{
bConnected = false;
return false;
}
}
DataTable CMySqlHelper::select(const string &tablename, const vector<std::string>& columns, string condition)
{
static bool isReconnected = false;
DataTable result_dt;
if (!bConnected)
{
return result_dt;
}
string strQuery = "select ";
size_t columns_num = columns.size();
if (columns_num < 1)
{
return result_dt;
}
for (size_t i = 0; i < columns_num - 1; i++)
{
strQuery += columns[i] + ",";
}
strQuery = strQuery + columns[columns_num -1] + " from " + tablename;
if (condition != "")
{
strQuery += " " + condition;
}
int res = mysql_query(&m_Mysql, strQuery.c_str());
if (0 == res)
{
isReconnected = false;
MYSQL_RES *result = nullptr;
MYSQL_ROW sql_row;
result = mysql_store_result(&m_Mysql);
if (result)
{
while ((sql_row = mysql_fetch_row(result)) != nullptr)
{
vector<string> row;
for (size_t i = 0; i < columns.size(); i++)
{
row.push_back(sql_row[i]);
}
result_dt.push_back(row);
}
mysql_free_result(result);
}
}
else
{
if((!isReconnected)&&isNeedReConnect())
{
isReconnected = true;
mysql_close(&m_Mysql);
connect();
return select(tablename, columns, condition);
}
}
return result_dt;
}
int CMySqlHelper::insert(const string &tablename, const vector<string>& columns, const vector<string>& data)
{
if (!bConnected)
{
return -1;
}
if ((columns.size() != data.size()) || (columns.size() < 1))
{
return -2;
}
string query = "insert into " + tablename + "(" + columns[0];
for (size_t i = 1; i < columns.size(); i++)
{
query += "," + columns[i];
}
query += ") values(" + data[0];
for (size_t i = 1; i < data.size(); i++)
{
query += "," + data[i];
}
query += ")";
int res = mysql_query(&m_Mysql, query.c_str());
if (0 == res)
{
return (int)mysql_affected_rows(&m_Mysql);
}
else
{
return -res;
}
}
int CMySqlHelper::replace(const string &tablename, const vector<string>& columns, const vector<string>& data)
{
if (!bConnected)
{
return -1;
}
if ((columns.size() != data.size()) || (columns.size() < 1))
{
return -1;
}
string query = "replace into " + tablename + "(" + columns[0];
for (size_t i = 1; i < columns.size(); i++)
{
query += "," + columns[i];
}
query += ") values(" + data[0];
for (size_t i = 1; i < data.size(); i++)
{
query += "," + data[i];
}
query += ")";
int res = mysql_query(&m_Mysql, query.c_str());
if (0 == res)
{
return (int)mysql_affected_rows(&m_Mysql);
}
else
{
return res;
}
}
int CMySqlHelper::query(const string &querystr)
{
if (!bConnected)
{
return -1;
}
int res = mysql_query(&m_Mysql, querystr.c_str());
if (0 == res)
{
return 1;
}
else
{
return 0;
}
}
string CMySqlHelper::getValue(const string &tablename, const string &column, string condition)
{
if (!bConnected)
{
return "";
}
string querystr = "select " + column + " from " + tablename;
if (condition != "")
{
querystr += " " + condition;
}
return getValueSql(querystr);
}
string CMySqlHelper::getValueSql(const string& sql) {
if (!bConnected)
{
return "";
}
string strValue("");
int res = mysql_query(&m_Mysql, sql.c_str());
if (0 == res)
{
MYSQL_RES *result = nullptr;
MYSQL_ROW sql_row;
result = mysql_store_result(&m_Mysql);
if (result)
{
sql_row = mysql_fetch_row(result);
if (sql_row)
{
if (*sql_row != nullptr)
{
strValue = sql_row[0];
}
}
}
}
return strValue;
}
int CMySqlHelper::delete_sql(const std::string &tablename, std::string condition)
{
if (!bConnected)
{
return -1;
}
string query = "delete from " + tablename + " " + condition;
int res = mysql_query(&m_Mysql, query.c_str());
if (0 == res)
{
return (int)mysql_affected_rows(&m_Mysql);
}
else
{
return -res;
}
}
| [
"1500617173@qq.com"
] | 1500617173@qq.com |
8a15b66ecd4a686124063511be5dc2ea46d3abec | 2bb18ae027984457ea42ff21da3e413a6d3bce1c | /Level 4/section 2.4/2.4.2/2.4.2/Line.cpp | 8eefe52a8654abbd09b81ab52c1b7eee1aa3f6cf | [] | no_license | lzabry/quantnet_cpp | 5038a0007147e40c7ec5ed804e0ffaac8813e3df | 926cb9818aa19b95e64fa9287ee21418b02455fb | refs/heads/master | 2023-06-08T14:20:20.811374 | 2021-07-01T02:54:15 | 2021-07-01T02:54:15 | 381,891,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | #include "Line.h"
#include <iostream>
#include <sstream>
//default constructor
Line::Line()
{
startPoint = Point();
endPoint = Point();
std::cout << "Just construct a new line using default constructor! " << endl;
}
//another constructor
Line::Line(const Point& p1, const Point& p2)
{
startPoint = p1;
endPoint = p2;
std::cout << "Just construct a new line using given points! " << endl;
}
//copy constructor
Line::Line(const Line& L1)
{
startPoint = Point(L1.startPoint);
endPoint = Point(L1.endPoint);
std::cout << "Just construct a new line using copy constructor! " << endl;
}
//destructor
Line::~Line()
{
std::cout << "Goodbye my line!" << endl;
}
//getter for starting point
const Point& Line::P1() const
{
return startPoint;
}
//getter for the end point
const Point& Line::P2() const
{
return endPoint;
}
//setter for starting point
void Line::P1(const Point& p1)
{
startPoint = p1;
}
//setter for ending point
void Line::P2(const Point& p2)
{
endPoint = p2;
}
//tostring
string Line::ToString() const
{
ostringstream os;
os << "This Line starts with " << P1().ToString() << "end with " << P2().ToString() << "." << endl;
return os.str();
}
//Length
double Line::Length() const
{
return startPoint.Distance(endPoint);
}
//assignment
Line& Line::operator = (const Line& source)
{
if (this == &source)
return *this;
startPoint = source.startPoint;
endPoint = source.endPoint;
return *this;
}
//<<
ostream& operator << (ostream& os, const Line& l)
{
return os << l.ToString() << endl;
} | [
"71653762+lzabry@users.noreply.github.com"
] | 71653762+lzabry@users.noreply.github.com |
678bbefa09677ee9ae04f3c35c563cabf4e995cd | 3478ccef99c85458a9043a1040bc91e6817cc136 | /HFrame/HExtras/Projector/Source/Application/Windows/EditorColourSchemeWindowComponent.h | 58782db928b6a34c3f1e9416a18fe50903ecad46 | [] | no_license | gybing/Hackett | a1183dada6eff28736ebab52397c282809be0e7b | f2b47d8cc3d8fa9f0d9cd9aa71b707c2a01b8a50 | refs/heads/master | 2020-07-25T22:58:59.712615 | 2019-07-09T09:40:00 | 2019-07-09T09:40:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,206 | h | /*
==============================================================================
This file is part of the H library.
Copyright (c) 2017 - ROLI Ltd.
H is an open source library subject to commercial or open-source
licensing.
By using H, you agree to the terms of both the H 5 End-User License
Agreement and H 5 Privacy Policy (both updated and effective as of the
27th April 2017).
End User License Agreement: www.H.com/H-5-licence
Privacy Policy: www.H.com/H-5-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
H IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Utility/UI/PropertyComponents/ColourPropertyComponent.h"
//==============================================================================
class EditorColourSchemeWindowComponent : public Component
{
public:
EditorColourSchemeWindowComponent()
{
if (getAppSettings().monospacedFontNames.size() == 0)
changeContent (new AppearanceEditor::FontScanPanel());
else
changeContent (new AppearanceEditor::EditorPanel());
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
}
void resized() override
{
content->setBounds (getLocalBounds());
}
void changeContent (Component* newContent)
{
content.reset (newContent);
addAndMakeVisible (newContent);
content->setBounds (getLocalBounds().reduced (10));
}
private:
std::unique_ptr<Component> content;
//==============================================================================
struct AppearanceEditor
{
struct FontScanPanel : public Component,
private Timer
{
FontScanPanel()
{
fontsToScan = Font::findAllTypefaceNames();
startTimer (1);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
g.setFont (14.0f);
g.setColour (findColour (defaultTextColourId));
g.drawFittedText ("Scanning for fonts..", getLocalBounds(), Justification::centred, 2);
const auto size = 30;
getLookAndFeel().drawSpinningWaitAnimation (g, Colours::white, (getWidth() - size) / 2, getHeight() / 2 - 50, size, size);
}
void timerCallback() override
{
repaint();
if (fontsToScan.size() == 0)
{
getAppSettings().monospacedFontNames = fontsFound;
if (auto* owner = findParentComponentOfClass<EditorColourSchemeWindowComponent>())
owner->changeContent (new EditorPanel());
}
else
{
if (isMonospacedTypeface (fontsToScan[0]))
fontsFound.add (fontsToScan[0]);
fontsToScan.remove (0);
}
}
// A rather hacky trick to select only the fixed-pitch fonts..
// This is unfortunately a bit slow, but will work on all platforms.
static bool isMonospacedTypeface (const String& name)
{
const Font font (name, 20.0f, Font::plain);
const auto width = font.getStringWidth ("....");
return width == font.getStringWidth ("WWWW")
&& width == font.getStringWidth ("0000")
&& width == font.getStringWidth ("1111")
&& width == font.getStringWidth ("iiii");
}
StringArray fontsToScan, fontsFound;
};
//==============================================================================
struct EditorPanel : public Component
{
EditorPanel()
: loadButton ("Load Scheme..."),
saveButton ("Save Scheme...")
{
rebuildProperties();
addAndMakeVisible (panel);
addAndMakeVisible (loadButton);
addAndMakeVisible (saveButton);
loadButton.onClick = [this] { loadScheme(); };
saveButton.onClick = [this] { saveScheme (false); };
lookAndFeelChanged();
saveSchemeState();
}
~EditorPanel() override
{
if (hasSchemeBeenModifiedSinceSave())
saveScheme (true);
}
void rebuildProperties()
{
auto& scheme = getAppSettings().appearance;
Array<PropertyComponent*> props;
auto fontValue = scheme.getCodeFontValue();
props.add (FontNameValueSource::createProperty ("Code Editor Font", fontValue));
props.add (FontSizeValueSource::createProperty ("Font Size", fontValue));
const auto colourNames = scheme.getColourNames();
for (int i = 0; i < colourNames.size(); ++i)
props.add (new ColourPropertyComponent (nullptr, colourNames[i],
scheme.getColourValue (colourNames[i]),
Colours::white, false));
panel.clear();
panel.addProperties (props);
}
void resized() override
{
auto r = getLocalBounds();
panel.setBounds (r.removeFromTop (getHeight() - 28).reduced (10, 2));
loadButton.setBounds (r.removeFromLeft (getWidth() / 2).reduced (10, 1));
saveButton.setBounds (r.reduced (10, 1));
}
private:
PropertyPanel panel;
TextButton loadButton, saveButton;
Font codeFont;
Array<var> colourValues;
void saveScheme (bool isExit)
{
FileChooser fc ("Select a file in which to save this colour-scheme...",
getAppSettings().appearance.getSchemesFolder()
.getNonexistentChildFile ("Scheme", AppearanceSettings::getSchemeFileSuffix()),
AppearanceSettings::getSchemeFileWildCard());
if (fc.browseForFileToSave (true))
{
File file (fc.getResult().withFileExtension (AppearanceSettings::getSchemeFileSuffix()));
getAppSettings().appearance.writeToFile (file);
getAppSettings().appearance.refreshPresetSchemeList();
saveSchemeState();
ProjectorApplication::getApp().selectEditorColourSchemeWithName (file.getFileNameWithoutExtension());
}
else if (isExit)
{
restorePreviousScheme();
}
}
void loadScheme()
{
FileChooser fc ("Please select a colour-scheme file to load...",
getAppSettings().appearance.getSchemesFolder(),
AppearanceSettings::getSchemeFileWildCard());
if (fc.browseForFileToOpen())
{
if (getAppSettings().appearance.readFromFile (fc.getResult()))
{
rebuildProperties();
saveSchemeState();
}
}
}
void lookAndFeelChanged() override
{
loadButton.setColour (TextButton::buttonColourId,
findColour (secondaryButtonBackgroundColourId));
}
void saveSchemeState()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
codeFont = appearance.getCodeFont();
colourValues.clear();
for (int i = 0; i < colourNames.size(); ++i)
colourValues.add (appearance.getColourValue (colourNames[i]).getValue());
}
bool hasSchemeBeenModifiedSinceSave()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
if (codeFont != appearance.getCodeFont())
return true;
for (int i = 0; i < colourNames.size(); ++i)
if (colourValues[i] != appearance.getColourValue (colourNames[i]).getValue())
return true;
return false;
}
void restorePreviousScheme()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
appearance.getCodeFontValue().setValue (codeFont.toString());
for (int i = 0; i < colourNames.size(); ++i)
appearance.getColourValue (colourNames[i]).setValue (colourValues[i]);
}
HDECLARE_NON_COPYABLE (EditorPanel)
};
//==============================================================================
struct FontNameValueSource : public ValueSourceFilter
{
FontNameValueSource (const Value& source) : ValueSourceFilter (source) {}
var getValue() const override
{
return Font::fromString (sourceValue.toString()).getTypefaceName();
}
void setValue (const var& newValue) override
{
auto font = Font::fromString (sourceValue.toString());
font.setTypefaceName (newValue.toString().empty() ? Font::getDefaultMonospacedFontName()
: newValue.toString());
sourceValue = font.toString();
}
static ChoicePropertyComponent* createProperty (const String& title, const Value& value)
{
auto fontNames = getAppSettings().monospacedFontNames;
Array<var> values;
values.add (Font::getDefaultMonospacedFontName());
values.add (var());
for (int i = 0; i < fontNames.size(); ++i)
values.add (fontNames[i]);
StringArray names;
names.add ("<Default Monospaced>");
names.add (String());
names.addArray (getAppSettings().monospacedFontNames);
return new ChoicePropertyComponent (Value (new FontNameValueSource (value)),
title, names, values);
}
};
//==============================================================================
struct FontSizeValueSource : public ValueSourceFilter
{
FontSizeValueSource (const Value& source) : ValueSourceFilter (source) {}
var getValue() const override
{
return Font::fromString (sourceValue.toString()).getHeight();
}
void setValue (const var& newValue) override
{
sourceValue = Font::fromString (sourceValue.toString()).withHeight (newValue).toString();
}
static PropertyComponent* createProperty (const String& title, const Value& value)
{
return new SliderPropertyComponent (Value (new FontSizeValueSource (value)),
title, 5.0, 40.0, 0.1, 0.5);
}
};
};
HDECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorColourSchemeWindowComponent)
};
| [
"23925493@qq.com"
] | 23925493@qq.com |
8f4cfd2b7146356fd11bc1a04c3d67305fbeb948 | d9af6ca49774c009c4b277c24fb78f796fe8476b | /src/test/Checkpoints_tests.cpp | 24aaada4d13d47d32b2aa4ee0eb4a2682f59814e | [
"MIT"
] | permissive | loxevesavu/Ingenuity | 7924abf996ca1b96885b961b924a565b7fd41312 | f57a4d8f089c245d0d7ea676dd4573bb30c05300 | refs/heads/master | 2020-04-25T22:34:05.740695 | 2018-12-11T05:56:01 | 2018-12-11T05:56:01 | 173,115,384 | 0 | 0 | null | 2019-02-28T13:17:58 | 2019-02-28T13:17:57 | null | UTF-8 | C++ | false | false | 1,246 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Copyright (c) 2017 The Ingenuity developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Unit tests for block-chain checkpoints
//
#include "checkpoints.h"
#include "uint256.h"
#include <boost/test/unit_test.hpp>
using namespace std;
BOOST_AUTO_TEST_SUITE(Checkpoints_tests)
BOOST_AUTO_TEST_CASE(sanity)
{
uint256 p259201 = uint256("0x1c9121bf9329a6234bfd1ea2d91515f19cd96990725265253f4b164283ade5dd");
uint256 p623933 = uint256("0xc7aafa648a0f1450157dc93bd4d7448913a85b7448f803b4ab970d91fc2a7da7");
BOOST_CHECK(Checkpoints::CheckBlock(259201, p259201));
BOOST_CHECK(Checkpoints::CheckBlock(623933, p623933));
// Wrong hashes at checkpoints should fail:
BOOST_CHECK(!Checkpoints::CheckBlock(259201, p623933));
BOOST_CHECK(!Checkpoints::CheckBlock(623933, p259201));
// ... but any hash not at a checkpoint should succeed:
BOOST_CHECK(Checkpoints::CheckBlock(259201+1, p623933));
BOOST_CHECK(Checkpoints::CheckBlock(623933+1, p259201));
BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate() >= 623933);
}
BOOST_AUTO_TEST_SUITE_END()
| [
"44764450+IngenuityCoin@users.noreply.github.com"
] | 44764450+IngenuityCoin@users.noreply.github.com |
08a29d41cd2c7a5310d10047d3d6a276cea1925a | 0ebd32afbb3c320dec44870260b77a70c83238db | /ai/Pondering.cpp | 3b34aacc8c2cbe1ff740a91b0a362aac510ca2e6 | [
"MIT"
] | permissive | AntonBeletskyForks/chess-ai | c2c7c2b4b55db640bb8330b039450e293c328671 | 419656d4c16671465bd5536bc3f897c23f0dd8f7 | refs/heads/master | 2023-04-30T03:35:25.579487 | 2021-05-13T18:58:17 | 2021-05-13T18:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,771 | cpp |
#include "Pondering.h"
#include "AiHelper.h"
#include "Timer.h"
#include "HistoryTable.h"
#include "io/Error.h"
#include "io/Debug.h"
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Access the static AI Pondering
///
////////////////////////////////////////////////////////////////////////////////
Pondering& Pondering::Instance()
{
static Pondering pondering;
return pondering;
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Start the thread
///
////////////////////////////////////////////////////////////////////////////////
void Pondering::Start(State& state)
{
static Settings& settings = Settings::Instance();
if (settings.pondering && settings.history_table)
{
m_Settings = settings; // Backup the settings
// Downgrade each stage of verbosity
settings.silent = !settings.verbose;
settings.verbose = settings.very_verbose;
settings.very_verbose = false;
// Keep looking as long as we can
settings.max_depth_limit = 0;
settings.seconds_limit = 0;
Timer::Instance().Restart();
debug::Print("----------------- Start pondering");
state.SwapTurnPlayer(); // Analyze without the opponent's move
state.Refresh();
HistoryTable::Instance().Reset();
m_Continue = true;
m_Running = true;
m_Thread = std::thread(Run, m_pState = &state); // Start the thread
}
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Stop the thread
///
////////////////////////////////////////////////////////////////////////////////
void Pondering::Stop()
{
static Settings& settings = Settings::Instance();
if (settings.pondering && settings.history_table && m_pState)
{
m_Continue = false;
m_Thread.join(); // Stop the thread
m_Running = false;
m_pState->SwapTurnPlayer(); // Reverse previous swap
m_pState->Refresh();
debug::Print("----------------- Stop pondering");
settings = m_Settings; // Restore the settings
}
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Is the pondering thread running?
///
////////////////////////////////////////////////////////////////////////////////
bool Pondering::Running() const
{
return m_Running;
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief If Pondering::Stop has been called after Pondering::Start,
/// this method should throw an exception
///
////////////////////////////////////////////////////////////////////////////////
void Pondering::CheckDonePondering() const
{
if (!m_Continue && m_Running)
{
throw DonePonderingException();
}
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Constructor
///
////////////////////////////////////////////////////////////////////////////////
Pondering::Pondering()
: m_Continue(false)
, m_Running(false)
, m_Thread()
, m_pState(nullptr)
, m_Settings()
{
}
////////////////////////////////////////////////////////////////////////////////
///
/// @brief Wrap ID_DL_MiniMax to catch the exeption raised when we are done
/// pondering
///
////////////////////////////////////////////////////////////////////////////////
void Pondering::Run(State* pState)
{
try
{
ASSERT_NE(nullptr, pState);
AiHelper::ID_DL_MiniMax(*pState);
}
catch (const DonePonderingException&)
{
// Done!
}
catch (const Error& e)
{
std::cerr << e.what() << std::endl;
}
}
| [
"vtad4f@mst.edu"
] | vtad4f@mst.edu |
7dff8da2166da811289f59b31c050a494ac615d7 | f9889a7b38e7a8651f5f5518ac9f27c1900d0b85 | /src/Pokemon.cpp | 0e853b5a1d5c382a82d159daeb2713bb6b219f5d | [] | no_license | BrianCraig/cpp-unq | ce57cae009368fef06e50b777d09e0b1b5973858 | c951a3be4b29ed29837e8eeb5edece413ce955f6 | refs/heads/master | 2016-09-01T05:02:19.842732 | 2015-10-24T01:20:16 | 2015-10-24T01:20:16 | 44,577,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | #include <string>
#include "Pokemon.h"
namespace Pokemon {
namespace Tipo {
bool vence(Tipo a,Tipo b) {
switch(a) {
case Tipo::AGUA:
return (b==Tipo::FUEGO) ;
case Tipo::FUEGO:
return (b==Tipo::PLANTA) ;
case Tipo::PLANTA:
return (b==Tipo::AGUA) ;
}
}
}
struct PokeNode {
std::string nombre;
Tipo::Tipo tipo;
int nivel;
};
typedef PokeNode* Pokemon;
Pokemon crear(std::string n, Tipo::Tipo t) {
Pokemon x = new PokeNode;
x->nombre = n;
x->tipo = t;
x->nivel = 1;
return x;
}
std::string nombre(Pokemon p){
return p->nombre;
}
Tipo::Tipo tipo(Pokemon p){
return p->tipo;
}
int nivel(Pokemon p){
return p->nivel;
}
void subirNivel(Pokemon p){
p->nivel++;
}
bool mismoTipo(Pokemon p, Pokemon v){
return (p->tipo == v->tipo);
}
bool esVencedorTipo(Pokemon p,Pokemon v){
return Tipo::vence(p->tipo, v->tipo);
}
bool esVencedorNivel(Pokemon p, Pokemon v){
return (p->nivel > v->nivel);
}
bool leGanaA(Pokemon p, Pokemon v){
return esVencedorTipo(p, v) ? true : (mismoTipo(p, v) && esVencedorNivel(p, v));
}
}
| [
"briancraigok@gmail.com"
] | briancraigok@gmail.com |
ae86668677313b052a960bc747af3748597299fa | b511bb6461363cf84afa52189603bd9d1a11ad34 | /code/jd.cpp | 9af9d8d95cf92006a27253a0b5e38438623cce61 | [] | no_license | masumr/problem_solve | ec0059479425e49cc4c76a107556972e1c545e89 | 1ad4ec3e27f28f10662c68bbc268eaad9f5a1a9e | refs/heads/master | 2021-01-16T19:07:01.198885 | 2017-08-12T21:21:59 | 2017-08-12T21:21:59 | 100,135,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,472 | cpp | ///*************************///
/// SOFTERLAB PROBLEM SOLVE ///
/// ICE 18th BATCH ///
/// 15-16 ///
/// MASUM RANA ///
///*************************///
///01.Write a program to find out largest number in an array
/*#include<stdio.h>
int main(){
int array[100];
int i,maximum_value=0;
printf("Enter a the value of array: ");
for(i=0;i<10;i++)
{
scanf("%d",&array[i]);
if(maximum_value<array[i])maximum_value=array[i];
}
printf("Maximum value is: %d\n",maximum_value);
return 0;
}*/
///02.Write a program to find Smallest element from the array .
/*#include<stdio.h>
int main(){
int array[100];
int i,minimum_value=10000000;
printf("Enter a the value of array: ");
for(i=0;i<10;i++)
{
scanf("%d",&array[i]);
if(maximum_value>array[i])maximum_value=array[i];
}
printf("Minimum value is: %d\n",minimum_value);
return 0;
}*/
///03.Write a program to reverse an array.
/*#include<stdio.h>
int main(){
int array[100];
int i,maximum_value=0;
printf("Enter a the value of array: ");
for(i=0;i<10;i++)
{
scanf("%d",&array[i]);
}
printf("Reverse the value is: ");
for(i=9;i>=0;i--){
printf("%d ",array[i]);
}
return 0;
}*/
///04.Count Total number of Capital and Small Letters from Accepted Line
/*#include<stdio.h>
int main() {
int upper = 0, lower = 0;
char ch[80];
int i;
printf("\nEnter The String : ");
gets(ch);
i = 0;
while (ch[i] != '\0') {
if (ch[i] >= 'A' && ch[i] <= 'Z')
upper++;
if (ch[i] >= 'a' && ch[i] <= 'z')
lower++;
i++;
}
printf("\nUppercase Letters : %d", upper);
printf("\nLowercase Letters : %d", lower);
return (0);
}*/
///05. Write a program to add two matrices.
/*#include<stdio.h>
int main(){
int array1[100][100],array2[100][100],add_array[100][100];
int i,j;
printf("Enter a the value of first matrix:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
scanf("%d",&array1[i][j]);
}
}
printf("Enter a the value of second matrix:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
scanf("%d",&array2[i][j]);
}
}
printf("Add the two matrix and result is:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
add_array[i][j]=(array1[i][j]+array2[i][j]);
printf("%d ",add_array[i][j]);
}
printf("\n");
}
return 0;
}*/
///06. Write a program to subtract one matrix from another.
/*#include<stdio.h>
int main(){
int array1[100][100],array2[100][100],add_array[100][100];
int i,j;
printf("Enter a the value of first matrix:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
scanf("%d",&array1[i][j]);
}
}
printf("Enter a the value of second matrix:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
scanf("%d",&array2[i][j]);
}
}
printf("Add the two matrix and result is:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
add_array[i][j]=(array1[i][j]-array2[i][j]);
printf("%d ",add_array[i][j]);
}
printf("\n");
}
return 0;
}*/
///07.Write a program to find the numbers greater than 5 and less than 500 divisible by 2 but not divisible by 4 or 6 and calculate their sum also.
/*#include<stdio.h>
int main()
{
int i,sum=0;
for(i=5;i<=500;i++){
if(i%2==0 && i%4!=0 && i%6!=0)
{
sum+=i;
}
}
printf("the number is: ");
printf("sum of this number is: %d\n",sum);
return 0;
}*/
///08. Write a program to calculate y where y=1^3+2^3+3^3+………. Using loop
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("put the number is: ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
y+=i*i*i;
}
printf("Result is: %d\n",y);
return 0;
}*/
///09. Write a program to calculate y where y=1^2+2^2+3^2+………. Using loop
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("put the number is: ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
y+=i*i;
}
printf("Result is: %d\n",y);
return 0;
}*/
///10. Write a program to calculate y where y=1+2+3+4+5........ using loop
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("put the number is: ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
y+=i;
}
printf("Result is: %d\n",y);
return 0;
}*/
///11. Write a program to calculate y where y=1*2+2*3+3*4+4*5+........using loop
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("Enter a the number is: ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
y+=(i*(i+1));
}
printf("Result is: %d\n",y);
return 0;
}*/
///12. Write a program to calculate and print Fibonacci numbers.
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("Enter a the number is: ");
scanf("%d",&n);
int f1=0,f2=1;
int fib[100];
fib[0]=0,fib[1]=1;
for(i=2;i<=n;i++)
{
fib[i]=f1+f2;
f1=f2;
f2=fib[i];
}
printf("0 to n th Fibonacci number is: ");
for(i=0;i<=n;i++)
{
printf("%d ",fib[i]);
}
return 0;
}*/
///13. Write a program to print the Floyd's triangle .
/*#include <stdio.h>
int main() {
int row,i,j,number= 1;
printf("Number of rows of Floyd's triangle to print:");
scanf("%d",&row);
for ( i=1;i<=row;i++ ) {
for ( j=1;j<=i;j++) {
printf("%d ",number);
number++;
}
printf("\n");
}
return 0;
}*/
///14. Write a program to find the numbers and their sum greater than 100 and less than 200 and divisible by 7
/*#include<stdio.h>
int main()
{
int i,sum = 0;
for(i = 100;i<= 200;i++)
{
if (i % 7 == 0)
{
sum = sum + i;
}
}
printf("\n Sum of all no between 100 and 200 which is divisible by 7 is: %d\n",sum);
return 0;
}*/
///15. Write a program a program using conditional operator to determine whether a number is even or odd and print the message “Number is Even” or “Number is Odd”
/*#include<stdio.h>
int main()
{
int i,n,y=0;
printf("Enter a the number is: ");
scanf("%d",&n);
if(n%2==0)
{
printf("“Number is Even\n");
}
else
{
printf("“Number is Odd\n");
}
return 0;
}*/
///16. Write a program to convert a given decimal number to its equivalent binary number.
/*#include<stdio.h>
int main()
{
int n,i,k=0;
int array[100];
printf("Enter a the decimal number is: ");
scanf("%d",&n);
while(n!=0){
array[k]=n%2;
n/=2;
k++;
}
printf("decimal number to convert binary number is: ");
for(i=k-1;i>=0;i--)printf("%d",array[i]);
printf("\n");
return 0;
}*/
///17. Write a program to convert a given decimal number to its equivalent octal number.
/*#include<stdio.h>
int main()
{
int n,i,k=0;
int array[100];
printf("Enter a the decimal number is: ");
scanf("%d",&n);
while(n!=0){
array[k]=n%8;
n/=8;
k++;
}
printf("decimal number to convert octal number is: ");
for(i=k-1;i>=0;i--)printf("%d",array[i]);
printf("\n");
return 0;
}*/
/// 18. Write a program to convert a given decimal number to its equivalent number of any given base.
/*#include<stdio.h>
int main()
{
int n,i,k=0,b;
int array[100];
printf("Enter a the decimal number is: ");
scanf("%d",&n);
printf("Enter a the base is: ");
scanf("%d",&b);
while(n!=0){
array[k]=n%b;
n/=b;
k++;
}
printf("decimal number to convert octal number is: ");
for(i=k-1;i>=0;i--)printf("%d",array[i]);
printf("\n");
return 0;
}*/
///19. Write a program to convert a given Hexadecimal number to its equivalent decimal number.
/*#include<stdio.h>
#include<math.h>
#include<string.h>
int main()
{
int n,i,k=0,b,rem;
char array[100];
printf("Enter a the decimal number is: ");
scanf("%d",&n);
while(n!=0){
rem=n%16;
n/=16;
if(rem<10)
{
array[k]=(char)(rem+48);
}
else
{
array[k]=(char)(rem+'A'-10);
}
k++;
}
printf("decimal number to convert octal number is: ");
for(i=k-1;i>=0;i--)printf("%c",array[i]);
printf("\n");
return 0;
}*/
///20. Write a program to convert a given Hexadecimal number to its equivalent binary number.
/*#include <stdio.h>
#include <math.h>
#include <string.h>
int main() {
long long decimalNumber=0;
char hexDigits[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8','9', 'A', 'B', 'C', 'D', 'E', 'F'};
char hexadecimal[30];
int i, j, power=0, digit;
printf("Enter a Hexadecimal Number: ");
scanf("%s", hexadecimal);
for(i=strlen(hexadecimal)-1;i >= 0;i--) {
for(j=0; j<16; j++){
if(hexadecimal[i] == hexDigits[j]){
decimalNumber += j*pow(16, power);
}
}
power++;
}
printf("Decimal Number : %ld", decimalNumber);
return 0;
}*/
///21. Write a program which will take an integer and print a message whether it is leap year or not.
/*#include <stdio.h>
int main()
{
int year;
printf("Enter a year to check if it is a leap year: ");
scanf("%d", &year);
if ( year%400 == 0)
printf("%d is a leap year.\n", year);
else if ( year%100 == 0)
printf("%d is not a leap year.\n", year);
else if ( year%4 == 0 )
printf("%d is a leap year.\n", year);
else
printf("%d is not a leap year.\n", year);
return 0;
}*/
///22. Write a simple program that can count how many consonants and vowels in your fullname.
/*#include<stdio.h>
#include<string.h>
int main(){
char ch[100];
int i,v_count=0,c_count=0;
printf("Enter your name: ");
gets(ch);
int len=strlen(ch);
for(i=0;i<len;i++){
if((ch[i]>='a'&& ch[i]<='z')||(ch[i]>='A' && ch[i]<='Z')){
if(ch[i]=='a' || ch[i]=='e' || ch[i]=='i' || ch[i]=='o' || ch[i]=='u' || ch[i]=='A' || ch[i]=='E'|| ch[i]=='I'||ch[i]=='O' || ch[i]=='U'){
v_count++;
}
else c_count++;
}
}
printf("vowels number is: %d\n",v_count);
printf("consonants number is: %d\n",c_count);
return 0;
}*/
///23.write a program to determine the grade of a student where the grades are designed
/*#include<stdio.h>
int main()
{
int marks;
printf("Enter your marks: ");
scanf("%d",&marks);
printf("you get grade: ");
if(marks>79)printf("A+\n");
else if(marks>74 && marks<80) printf("A\n");
else if(marks>69 && marks<75) printf("A-\n");
else if(marks>64 && marks<70) printf("B+\n");
else if(marks>59 && marks<65) printf("B\n");
else if(marks>50 && marks<60) printf("C\n");
else if(marks>40 && marks<50) printf("D\n");
else printf("F\n");
return 0;
}*/
///24.Using for loop write a program to display the following triangle:
/*#include<stdio.h>
int main(){
int i,j,number=1;
for(i=1;i<=5;i++){
for(j=1;j<=i;j++){
printf("%5d",number);
number++;
}
printf("\n");
}
return 0;
}*/
///25.Given a set of numbers find the greatest common divisor using function.
/*#include<stdio.h>
int main(){
int a,b,tem,x,y;
printf("Enter two number: ");
scanf("%d%d",&a,&b);
x=a,y=b;
while(b!=0){
tem=a;
a=b;
b=tem%b;
}
printf("GCD(%d,%d)=%d\n",x,y,a);
return 0;
}*/
///26.Write a program to print digits in reverse order of an integer.
/*#include<stdio.h>
int main(){
int num,rev_num=0;
printf("Enter the number: ");
scanf("%d",&num);
while(num!=0){
rev_num=rev_num*10+num%10;
num/=10;
}
printf("Reverse number is: %d",rev_num);
return 0;
}*/
///27.Write a program to calculate factorial for n number of integers.
/*#include<stdio.h>
int main(){
int num,i;
long long res=1;
printf("Enter the number: ");
scanf("%d",&num);
for(i=1;i<=n;i++){
res*=i;
}
printf("factorial %d!=%lld\n",num,res);
return 0;
}*/
///28.Write a C program to check given number is prime number or not .
/*#include<stdio.h>
int main(){
int num,i,t=0;
printf("Enter the number: ");
scanf("%d",&num);
for(i=2;i*i<=num;i++){
if(num%i==0){
t++;
break;
}
}
if(t==1) printf("%d is not a prime number\n",num);
else printf("%d is a prime number\n",num);
return 0;
}*/
///29. Write a program to evaluate equation distance=ut+(at^2)/2 by varying time.
/*#include<stdio.h>
int main(){
double distance,u,a,t;
printf("Enter the value of u: ");
scanf("%lf",&u);
printf("Enter the value of a: ");
scanf("%lf",&a);
printf("Enter the value of t: ");
scanf("%lf",&t);
distance=(u*t)+(a*t*t)/2;
printf("distance=%.2lf\n",distance);
return 0;
}*/
///30.Write a C Program to Find Factorial of a Number Using user defined functions.
/*#include<stdio.h>
long long Factorial(int n){
long long res=1;
int i;
for(i=1;i<=n;i++){
res*=i;
}
return res;
}
int main(){
int n;
printf("Enter the number: ");
scanf("%d",&n);
long long ans=Factorial(n);
printf("Factorial %d!=%lld\n",n,ans);
return 0;
}*/
///31.Write a C Program To Read Three Numbers And Print The Biggest Of Given Three Numbers.
/*#include<stdio.h>
int main(){
int a,b,c;
printf("Enter three number: ");
scanf("%d%d%d",&a,&b,&c);
int mx;
if(a<b){
if(b<c)mx=c;
else mx=b;
}
else{
if(a<c)mx=c;
else mx=a;
}
printf("The biggest number is: %d\n",mx);
return 0;
}*/
///32.Write a C Program To Read Three Numbers And Print The Smallest Of Given Three Numbers.
/*#include<stdio.h>
int main(){
int a,b,c;
printf("Enter three number: ");
scanf("%d%d%d",&a,&b,&c);
int mn;
if(a>b){
if(b>c)mn=c;
else mn=b;
}
else{
if(a>c)mn=c;
else mn=a;
}
printf("The smallest number is: %d\n",mn);
return 0;
}*/
///33.Write a C program to summation only even numbers from 1 to n.
/*#include<stdio.h>
int main(){
int n,i,sum=0;
printf("Enter the number: ");
scanf("%d",&n);
for(i=0;i<=n;i+=2){
sum+=i;
}
printf("summition of even number result is: %d\n",sum);
return 0;
}*/
///34.Write a C program to summation only odd numbers from 1 to n.
/*#include<stdio.h>
int main(){
int n,i,sum=0;
printf("Enter the number: ");
scanf("%d",&n);
for(i=1;i<=n;i+=2){
sum+=i;
}
printf("summition of odd number result is: %d\n",sum);
return 0;
}*/
///35. Write a C program to read a number and find this number negative or positive.
/*#include<stdio.h>
int main(){
int n;
printf("Enter the number: ");
scanf("%d",&n);
if(n>=0) printf("%d is positive number\n",n);
else printf("%d is negative number\n",n);
return 0;
}*/
///36. Write a C program to given a string and print reverse this string.
/*#include<stdio.h>
#include<string.h>
int main(){
char ch[100];
printf("Enter the string: ");
scanf("%s",ch);
int len=strlen(ch);
int i;
printf("%s reverse is: ",ch);
for(i=len-1;i>=0;i--){
printf("%c",ch[i]);
}
return 0;
}*/
///37. Write a C program summation of digit of an integer number.
/*#include<stdio.h>
int main(){
int n;
printf("Enter the number: ");
scanf("%d",&n);
int sum=0;
while(n!=0){
sum+=(n%10);
n/=10;
}
printf("summation of digit result is: %d",sum);
return 0;
}*/
///38.Write a C program given a number check the given number is palindrome or not.
/*#include<stdio.h>
int main(){
int n,x;
printf("Enter the number: ");
scanf("%d",&n);
x=n;
int sum=0;
while(n!=0){
sum=sum*10+(n%10);
n/=10;
}
if(sum==x) printf("%d is palindrome number\n",x);
else printf("%d is not palindrome number\n",x);
return 0;
}*/
///39.Write a C program given a string check the given string is palindrome or not.
/*#include<stdio.h>
#include<string.h>
int main(){
char ch1[100],ch2[100];
printf("Enter the string: ");
scanf("%s",ch1);
int len=strlen(ch1);
int i,k=0;
for(i=len-1;i>=0;i--){
ch2[k++]=ch1[i];
}
if(strcmp(ch1,ch2)==0) printf("%s is palindrome number\n",ch1);
else printf("%s is not palindrome number\n",ch1);
return 0;
}*/
///40.Write a C program given a number and find this number is perfect or not.
/*#include<stdio.h>
int main(){
int n,x,i,sum=0;
printf("Enter the number: ");
scanf("%d",&n);
for(i=1;i*i<=n;i++){
if(n%i==0){
sum+=i;
if(n/i!=i){
sum+=n/i;
}
}
}
if(sum==2*n) printf("%d is perfect number\n",n);
else printf("%d is not perfect number\n",n);
return 0;
}*/
///41.Write a C program accept roll number, marks in 3 subjects and calculate total, average and print it.
/*# include <stdio.h>
int main()
{
int roll,first_subject,second_subject,third_subject,total_marks,avarage_marks;
printf ("\tEnter student roll: ");
scanf ("%d",&roll);
printf("\tEnter first subject marks: ");
scanf("%d",&first_subject);
printf("\tEnter second subject marks: ");
scanf("%d",&second_subject);
printf("\tEnter third subject marks: ");
scanf("%d",&third_subject);
total_marks=first_subject+second_subject+third_subject;
avarage_marks=total_marks/3;
printf("\t Student roll: %d\n",roll);
printf("\t First subject marks: %d\n",first_subject);
printf("\t Second subject marks: %d\n",second_subject);
printf("\t Third subject marks: %d\n",third_subject);
printf("\t Total marks: %d\n",total_marks);
printf("\t Total marks: %d\n",avarage_marks);
return 0;
}*/
///42.Write a C program given two number and sum the two number, subtract, multiplication, division, remainder.
/*#include<stdio.h>
int main(){
int num1,num2;
int add,subtract,multiplication, division, remainder;
printf("Enter twow number: ");
scanf("%d%d",&num1,&num2);
add=num1+num2;
subtract=num1-num2;
multiplication=num1*num2;
division=num1/num2;
remainder=num1%num2;
printf("Result is: \n");
printf("%3d + %3d=%3d\n",num1,num2,add);
printf("%3d - %3d=%3d\n",num1,num2,subtract);
printf("%3d * %3d=%3d\n",num1,num2,multiplication);
printf("%3d / %3d=%3d\n",num1,num2,division);
printf("%3d %% %3d=%3d\n",num1,num2,remainder);
return 0;
}*/
///43.Write a C program given a number and check the given number is armstrong number or not.
/*#include <stdio.h>
int main( )
{
int num,num1,num2,num3,sum,x;
printf("Enter number: ");
scanf("%d",&num);
x=num;
num1=num%10;
num/=10;
num2=num%10;
num/=10;
num3=num;
sum=(num1*num1*num1)+(num2*num2*num2)+(num3*num3*num3);
if(sum==num)printf ("%d is Armstrong number",x);
else printf ("%d is not Armstrong number",x);
return 0;
}*/
///44.Write a C program to print 1 to n odd number.
/*# include <stdio.h>
int main(){
int i,n;
printf("Enter the number:\t");
scanf("%d",&n);
printf(" 1 to n odd number is: ");
for (i=1;i<=n;i+=2) printf("%d\t",i);
return 0;
}*/
///45.Write a C program to print 1 to n even number.
/*#include <stdio.h>
int main(){
int i,n;
printf("Enter the number: ");
scanf("%d",&n);
printf("1 to n even number is:\t");
for (i=2;i<=n;i+=2) printf("%d\t",i);
return 0;
}*/
///46.Write a C program to print 1 to n in reverse.
/*#include<stdio.h>
int main(){
int i,n;
printf("Enter the number: ");
scanf("%d",&n);
printf("1 to n reverse number is:\t");
for (i=n;i>=1;i--) printf("%d\t",i);
return 0;
}*/
///47.Write a C program 1 to n mathematical table.
/*#include<stdio.h>
int main(){
int i,j,n;
printf("Enter the number: ");
scanf("%d",&n);
for(i=1;i<=n;i++){
printf("mathematical table of %d:\n",i);
for(j=1;j<=10;j++){
printf("%d x %d = %d\n",i,j,i*j);
}
printf("\n\n");
}
return 0;
}*/
///48.Write a C program a character in upper case and print in lower case and print ascii value this character.
/*#include<stdio.h>
int main(){
char ch;
printf("Enter the upper case char: ");
scanf("%c",&ch);
printf("The lower char is: %c\n",ch+32);
printf("%c ASCII value is: %d\n",ch,ch);
return 0;
}*/
///49. Write a C program a character in lower case and print in upper case print ascii value this character.
/*#include<stdio.h>
int main(){
char ch;
printf("Enter the lower case char: ");
scanf("%c",&ch);
printf("The upper char is: %c\n",ch-32);
printf("%c ASCII value is: %d\n",ch,ch);
return 0;
}*/
///50.Write a C program given two number and find that biggest number and smallest number using ternary operator.
/*#include<stdio.h>
int main(){
int num1,num2,mn,mx;
printf("Enter two number: ");
scanf("%d%d",&num1,&num2);
mx=((num1>num2)?num1:num2);
mn=((num1<num2)?num1:num2);
printf("the minimum number is: %d\n",mn);
printf("the maximum number is: %d\n",mx);
return 0;
}*/
| [
"masumr455@gmial.com"
] | masumr455@gmial.com |
407ce01f845138df5df2c869ee11e913ec70428b | b925051562d2f60ca48c71f6b6a6f3a90180a53d | /C++/344ReverseString.cpp | b70fc816e62339004a31039e72173b7fa4695ac0 | [] | no_license | rical730/LeetCode | 4d3e3af2ab7c293e0e91e6ca0bbff27bcc93fe3c | af12c22dd152dbcab00b5a4878be43df0c15be9f | refs/heads/master | 2021-01-20T18:20:27.654650 | 2016-07-26T06:43:09 | 2016-07-26T06:43:09 | 63,239,962 | 0 | 0 | null | 2016-07-13T13:29:27 | 2016-07-13T11:19:17 | null | UTF-8 | C++ | false | false | 630 | cpp | /*
* Leetcode334. reverseString
* Funtion: Write a function that takes a string as input and returns the string reversed.
* Author: LKJ
* Date:2016/7/18
*/
#include <iostream>
using namespace std;
class Solution {
public:
string reverseString(string s) {
int len = s.length();
string o;
for(int i = len-1; i >= 0; i--){
o += s[i];/*字符串拼接*/
}
return o;
}
};
int main(){
string strin,strout;
Solution reverResult;
cout << "Please Enter a string:" << endl;
cin >>strin;
strout = reverResult.reverseString(strin);
cout << strout;
return 0;
}
| [
"1052324873@qq.com"
] | 1052324873@qq.com |
8b439cd77c4275ba02431d1fe8dbfff5b43ebab4 | 842b36953233d3bc0e020c9468f294b7c6fba0fa | /src/ofxUIBaseDraws.cpp | 24c880973d84644d821eb836b2359b36f1e8fb3f | [] | no_license | BentleyBlanks/ofxUI | 50cc333c5335d391160a55b786eafc65ac1b01d1 | b24d946c00411ed3dba61c38fce0af480194dc6c | refs/heads/master | 2020-12-24T14:56:10.992310 | 2017-10-01T07:43:35 | 2017-10-01T07:43:35 | 21,149,787 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,129 | cpp | /**********************************************************************************
Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com)
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 "ofxUIBaseDraws.h"
#include "ofxUI.h"
ofxUIBaseDraws::ofxUIBaseDraws(float x, float y, float w, float h, ofBaseDraws* _image, string _name) : ofxUIWidgetWithLabel()
{
init(x, y, w, h, _image, _name);
}
ofxUIBaseDraws::ofxUIBaseDraws(float x, float y, float w, float h, ofBaseDraws* _image, string _name, bool _showLabel) : ofxUIWidgetWithLabel()
{
init(x, y, w, h, _image, _name);
setLabelVisible(_showLabel);
}
ofxUIBaseDraws::ofxUIBaseDraws(float w, float h, ofBaseDraws* _image, string _name) : ofxUIWidgetWithLabel()
{
init(0, 0, w, h, _image, _name);
}
ofxUIBaseDraws::ofxUIBaseDraws(float w, float h, ofBaseDraws* _image, string _name, bool _showLabel) : ofxUIWidgetWithLabel()
{
init(0, 0, w, h, _image, _name);
setLabelVisible(_showLabel);
}
void ofxUIBaseDraws::init(float x, float y, float w, float h, ofBaseDraws* _image, string _name)
{
initRect(x, y, w, h);
name = _name;
kind = OFX_UI_WIDGET_BASE_DRAWS;
draw_back = false;
draw_fill = true;
image = _image;
label = new ofxUILabel(0,h+padding*2.0,(name+" LABEL"),name, OFX_UI_FONT_SMALL);
addEmbeddedWidget(label);
}
void ofxUIBaseDraws::setDrawPadding(bool _draw_padded_rect)
{
draw_padded_rect = _draw_padded_rect;
label->setDrawPadding(false);
}
void ofxUIBaseDraws::setDrawPaddingOutline(bool _draw_padded_rect_outline)
{
draw_padded_rect_outline = _draw_padded_rect_outline;
label->setDrawPaddingOutline(false);
}
void ofxUIBaseDraws::drawFill()
{
if(draw_fill)
{
if(image != NULL)
{
ofFill();
ofSetColor(255);
image->draw(rect->getX(), rect->getY(), rect->width, rect->height);
}
}
}
void ofxUIBaseDraws::set(ofBaseDraws *_image)
{
image = _image;
}
bool ofxUIBaseDraws::isDraggable()
{
return false;
} | [
"bentleyjobs@gmail.com"
] | bentleyjobs@gmail.com |
5865eaf368d2a2c6c15bd8dabe17955e7ac17672 | a1732b958ae73657900585a4e8991a05072212d6 | /2019/day10/main.cpp | 2bbdfc47406575f8d5c0dfee190a98d4e3d42880 | [
"MIT"
] | permissive | bielskij/AOC | 97fca8183955caf4d46967ac1bf4b00d9dc04f12 | 270aa757f9025d8da399adbc5db214f47ef0b6de | refs/heads/master | 2023-01-08T10:23:40.667070 | 2022-12-29T07:58:04 | 2022-12-29T07:58:04 | 226,080,843 | 3 | 0 | null | 2020-12-09T08:27:49 | 2019-12-05T10:57:02 | C++ | UTF-8 | C++ | false | false | 3,253 | cpp | #include <cmath>
#include <climits>
#include <string>
#include <vector>
#include <algorithm>
#include "common/types.h"
#include "utils/file.h"
#include "utils/utils.h"
#define DEBUG_LEVEL 5
#include "common/debug.h"
static Vector2D startVector(-4, 0);
struct VectorComparator {
bool operator()(const Vector2D &a, const Vector2D &b) const {
float angleA = a.getAngle(startVector);
float angleB = b.getAngle(startVector);
if (angleA < 0) {
angleA += 360;
}
if (angleB < 0) {
angleB += 360;
}
if (angleA < angleB) {
return true;
} else if (angleA == angleB) {
return a.getLength() < b.getLength();
}
return false;
}
};
int main(int argc, char *argv[]) {
std::vector<Point<int>> asteroids;
int width = 0;
int height = 0;
{
auto data = File::readAllLines(argv[1]);
for (int row = 0; row < data.size(); row++) {
std::string &line = data[row];
for (int col = 0; col < line.size(); col++) {
if (line[col] == '#') {
asteroids.push_back(Point<int>(col, row));
}
}
}
}
DBG(("Have %zd asteroids", asteroids.size()));
Point<int> location;
{
int asteroidNumber = 0;
for (auto src = asteroids.begin(); src != asteroids.end(); src++) {
int asteroidsInSight = 0;
for (auto dst = asteroids.begin(); dst != asteroids.end(); dst++) {
if (*src != *dst) {
Line<int> l(*src, *dst);
int minX = src->x() < dst->x() ? src->x() : dst->x();
int minY = src->y() < dst->y() ? src->y() : dst->y();
int maxX = src->x() > dst->x() ? src->x() : dst->x();
int maxY = src->y() > dst->y() ? src->y() : dst->y();
bool hasCollision = false;
for (int y = minY; y <= maxY; y++) {
for (int x = minX; x <= maxX; x++) {
Point<int> p(x, y);
if (p != *src && p != *dst) {
if (l.crossTrough(p)) {
for (auto it = asteroids.begin(); it != asteroids.end(); it++) {
if (*it == p) {
hasCollision = true;
break;
}
}
}
}
}
if (hasCollision) {
break;
}
}
if (! hasCollision) {
asteroidsInSight++;
}
}
}
if (asteroidsInSight > asteroidNumber) {
asteroidNumber = asteroidsInSight;
location = *src;
}
}
PRINTF(("PART A: %d (%d, %d)", asteroidNumber, (int)location.x(), (int)location.y()));
}
{
std::vector<Vector2D> vectors;
for (auto asteroid = asteroids.begin(); asteroid != asteroids.end(); asteroid++) {
if (*asteroid != location) {
vectors.push_back(Vector2D(asteroid->y() - location.y(), asteroid->x() - location.x()));
}
}
std::sort(vectors.begin(), vectors.end(), VectorComparator());
int idx = 1;
while (! vectors.empty()) {
auto vector = vectors.begin();
float lastAngle = 400;
while (vector != vectors.end()) {
float angle = vector->getAngle(startVector);
if (lastAngle == angle) {
vector++;
continue;
}
if (idx == 200) {
int x = (int)(vector->getY() + location.x());
int y = (int)(vector->getX() + location.y());
vectors.clear();
PRINTF(("PART B: %d", x * 100 + y));
break;
} else {
vector = vectors.erase(vector);
idx++;
lastAngle = angle;
}
}
}
}
}
| [
"bielski.j@gmail.com"
] | bielski.j@gmail.com |
4ab964000e1f61a3fe36cacdc9c6a7ff530618e2 | 79b51456684272095f156350033fc67ee1b2d56e | /TerVerLaba/TerVerLaba/MyForm.h | 8ef4921bc1adb3243562da0f21db4516b3dcd2cb | [] | no_license | Laurita-MM/TerVer | b69d513425bd94b42de2970a55fa0f2e914c6f92 | c31b98c8e6168700e6c2e1501a524cfa488a5937 | refs/heads/main | 2023-05-13T18:12:51.989225 | 2021-06-05T18:06:58 | 2021-06-05T18:06:58 | 374,180,084 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 9,939 | h | #pragma once
#include <stdio.h>
#include <stdlib.h>
#include <random>
#include <iomanip>
#include <iostream>
#include <clocale>
#include <cstdlib>
#include <map>
#include <ctime>
#include <list>
#include <vector>
#include <math.h>
#include <clocale>
#include "Header.h"
namespace TerVerLaba {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace std;
using namespace ZedGraph;
map <double, double> mp;
map <double, double> ::iterator it = mp.begin();
/// <summary>
/// Сводка для MyForm
/// </summary>
public ref class MyForm : public System::Windows::Forms::Form
{
public:
MyForm(void)
{
InitializeComponent();
//
//TODO: добавьте код конструктора
//
}
protected:
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
~MyForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::DataVisualization::Charting::Chart^ chart;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::DataVisualization::Charting::Chart^ chart1;
private: System::ComponentModel::IContainer^ components;
protected:
protected:
protected:
private:
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Требуемый метод для поддержки конструктора — не изменяйте
/// содержимое этого метода с помощью редактора кода.
/// </summary>
void InitializeComponent(void)
{
System::Windows::Forms::DataVisualization::Charting::ChartArea^ chartArea1 = (gcnew System::Windows::Forms::DataVisualization::Charting::ChartArea());
System::Windows::Forms::DataVisualization::Charting::Legend^ legend1 = (gcnew System::Windows::Forms::DataVisualization::Charting::Legend());
System::Windows::Forms::DataVisualization::Charting::Series^ series1 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
System::Windows::Forms::DataVisualization::Charting::Series^ series2 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
System::Windows::Forms::DataVisualization::Charting::ChartArea^ chartArea2 = (gcnew System::Windows::Forms::DataVisualization::Charting::ChartArea());
System::Windows::Forms::DataVisualization::Charting::Legend^ legend2 = (gcnew System::Windows::Forms::DataVisualization::Charting::Legend());
System::Windows::Forms::DataVisualization::Charting::Series^ series3 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
System::Windows::Forms::DataVisualization::Charting::Series^ series4 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
this->chart = (gcnew System::Windows::Forms::DataVisualization::Charting::Chart());
this->button1 = (gcnew System::Windows::Forms::Button());
this->chart1 = (gcnew System::Windows::Forms::DataVisualization::Charting::Chart());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart1))->BeginInit();
this->SuspendLayout();
//
// chart
//
chartArea1->AxisX->MajorGrid->LineColor = System::Drawing::Color::LightGray;
chartArea1->AxisX->Minimum = 0;
chartArea1->AxisY->MajorGrid->LineColor = System::Drawing::Color::LightGray;
chartArea1->AxisY->Maximum = 1.2;
chartArea1->BackColor = System::Drawing::Color::White;
chartArea1->Name = L"ChartArea1";
this->chart->ChartAreas->Add(chartArea1);
legend1->Enabled = false;
legend1->MaximumAutoSize = 80;
legend1->Name = L"Legend1";
legend1->Position->Auto = false;
legend1->Position->Height = 15;
legend1->Position->Width = 30.88671F;
legend1->Position->X = 15;
legend1->Position->Y = 5;
this->chart->Legends->Add(legend1);
this->chart->Location = System::Drawing::Point(55, 76);
this->chart->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
this->chart->Name = L"chart";
series1->BorderWidth = 2;
series1->ChartArea = L"ChartArea1";
series1->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::StepLine;
series1->Legend = L"Legend1";
series1->LegendText = L"Теоретическая";
series1->Name = L"Series1";
series2->BorderWidth = 2;
series2->ChartArea = L"ChartArea1";
series2->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::StepLine;
series2->Legend = L"Legend1";
series2->LegendText = L"Эмпирическая";
series2->Name = L"Series2";
this->chart->Series->Add(series1);
this->chart->Series->Add(series2);
this->chart->Size = System::Drawing::Size(677, 537);
this->chart->TabIndex = 0;
this->chart->Text = L"chart1";
this->chart->Click += gcnew System::EventHandler(this, &MyForm::chart1_Click);
//
// button1
//
this->button1->Location = System::Drawing::Point(55, 24);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(95, 44);
this->button1->TabIndex = 1;
this->button1->Text = L"графики";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &MyForm::button1_Click);
//
// chart1
//
chartArea2->AxisX->MajorGrid->LineColor = System::Drawing::Color::LightGray;
chartArea2->AxisX->Minimum = 0;
chartArea2->AxisY->MajorGrid->LineColor = System::Drawing::Color::LightGray;
chartArea2->AxisY->Maximum = 1.2;
chartArea2->BackColor = System::Drawing::Color::White;
chartArea2->Name = L"ChartArea1";
this->chart1->ChartAreas->Add(chartArea2);
legend2->Enabled = false;
legend2->MaximumAutoSize = 80;
legend2->Name = L"Legend1";
legend2->Position->Auto = false;
legend2->Position->Height = 15;
legend2->Position->Width = 30.88671F;
legend2->Position->X = 15;
legend2->Position->Y = 5;
this->chart1->Legends->Add(legend2);
this->chart1->Location = System::Drawing::Point(713, 675);
this->chart1->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
this->chart1->Name = L"chart1";
series3->BorderWidth = 2;
series3->ChartArea = L"ChartArea1";
series3->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::StepLine;
series3->Legend = L"Legend1";
series3->Name = L"Series1";
series4->ChartArea = L"ChartArea1";
series4->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::Spline;
series4->Legend = L"Legend1";
series4->LegendText = L"Эмпирическая";
series4->Name = L"Series2";
series4->YValuesPerPoint = 2;
this->chart1->Series->Add(series3);
this->chart1->Series->Add(series4);
this->chart1->Size = System::Drawing::Size(677, 537);
this->chart1->TabIndex = 2;
this->chart1->Text = L"chart1";
//
// MyForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(9, 20);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::SystemColors::ButtonFace;
this->ClientSize = System::Drawing::Size(1492, 934);
this->Controls->Add(this->chart1);
this->Controls->Add(this->button1);
this->Controls->Add(this->chart);
this->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
this->Name = L"MyForm";
this->Text = L"Terver";
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart1))->EndInit();
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void chart1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
double w[1000];
int size;
double n = 100.0;
bool flag = true;
float a;
float p2 = 0.3;
int j = 0;
int l = 10000;
/*for (int i = 0; i < 500; i++) {
w[i] = 0;
}
srand((unsigned)time(NULL));
for (int i = 0; i < n; i++) {
while (flag) {
a = ((double)rand()) / RAND_MAX;
if (a <= p2)
flag = false;
j++;
}
w[j] += 1;
j = 0;
flag = true;
}*/
for (int i = 0; i < l; i++) {
mp[i] = 0;
}
srand((unsigned)time(NULL));
for (int i = 0; i < n; i++) {
while (flag) {
a = ((double)rand()) / RAND_MAX;
if (a <= p2)
flag = false;
j++;
}
mp[j] += 1;
j = 0;
flag = true;
}
for (int i = 0; i < l; i++) {
if (mp[i] == 0)
mp.erase(i);
}
double max=0.0;
it = mp.begin();
for (int i = 0; it != mp.end(); it++, i++) {
if (it->first > max)
max = it->first;
}
size = 100;
chart->Series[0]->Points->Clear();
//chart->Series[1]->Points->Clear();
chart->Legends[0]->Enabled = true;
double sum = 0.0;
//теоретическая функция распределения
max = 3 / p2;
int res_min = 0;
double res_max = max;
//double div[10]; // массив для хранения значений функции распределения
chart->ChartAreas[0]->AxisX->Maximum = res_max + 1;
chart->Series[0]->Points->AddXY(0, 0);
for (int x = res_min; x <= res_max; x++)
{
sum = th_func(x);
//div[x] = sum;
chart->Series[0]->Points->AddXY(x, sum);
}
chart->Series[0]->Points->AddXY(res_max + 1, 1);
// выборочная функция распределения
it = mp.begin();
sum = 0.0;
chart->Series[1]->Points->AddXY(0, 0);
for (int x = res_min+1; x <= res_max, it != mp.end(); it++, x++)
{
sum += mp[x]/n;
chart->Series[1]->Points->AddXY(x, sum);
}
chart->Series[1]->Points->AddXY(res_max + 1, 1);
}
};
}
| [
"mendosa2011@yandex.ru"
] | mendosa2011@yandex.ru |
da83cd7e5a027c58eac724d373917d7b2a897689 | 24f6bcac7d6072b6e294cfac39396815705e75b2 | /Esame/L11/Circular Linked List/CNode.h | 5e77d385b4299b1ebe419e9451976a0cb3c5b59f | [] | no_license | lucianaaaaaa/Progetti | c0c8c85cd6632fbc66e9a00041f72aad18ae29a7 | 5d00a66788e4170717497e43bcd3f79358f6772b | refs/heads/master | 2023-06-23T08:07:09.000477 | 2021-07-20T11:20:51 | 2021-07-20T11:20:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | //CNode.h
#ifndef CNODE_H
#define CNODE_H
template <typename T>
class CLinkedList;
template <typename T>
class Iterator;
template <typename T>
class CNode {
public:
friend class CLinkedList<T>;
friend class Iterator<T>;
private:
T elem;
CNode* next;
};
#endif | [
"80358575+lucianaaaaaa@users.noreply.github.com"
] | 80358575+lucianaaaaaa@users.noreply.github.com |
9a6ca7ebab9f42f09e1181a00cf2a03f4c66ba31 | ead0d52c5423bbcfdda6a780cd9c740b57d1ad57 | /Mp3File.cpp | b09a9ab496550529bc0b6fa9ed5c0d6cf73b6512 | [] | no_license | nitoyon/winamp-zipmp3plugin | 20ff82d178e7319ba06ac38776492b3965680a31 | cc7054d2f564ce6f510ab32e4388f5035d6fb6df | refs/heads/master | 2021-01-13T02:15:57.053472 | 2003-12-08T12:35:45 | 2003-12-08T12:35:45 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 9,916 | cpp |
// Mp3File.cpp
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
#include "Mp3File.h"
#include "define.h"
#include "Profile.h"
#include "Id3tagv2.h"
#define BUF_SIZE 256
/******************************************************************************/
// コンストラクタおよびデストラクタ
/******************************************************************************/
// コンストラクタ
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
Mp3File::Mp3File(FileInfo* p)
: File(p)
, ulMpegHeader( 0), intMpeg( 0), intLayer( 0), intBitrate( 0), ulLengthCache( 0)
{
}
/******************************************************************************/
// デストラクタ
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
Mp3File::~Mp3File()
{
}
/******************************************************************************/
// ヘッダ読みとり
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
BOOL Mp3File::ReadHeader()
{
FILE* fzip = fopen( strArchivePath.c_str(), "rb") ;
if(!fzip)
{
return FALSE;
}
// zip ではないかのチェック(今はいい加減)
if( FindMpegHeader( fzip))
{
ReadMpegHeader( fzip) ;
ReadID3v1( fzip) ;
// ID3 v2タグ読みとり
if(Profile::blnUseId3v2 && fseek( fzip, uiStartPoint, SEEK_SET) == 0)
{
CId3tagv2 tagv2 ;
tagv2.Load( fzip) ;
dwId3v2Size = 0;
if(tagv2.IsEnable())
{
blnHasID3Tag = TRUE ;
id3tag.strTrackName = tagv2.GetTitle() ;
id3tag.strArtistName = tagv2.GetArtist() ;
id3tag.strAlbumName = tagv2.GetAlbum() ;
id3tag.intYear = atoi( tagv2.GetYear().c_str()) ;
id3tag.strComment = tagv2.GetComment() ;
id3tag.intTrackNum = atoi( tagv2.GetTrackNo().c_str()) ;
dwId3v2Size = tagv2.GetTotalFrameSize();
}
}
}
fclose( fzip) ;
return TRUE ;
}
/******************************************************************************/
// MPEGヘッダを探す
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
BOOL Mp3File::FindMpegHeader( FILE* fzip)
{
// バッファ確保
BYTE byte[ BUF_SIZE + 2] ;
byte[ BUF_SIZE ] = '\0' ;
byte[ BUF_SIZE + 1] = '\0' ;
ULONG ulPos = uiStartPoint;
ULONG ulEnd = uiEndPoint;
ULONG ulBufSize = 0 ;
while( TRUE)
{
if( fseek( fzip, ulPos, SEEK_SET) == 0)
{
ulBufSize = ( ulPos + BUF_SIZE > ulEnd ? ulEnd - ulPos : BUF_SIZE) ;
fread( byte, sizeof(char), ulBufSize, fzip) ;
// 指定バイト読みとり
for( int j = 0; j < ulBufSize; j++)
{
if( byte[ j] == 0xff)
{
if( ( byte[ j + 1] & 0xe0) == 0xe0)
{
ulMpegHeader = ulPos + j ;
return TRUE ;
}
}
}
byte[ BUF_SIZE + 0] = byte[ 0] ;
byte[ BUF_SIZE + 1] = byte[ 1] ;
}
ulPos += BUF_SIZE ;
if( ulPos > ulEnd)
{
break ;
}
}
ulMpegHeader = -1 ;
return FALSE ;
}
/******************************************************************************/
// MPEGヘッダ読みとり
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
BOOL Mp3File::ReadMpegHeader( FILE* fzip)
{
if( fseek( fzip, ulMpegHeader, SEEK_SET) != 0)
{
return FALSE ;
}
fgetc( fzip) ;
char c = fgetc( fzip) ;
// MPEGバージョン取得
if( c & 0x08)
{
intMpeg = 1 ;
}
else
{
intMpeg = ( c & 0x10 ? 3 : 2) ;
}
// レイヤ取得
switch( c & 0x06)
{
case 0x06: intLayer = 1 ; break ;
case 0x04: intLayer = 2 ; break ;
case 0x02: intLayer = 3 ; break ;
}
// ビットレート
int intBitrateTable[][ 3][ 16] = {
{
{ 0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 0},
{ 0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 0},
{ 0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 0}
},
{
{ 0, 32, 48, 56, 64, 80, 96, 112, 128, 114, 160, 16, 192, 224, 256, 0},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 0},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 0}
}
} ;
c = fgetc( fzip) ;
c = (c >> 4) & 0x0f ;
if( intMpeg <= 2)
{
intBitrate = intBitrateTable[ intMpeg - 1][ intLayer - 1][ c] ;
}
else
{
intBitrate = intBitrateTable[ 1][ 2][ c] ;
}
return TRUE ;
}
/******************************************************************************/
// ID3v1タグの読みとり
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
void Mp3File::ReadID3v1( FILE* fzip)
{
blnHasID3Tag = FALSE ;
if( fseek( fzip, uiEndPoint - ID3_TAG_SIZE, SEEK_SET) != 0)
{
return ;
}
BYTE pbyte[ ID3_TAG_SIZE] ;
if( fread( pbyte, sizeof( BYTE), ID3_TAG_SIZE, fzip) != ID3_TAG_SIZE)
{
return ;
}
if( pbyte[ 0] == 'T'
&& pbyte[ 1] == 'A'
&& pbyte[ 2] == 'G')
{
// ok
}
else
{
return ;
}
blnHasID3Tag = TRUE ;
int i = 3 ;
char pszBuf[ ID3_DATA_SIZE + 1] ;
// トラック名
ZeroMemory( pszBuf, ID3_DATA_SIZE + 1) ;
memcpy( (void*)pszBuf, (void*)( pbyte+ i), ID3_DATA_SIZE) ;
id3tag.strTrackName = StripSpace( pszBuf) ;
i += ID3_DATA_SIZE ;
// アーティスト名
ZeroMemory( pszBuf, ID3_DATA_SIZE + 1) ;
memcpy( (void*)pszBuf, (void*)( pbyte+ i), ID3_DATA_SIZE) ;
id3tag.strArtistName = StripSpace( pszBuf) ;
i += ID3_DATA_SIZE ;
// アルバム名
ZeroMemory( pszBuf, ID3_DATA_SIZE + 1) ;
memcpy( (void*)pszBuf, (void*)( pbyte+ i), ID3_DATA_SIZE) ;
id3tag.strAlbumName = StripSpace( pszBuf) ;
i += ID3_DATA_SIZE ;
// 年号
ZeroMemory( pszBuf, ID3_DATA_SIZE + 1) ;
memcpy( (void*)pszBuf, (void*)( pbyte+ i), ID3_YEAR_SIZE) ;
id3tag.intYear = atoi( pszBuf) ;
i += ID3_YEAR_SIZE ;
// コメント
ZeroMemory( pszBuf, ID3_DATA_SIZE + 1) ;
memcpy( (void*)pszBuf, (void*)( pbyte+ i), ID3_DATA_SIZE) ;
id3tag.strComment = StripSpace( pszBuf) ;
i += ID3_DATA_SIZE ;
// トラック番号
if( pszBuf[ ID3_DATA_SIZE - 2] == '\0')
{
id3tag.intTrackNum = pszBuf[ ID3_DATA_SIZE - 1] ;
}
else
{
id3tag.intTrackNum = TRACK_NUM_UNDEF ;
}
// ジャンル
id3tag.intGenre = pbyte[ i] ;
}
/******************************************************************************/
// 行末の空白を削除
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
string Mp3File::StripSpace( const char* pszBuf)
{
string s = pszBuf ;
for( int i = ID3_DATA_SIZE - 1; i >= 0; i--)
{
if( s[ i] != ' ')
{
break ;
}
}
return s.substr( 0, i + 1) ;
}
/******************************************************************************/
// 長さ取得
/******************************************************************************/
// ファイルの長さ取得
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
ULONG Mp3File::GetPlayLength()
{
if( ulLengthCache != 0)
{
return ulLengthCache ;
}
else if( intBitrate != 0)
{
return (uiEndPoint - uiStartPoint - dwId3v2Size - (blnHasID3Tag ? 128 : 0)) * 8 / intBitrate ;
}
else
{
return 0 ;
}
}
/******************************************************************************/
// 長さのキャッシュを指定
//============================================================================//
// 概要:キャッシュを指定した場合は、ビットレイトから曲長を計算しない。
// 補足:なし。
//============================================================================//
void Mp3File::SetPlayLength( ULONG ul)
{
ulLengthCache = ul ;
}
/******************************************************************************/
// 変数展開
//============================================================================//
// 概要:なし。
// 補足:なし。
//============================================================================//
string Mp3File::GetVariable( const string& strVal)
{
if( blnHasID3Tag)
{
if( strVal == "TRACK_NAME")
{
return id3tag.strTrackName ;
}
else if( strVal == "ARTIST_NAME")
{
return id3tag.strArtistName ;
}
else if( strVal == "ALBUM_NAME")
{
return id3tag.strAlbumName ;
}
else if( strVal == "YEAR")
{
char pszBuf[ 5] ;
sprintf( pszBuf, "%d", id3tag.intYear) ;
return pszBuf ;
}
else if( strVal == "COMMENT")
{
return id3tag.strComment ;
}
else if( strVal == "TRACK_NUMBER")
{
char pszBuf[ 100] ;
sprintf( pszBuf, "%d", id3tag.intTrackNum) ;
return pszBuf ;
}
else if( strVal == "TRACK_NUMBER2")
{
char pszBuf[ 100] ;
sprintf( pszBuf, "%02d", id3tag.intTrackNum) ;
return pszBuf ;
}
else if( strVal == "TRACK_NUMBER3")
{
char pszBuf[ 100] ;
sprintf( pszBuf, "%03d", id3tag.intTrackNum) ;
return pszBuf ;
}
}
return File::GetVariable( strVal) ;
} | [
"nitoyon@gmail.com"
] | nitoyon@gmail.com |
3f8822cce171c3b9f263233d7577c0b09218c43e | 0ef6f523f64dd2461893bfa510eae3ac2da47dc1 | /Classes/CannonTypeGroove.cpp | e52982fc77309de46590d573adee7fe0f048b0e5 | [] | no_license | Crasader/ColorDefence | 2654fcd368f9a3f20056dbb8733f3f9c99264770 | e0f940c26bbf3803ff64b7a4e4d2e248967db2ab | refs/heads/master | 2020-12-07T08:41:53.498516 | 2016-05-21T06:17:23 | 2016-05-21T06:17:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,935 | cpp | #include "CannonTypeGroove.h"
#include "BulletTypeGroove.h"
#include "NumericalManager.h"
USING_NS_CC;
const int color_tag = 111;
bool CannonTypeGroove::init()
{
if ( !Cannon::init() )
{
return false;
}
float dis = 17.9;
_cannonType = 0;
setTexture("cannons/CannonCover_Groove_base.png");
Vec2 v = getContentSize()/2;
for (int i=0 ; i<12 ; i++)
{
_outter[i] = Sprite::create("cannons/CannonCover_Groove_outter.png");
addChild(_outter[i]);
_outter[i]->setAnchorPoint(Point(0.5,0));
_outter[i]->setPosition(v.x + dis*cos(i * CC_DEGREES_TO_RADIANS(30)+CC_DEGREES_TO_RADIANS(90)), v.y + dis*sin(i* CC_DEGREES_TO_RADIANS(30)+CC_DEGREES_TO_RADIANS(90)));
_outter[i]->setRotation(i*(-30));
}
_r_timer = 0 ;
//(this->getChildByTag(color_tag))->setOpacity(0);
return true;
}
void CannonTypeGroove::attackOnce()
{
BulletTypeGroove* bullet = BulletTypeGroove::create();
bullet->setPosition(getPosition());
bullet->setRotation(getRotation());
bullet->setDamage(_damage, 0.9 + 0.9* (float)_color.r/255.0 ,155);
bullet->setTarget(_target);
bullet->setDamageContributerID(_damageContributerID);
getParent()->addChild(bullet,10086);
//
bullet->setColor(NumericalManager::getInstance()->getBulletColor(getColorInfo()));
//
SoundManager::getInstance()->playSoundEffect("sound/cannon_shot_groove.wav");
}
void CannonTypeGroove::setDirection()
{
_r_timer ++ ;
if (_r_timer / 2 >11)
{
_r_timer = 0;
}
Point normalized = ccpNormalize(ccp(_target->getPosition().x - getPosition().x, _target->getPosition().y - getPosition().y));
float rot = CC_RADIANS_TO_DEGREES(atan2(normalized.y, - normalized.x)) - 90;
_outter[_r_timer / 2 ]->setRotation(rot);
}
void CannonTypeGroove::setColorInfo( cocos2d::Color3B c3b )
{
Cannon::setColorInfo(c3b);
auto nm = NumericalManager::getInstance();
for (int i =0 ; i <12 ; i++)
{
_outter[i]->setColor(nm->getBulletColor(c3b));
}
}
| [
"aillieo@163.com"
] | aillieo@163.com |
a7db85143bfaa452a04f2896f2405964a69b31a8 | cd05c5245c9df3b427e10424ccb8ed93a30b773b | /Raytrace/Framework/ImGui/Item/CallBackItem.h | 0f2080128c12a0b3e8c08fa4759640fe99d34718 | [] | no_license | matsumoto0112/raytracing | aa451c0a91b9a85705285185443e9b4d05300564 | ea524069397eb5f6c06e9b9068a0fb814b6ba2ac | refs/heads/master | 2020-08-23T23:48:23.375308 | 2019-11-01T09:25:35 | 2019-11-01T09:25:35 | 216,726,521 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 872 | h | #pragma once
#include <functional>
#include "ImGui/Item/IItem.h"
namespace Framework::ImGUI {
/**
* @class CallBackItem
* @brief コールバックのあるアイテム基底クラス
*/
template <class T>
class CallBackItem : public IItem {
protected:
using CallBack = std::function<void(T)>;
public:
/**
* @brief コンストラクタ
* @param label ラベル名
*/
CallBackItem(const std::string& label)
:IItem(label), mCallBack(nullptr) { }
/**
* @brief デストラクタ
*/
virtual ~CallBackItem() { }
/**
* @brief コールバックの登録
*/
void setCallBack(CallBack callBack) { mCallBack = callBack; }
protected:
CallBack mCallBack; //!< コールバック関数
};
} //Framework::ImGUI | [
"matsumoto.k017a1377@gmail.com"
] | matsumoto.k017a1377@gmail.com |
c5fe9d989ed2edb736c68ec82ccfa1853c10cb13 | d5cedca165f699907fafbf127a83fe074d7dbd09 | /BinaryTree二叉树/TreeStack.cpp | cc34d50951cba4dc55d4106840974606b4a3a3fe | [] | no_license | SamSmithchina/BinaryTree- | 739c40c619a0d7c898209fda7a72d36b191cc78f | 5d222d8eaeba66d7cab5c7f858496ba6b637d070 | refs/heads/master | 2020-03-28T10:42:05.026300 | 2018-09-10T10:13:22 | 2018-09-10T10:13:22 | 148,135,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | #include "TreeStack.h"
TreeStack::~TreeStack()
{
delete[] ptrTNStack;
iSize = 0;
stackTop = -1;
stackBase = -1;
}
TreeStack::TreeStack()
{
iSize = INCREMENT;
ptrTNStack = new TreeNode[iSize];
if (NULL == ptrTNStack)
{
std::cout << "Apply for memory failed " << std::endl;
exit(1);
}
stackBase = -1;
stackTop = -1;
}
void TreeStack::Push(TreeNode TNode)
{
if
} | [
"2998188865@qq.com"
] | 2998188865@qq.com |
88c11a97b38f6966cbd1fabc8c7b4d289ba765b8 | 97f421b3b015225b84477fafab09dca8ba875751 | /components/signin/core/browser/signin_header_helper.h | ca7cf940166e45e288fc14da4ef7fe41ceff248d | [
"BSD-3-Clause"
] | permissive | jdcrew/chromium | 32906dc2d1d492cf64e08afaafc1a47aee68890e | c18376793cafc3f2e775a18fa7910881877c989e | refs/heads/master | 2022-12-25T17:37:23.562928 | 2018-07-09T10:31:03 | 2018-07-09T10:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,403 | 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
#include <map>
#include <string>
#include <vector>
#include "components/prefs/pref_member.h"
#include "components/signin/core/browser/profile_management_switches.h"
#include "components/signin/core/browser/signin_buildflags.h"
#include "url/gurl.h"
namespace content_settings {
class CookieSettings;
}
namespace net {
class URLRequest;
}
namespace signin {
// Profile mode flags.
enum ProfileMode {
PROFILE_MODE_DEFAULT = 0,
// Incognito mode disabled by enterprise policy or by parental controls.
PROFILE_MODE_INCOGNITO_DISABLED = 1 << 0,
// Adding account disabled in the Android-for-EDU mode and for child accounts.
PROFILE_MODE_ADD_ACCOUNT_DISABLED = 1 << 1
};
extern const char kChromeConnectedHeader[];
extern const char kDiceRequestHeader[];
extern const char kDiceResponseHeader[];
// The ServiceType specified by Gaia in the response header accompanying the 204
// response. This indicates the action Chrome is supposed to lead the user to
// perform.
enum GAIAServiceType {
GAIA_SERVICE_TYPE_NONE = 0, // No Gaia response header.
GAIA_SERVICE_TYPE_SIGNOUT, // Logout all existing sessions.
GAIA_SERVICE_TYPE_INCOGNITO, // Open an incognito tab.
GAIA_SERVICE_TYPE_ADDSESSION, // Add a secondary account.
GAIA_SERVICE_TYPE_REAUTH, // Re-authenticate an account.
GAIA_SERVICE_TYPE_SIGNUP, // Create a new account.
GAIA_SERVICE_TYPE_DEFAULT, // All other cases.
};
enum class DiceAction {
NONE,
SIGNIN, // Sign in an account.
SIGNOUT, // Sign out of all sessions.
ENABLE_SYNC // Enable Sync on a signed-in account.
};
// Struct describing the parameters received in the manage account header.
struct ManageAccountsParams {
// The requested service type such as "ADDSESSION".
GAIAServiceType service_type;
// The prefilled email.
std::string email;
// Whether |email| is a saml account.
bool is_saml;
// The continue URL after the requested service is completed successfully.
// Defaults to the current URL if empty.
std::string continue_url;
// Whether the continue URL should be loaded in the same tab.
bool is_same_tab;
ManageAccountsParams();
ManageAccountsParams(const ManageAccountsParams& other);
};
// Struct describing the parameters received in the Dice response header.
struct DiceResponseParams {
struct AccountInfo {
AccountInfo();
AccountInfo(const std::string& gaia_id,
const std::string& email,
int session_index);
~AccountInfo();
AccountInfo(const AccountInfo&);
// Gaia ID of the account.
std::string gaia_id;
// Email of the account.
std::string email;
// Session index for the account.
int session_index;
};
// Parameters for the SIGNIN action.
struct SigninInfo {
SigninInfo();
SigninInfo(const SigninInfo&);
~SigninInfo();
// AccountInfo of the account signed in.
AccountInfo account_info;
// Authorization code to fetch a refresh token.
std::string authorization_code;
};
// Parameters for the SIGNOUT action.
struct SignoutInfo {
SignoutInfo();
SignoutInfo(const SignoutInfo&);
~SignoutInfo();
// Account infos for the accounts signed out.
std::vector<AccountInfo> account_infos;
};
// Parameters for the ENABLE_SYNC action.
struct EnableSyncInfo {
EnableSyncInfo();
EnableSyncInfo(const EnableSyncInfo&);
~EnableSyncInfo();
// AccountInfo of the account enabling Sync.
AccountInfo account_info;
};
DiceResponseParams();
~DiceResponseParams();
DiceResponseParams(DiceResponseParams&&);
DiceResponseParams& operator=(DiceResponseParams&&);
DiceAction user_intention = DiceAction::NONE;
// Populated when |user_intention| is SIGNIN.
std::unique_ptr<SigninInfo> signin_info;
// Populated when |user_intention| is SIGNOUT.
std::unique_ptr<SignoutInfo> signout_info;
// Populated when |user_intention| is ENABLE_SYNC.
std::unique_ptr<EnableSyncInfo> enable_sync_info;
private:
DISALLOW_COPY_AND_ASSIGN(DiceResponseParams);
};
class RequestAdapter {
public:
explicit RequestAdapter(net::URLRequest* request);
virtual ~RequestAdapter();
virtual const GURL& GetUrl();
virtual bool HasHeader(const std::string& name);
virtual void RemoveRequestHeaderByName(const std::string& name);
virtual void SetExtraHeaderByName(const std::string& name,
const std::string& value);
protected:
net::URLRequest* const request_;
private:
DISALLOW_COPY_AND_ASSIGN(RequestAdapter);
};
// Base class for managing the signin headers (Dice and Chrome-Connected).
class SigninHeaderHelper {
public:
// Appends or remove the header to a network request if necessary.
// Returns whether the request has the request header.
bool AppendOrRemoveRequestHeader(RequestAdapter* request,
const GURL& redirect_url,
const char* header_name,
const std::string& header_value);
// Returns wether an account consistency header should be built for this
// request.
bool ShouldBuildRequestHeader(
const GURL& url,
const content_settings::CookieSettings* cookie_settings);
protected:
SigninHeaderHelper() {}
virtual ~SigninHeaderHelper() {}
// Dictionary of fields in a account consistency response header.
using ResponseHeaderDictionary = std::multimap<std::string, std::string>;
// Parses the account consistency response header. Its expected format is
// "key1=value1,key2=value2,...".
static ResponseHeaderDictionary ParseAccountConsistencyResponseHeader(
const std::string& header_value);
private:
// Returns whether the url is eligible for the request header.
virtual bool IsUrlEligibleForRequestHeader(const GURL& url) = 0;
};
// Returns the CHROME_CONNECTED cookie, or an empty string if it should not be
// added to the request to |url|.
std::string BuildMirrorRequestCookieIfPossible(
const GURL& url,
const std::string& account_id,
AccountConsistencyMethod account_consistency,
const content_settings::CookieSettings* cookie_settings,
int profile_mode_mask);
// Adds the mirror header to all Gaia requests from a connected profile, with
// the exception of requests from gaia webview.
// Removes the header in case it should not be transfered to a redirected url.
void AppendOrRemoveMirrorRequestHeader(
RequestAdapter* request,
const GURL& redirect_url,
const std::string& account_id,
AccountConsistencyMethod account_consistency,
const content_settings::CookieSettings* cookie_settings,
int profile_mode_mask);
// Adds the Dice to all Gaia requests from a connected profile, with the
// exception of requests from gaia webview.
// Removes the header in case it should not be transfered to a redirected url.
// Returns whether the request has the Dice request header.
bool AppendOrRemoveDiceRequestHeader(
RequestAdapter* request,
const GURL& redirect_url,
const std::string& account_id,
bool sync_enabled,
bool sync_has_auth_error,
AccountConsistencyMethod account_consistency,
const content_settings::CookieSettings* cookie_settings,
const std::string& device_id);
// Returns the parameters contained in the X-Chrome-Manage-Accounts response
// header.
ManageAccountsParams BuildManageAccountsParams(const std::string& header_value);
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
// Returns the parameters contained in the X-Chrome-ID-Consistency-Response
// response header.
// Returns DiceAction::NONE in case of error (such as missing or malformed
// parameters).
DiceResponseParams BuildDiceSigninResponseParams(
const std::string& header_value);
// Returns the parameters contained in the Google-Accounts-SignOut response
// header.
// Returns DiceAction::NONE in case of error (such as missing or malformed
// parameters).
DiceResponseParams BuildDiceSignoutResponseParams(
const std::string& header_value);
#endif
} // namespace signin
#endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
25b95c261de482dbcd9c6ed15f28a42ff81f1a06 | edfb435ee89eec4875d6405e2de7afac3b2bc648 | /tags/selenium-2.0-beta-1/jobbie/src/cpp/IEDriver/GetElementLocationCommandHandler.h | 5b5a3c30fefd9d358c92a3545e1310e3e893f53a | [
"Apache-2.0"
] | permissive | Escobita/selenium | 6c1c78fcf0fb71604e7b07a3259517048e584037 | f4173df37a79ab6dd6ae3f1489ae0cd6cc7db6f1 | refs/heads/master | 2021-01-23T21:01:17.948880 | 2012-12-06T22:47:50 | 2012-12-06T22:47:50 | 8,271,631 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,560 | h | #ifndef WEBDRIVER_IE_GETELEMENTLOCATIONCOMMANDHANDLER_H_
#define WEBDRIVER_IE_GETELEMENTLOCATIONCOMMANDHANDLER_H_
#include "BrowserManager.h"
namespace webdriver {
class GetElementLocationCommandHandler : public WebDriverCommandHandler {
public:
GetElementLocationCommandHandler(void) {
}
virtual ~GetElementLocationCommandHandler(void) {
}
protected:
void GetElementLocationCommandHandler::ExecuteInternal(BrowserManager *manager, std::map<std::string, std::string> locator_parameters, std::map<std::string, Json::Value> command_parameters, WebDriverResponse * response) {
if (locator_parameters.find("id") == locator_parameters.end()) {
response->SetErrorResponse(400, "Missing parameter in URL: id");
return;
} else {
std::wstring element_id(CA2W(locator_parameters["id"].c_str(), CP_UTF8));
BrowserWrapper *browser_wrapper;
int status_code = manager->GetCurrentBrowser(&browser_wrapper);
if (status_code != SUCCESS) {
response->SetErrorResponse(status_code, "Unable to get browser");
return;
}
//HWND window_handle = browser_wrapper->GetWindowHandle();
ElementWrapper *element_wrapper;
status_code = this->GetElement(manager, element_id, &element_wrapper);
if (status_code == SUCCESS) {
CComQIPtr<IHTMLElement2> element2(element_wrapper->element());
if (!element2) {
response->SetErrorResponse(EUNHANDLEDERROR, "Unable to unwrap element");
return;
}
// TODO: Check HRESULT return codes for errors.
CComPtr<IHTMLRect> rect;
element2->getBoundingClientRect(&rect);
long x, y;
rect->get_left(&x);
rect->get_top(&y);
CComQIPtr<IHTMLDOMNode2> node(element2);
CComPtr<IDispatch> owner_document_dispatch;
node->get_ownerDocument(&owner_document_dispatch);
CComQIPtr<IHTMLDocument3> owner_doc(owner_document_dispatch);
CComPtr<IHTMLElement> temp_doc;
owner_doc->get_documentElement(&temp_doc);
CComQIPtr<IHTMLElement2> document_element(temp_doc);
long left = 0, top = 0;
document_element->get_scrollLeft(&left);
document_element->get_scrollTop(&top);
x += left;
y += top;
Json::Value response_value;
response_value["x"] = x;
response_value["y"] = y;
response->SetResponse(SUCCESS, response_value);
return;
} else {
response->SetErrorResponse(status_code, "Element is no longer valid");
return;
}
}
}
};
} // namespace webdriver
#endif // WEBDRIVER_IE_GETELEMENTLOCATIONCOMMANDHANDLER_H_
| [
"simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9"
] | simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9 |
98d761c54e0e9dad540d495ce529c62203b5e041 | bc3d3747422ce6b6cf86939a9668937beb61927c | /test/test_string_utilities_std_wchar_t.cpp | 5506a2c33aeb235f3053c03c48d27be2e3102c9c | [
"MIT"
] | permissive | pabigot/etl | 318ee3614de5cbc532d625adcc3b807913886c4a | 8d60eb5e0e8a7c6df5dcb73f2682b5beb148c386 | refs/heads/master | 2022-11-28T19:55:12.224926 | 2020-07-20T18:55:19 | 2020-07-20T18:55:19 | 282,216,588 | 0 | 0 | MIT | 2020-07-24T12:40:09 | 2020-07-24T12:40:08 | null | UTF-8 | C++ | false | false | 47,390 | cpp | /******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2020 jwellbelove
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 "UnitTest++/UnitTest++.h"
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "etl/string_utilities.h"
#undef STR
#define STR(x) L##x
namespace
{
SUITE(test_string_utilities_std_wchar_t)
{
static const size_t SIZE = 50;
using String = std::wstring;
using IString = std::wstring;
using StringView = std::wstring_view;
using Char = std::wstring::value_type;
using Vector = std::vector<String>;
//*************************************************************************
TEST(test_trim_whitespace_left_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_whitespace_left(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_left_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_left(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_left)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
etl::trim_whitespace_left(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_left)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_left(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_left_nothing_to_trim)
{
String text(STR("Hello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
etl::trim_whitespace_left(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_left_nothing_to_trim)
{
String text(STR("Hello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_left(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_left_pointer_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_from_left(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_left_pointer_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_left(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_left_pointer)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
etl::trim_from_left(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_left_pointer)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_left(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_left_pointer_nothing_to_trim)
{
String text(STR("Hello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
etl::trim_from_left(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_left_pointer_nothing_to_trim)
{
String text(STR("Hello World\t\n\r\f\v "));
String expected(STR("Hello World\t\n\r\f\v "));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_left(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_left_pointer_length_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_from_left(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_left_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("Hello Worldqztfp"));
etl::trim_left(text, STR("Hel"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_left_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("Hello Worldqztfp"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_left(textview, STR("Hel"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_left_delimiters_nothing_to_trim)
{
String text(STR("Hello Worldqztfp"));
String expected(STR("Hello Worldqztfp"));
etl::trim_left(text, STR("Hel"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_left_delimiters_nothing_to_trim)
{
String text(STR("Hello Worldqztfp"));
String expected(STR("Hello Worldqztfp"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_left(textview, STR("Hel"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_left_delimiters_no_delimiters)
{
String text(STR("Hello Worldqztfp"));
String expected(STR(""));
etl::trim_left(text, STR("XYZ"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_left_delimiters_no_delimiters)
{
String text(STR("Hello Worldqztfp"));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_left(textview, STR("XYZ"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_view_left_string_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("Hello Worldqztfp"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_left(textview, STR("Hel"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_right_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_whitespace_right(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_right_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_right(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_right)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR(" \t\n\r\f\vHello World"));
etl::trim_whitespace_right(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_right)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR(" \t\n\r\f\vHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_right(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_right_nothing_to_trim)
{
String text(STR(" \t\n\r\f\vHello World"));
String expected(STR(" \t\n\r\f\vHello World"));
etl::trim_whitespace_right(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_right_nothing_to_trim)
{
String text(STR(" \t\n\r\f\vHello World"));
String expected(STR(" \t\n\r\f\vHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace_right(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_right_pointer_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_from_right(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_right_pointer_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_right(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_right_pointer)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR(" \t\n\r\f\vHello World"));
etl::trim_from_right(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_right_pointer)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR(" \t\n\r\f\vHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_right(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_right_pointer_nothing_to_trim)
{
String text(STR(" \t\n\r\f\vHello World"));
String expected(STR(" \t\n\r\f\vHello World"));
etl::trim_from_right(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_right_pointer_nothing_to_trim)
{
String text(STR(" \t\n\r\f\vHello World"));
String expected(STR(" \t\n\r\f\vHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view_right(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_right_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("qztfpHello World"));
etl::trim_right(text, STR("rld"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_right_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("qztfpHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_right(textview, STR("rld"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_right_delimiters_nothing_to_trim)
{
String text(STR("qztfpHello World"));
String expected(STR("qztfpHello World"));
etl::trim_right(text, STR("rld"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_right_delimiters_nothing_to_trim)
{
String text(STR("qztfpHello World"));
String expected(STR("qztfpHello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_right(textview, STR("rld"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_right_delimiters_no_delimiters)
{
String text(STR("qztfpHello World"));
String expected(STR(""));
etl::trim_right(text, STR("XYZ"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_right_delimiters_no_delimiters)
{
String text(STR("qztfpHello World"));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_right(textview, STR("XYZ"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_whitespace(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World"));
etl::trim_whitespace(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_whitespace_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::trim_whitespace(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_whitespace_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view_whitespace(textview);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_empty)
{
String text(STR(""));
String expected(STR(""));
etl::trim_from(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_empty)
{
String text(STR(""));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World"));
etl::trim_from(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view)
{
String text(STR(" \t\n\r\f\vHello World\t\n\r\f\v "));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_from_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::trim_from(text, STR(" \t\n\r\f\v"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_from_view_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_from_view(textview, STR(" \t\n\r\f\v"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("Hello World"));
etl::trim(text, STR("Hd"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_delimiters)
{
String text(STR("qztfpHello Worldqztfp"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view(textview, STR("Hd"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_delimiters_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::trim(text, STR("Hd"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_delimiters_nothing_to_trim)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view(textview, STR("Hd"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_trim_delimiters_no_delimiters)
{
String text(STR("Hello World"));
String expected(STR(""));
etl::trim(text, STR("XYZ"));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_trim_view_delimiters_no_delimiters)
{
String text(STR("Hello World"));
String expected(STR(""));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::trim_view(textview, STR("XYZ"));
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_reverse)
{
String text(STR("Hello World"));
String expected(STR("dlroW olleH"));
etl::reverse(text);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_right_n_view)
{
String text(STR("Hello World"));
String expected(STR("World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::right_n_view(textview, expected.size());
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_right_n_view_excess)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::right_n_view(textview, text.size() * 2U);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_right_n_string)
{
String text(STR("Hello World"));
String expected(STR("World"));
etl::right_n(text, 5U);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_right_n_string_excess)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::right_n(text, text.size() * 2U);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_left_n_view)
{
String text(STR("Hello World"));
String expected(STR("Hello"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::left_n_view(textview, expected.size());
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_left_n_view_excess)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
StringView textview(text);
StringView expectedview(expected);
StringView view = etl::left_n_view(textview, text.size() * 2U);
CHECK_EQUAL(expectedview.size(), view.size());
CHECK(std::equal(expectedview.begin(), expectedview.end(), view.begin()));
}
//*************************************************************************
TEST(test_left_n_string)
{
String text(STR("Hello World"));
String expected(STR("Hello"));
etl::left_n(text, expected.size());
CHECK(expected == text);
}
//*************************************************************************
TEST(test_left_n_string_excess)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::left_n(text, text.size() * 2U);
CHECK(expected == text);
}
//*************************************************************************
TEST(test_replace_characters)
{
String text(STR("This+++is a *file//name:"));
String expected(STR("This---is_a__-file__name_"));
etl::pair<Char, Char> lookup[] =
{
{ STR('+'), STR('-') },
{ STR(' '), STR('_') },
{ STR('*'), STR('-') },
{ STR('/'), STR('_') },
{ STR(':'), STR('_') }
};
etl::replace_characters(text, etl::begin(lookup), etl::end(lookup));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_replace_characters_empty_string)
{
String text(STR(""));
String expected(STR(""));
etl::pair<Char, Char> lookup[] =
{
{ STR('+'), STR('-') },
{ STR(' '), STR('_') },
{ STR('*'), STR('-') },
{ STR('/'), STR('_') },
{ STR(':'), STR('_') }
};
etl::replace_characters(text, etl::begin(lookup), etl::end(lookup));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_replace_strings)
{
String text(STR("This+++is a *file//name:"));
String expected(STR("Thisxyis%20a%20%20-file_name.txt"));
etl::pair<const Char*, const Char*> lookup[] =
{
{ STR("+++"), STR("xy") },
{ STR(" "), STR("%20") },
{ STR("*"), STR("-") },
{ STR("//"), STR("_") },
{ STR(":"), STR(".txt") }
};
etl::replace_strings(text, etl::begin(lookup), etl::end(lookup));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_replace_strings_empty_strings)
{
String text(STR(""));
String expected(STR(""));
etl::pair<const Char*, const Char*> lookup[] =
{
{ STR("+++"), STR("xy") },
{ STR(" "), STR("%20") },
{ STR("*"), STR("-") },
{ STR("//"), STR("_") },
{ STR(":"), STR(".txt") }
};
etl::replace_strings(text, etl::begin(lookup), etl::end(lookup));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_get_token_delimiters)
{
String text(STR(" The cat.sat, on;the:mat .,;:"));
Vector tokens;
StringView textview(text);
StringView token;
do
{
token = etl::get_token(text, STR(" .,;:"), token);
if (!token.empty())
{
tokens.emplace_back(token.begin(), token.end());
}
} while (!token.empty());
CHECK_EQUAL(6U, tokens.size());
}
//*************************************************************************
TEST(test_get_token_delimiters_nothing_to_do)
{
String text(STR(""));
Vector tokens;
StringView textview(text);
StringView token;
do
{
token = etl::get_token(text, STR(" .,;:"), token);
if (!token.empty())
{
tokens.emplace_back(token.begin(), token.end());
}
} while (!token.empty());
CHECK_EQUAL(0U, tokens.size());
}
//*************************************************************************
TEST(test_get_token_delimiters_no_tokens)
{
String text(STR(" ., ;: .,;:"));
Vector tokens;
StringView textview(text);
StringView token;
do
{
token = etl::get_token(text, STR(" .,;:"), token);
if (!token.empty())
{
tokens.emplace_back(token.begin(), token.end());
}
} while (!token.empty());
CHECK_EQUAL(0U, tokens.size());
}
//*************************************************************************
TEST(test_get_token_delimiters_no_delimiters)
{
String text(STR("The cat sat on the mat"));
Vector tokens;
StringView textview(text);
StringView token;
do
{
token = etl::get_token(text, STR(".,;:"), token);
if (!token.empty())
{
tokens.emplace_back(token.begin(), token.end());
}
} while (!token.empty());
CHECK_EQUAL(1U, tokens.size());
}
//*************************************************************************
TEST(test_pad_left)
{
String text(STR("Hello World"));
String expected(STR("xxxxHello World"));
etl::pad_left(text, expected.size(), STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_left_smaller)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::pad_left(text, text.size() - 1U, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_right)
{
String text(STR("Hello World"));
String expected(STR("Hello Worldxxxx"));
etl::pad_right(text, expected.size(), STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_right_smaller)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::pad_right(text, text.size() - 1U, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_select_left)
{
String text(STR("Hello World"));
String expected(STR("xxxxHello World"));
etl::pad(text, expected.size(), etl::string_pad_direction::LEFT, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_select_left_smaller)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::pad(text, text.size() - 1U, etl::string_pad_direction::LEFT, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_select_right)
{
String text(STR("Hello World"));
String expected(STR("Hello Worldxxxx"));
etl::pad(text, expected.size(), etl::string_pad_direction::RIGHT, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_pad_select_right_smaller)
{
String text(STR("Hello World"));
String expected(STR("Hello World"));
etl::pad(text, text.size() - 1U, etl::string_pad_direction::RIGHT, STR('x'));
CHECK(expected == text);
}
//*************************************************************************
TEST(test_find_first_of_iterator_iterator)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_of(text.begin(), text.end(), STR("Hel"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_of_iterator_iterator_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_of(text.begin(), text.end(), STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_of_const_iterator_const_iterator)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_of(text.cbegin(), text.cend(), STR("Hel"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_of_const_iterator_const_iterator_not_found)
{
String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_of(text.begin(), text.end(), STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_of_string)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_of(text, STR("Hel"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_of_string_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_of(text, STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_of_const_string)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_of(text, STR("Hel"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_of_const_string_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_of(text, STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_of_string_view)
{
const String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_first_of(textview, STR("Hel"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_of_string_view_not_found)
{
const String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_first_of(textview, STR("xyz"));
CHECK(textview.end() == itr);
}
//*************************************************************************
TEST(test_find_first_not_of_iterator_iterator)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_not_of(text.begin(), text.end(), STR("abc"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_not_of_iterator_iterator_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_not_of(text.begin(), text.end(), STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_not_of_const_iterator_const_iterator)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_not_of(text.cbegin(), text.cend(), STR("abc"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_not_of_const_iterator_const_iterator_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_not_of(text.cbegin(), text.cend(), STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_not_of_string)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_not_of(text, STR("abc"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_not_of_string_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_first_not_of(text, STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_not_of_const_string)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_not_of(text, STR("abc"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_not_of_const_string_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_first_not_of(text, STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_first_not_of_string_view)
{
const String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_first_not_of(textview, STR("abc"));
CHECK_EQUAL(STR('H'), *itr);
}
//*************************************************************************
TEST(test_find_first_not_of_string_view_not_found)
{
const String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_first_not_of(textview, STR("abcHello World"));
CHECK(textview.end() == itr);
}
//*************************************************************************
TEST(test_find_last_of_iterator_iterator)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_of(text.begin(), text.end(), STR("rld"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_of_iterator_iterator_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_of(text.begin(), text.end(), STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_of_const_iterator_const_iterator)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_of(text.cbegin(), text.cend(), STR("rld"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_of_const_iterator_const_iterator_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_of(text.cbegin(), text.cend(), STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_of_string)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_of(text, STR("rld"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_of_string_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_of(text, STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_of_const_string)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_of(text, STR("rld"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_of_const_string_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_of(text, STR("xyz"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_of_string_view)
{
String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_last_of(textview, STR("rld"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_of_string_view_not_found)
{
String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_last_of(textview, STR("xyz"));
CHECK(textview.end() == itr);
}
//*************************************************************************
TEST(test_find_last_not_of_iterator_iterator)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_not_of(text.begin(), text.end(), STR("abc"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_not_of_iterator_iterator_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_not_of(text.begin(), text.end(), STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_not_of_const_iterator_const_iterator)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_not_of(text.cbegin(), text.cend(), STR("abc"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_not_of_const_iterator_const_iterator_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_not_of(text.cbegin(), text.cend(), STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_not_of_string)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_not_of(text, STR("abc"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_not_of_string_not_found)
{
String text(STR("abcHello Worldabc"));
String::iterator itr = etl::find_last_not_of(text, STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_not_of_const_string)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_not_of(text, STR("abc"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_not_of_const_string_not_found)
{
const String text(STR("abcHello Worldabc"));
String::const_iterator itr = etl::find_last_not_of(text, STR("abcHello World"));
CHECK(text.end() == itr);
}
//*************************************************************************
TEST(test_find_last_not_of_string_view)
{
String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_last_not_of(textview, STR("abc"));
CHECK_EQUAL(STR('d'), *itr);
}
//*************************************************************************
TEST(test_find_last_not_of_string_view_not_found)
{
String text(STR("abcHello Worldabc"));
StringView textview(text);
StringView::const_iterator itr = etl::find_last_not_of(textview, STR("abcHello World"));
CHECK(textview.end() == itr);
}
};
}
| [
"github@wellbelove.co.uk"
] | github@wellbelove.co.uk |
174fb61bbf0a1b744a0b9782c3f02d402affac00 | ce983fc4e91b4a0466febfffba87344d91061c3f | /codebase/apps/radar/src/Sprite/Params.hh | 27454803dec639060d10900c2bfb91b6dc6bbaa5 | [
"BSD-3-Clause"
] | permissive | WarfareCode/lrose-core | 12b2d69a228478502f32e9fdbba127b99a141716 | eec7af65dec039b7425d360f997db53c585f9522 | refs/heads/master | 2022-12-06T20:22:39.010311 | 2020-08-28T20:32:04 | 2020-08-28T20:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,696 | hh | /* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* */
/* ** Copyright UCAR */
/* ** University Corporation for Atmospheric Research (UCAR) */
/* ** National Center for Atmospheric Research (NCAR) */
/* ** Boulder, Colorado, USA */
/* ** BSD licence applies - redistribution and use in source and binary */
/* ** forms, with or without modification, are permitted provided that */
/* ** the following conditions are met: */
/* ** 1) If the software is modified to produce derivative works, */
/* ** such modified software should be clearly marked, so as not */
/* ** to confuse it with the version available from UCAR. */
/* ** 2) Redistributions of source code must retain the above copyright */
/* ** notice, this list of conditions and the following disclaimer. */
/* ** 3) Redistributions in binary form must reproduce the above copyright */
/* ** notice, this list of conditions and the following disclaimer in the */
/* ** documentation and/or other materials provided with the distribution. */
/* ** 4) Neither the name of UCAR nor the names of its contributors, */
/* ** if any, may be used to endorse or promote products derived from */
/* ** this software without specific prior written permission. */
/* ** DISCLAIMER: THIS SOFTWARE IS PROVIDED 'AS IS' AND WITHOUT ANY EXPRESS */
/* ** OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */
/* ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* */
////////////////////////////////////////////
// Params.hh
//
// TDRP header file for 'Params' class.
//
// Code for program Sprite
//
// This header file has been automatically
// generated by TDRP, do not modify.
//
/////////////////////////////////////////////
/**
*
* @file Params.hh
*
* This class is automatically generated by the Table
* Driven Runtime Parameters (TDRP) system
*
* @class Params
*
* @author automatically generated
*
*/
#ifndef Params_hh
#define Params_hh
#include <tdrp/tdrp.h>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <cfloat>
using namespace std;
// Class definition
class Params {
public:
// enum typedefs
typedef enum {
DEBUG_OFF = 0,
DEBUG_NORM = 1,
DEBUG_VERBOSE = 2,
DEBUG_EXTRA = 3
} debug_t;
typedef enum {
REALTIME_FMQ_MODE = 0,
REALTIME_TCP_MODE = 1,
ARCHIVE_TIME_MODE = 2,
FILE_LIST_MODE = 3,
FOLLOW_MOMENTS_MODE = 4
} input_mode_t;
typedef enum {
SPECTRUM = 0,
TIME_SERIES = 1,
I_VS_Q = 2,
PHASOR = 3
} iqplot_type_t;
typedef enum {
LEGEND_TOP_LEFT = 0,
LEGEND_TOP_RIGHT = 1,
LEGEND_BOTTOM_LEFT = 2,
LEGEND_BOTTOM_RIGHT = 3
} legend_pos_t;
typedef enum {
DBZ = 0,
VEL = 1,
WIDTH = 2,
NCP = 3,
SNR = 4,
DBM = 5,
ZDR = 6,
LDR = 7,
RHOHV = 8,
PHIDP = 9,
KDP = 10
} moment_type_t;
typedef enum {
WIDTH_METHOD_R0R1 = 0,
WIDTH_METHOD_R1R2 = 1,
WIDTH_METHOD_HYBRID = 2
} spectrum_width_method_t;
typedef enum {
FIR_LEN_125 = 0,
FIR_LEN_60 = 1,
FIR_LEN_40 = 2,
FIR_LEN_30 = 3,
FIR_LEN_20 = 4,
FIR_LEN_10 = 5
} fir_filter_len_t;
typedef enum {
WINDOW_RECT = 0,
WINDOW_VONHANN = 1,
WINDOW_BLACKMAN = 2,
WINDOW_BLACKMAN_NUTTALL = 3,
WINDOW_TUKEY_10 = 4,
WINDOW_TUKEY_20 = 5,
WINDOW_TUKEY_30 = 6,
WINDOW_TUKEY_50 = 7
} window_t;
// struct typedefs
typedef struct {
tdrp_bool_t azimuth;
tdrp_bool_t elevation;
tdrp_bool_t fixed_angle;
tdrp_bool_t volume_number;
tdrp_bool_t sweep_number;
tdrp_bool_t n_samples;
tdrp_bool_t n_gates;
tdrp_bool_t gate_length;
tdrp_bool_t pulse_width;
tdrp_bool_t prf_mode;
tdrp_bool_t prf;
tdrp_bool_t nyquist;
tdrp_bool_t max_range;
tdrp_bool_t unambiguous_range;
tdrp_bool_t measured_power_h;
tdrp_bool_t measured_power_v;
tdrp_bool_t scan_name;
tdrp_bool_t scan_mode;
tdrp_bool_t polarization_mode;
tdrp_bool_t latitude;
tdrp_bool_t longitude;
tdrp_bool_t altitude;
tdrp_bool_t sun_elevation;
tdrp_bool_t sun_azimuth;
} show_status_t;
///////////////////////////
// Member functions
//
////////////////////////////////////////////
// Default constructor
//
Params ();
////////////////////////////////////////////
// Copy constructor
//
Params (const Params&);
////////////////////////////////////////////
// Destructor
//
~Params ();
////////////////////////////////////////////
// Assignment
//
void operator=(const Params&);
////////////////////////////////////////////
// loadFromArgs()
//
// Loads up TDRP using the command line args.
//
// Check usage() for command line actions associated with
// this function.
//
// argc, argv: command line args
//
// char **override_list: A null-terminated list of overrides
// to the parameter file.
// An override string has exactly the format of an entry
// in the parameter file itself.
//
// char **params_path_p:
// If this is non-NULL, it is set to point to the path
// of the params file used.
//
// bool defer_exit: normally, if the command args contain a
// print or check request, this function will call exit().
// If defer_exit is set, such an exit is deferred and the
// private member _exitDeferred is set.
// Use exidDeferred() to test this flag.
//
// Returns 0 on success, -1 on failure.
//
int loadFromArgs(int argc, char **argv,
char **override_list,
char **params_path_p,
bool defer_exit = false);
bool exitDeferred() { return (_exitDeferred); }
////////////////////////////////////////////
// loadApplyArgs()
//
// Loads up TDRP using the params path passed in, and applies
// the command line args for printing and checking.
//
// Check usage() for command line actions associated with
// this function.
//
// const char *param_file_path: the parameter file to be read in
//
// argc, argv: command line args
//
// char **override_list: A null-terminated list of overrides
// to the parameter file.
// An override string has exactly the format of an entry
// in the parameter file itself.
//
// bool defer_exit: normally, if the command args contain a
// print or check request, this function will call exit().
// If defer_exit is set, such an exit is deferred and the
// private member _exitDeferred is set.
// Use exidDeferred() to test this flag.
//
// Returns 0 on success, -1 on failure.
//
int loadApplyArgs(const char *params_path,
int argc, char **argv,
char **override_list,
bool defer_exit = false);
////////////////////////////////////////////
// isArgValid()
//
// Check if a command line arg is a valid TDRP arg.
//
static bool isArgValid(const char *arg);
////////////////////////////////////////////
// isArgValid()
//
// Check if a command line arg is a valid TDRP arg.
// return number of args consumed.
//
static int isArgValidN(const char *arg);
////////////////////////////////////////////
// load()
//
// Loads up TDRP for a given class.
//
// This version of load gives the programmer the option to load
// up more than one class for a single application. It is a
// lower-level routine than loadFromArgs, and hence more
// flexible, but the programmer must do more work.
//
// const char *param_file_path: the parameter file to be read in.
//
// char **override_list: A null-terminated list of overrides
// to the parameter file.
// An override string has exactly the format of an entry
// in the parameter file itself.
//
// expand_env: flag to control environment variable
// expansion during tokenization.
// If TRUE, environment expansion is set on.
// If FALSE, environment expansion is set off.
//
// Returns 0 on success, -1 on failure.
//
int load(const char *param_file_path,
char **override_list,
int expand_env, int debug);
////////////////////////////////////////////
// loadFromBuf()
//
// Loads up TDRP for a given class.
//
// This version of load gives the programmer the option to
// load up more than one module for a single application,
// using buffers which have been read from a specified source.
//
// const char *param_source_str: a string which describes the
// source of the parameter information. It is used for
// error reporting only.
//
// char **override_list: A null-terminated list of overrides
// to the parameter file.
// An override string has exactly the format of an entry
// in the parameter file itself.
//
// const char *inbuf: the input buffer
//
// int inlen: length of the input buffer
//
// int start_line_num: the line number in the source which
// corresponds to the start of the buffer.
//
// expand_env: flag to control environment variable
// expansion during tokenization.
// If TRUE, environment expansion is set on.
// If FALSE, environment expansion is set off.
//
// Returns 0 on success, -1 on failure.
//
int loadFromBuf(const char *param_source_str,
char **override_list,
const char *inbuf, int inlen,
int start_line_num,
int expand_env, int debug);
////////////////////////////////////////////
// loadDefaults()
//
// Loads up default params for a given class.
//
// See load() for more detailed info.
//
// Returns 0 on success, -1 on failure.
//
int loadDefaults(int expand_env);
////////////////////////////////////////////
// sync()
//
// Syncs the user struct data back into the parameter table,
// in preparation for printing.
//
// This function alters the table in a consistent manner.
// Therefore it can be regarded as const.
//
void sync() const;
////////////////////////////////////////////
// print()
//
// Print params file
//
// The modes supported are:
//
// PRINT_SHORT: main comments only, no help or descriptions
// structs and arrays on a single line
// PRINT_NORM: short + descriptions and help
// PRINT_LONG: norm + arrays and structs expanded
// PRINT_VERBOSE: long + private params included
//
void print(FILE *out, tdrp_print_mode_t mode = PRINT_NORM);
////////////////////////////////////////////
// checkAllSet()
//
// Return TRUE if all set, FALSE if not.
//
// If out is non-NULL, prints out warning messages for those
// parameters which are not set.
//
int checkAllSet(FILE *out);
//////////////////////////////////////////////////////////////
// checkIsSet()
//
// Return TRUE if parameter is set, FALSE if not.
//
//
int checkIsSet(const char *param_name);
////////////////////////////////////////////
// arrayRealloc()
//
// Realloc 1D array.
//
// If size is increased, the values from the last array
// entry is copied into the new space.
//
// Returns 0 on success, -1 on error.
//
int arrayRealloc(const char *param_name,
int new_array_n);
////////////////////////////////////////////
// array2DRealloc()
//
// Realloc 2D array.
//
// If size is increased, the values from the last array
// entry is copied into the new space.
//
// Returns 0 on success, -1 on error.
//
int array2DRealloc(const char *param_name,
int new_array_n1,
int new_array_n2);
////////////////////////////////////////////
// freeAll()
//
// Frees up all TDRP dynamic memory.
//
void freeAll(void);
////////////////////////////////////////////
// usage()
//
// Prints out usage message for TDRP args as passed
// in to loadFromArgs().
//
static void usage(ostream &out);
///////////////////////////
// Data Members
//
char _start_; // start of data region
// needed for zeroing out data
// and computing offsets
debug_t debug;
tdrp_bool_t register_with_procmap;
char* instance;
tdrp_bool_t check_alloc;
input_mode_t input_mode;
char* input_fmq_url;
tdrp_bool_t seek_to_start_of_fmq;
char* input_tcp_address;
int input_tcp_port;
char* archive_data_dir;
char* archive_start_time;
double archive_time_span_secs;
double min_secs_between_rendering;
int moments_shmem_key;
double moments_max_search_angle_error;
double selected_range_km;
show_status_t show_status_in_gui;
int main_window_width;
int main_window_height;
int main_window_start_x;
int main_window_start_y;
int main_window_title_margin;
int main_title_font_size;
char* main_title_color;
int main_label_font_size;
char* main_background_color;
int main_window_panel_divider_line_width;
char* main_window_panel_divider_color;
int main_color_scale_width;
int click_cross_size;
int iqplots_n_rows;
int iqplots_n_columns;
iqplot_type_t *_iqplot_types;
int iqplot_types_n;
int iqplot_top_margin;
int iqplot_bottom_margin;
int iqplot_left_margin;
int iqplot_right_margin;
int iqplot_axis_tick_len;
int iqplot_n_ticks_ideal;
int iqplot_title_text_margin;
int iqplot_legend_text_margin;
int iqplot_axis_text_margin;
int iqplot_title_font_size;
int iqplot_axis_label_font_size;
int iqplot_tick_values_font_size;
int iqplot_legend_font_size;
char* iqplot_axis_label_color;
char* iqplot_title_color;
char* iqplot_axes_color;
char* iqplot_grid_color;
char* iqplot_fill_color;
char* iqplot_labels_color;
tdrp_bool_t iqplot_y_grid_lines_on;
tdrp_bool_t iqplot_x_grid_lines_on;
tdrp_bool_t iqplot_draw_instrument_height_line;
tdrp_bool_t iqplot_x_axis_labels_inside;
tdrp_bool_t iqplot_y_axis_labels_inside;
legend_pos_t iqplot_main_legend_pos;
tdrp_bool_t iqplot_plot_legend1;
legend_pos_t iqplot_legend1_pos;
legend_pos_t iqplot_legend2_pos;
tdrp_bool_t iqplot_plot_legend2;
int ascope_n_panels_in_spectra_window;
moment_type_t *_ascope_moments;
int ascope_moments_n;
int ascope_width_in_spectra_window;
int ascope_title_font_size;
int ascope_axis_label_font_size;
int ascope_tick_values_font_size;
int ascope_legend_font_size;
int ascope_title_text_margin;
int ascope_legend_text_margin;
int ascope_axis_text_margin;
int ascope_axis_tick_len;
int ascope_n_ticks_ideal;
int ascope_left_margin;
int ascope_bottom_margin;
tdrp_bool_t ascope_x_grid_lines_on;
tdrp_bool_t ascope_y_grid_lines_on;
char* ascope_axis_label_color;
char* ascope_axes_color;
char* ascope_grid_color;
char* ascope_line_color;
char* ascope_selected_range_color;
char* ascope_fill_color;
char* ascope_title_color;
tdrp_bool_t ascope_x_axis_labels_inside;
tdrp_bool_t ascope_y_axis_labels_inside;
tdrp_bool_t apply_residue_correction_in_adaptive_filter;
double min_snr_db_for_residue_correction;
tdrp_bool_t use_polynomial_regression_clutter_filter;
int regression_filter_polynomial_order;
tdrp_bool_t regression_filter_determine_order_from_CSR;
double regression_filter_notch_edge_power_ratio_threshold_db;
double regression_filter_min_csr_db;
tdrp_bool_t regression_filter_interp_across_notch;
tdrp_bool_t use_simple_notch_clutter_filter;
double simple_notch_filter_width_mps;
int staggered_prt_median_filter_len;
spectrum_width_method_t spectrum_width_method;
fir_filter_len_t KDP_fir_filter_len;
int KDP_n_filt_iterations_unfolded;
int KDP_n_filt_iterations_conditioned;
tdrp_bool_t KDP_use_iterative_filtering;
double KDP_phidp_difference_threshold;
int KDP_ngates_for_stats;
double KDP_phidp_sdev_max;
double KDP_phidp_jitter_max;
tdrp_bool_t KDP_check_snr;
double KDP_snr_threshold;
tdrp_bool_t KDP_check_rhohv;
double KDP_rhohv_threshold;
tdrp_bool_t KDP_check_zdr_sdev;
double KDP_zdr_sdev_max;
double KDP_min_valid_abs_kdp;
tdrp_bool_t KDP_debug;
int n_samples;
tdrp_bool_t indexed_beams;
double indexed_resolution_ppi;
double indexed_resolution_rhi;
tdrp_bool_t invert_hv_flag;
tdrp_bool_t prt_is_for_previous_interval;
tdrp_bool_t check_for_missing_pulses;
tdrp_bool_t swap_receiver_channels;
tdrp_bool_t override_radar_name;
char* radar_name;
tdrp_bool_t override_radar_location;
double radar_latitude_deg;
double radar_longitude_deg;
double radar_altitude_meters;
tdrp_bool_t override_gate_geometry;
double gate_spacing_meters;
double start_range_meters;
tdrp_bool_t override_radar_wavelength;
double radar_wavelength_cm;
window_t window;
char* cal_file_path;
tdrp_bool_t use_cal_from_time_series;
char _end_; // end of data region
// needed for zeroing out data
private:
void _init();
mutable TDRPtable _table[156];
const char *_className;
bool _exitDeferred;
};
#endif
| [
"dixon@ucar.edu"
] | dixon@ucar.edu |
c2824196243ac675b6ea7a798f624866369ffc74 | 2d614e2adf7850da3929bbc5548f287e3aab670b | /src/objects/cpp/body.cpp | 56bc65e9434606533248568687ac11c0b3982c1d | [] | no_license | caronnee/peva | 7d432d47a8f5ac63b3ec30c7cf5418bc266c2aa2 | 0a0db8f3e0f27a64e93aad36321ab65521179b73 | refs/heads/master | 2020-04-25T15:03:24.673926 | 2010-08-16T10:35:25 | 2010-08-16T10:35:25 | 32,673,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,865 | cpp | #include <cmath>
#include "../h/body.h"
#include "../h/missille.h"
#include "../../add-ons/h/help_functions.h"
#include "../../add-ons/h/macros.h"
GamePoints::GamePoints(int total)
{
for(size_t i =0; i< NumberOfSections; i++)
{
sections[i] = 0;
}
name[SectionMissilleHitpoints] ="mHealth ";
name[SectionAttack] = "Attack ";
name[SectionMissilleAttack] ="mAttack ";
name[SectionMemorySize] = "Memory: ";
name[SectionAngle] = "Angle ";
name[SectionHitpoints] = "Hitpoints ";
name[SectionMissilles] = "Missilles ";
name[SectionSteps] = "Speed ";
total_ = total;
}
void GamePoints::check() //budeme kontrolovat len ak to presvihlo pocet, FIXME dalsia volba, aby to doplnovalo
{
sections[GamePoints::SectionAngle] = min<int>(MAX_EYE_ANGLE,sections[GamePoints::SectionAngle]);
int todo = 0;
for(size_t i =0; i< NumberOfSections; i++)
{
todo += sections[i];
}
for(size_t i =0; i< NumberOfSections; i++)
{
sections[i]* (total_/todo);
}
}
Body::Body() : Object(NULL,NULL)
{
type = Player;
waits = 0;
state_ = 0;
ms = NULL;
tasks = 0;
name = "Robot";
movement.old_pos.x = 30;
movement.old_pos.y = 130;
movement.position_in_map = movement.old_pos;
movement.speed = 30;
movement.angle = 0;
movement.direction.x = 50;
toKill = NULL;
map = NULL;
}
Skin * Body::getSkin()const
{
return skinWork->getSkin();
}
std::string Body::info()
{
std::string output;
//hitpoints
if (hitpoints > 0)
output += "\tHitpoints :" + deconvert<int> (hitpoints);
else
output+= "\tDead.";
if (toKill)
output += toKill->state();
for (size_t i =0; i < targets.size(); i++)
output += targets[i]->state();
return output+"\n";
}
void Body::init(GamePoints g, int v)
{
points = g;
turn(0);
/* information from firt section */
seer.setEyes(g.sections[GamePoints::SectionAngle],v);
hitpoints = g.sections[GamePoints::SectionHitpoints];
movement.speed = g.sections[GamePoints::SectionSteps]%100;
/* second section information */
if(!hasSkin())
throw "Robot body is not skined!";
if (!ms)
ms = new MissilleSkin(skinWork->getSkin()->nameOfSet);
for (int i =0; i< g.sections[GamePoints::SectionMissilles]; i++ )
addAmmo(new Missille(ms,&ammo));
attack =g.sections[GamePoints::SectionAttack];
}
bool Body::changed()
{
return true;
}
void Body::bounce(Object * from)
{
//no bouncing
}
void Body::addAmmo( Object * o)
{
ammo.push_back(o);
o->owner = this;
}
int Body::state() const
{
return state_;
}
bool Body::addKilled(unsigned i,Operation op, size_t number)
{
if (toKill !=NULL)
{
tasks += toKill->check();
delete toKill;
}
switch (op)
{
case OperationNotEqual:
toKill = new TargetKillNumberNot(number);
break;
case OperationLess:
toKill = new TargetKillNumberLess(number);
break;
case OperationLessEqual:
toKill = new TargetKillNumberLessEqual(number);
break;
case OperationGreater:
toKill = new TargetKillNumberMore(number);
break;
case OperationGreaterEqual:
toKill = new TargetKillNumberMoreEqual(number);
break;
default:
toKill = new TargetKillNumber(number);
break;
}
tasks -= toKill->check();
return true;
}
void Body::addKill(Object * id)
{
tasks++;
killTarget.push_back(id);
}
void Body::move(size_t fps)
{
Rectangle col = collisionSize();
col.x += movement.position_in_map.x;
col.y += movement.position_in_map.y;
for(size_t i =0; i<targets.size(); i++)
{
if (targets[i]->getOk())
continue;
if (targets[i]->tellPosition().overlaps(col) //spolieham sa na skratene vyhodnocovanie
&& targets[i]->setOk())
{
tasks--;
}
}
Object::move(fps);
}
void Body::addVisit(TargetVisit * target)
{
tasks++;
targets.push_back(target);
}
void Body::addVisitSeq(std::vector<TargetVisit *> ids)
{
tasks++;
targets.push_back(new TargetVisitSequence(ids));
}
//TODO is blocking cez premennu aby som nemusela pretazovat funkciu
bool Body::is_blocking()
{
return true;
}
int Body::see()
{
if (map == NULL)
return 0;
//robime to drsne, ziadna heuristika
//TODO zamysliet sa nad tm, ci je to vhodne upravit
seer.reset( toRadians( movement.angle ) );
Position diff(seer.size, seer.size);
Position up = get_pos();
up+= diff;
Position down = get_pos().substractVector(diff);
up.x/=BOX_WIDTH;
up.y/=BOX_HEIGHT;
down.x/=BOX_WIDTH;
down.y/=BOX_HEIGHT;
if(up.x > map->boxesInRow)
up.x = map->boxesInRow;
if(up.y > map->boxesInColumn)
up.y = map->boxesInColumn;
if (down.x <0)
down.x = 0;
if (down.y < 0)
down.y = 0;
for (int i = down.x; i<=up.x; i++)
for (int j = down.y; j <= up.y; j++)
{
for (std::list<Object *>::iterator iter = map->map[i][j].objects[0].begin();
iter != map->map[i][j].objects[0].end(); iter++)
{
if ( *iter == this )
continue;
seer.fill(*iter, this);
}
for (std::list<Object *>::iterator iter = map->map[i][j].objects[1].begin();
iter != map->map[i][j].objects[1].end(); iter++)
{
if ( *iter == this )
continue;
seer.fill(*iter, this);
}
}
size_t y= seer.checkVisibility();
seer.output();
return y;
}
Object * Body::eye(int index)
{
TEST("Getting object from fills")
Object * o = seer.getObject(index);
return o;
}
void Body::place (Map * m, Position p, int angle)
{
Object::setPosition(p, angle);
map = m;
}
int Body::getTasks()const
{
return tasks;
}
std::string Body::initTargetPlaces()
{
size_t i = 0;
std::string warning;
while (i < targets.size())
{
do
{
int id = targets[i]->tellId();
if (id < 0) //not on map
break;
if (targets[i]->getOk()) //not found on map
break;
bool set = false, done;
for ( std::list<Place>::iterator k = map->places.begin(); k != map->places.end(); k++)
{
if (k->id != id)
continue;
set = true;
done = targets[i]->initPosition(k->r);
break;
}
if (!set)
{
if(targets[i]->setOk())
tasks--;
warning += "There is no number " + deconvert<int>(id) + "defined in this map, ignoring\n";
}
if (done)
break;
}
while (true);
targets[i]->reset();
i++;
}
tasks = 0;
for (size_t i =0; i< targets.size(); i++)
{
if (!targets[i]->getOk())
tasks++;
}
tasks+= killTarget.size();
if (toKill!=NULL)
tasks+=toKill->check();
if ((tasks == 0 )&& (toKill == NULL))
tasks = 1;
return warning;
}
int Body::step(int steps)
{
movement.steps = steps * movement.speed;
state_ = 0;
skinWork->switch_state(ImageSkinWork::StatePermanent, ActionWalk);
return 0;
}
int Body::step()
{
step(default_steps);
return 0;
}
int Body::turnL()
{
turn(-90);
return 0;
}
int Body::turnR()
{
TEST("Turning right")
turn(90);
return 0;
}
int Body::wait(int x)
{
state_ = 0;
TEST("Waiting " << x << "times" )
waits = x;
return 0;
}
int Body::shoot(int angle)
{
TEST("Shooting at angle " << angle)
if (ammo.empty())
{
TEST("Empty ammo!")
return 0;
}
skinWork->switch_state(ImageSkinWork::StateTemporarily, ActionAttack);
Position mP = this->get_pos();
Object * o= *ammo.begin();
Position p = skinWork->head();
mP.x += p.x;
if (movement.direction.x < 0)
mP.x -= o->width();
mP.y += p.y;
if (movement.direction.y < 0)
mP.y -= o->height();
o->hitpoints = o->movement.steps = points.sections[GamePoints::SectionMissilleHitpoints];
o->attack = points.sections[GamePoints::SectionMissilleAttack];
o->defense = 0;
o->movement.angle = movement.angle;
o->movement.direction.x = movement.direction.x;
o->movement.direction.y = movement.direction.y;
o->movement.speed = 100;
o->movement.position_in_map = mP;
o->movement.realX = 0;
o->movement.realY = 0;
o->owner = this;
o->turn(angle);
if (map->checkCollision(o))
{
TEST("moc blizko steny!")
return 0; //ak to mieni kychnut na stenu
}
map->map[mP.x/BOX_WIDTH][mP.y/BOX_HEIGHT].objects[0].splice(
map->map[mP.x/BOX_WIDTH][mP.y/BOX_HEIGHT].objects[0].begin(),ammo,ammo.begin());
return 1;
}
void Body::killed(Object * o)
{
for (size_t i = 0; i< killTarget.size(); i++)
{
if (killTarget[i] == o)
{
killTarget[i] = killTarget.back();
killTarget.pop_back();
tasks--;
break;
}
}
if ((toKill!=NULL)&&(o->typeObject()&Player))
tasks -= toKill->fullfilled();
}
void Body::hitted(Object * attacker, Position p, int attack)
{
state_ = movement.steps + waits; //kolko mu este chybalo spravit
waits = 0;
Object::hitted(attacker,p,attack);
int hpLost = (attacker->attack > defense) ? attack-defense:1;
hitpoints -= hpLost;
if (hitpoints <= 0)
{
substance = Miss;
attacker->killed(this);
Object::dead();
}
}
void Body::dead()
{
//daj ako spracovane a moc sa tym nezatazuj
Position p = get_pos();
p.x /= BOX_WIDTH;
p.y /= BOX_HEIGHT;
map->map[p.x][p.y].objects[1-map->processing].push_back(this);
}
void Body::hit(Object * o)
{
Position p(-11111,-11111),t(-11111,-11111);
intersection(o,p,t);
ObjectMovement th = movement;
ObjectMovement obj = o->movement;
Object::hit(o);
if (p.x < p.y)
{
movement.position_in_map.x -= p.x*t.x;
}
else
movement.position_in_map.y -= p.y*t.y;
if (map->collideWith(this,o))
{
TEST("Stale to koliduje podla mna")
TEST(movement.position_in_map << " " )
throw "New position after collision is not counted properly. Please, report the bug :)";
}
}
int Body::getDirection(Position position)
{
Position p = position;
p.substractVector(get_pos());
p.x -= getSkin()->get_shift().x/2;
p.y -= getSkin()->get_shift().y/2;
Position t(movement.direction);
float f;
int dotProd = sqrt((double)p.x * p.x + p.y*p.y)*sqrt((double)t.x*t.x+t.y*t.y);
if (dotProd == 0)
return 0;
f = (p.x*t.x + t.y*p.y) / (float)dotProd;
int res = toDegree(acos(f));
if ( p.y*t.x - p.x*t.y < 0) //ak na druhej strane zorneho pola
res = 360 - res; //pretoze sa otazam v mere divnom
return res;
}
Body::~Body()
{
delete toKill;
for (std::vector<Target *>::iterator i = targets.begin();
i!= targets.end(); i++)
{
delete (*i);
}
targets.clear();
}
| [
"caronnee@11875ef8-eda2-11dd-ada0-abde575de245"
] | caronnee@11875ef8-eda2-11dd-ada0-abde575de245 |
6be24ef4cfeba8dcce93832423fe89cbf8d81c35 | 25d53e461c5a3c0d74ba3965d374a345fb5c4f27 | /inference_engine_vpu_arm/opencv/samples/facerecognizer.cpp | ba8a266de03d4a5f8f8397ab5bfce5762c1ffd20 | [] | no_license | honorpeter/yolo-v3-with-ncs2 | 5662f603eb98cd5d27bfeb0fc83a59aca5213081 | 841935ff235a96e1604c4ad34c1b8b41b1691942 | refs/heads/master | 2020-05-05T06:49:36.210880 | 2019-02-05T13:16:30 | 2019-02-05T13:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,672 | cpp | // Copyright (C) 2018 Intel Corporation
// SPDX-License-Identifier: BSD-3-Clause
#include "opencv2/core.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/pvl.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
using namespace cv;
using namespace std;
using namespace cv::pvl;
//--------------------------------------------------------------------------------
// define: editable
//--------------------------------------------------------------------------------
//Maximum number of db member for faces
//Unlimited, but recommend less than 1000 for better performance
#define MAX_FACES_IN_DATABASE 320
//--------------------------------------------------------------------------------
// user-defined enum
//--------------------------------------------------------------------------------
enum eResMode
{
E_RES_CAMERA = 0,
E_RES_VIDEO_FILE = 1,
E_RES_IMAGE_FILE = 2,
};
//--------------------------------------------------------------------------------
// function definition
//--------------------------------------------------------------------------------
void execFDFR(eResMode resMode, const string& res_file_path, const string& db_path);
static void help();
bool parseArg(int argc, char **argv, eResMode& resMode, string& resource, string& dbpath);
bool displayInfo(Mat& img, const vector<Face>& faces, const vector<int>& personIDs, const vector<int>& confidence, eResMode resMode, double elapsed);
//--------------------------------------------------------------------------------
// functions
//--------------------------------------------------------------------------------
int main(int argc, char **argv)
{
eResMode resMode = E_RES_CAMERA;
string resPath;
string dbPath;
if (parseArg(argc, argv, resMode, resPath, dbPath) != true)
{
help();
return 0;
}
execFDFR(resMode, resPath, dbPath);
return 1;
}
static void help()
{
cout << "------------------------------------------------------------" << endl;
cout << "Usage : exec -mode={camera|video|image}" << endl;
cout << " -resource=<resPath> -db=<dbPath>" << endl;
cout << "example:" << endl;
cout << " exec (camera mode & default frdb path in running folder)" << endl;
cout << " exec -help" << endl;
cout << " exec -mode=video -resource=video.mp4 -db=facedb.xml" << endl;
cout << "" << endl;
cout << "-mode:" << endl;
cout << " camera : Default. Use camera frame." << endl;
cout << " video : Use video file frame from 'resource'." << endl;
cout << " image : Use a image file from 'resource'." << endl;
cout << "-resource: resource path." << endl;
cout << "-db: face recognition database xml file path." << endl;
cout << " If not exist, it's created." << endl;
cout << "------------------------------------------------------------" << endl;
}
bool parseArg(int argc, char **argv, eResMode& resMode, string& resource, string& dbPath)
{
string mode;
//parse arg
const string keys =
"{help h usage ? | | }"
"{mode |camera | }"
"{resource | | }"
"{db |defaultdb.xml | }"
;
CommandLineParser parser(argc, argv, keys);
if (parser.has("help"))
{
return false;
}
mode = parser.get<string>("mode");
resource = parser.get<string>("resource");
dbPath = parser.get<string>("db");
if (dbPath.length() == 0)
{
return false;
}
//set mode of resource
resMode = E_RES_CAMERA;
if (mode.compare("video") == 0)
{
resMode = E_RES_VIDEO_FILE;
if (resource.length() == 0)
{
return false;
}
}
else if (mode.compare("image") == 0)
{
resMode = E_RES_IMAGE_FILE;
if (resource.length() == 0)
{
return false;
}
}
else if (mode.compare("camera") == 0)
{
resMode = E_RES_CAMERA;
}
else
{
return false;
}
return true;
}
//--------------------------------------------------------------------------------
// main feature
// execute FD & FR with given resource
//--------------------------------------------------------------------------------
void execFDFR(eResMode resMode, const string& resFilePath, const string& dbPath)
{
const char* WINDOW_NAME = "Face Recognition";
Ptr<FaceDetector> pvlFD;
Ptr<FaceRecognizer> pvlFR;
Mat imgIn;
Mat imgGray;
//get resource
VideoCapture capture;
if (resMode == E_RES_CAMERA)
{
capture.open(0);
}
else
{
capture.open(resFilePath);
}
if (!capture.isOpened())
{
cerr << "Error: fail to capture video." << endl;
return;
}
//init fr
pvlFR = FaceRecognizer::create();
if (pvlFR.empty())
{
cerr << "Error: fail to create PVL face recognizer" << endl;
return;
}
//init fd
pvlFD = FaceDetector::create();
if (pvlFD.empty())
{
cerr << "Error: fail to create PVL face detector" << endl;
return;
}
//prepare image
capture >> imgIn;
if (imgIn.empty())
{
cerr << "Error: no input image" << endl;
return;
}
//prepare grayimage
cvtColor(imgIn, imgGray, COLOR_BGR2GRAY);
if (imgGray.empty())
{
cerr << "Error: get gray image()" << endl;
return;
}
//init loop
bool bRegist = false;
int keyDelay = 1;
if (resMode == E_RES_IMAGE_FILE)
{
keyDelay = 0;
}
namedWindow(WINDOW_NAME, WINDOW_AUTOSIZE);
//tracking mode
bool bTracking = false;
if (resMode == E_RES_IMAGE_FILE)
{
bTracking = false;
}
else
{
bTracking = true;
}
pvlFD->setTrackingModeEnabled(bTracking);
pvlFR->setTrackingModeEnabled(bTracking);
vector<Face> faces;
vector<Face> validFaces;
vector<int> personIDs;
vector<int> confidence;
int64 startTick = getTickCount();
//pvlFR->setMaxFacesInTracking(MAX_SUPPORTED_FACES_FOR_RECOGNITION_IN_TRACKING);
//main loop
for (;;)
{
faces.clear();
personIDs.clear();
confidence.clear();
//do face detection
pvlFD->detectFaceRect(imgGray, faces);
//do face recognition
if (faces.size() > 0)
{
//maxmum FR count in a frame
validFaces.clear();
int validFaceCount = 0;
if (bTracking)
{
validFaceCount = MIN(static_cast<int>(faces.size()), pvlFR->getMaxFacesInTracking());
}
else
{
validFaceCount = faces.size();
}
for (int i = 0; i < validFaceCount; i++)
{
validFaces.push_back(faces[i]);
}
//predict by pvl
pvlFR->recognize(imgGray, validFaces, personIDs, confidence);
//do face registration
if (bRegist)
{
bRegist = false;
//train pvl face
for (uint i = 0; i < personIDs.size(); i++)
{
if (personIDs[i] == FACE_RECOGNIZER_UNKNOWN_PERSON_ID)
{
int personID = pvlFR->createNewPersonID();
pvlFR->registerFace(imgGray, validFaces[i], personID, true);
}
}
if (!bTracking)
{
pvlFR->recognize(imgGray, validFaces, personIDs, confidence); //to update screen using registered infomation
}
}
}
double elasped = static_cast<double>(getTickCount() - startTick) / getTickFrequency();
startTick = getTickCount();
//display FD & FR results on top of input image
displayInfo(imgIn, faces, personIDs, confidence, resMode, elasped);
imshow(WINDOW_NAME, imgIn);
//handle key input
char key = static_cast<char>(waitKey(keyDelay));
if (key == 'q' || key == 'Q') //escape
{
cout << "Quit." << endl;
break;
}
else if (key == 'r' || key == 'R') //train current unknown faces
{
cout << "Register." << endl;
bRegist = true;
}
else if (key == 's' || key == 'S') //save db xml file
{
cout << "Save. " << dbPath << endl;
pvlFR->save(dbPath);
}
else if (key == 'l' || key == 'L') //load db xml file
{
cout << "Load. " << dbPath << endl;
bTracking = pvlFR->isTrackingModeEnabled();
pvlFR = Algorithm::load<FaceRecognizer>(dbPath);
pvlFR->setTrackingModeEnabled(bTracking);
}
if (resMode == E_RES_IMAGE_FILE)
{
//reload current image
capture = VideoCapture(resFilePath);
}
//get next frame
capture >> imgIn;
if (imgIn.empty()) { break; }
cvtColor(imgIn, imgGray, COLOR_BGR2GRAY);
}
destroyWindow(WINDOW_NAME);
}
static void roundedRectangle(Mat& src, const Point& topLeft, const Point& bottomRight,
const Scalar lineColor, const int thickness, const int lineType, const int cornerRadius)
{
/* corners:
* p1 - p2
* | |
* p4 - p3
*/
Point p1 = topLeft;
Point p2 = Point(bottomRight.x, topLeft.y);
Point p3 = bottomRight;
Point p4 = Point(topLeft.x, bottomRight.y);
// draw straight lines
line(src, Point(p1.x + cornerRadius, p1.y), Point(p2.x - cornerRadius, p2.y), lineColor, thickness, lineType);
line(src, Point(p2.x, p2.y + cornerRadius), Point(p3.x, p3.y - cornerRadius), lineColor, thickness, lineType);
line(src, Point(p4.x + cornerRadius, p4.y), Point(p3.x - cornerRadius, p3.y), lineColor, thickness, lineType);
line(src, Point(p1.x, p1.y + cornerRadius), Point(p4.x, p4.y - cornerRadius), lineColor, thickness, lineType);
// draw arcs
ellipse(src, p1 + Point(cornerRadius, cornerRadius), Size(cornerRadius, cornerRadius), 180.0, 0, 90, lineColor, thickness, lineType);
ellipse(src, p2 + Point(-cornerRadius, cornerRadius), Size(cornerRadius, cornerRadius), 270.0, 0, 90, lineColor, thickness, lineType);
ellipse(src, p3 + Point(-cornerRadius, -cornerRadius), Size(cornerRadius, cornerRadius), 0.0, 0, 90, lineColor, thickness, lineType);
ellipse(src, p4 + Point(cornerRadius, -cornerRadius), Size(cornerRadius, cornerRadius), 90.0, 0, 90, lineColor, thickness, lineType);
}
static void putTextCenter(InputOutputArray img, const String& text, Point& point, int fontFace,
double fontScale, Scalar color, int thickness = 1, int lineType = LINE_8)
{
int baseline;
Size textSize = getTextSize(text, fontFace, fontScale, thickness, &baseline);
Point center = point;
center.x -= (textSize.width / 2);
putText(img, text, center, fontFace, fontScale, color, thickness, lineType);
}
bool displayInfo(Mat& img, const vector<Face>& faces, const vector<int>& personIDs, const vector<int>& confidence, eResMode resMode, double elapsed)
{
const int FONT = FONT_HERSHEY_PLAIN;
const Scalar GREEN = Scalar(0, 255, 0, 255);
const Scalar BLUE = Scalar(255, 0, 0, 255);
Point pointLT, pointRB;
String string;
for (uint i = 0; i < faces.size(); i++)
{
const Face& face = faces[i];
Rect faceRect = face.get<Rect>(Face::FACE_RECT);
// Draw a face rectangle
pointLT.x = faceRect.x;
pointLT.y = faceRect.y;
pointRB.x = faceRect.x + faceRect.width;
pointRB.y = faceRect.y + faceRect.height;
roundedRectangle(img, pointLT, pointRB, GREEN, 1, 8, 5);
//draw FR info
if (i < personIDs.size())
{
string.clear();
if (personIDs[i] > 0)
{
string = format("Person:%d(%d)", personIDs[i], confidence[i]);
}
else if (personIDs[i] == FACE_RECOGNIZER_UNKNOWN_PERSON_ID)
{
string = "UNKNOWN";
}
else
{
//do nothing
}
pointLT.x += faceRect.width / 2;
pointLT.y -= 2;
putTextCenter(img, string, pointLT, FONT, 1.2, GREEN, 2);
}
}
//print command
pointLT.x = 2;
pointLT.y = 16;
string = "(Q)Quit";
putText(img, string, pointLT, FONT, 1, BLUE, 1, 8);
pointLT.y += 16;
string = "(R)Register current unknown faces";
putText(img, string, pointLT, FONT, 1, BLUE, 1, 8);
pointLT.y += 16;
string = "(L)load faces from xml";
putText(img, string, pointLT, FONT, 1, BLUE, 1, 8);
pointLT.y += 16;
string = "(S)save faces into xml";
putText(img, string, pointLT, FONT, 1, BLUE, 1, 8);
//print fps
if (resMode != E_RES_IMAGE_FILE)
{
const int FPS_MEASURE_INTERVAL = 30;
static int fpsInterval = 0;
static double fpsSum = 0;
static double fps = 0;
fpsSum += elapsed;
if (fpsInterval++ == FPS_MEASURE_INTERVAL)
{
fps = 1.f / fpsSum * FPS_MEASURE_INTERVAL;
fpsInterval = 0;
fpsSum = 0;
}
pointLT.y = img.size().height - 7;
string = format("fps:%.1f", fps);
putText(img, string, pointLT, FONT, 1.2, BLUE, 2, 8);
}
return true;
}
| [
"hzs_1119@foxmail.com"
] | hzs_1119@foxmail.com |
5096221aa85dabd97dab950c75551bdf7dec3c3c | fcc6c2e82e4ca48183ee02d3a551a3952778c987 | /include/entities/models/EntityModel.h | e8b726a059031e68e6fac4e15e1d3fc11d7e8f58 | [] | no_license | Sopel97/Dungeon-Crawler | dfc63002b66b535912ca829bc306de2a27f3f550 | b1715d31e7cf35c479ef1d4efa28a6aff204a19f | refs/heads/master | 2020-04-11T05:39:12.114067 | 2019-03-24T18:32:38 | 2019-03-24T18:32:38 | 161,556,135 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,939 | h | #ifndef ENTITYMODEL_H
#define ENTITYMODEL_H
#include "configuration/Configuration.h"
#include <memory>
#include <optional>
#include "entities/EntityComponent.h"
#include "AggroGroup.h"
#include "Light.h"
#include "tiles/TileStack.h"
#include "colliders/EntityCollider.h"
#include "../LibS/Geometry.h"
class Entity;
class AttributeArray;
class World;
class Effect;
class EntityModel : public EntityComponent<EntityModel, Entity>
{
public:
enum Direction //ordered as in sprites
{
North = 0,
West = 1,
East = 2,
South = 3
};
EntityModel(Entity& owner);
EntityModel(const EntityModel& other, Entity& owner);
~EntityModel() override;
void loadFromConfiguration(ConfigurationNode& config) override;
virtual EntityCollider collider();
virtual const ls::Vec2F& position() const;
virtual void setPosition(const ls::Vec2F& newPosition);
virtual const ls::Vec2F& velocity() const;
virtual void setVelocity(const ls::Vec2F& newVelocity);
virtual float distanceTravelled() const;
virtual int health() const;
virtual int maxHealth() const;
virtual void setHealth(int newHealth);
virtual TileStack createCorpse() const;
virtual AggroGroupId group() const;
virtual TileStack& ammo();
virtual const AttributeArray& attributes() const;
virtual std::optional<Light> light() const;
virtual bool addEffect(const Effect& effect);
virtual bool hasEffect(int id) const;
virtual bool removeEffect(int id);
void onEntityInstantiated(const ls::Vec2F& pos) override;
virtual Direction directionOfMove() const;
virtual void update(World& world, float dt);
virtual void accelerate(const ls::Vec2F& dv);
virtual void dealDamage(int damage);
std::unique_ptr<EntityModel> clone(Entity& owner) const override;
protected:
private:
static const ls::Vec2F m_someVector;
};
#endif // ENTITYMODEL_H
| [
"ts.tomeksopel@gmail.com"
] | ts.tomeksopel@gmail.com |
9eec6e7306fe394017df07fc9391f4e8ae9a951d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2839_httpd-2.4.25.cpp | f7211d6af163168da1ebe6dc18502259a719af56 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | static const char *h2_add_alt_svc(cmd_parms *parms,
void *arg, const char *value)
{
if (value && strlen(value)) {
h2_config *cfg = (h2_config *)h2_config_sget(parms->server);
h2_alt_svc *as = h2_alt_svc_parse(value, parms->pool);
if (!as) {
return "unable to parse alt-svc specifier";
}
if (!cfg->alt_svcs) {
cfg->alt_svcs = apr_array_make(parms->pool, 5, sizeof(h2_alt_svc*));
}
APR_ARRAY_PUSH(cfg->alt_svcs, h2_alt_svc*) = as;
}
(void)arg;
return NULL;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
6d22c3b95be64214886985580aa9cb7e5de20fae | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Contests/2022-ICPC-NCNA-Regional/restaurantopening.cpp | 6dd4cf19443abe4ae4e7d095f1e46ba079422fea | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | // G.cpp
// Team Golden Gopher
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAX_N = 100;
int n, m;
ll prex[MAX_N], prey[MAX_N];
int cntx[MAX_N], cnty[MAX_N];
int main()
{
scanf("%d%d", &n, &m);
for (int i = 1; i <= n; i++)
for (int j = 1; j <= m; j++)
{
int x;
scanf("%d", &x);
prex[i] += x, prey[j] += x;
cntx[i] += x, cnty[j] += x;
}
for (int i = 1; i <= n; i++)
prex[i] = 1LL * prex[i] * i + prex[i - 1], cntx[i] += cntx[i - 1];
for (int i = 1; i <= m; i++)
prey[i] = 1LL * prey[i] * i + prey[i - 1], cnty[i] += cnty[i - 1];
ll ansx = 0x7fffffffffffffff, ansy = 0x7fffffffffffffff;
for (int i = 1; i <= n; i++)
ansx = min(ansx, 1LL * i * cntx[i] - prex[i] + (prex[n] - prex[i]) - 1LL * i * (cntx[n] - cntx[i]));
for (int i = 1; i <= m; i++)
ansy = min(ansy, 1LL * i * cnty[i] - prey[i] + (prey[m] - prey[i]) - 1LL * i * (cnty[m] - cnty[i]));
printf("%lld\n", ansx + ansy);
return 0;
} | [
"kaloronahuang@outlook.com"
] | kaloronahuang@outlook.com |
76947c6ef3847b8a4bfa6a2cd1fd2aeb80535f95 | 9b727ccbf91d12bbe10adb050784c04b4753758c | /archived/code-cpp-may-2015/linked-list-to-binary.cc | 9c75df17c2659fe436d5164a9160301920f0e27f | [] | no_license | codeAligned/acm-icpc-1 | b57ab179228f2acebaef01082fe6b67b0cae6403 | 090acaeb3705b6cf48790b977514965b22f6d43f | refs/heads/master | 2020-09-19T19:39:30.929711 | 2015-10-06T15:13:12 | 2015-10-06T15:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cc | long long getNumber(Node *head) {
long long ret = 0;
for (Node *p = head; p != nullptr; p = p->next) {
ret = ret * 2 + p->data;
}
return ret;
}
| [
"zimpha@gmail.com"
] | zimpha@gmail.com |
41c2ed18487ae74301359e637c4ccab536164134 | 2cd30e540d3f3e96ae696b255a4b690ceb98c873 | /第7章(网络通信基础)/Ping/Ping/Ping.cpp | 3d2d47d36ce84cad071dfd5f698307aaf2695f2b | [] | no_license | charlieyqin/Window_entry_to_the_master | 3e5fdb703f9c5cd528c2ce3d98e2a96df76c5039 | 2883b623b855a4da13414070374e71193a1bc250 | refs/heads/master | 2020-03-09T22:22:57.358120 | 2016-09-08T08:09:42 | 2016-09-08T08:09:42 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,653 | cpp | // Ping.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "Winsock2.h"
#pragma comment ( lib, "ws2_32.lib" )
#include <windows.h>
#include "stdio.h"
// 定义默认的缓冲区长度
#define DEF_BUF_SIZE 1024
// 定义IP包头长度
#define IP_HEADER_SIZE 20
// 定义ICMP包头长度
#define ICMP_HEADER_SIZE ( sizeof(ICMP_HEADER) )
// 定义ICMP包实体数据长度
#define ICMP_DATA_SIZE 32
// 定义ICMP包总长度
#define ICMP_PACK_SIZE ( ICMP_HEADER_SIZE + ICMP_DATA_SIZE )
// 定义ICMP包头
typedef struct _ICMP_HEADER {
BYTE bType ; // 类型
BYTE bCode ; // 代码
USHORT nCheckSum ; // 校验和
USHORT nId ; // 标识,本进程ID
USHORT nSequence ; // 序列号
UINT nTimeStamp ; // 可选项,这里为时间,用于计算时间
} ICMP_HEADER, *PICMP_HEADER ;
// 用于格式化输出信息的缓冲区
char szInfo[DEF_BUF_SIZE] ;
BOOL Ping ( char* lpDestIp ) ;
USHORT GetCheckSum ( LPBYTE lpBuf, DWORD dwSize ) ;
int main(int argc, char* argv[])
{
int value[4] ;
char szDestIp[DEF_BUF_SIZE] = {0} ;
while ( scanf ( "%s", szDestIp) )
Ping ( szDestIp ) ;
return 0;
}
// 实现PING程序
// 参数:目标地址IP字符串,格式如“127.0.0.1”
BOOL Ping ( char* lpDestIp )
{
// 设置目标地址
SOCKADDR_IN DestSockAddr ;
DestSockAddr.sin_family = AF_INET ;
DestSockAddr.sin_addr.s_addr = inet_addr( lpDestIp ) ;
DestSockAddr.sin_port = htons ( 0 ) ;
// 创建ICMP回显请求包
char ICMPPack[ICMP_PACK_SIZE] = {0} ;
PICMP_HEADER pICMPHeader = (PICMP_HEADER)ICMPPack ;
pICMPHeader->bType = 8 ;
pICMPHeader->bCode = 0 ;
pICMPHeader->nId = (USHORT)::GetCurrentProcessId() ;
pICMPHeader->nCheckSum = 0 ;
pICMPHeader->nTimeStamp = 0 ;
memset ( &(ICMPPack[ICMP_HEADER_SIZE]), 'E', ICMP_DATA_SIZE ) ; // 填充数据部分,内容任意
// 初始化WinSock库
WORD wVersionRequested = MAKEWORD( 2, 2 );
WSADATA wsaData;
if ( WSAStartup( wVersionRequested, &wsaData ) != 0 )
return FALSE ;
// 创建原始套接字
SOCKET RawSock = socket ( AF_INET, SOCK_RAW, IPPROTO_ICMP ) ;
if ( RawSock == INVALID_SOCKET )
{
printf ( "Create socket error!\n" ) ;
return FALSE ;
}
// 设置接收超时为1秒
int nTime = 1000 ;
int ret = ::setsockopt ( RawSock, SOL_SOCKET,SO_RCVTIMEO, (char*)&nTime, sizeof(nTime));
char szRecvBuf [ DEF_BUF_SIZE] ;
SOCKADDR_IN SourSockAddr ;
for ( int i = 0 ; i < 4; i++ )
{
pICMPHeader->nCheckSum = 0 ; // 初始时校验值为0
pICMPHeader->nSequence = i ; // 序号
pICMPHeader->nTimeStamp = ::GetTickCount() ;// 当前时间
// 计算校验值,校验值要在ICMP数据报创建完才能计算
pICMPHeader->nCheckSum = GetCheckSum ( (LPBYTE)ICMPPack, ICMP_PACK_SIZE ) ;
// 发送ICMP数据包
int nRet = ::sendto ( RawSock, ICMPPack, ICMP_PACK_SIZE,0,(SOCKADDR*)&DestSockAddr, sizeof(DestSockAddr) ) ;
if ( nRet == SOCKET_ERROR )
{
printf ( "sendto error!\n" ) ;
return FALSE ;
}
// 接收ICMP响应
int nLen = sizeof(SourSockAddr) ;
nRet = ::recvfrom ( RawSock, szRecvBuf, DEF_BUF_SIZE,0,(SOCKADDR*)&SourSockAddr, &nLen ) ;
if ( nRet == SOCKET_ERROR )
{
if ( ::WSAGetLastError() == WSAETIMEDOUT )
{
printf ( "Request Timeout\n" ) ;
continue ;
}
else
{
printf ( "recvfrom error!\n" ) ;
return FALSE ;
}
}
// 计算ICMP数据报的时间差
int nTime = ::GetTickCount() - pICMPHeader->nTimeStamp ;
int nRealSize = nRet - IP_HEADER_SIZE - ICMP_HEADER_SIZE ;
if ( nRealSize < 0 )
{
printf ( "To less recv bytes!\n" ) ;
continue ;
}
// 检测是否当前所发出的ICMP响应包
PICMP_HEADER pRecvHeader = (PICMP_HEADER)(szRecvBuf+IP_HEADER_SIZE) ;
if ( pRecvHeader->bType != 0 )
{
printf ( "Not ICMP respond type!\n" ) ;
return FALSE ;
}
if ( pRecvHeader->nId != ::GetCurrentProcessId () )
{
printf ( "not valid id!\n" ) ;
return FALSE ;
}
printf ( "%d bytes replay from %s : bytes=%d time=%dms\n", \
nRet, inet_ntoa(SourSockAddr.sin_addr), nRealSize, nTime ) ;
::Sleep ( 1000 ) ;
}
closesocket ( RawSock ) ;
WSACleanup () ;
return TRUE ;
}
// 计算ICMP包校验值
// 参数1:ICMP包缓冲区
// 参数2:ICMP包长度
USHORT GetCheckSum ( LPBYTE lpBuf, DWORD dwSize )
{
DWORD dwCheckSum = 0 ;
USHORT* lpWord = (USHORT*)lpBuf ;
// 累加
while ( dwSize > 1 )
{
dwCheckSum += *lpWord++ ;
dwSize -= 2 ;
}
// 如果长度是奇数
if ( dwSize == 1 )
dwCheckSum += *((LPBYTE)lpWord) ;
// 高16位和低16位相加
dwCheckSum = ( dwCheckSum >> 16 ) + ( dwCheckSum & 0xFFFF ) ;
// 取反
return (USHORT)(~dwCheckSum ) ;
}
| [
"liuxuanhai@163.com"
] | liuxuanhai@163.com |
f6383736df8c0d408c20388649a968bbc1b17017 | b51a937d9ec5ed8397dfbdcd8a18ead5fa2c5050 | /test/is_sorted_until_test.cpp | f652739fec50098f52466c9e3a844a3cdf20aabd | [] | no_license | sabjohnso/range | 81e35a4835a586e02f47085dea213f44eaa5c8b8 | 96ed2f21dacf12b805566d3455d2107f0b3bf34b | refs/heads/master | 2021-01-10T21:39:33.520504 | 2015-07-30T00:02:11 | 2015-07-30T00:02:11 | 39,924,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | /**
@file
is_sorted_until_test.cpp
@brief
Test the range based is_sorted_until function.
@copyright
2015 Samuel B. Johnsonn
@author:
Samuel Johnson <sabjohnso@yahoo.com>
*/
// Standard header files
#include <algorithm>
#include <vector>
#include <iterator>
// Third-party header files
#include <combine/macro_tools.hpp>
// Range header files
#include <range/range.hpp>
int
main( int argc, char** argv )
{
std::vector<int> x = { 1, 2, 5, 4, 3 };
auto it = range::is_sorted_until( x );
COMBINE_TEST_EQUAL( std::distance( begin( x ), it ), 3 );
std::vector<int> xexpected = { 1, 2, 5, 4, 3 };
COMBINE_TEST_EQUAL( x.size(), xexpected.size());
COMBINE_TEST_TRUE( std::equal( begin( x ), end( x ), begin( xexpected )));
return 0;
}
| [
"sabjohnso@yahoo.com"
] | sabjohnso@yahoo.com |
245e714b04922616610e96bd4abad616c1fc32d4 | e8f3a66ba53ae8375b5f598779881ef527fbdc49 | /phase1/test.cpp | cc96b01542455a9db7143908bc48d67e3a4a77b9 | [] | no_license | Bioshock667/OS_Project | c2eec508f702c85c1ab14efafed508dd8e05cee2 | 2e2220ac03e6ee372436ecd192be89e38a1d47c5 | refs/heads/master | 2020-03-23T11:54:54.187386 | 2018-07-20T16:05:13 | 2018-07-20T16:05:13 | 141,526,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | /*********************************************************************
union.cpp
K Zemoudeh
4/5/10
This program illustrates how to use "union" in parsing different VM
formats.
**********************************************************************/
#include <iostream>
//#include <iomanip>
using namespace std;
main()
{
class format1 {
public:
unsigned UNUSED:6;
unsigned RS:2;
unsigned I:1;
unsigned RD:2;
unsigned OP:5;
};
class format2 {
public:
unsigned ADDR:8;
unsigned I:1;
unsigned RD:2;
unsigned OP:5;
};
class format3 {
public:
int CONST:8;
unsigned I:1;
unsigned RD:2;
unsigned OP:5;
};
union instruction {
int i;
format1 f1;
format2 f2;
format3 f3;
};
instruction ins;
ins.i = 0xa007;
//ins.i = 4288;
//ins.i = 1093;
//cout << hex;
cout << ins.i << endl;
cout << ins.f1.OP << " " << ins.f1.RD << " " << ins.f1.I << " " << ins.f1.RS << " " << ins.f1.UNUSED << endl;
cout << ins.f2.OP << " " << ins.f2.RD << " " << ins.f2.I << " " << ins.f2.ADDR << endl;
cout << ins.f3.OP << " " << ins.f3.RD << " " << ins.f3.I << " " << ins.f3.CONST << endl;
ins.i = 4288;
cout << ins.i << endl;
cout << ins.f1.OP << " " << ins.f1.RD << " " << ins.f1.I << " " << ins.f1.RS << " " << ins.f1.UNUSED << endl;
cout << ins.f2.OP << " " << ins.f2.RD << " " << ins.f2.I << " " << ins.f2.ADDR << endl;
cout << ins.f3.OP << " " << ins.f3.RD << " " << ins.f3.I << " " << ins.f3.CONST << endl;
}
| [
"sethlemanek@yahoo.com"
] | sethlemanek@yahoo.com |
477e662c822102a6a22acad5884a847bab5a0b8c | 7bfcd9d9bc389d8b0a422830dbd3b741a4f7067b | /kakao/2018-recruit/G.cpp | f32f3e20c18393b80e186a3acd31065b55ad08bd | [] | no_license | taehyeok-jang/algorithms | d0a762e5b4abc92b77287b11ff01d9591422c7d9 | 7254984d5b394371c0e96b93912aebc42a45f8cb | refs/heads/master | 2023-04-02T23:45:00.740807 | 2021-03-28T14:35:05 | 2021-03-28T14:35:05 | 123,245,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38 | cpp | //
// Created by jth on 15/09/2018.
// | [
"jth@jthui-MacBook-Pro.local"
] | jth@jthui-MacBook-Pro.local |
65b121a0141198dda77dc3a01a658df97c7f77b7 | 7bd9b5aaeaa84f5fb2d4cbb03b68991df5edfc77 | /Miscellaneous Project Solutions/Regex/Problem 8.re | 22d816fe20c03692b31e829b72b906c9c16861e0 | [] | no_license | agustbrokkur/University-Projects | 0a8f2b4f0f1bde658b4e98ba8fc90aa13ca5dce4 | f9fce1a4d11100d74d17b11396b998d33a4b1506 | refs/heads/master | 2021-07-04T23:29:45.176703 | 2019-05-28T15:03:22 | 2019-05-28T15:03:22 | 188,128,011 | 0 | 0 | null | 2020-10-13T13:24:07 | 2019-05-22T23:37:36 | Java | UTF-8 | C++ | false | false | 50 | re | ^(((\+|00| |)[ ]*354[ |0]*)|)[\d]{3}[-| ]*[\d]{4}$ | [
"ahagbgaha@gmail.com"
] | ahagbgaha@gmail.com |
4a0968d7cc0e8bd93f24f6f69bb3c025570e6a5b | 280e6ebe8bd55299e5a2b538a9cf2571a9f81352 | /应用/数据结构/myList/MyList/List.h | da0c9fbfc8630f00d61deaf137e74620c69f716a | [] | no_license | WadeZeak/C_and_Cpp | 3a0996b6a44f7ee455250e5bbfa7b5541b133af7 | da98ea0a14d158cba48c609fa474c46a1095e312 | refs/heads/master | 2021-01-25T14:11:40.514329 | 2018-03-03T10:17:14 | 2018-03-03T10:17:14 | 123,668,111 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 496 | h | #pragma once
#include"Node.h"
#include<iostream>
using namespace std;
template<class T>
class List
{
public:
Node<T> *pHead;
public:
List();
~List();
void add(T t);//增
void show();
Node<T> * find(T t);//查
void change(Node<T> *p, T t);//改
void insert(T oldt, T newt);//插入
bool deleteone(T t);//删
void deletesame();//删除相同的节点
bool clear();//清空
void rov();//逆转
void sort();//排序
int getnum();//节点个数
void merge(List &list);//归并
};
| [
"zeak163@gmail.com"
] | zeak163@gmail.com |
9f8c1d9d40f33c04b31a00bde7eb668e359e8287 | c0fc2cb70c91aa958f880e4a37e764f761e19c98 | /c++/tests/leet-code/problem-0378-kth-smallest-element-in-a-sorted-matrix/binary-search.cpp | 904b460cd9a78a0877427d514bd8bfd015550015 | [] | no_license | EFanZh/LeetCode | 6ec36b117c5f16f2a1ca6d5aac932ff67b461800 | 591004c0b28242260352c0e43c9a83d2e4a22e39 | refs/heads/master | 2023-08-18T15:36:00.314222 | 2023-08-07T15:30:00 | 2023-08-07T15:30:00 | 151,554,211 | 223 | 17 | null | 2020-12-13T15:09:46 | 2018-10-04T10:24:22 | Rust | UTF-8 | C++ | false | false | 391 | cpp | #include "tests.h"
#include <leet-code/problem-0378-kth-smallest-element-in-a-sorted-matrix/binary-search.h>
namespace leet_code::problem_0378_kth_smallest_element_in_a_sorted_matrix::tests {
TEST(Problem0378KthSmallestElementInASortedMatrix, BinarySearch) {
tests::run<binary_search::Solution>();
}
} // namespace leet_code::problem_0378_kth_smallest_element_in_a_sorted_matrix::tests
| [
"efanzh@gmail.com"
] | efanzh@gmail.com |
9f9299d170f6c03b2ce314cd5e381b071899ccf9 | 8c7bf94d4b9dc401a6ecbf1663c20ad58fec91fd | /raytracer/Ray.cpp | 9e62c5ec3b423be9edd9e74d434a92c92d2fb282 | [
"Apache-2.0"
] | permissive | M-1/raytracer | 0aacd8b1482b48231ddceeed86e4ded7def0f7bf | 3b3593ae79e7c8efa25acac5cdf42851666b34fb | refs/heads/master | 2020-04-05T23:41:55.266141 | 2015-08-07T23:17:52 | 2015-08-07T23:17:52 | 42,405,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | //
// Ray.cpp
// raytracer
//
// Created by a on 07/08/15.
// Copyright (c) 2015 Martin Mi. All rights reserved.
//
#include "Ray.h"
Ray::Ray(const Vector & start, const Vector & dir) : start(start), dir(dir) {
} | [
"a@a.local"
] | a@a.local |
f8ee0d9771fa643ebdf0e068e9e04930a503fe39 | 33b0b1be951d672f5066ff77e806f67f8a8d0be9 | /Bok/UMG/WBP_EggCounterBase.h | 2ff6de6046cc874f40b8441f3f30628dbcf74367 | [] | no_license | tinygooseuk/bok | d2d037828747427ffe23eaa24e3d6a968ce3913f | e3f0e3d02ad827a38c2e00e6294b985b72a76cc7 | refs/heads/master | 2020-06-13T06:03:07.020517 | 2019-06-30T22:01:23 | 2019-06-30T22:01:23 | 194,564,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | // (c) 2019 TinyGoose Ltd., All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "WBP_EggCounterBase.generated.h"
UCLASS()
class BOK_API UWBP_EggCounterBase : public UUserWidget
{
GENERATED_BODY()
public:
virtual void NativeConstruct() override;
virtual void NativeTick(const FGeometry& MyGeom, float DeltaSeconds) override;
UFUNCTION(BlueprintCallable)
void SetFillLevel(float FillLevel, bool bInstantaneously = false);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void RunCollectedAnimation_BP();
protected:
UPROPERTY(BlueprintReadWrite, meta=(BindWidget))
class UImage* EggImage;
private:
float CurrentFillLevel = 0.0f;
float TargetFillLevel = 0.0f;
};
| [
"joe@tinygoose.co.uk"
] | joe@tinygoose.co.uk |
dc14c27eeea97ab2e90643cea0cced3337744c38 | c2294dc7e7bc7edb1db29e2e4f70e58a0461a6b9 | /Problemset/binary-tree-level-order-traversal-ii/binary-tree-level-order-traversal-ii.cpp | 9c1d4c1696d570c0776e339514ae000c92e1e663 | [
"MIT"
] | permissive | Singularity0909/LeetCode | 64fedd0794f3addcb734caae65c3d4a7fb35ed0c | d46fb1c8ed9b16339d46d5c37f69d44e5c178954 | refs/heads/master | 2021-04-04T10:11:40.365341 | 2020-11-22T17:11:36 | 2020-11-22T17:11:36 | 248,447,594 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp |
// @Title: 二叉树的层次遍历 II (Binary Tree Level Order Traversal II)
// @Author: Singularity0909
// @Date: 2020-09-06 01:26:39
// @Runtime: 4 ms
// @Memory: 11.5 MB
class Solution {
public:
vector<vector<int>> levelOrderBottom(TreeNode* root) {
if (!root) return {};
vector<vector<int>> res;
vector<int> tmp;
using p = pair<TreeNode*, int>;
queue<p> q;
q.push(p(root, 0));
int last = 0;
while (!q.empty()) {
TreeNode* cur = q.front().first;
int dep = q.front().second;
q.pop();
if (dep != last) {
res.push_back(tmp);
tmp.clear();
}
tmp.push_back(cur->val);
last = dep;
if (cur->left) {
q.push(p(cur->left, dep + 1));
}
if (cur->right) {
q.push(p(cur->right, dep + 1));
}
}
if (!tmp.empty()) {
res.push_back(tmp);
}
reverse(res.begin(), res.end());
return res;
}
};
| [
"904854724@qq.com"
] | 904854724@qq.com |
e22b2c92bbd79a3b7678b9ed9d10a664ce3be968 | 0c83640cf0c7c24f7125a68d82b25f485f836601 | /abc096/b/main.cpp | 5cc5f78f6ec8d72042d95b3fc31304922b04c2c7 | [] | no_license | tiqwab/atcoder | f7f3fdc0c72ea7dea276bd2228b0b9fee9ba9aea | c338b12954e8cbe983077c428d0a36eb7ba2876f | refs/heads/master | 2023-07-26T11:51:14.608775 | 2023-07-16T08:48:45 | 2023-07-16T08:48:45 | 216,480,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include <algorithm>
#include <cassert>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#include <limits.h>
using namespace std;
typedef long long ll;
template<class T>
inline bool chmax(T &a, T b) {
if(a < b) {
a = b;
return true;
}
return false;
}
template<class T>
inline bool chmin(T &a, T b) {
if(a > b) {
a = b;
return true;
}
return false;
}
int main(void) {
int a, b, c, k;
cin >> a >> b >> c >> k;
cout << a + b + c - max({a, b, c}) + max({a, b, c}) * (1 << k) << endl;
return 0;
}
| [
"tiqwab.ch90@gmail.com"
] | tiqwab.ch90@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.