Supercharge Your Innovation With Domain-Expert AI Agents!

Binary tree random number generation method with interval weights applied to simulation data

A technology for simulating data and random numbers, applied in random number generators, electrical digital data processing, digital data processing components, etc., can solve problems such as large data differences, large differences, and generated results that cannot meet the expected simulation, and achieve Improvement of time complexity and space complexity, acceleration of generation speed, and improvement of operating efficiency

Inactive Publication Date: 2018-12-18
威创软件南京有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the process of generating simulated data, the random numbers generated by the random number generation method sometimes cannot meet the requirements, and the generated results may not meet the expected simulation purpose. In order to simulate the real data, there may be some generated random data The results are very different from the real situation, such as data in some extreme or individual cases, or some impossible data, and most of the data results are not well displayed by graphs, or because the data differ too much or there is almost no difference. At this time, if the results of the simulated data can be artificially controlled, it will qualitatively improve the real effect of the simulation and the final display effect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Binary tree random number generation method with interval weights applied to simulation data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the technical solutions of the present invention clearer and clearer to those skilled in the art, the present invention will be further described in detail below in conjunction with the examples and accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0041] Such as figure 1 As shown, a method for generating a binary tree random number with interval weights applied to simulated data provided in this embodiment includes the following steps:

[0042] Step 1: Set the value range of the random number and the proportion of certain values ​​in the result;

[0043] Step 2: Divide the result set into two large intervals with set proportion and unset proportion and select the interval to which the result belongs;

[0044] Step 3: In step 2, if the interval to which the selection result belongs is an interval with weights set, then this interval is divided into small intervals according to each weight, and spliced ​​into...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a binary tree random number generation method with interval weights applied to simulation data, belonging to the technical field of random number generation with weighted values, comprising the following steps: setting the value range of the random number and the proportion of certain numerical values in the result; dividing into two large intervals: set proportion and unset proportion, and selecting the interval to which it belongs; if the interval is a weighted interval, the interval is subdivided into sub-intervals and spliced into consecutive intervals; the numerical value in the interval is obtained randomly and the interval belongs to is judged, obtaining a random number in the obtained interval to obtain a final result; if the interval to which the result belongs is an interval in which no weight value is set, obtaining the final result through the above steps. The invention increases controllability, is closer to actual data, uses binary tree algorithm to accelerate the generation speed, improves the overall operation efficiency, and obviously improves the time complexity and the space complexity.

Description

technical field [0001] The invention relates to a calculation and storage of weight intervals and a generation method of search index random numbers, in particular to a method for generating random numbers of binary trees with interval weights applied in simulated data, which belongs to the random number generation technology with weight values field. Background technique [0002] In the process of generating simulated data, the random numbers generated by the random number generation method sometimes cannot meet the requirements, and the generated results may not meet the expected simulation purpose. In order to simulate the real data, there may be some generated random data The results are very different from the real situation, such as data in some extreme or individual cases, or some impossible data, and most of the data results are not well displayed by graphs, or because the data differ too much or there is almost no difference. At this time, if the results of the sim...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/58
CPCG06F7/582
Inventor 孟凯伦
Owner 威创软件南京有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More