When the programmer opens the plug-in
Chapter 161 ? 1 Complete Solution
Chapter 161 A Set of Solutions
After the simulated traffic system was written, Cheng Wen joined the algorithm research.
The study of algorithms is really interesting.
After Cheng Wen entered, he was mesmerized and unable to extricate himself. Although the algorithm Feng Le and the others wrote was too little optimized, there was optimization after all. The key is that the general direction is not wrong.
With Cheng Wen's joining, their progress was extremely fast, and it took only half a month to research an algorithm model.
Finally, in the verification stage, this algorithm model should reduce the average time spent waiting for traffic lights by 30 seconds.
Of course, this waiting time is not only the waiting time for vehicles, but also the time for pedestrians.
If it is just to shorten the waiting time of vehicles, then it would be good to shorten the traffic lights for pedestrians.
This obviously cannot meet the travel requirements of all people.
In fact, when Cheng Wen made this algorithm, he not only considered the driving of normal vehicles, but also the driving of some special vehicles.
For example, special vehicles such as police cars performing tasks, ambulances, and fire engines.
When they are dispatched, they are usually in a hurry and need a smoother road.
How to identify these special vehicles, Cheng Wen and the others were also thinking about it at the beginning.
If it is a normal vehicle, such as a private car, you only need to use the camera to see how much it is.
But to analyze what type they are, a larger calculation is required.
In particular, this must be done in real time, even if it is 1 minute late, it will be meaningless.
Unless it is possible to intelligently judge which road the vehicle will drive in 1 minute, and where will it appear in 1 minute?
But in this 1 minute, the vehicle may change its route, or stop somewhere, so real-time calculation is very important.
In the end, they have three solutions. The first and most reliable is to connect these special vehicles to the Internet and report their location to their system in real time, especially the vehicles that are on duty.
The second type has some limitations, that is, to use the camera to judge whether the passing vehicle is a special vehicle.
The second clock does not require these vehicles to do special things, but it is also affected by some environments. For example, the image quality of the camera is not so good at night, and it will not be so good in rainy days.
The third is through sound, but this can only be used as a reserved solution because it is a bit unreliable.
Cheng Wen also asked someone to contact the city of xx, and the relevant department said that they could provide their network data, but this data cannot be given to their company, and can only be accessed when their system is deployed to them.
This is also to prevent people with ulterior motives from doing something with this data.
In the end they chose a combination of the first option and the second option.
The first type is accurate, but has a certain cost, and the second type can be completed without changing the existing facilities.
After their tests, if their algorithm is used to control traffic lights, the average waiting time of these mission vehicles will be shortened by 40 seconds, and the overall time from their departure to their destination will be shortened by 5-10 minutes.
As the saying goes, an inch of time is worth an inch of gold, and the time of fire trucks and ambulances is life.
Maybe an ambulance could save a life by arriving 1 minute earlier, and a fire truck might save more lives by arriving 1 minute earlier.
In fact, in addition to these, their algorithm also has a non-real-time, macro optimization.
This kind of optimization is not for a short period of time, but for long-term development.
It is a holistic approach to urban transportation, including better arrangements for the number, configuration, dispatch and connection of various public transport vehicles, better planning and management of parking lots, and better incentives and utilization of emerging modes such as shared travel, etc. In many ways.
The data that Cheng Wen obtained from them is not a single one. In addition to videos, another important source of data is the travel trajectories of people and vehicles in the entire city obtained through the mobile Internet.
They even reserved a hole. If each car is willing to contribute its own data, it will make this algorithm more useful.
On the basis of their existing optimization, the average waiting time can be reduced by about 5%.
There is another item that Cheng Wen didn't consider at first, but was determined by the person in charge of the relevant department after communicating with him.
What they think is that smart transportation should not only control these traffic lights, but also organically connect public transportation and all roads.
In addition to connecting them in series, the 10,000+ parking spaces in their city should also be connected in series to realize the interconnection of all parking spaces in the entire city.
With these data, they can induce all vehicles to have a place to park and a good place to park, reducing the time for everyone to find a parking space, which can also reduce people's travel time.
Based on these, Cheng Wen also developed a one-stop map app, but this map app only has the map of xx city.
Compared with other map tools, the cities it can cover are incomparable.
But if anyone is more familiar with xx city, other cities are not as good as this one.
This map software can help car owners analyze which road to take is shorter and faster.
It can also help people plan to go to a place, what is the fastest way to use, whether to drive or walk, or ride a bicycle or use public transportation.
There is an app called Real-time Bus, which can query the location information of the bus. Cheng Wen also integrated the relevant functions of this software into it.
These data are of course provided by the bus company, because in the past few years, they had to do some intelligent management and installed some positioning equipment for each bus.
But there are not many places where they use this thing. It can be said that the money is spent, but the effect is very limited.
This is also a plan that they came up with after communicating with each other.
Cheng Wen also thought about it for a long time, and felt that there is basically nothing else that can be optimized for this project.
I set a date with them and prepared to transport all these servers there.
A total of 8 people were deployed to Cheng Wen's company this time.
Including the three who went before, Feng Le and some new recruits, there is one more person who has to be mentioned, and that is Sun Yirui.
Sun Yirui is the person who used Wukong software to work as a part-time photo studio, and Cheng Wen finally allowed her to work part-time in their company. The place where she went to university was in xx city.
So when she knew that the company was coming to xx city, she strongly demanded to call her together.
With the addition of such a local person, their deployment process has become much faster.
The key is that if there is anything that needs to be contacted, or if there is a problem to be solved on the spot, it is not convenient for them to come here in the capital, so Sun Yirui can come to deal with it.
Cheng Wen just needs to tell her how to deal with the corresponding things.
(End of this chapter)
After the simulated traffic system was written, Cheng Wen joined the algorithm research.
The study of algorithms is really interesting.
After Cheng Wen entered, he was mesmerized and unable to extricate himself. Although the algorithm Feng Le and the others wrote was too little optimized, there was optimization after all. The key is that the general direction is not wrong.
With Cheng Wen's joining, their progress was extremely fast, and it took only half a month to research an algorithm model.
Finally, in the verification stage, this algorithm model should reduce the average time spent waiting for traffic lights by 30 seconds.
Of course, this waiting time is not only the waiting time for vehicles, but also the time for pedestrians.
If it is just to shorten the waiting time of vehicles, then it would be good to shorten the traffic lights for pedestrians.
This obviously cannot meet the travel requirements of all people.
In fact, when Cheng Wen made this algorithm, he not only considered the driving of normal vehicles, but also the driving of some special vehicles.
For example, special vehicles such as police cars performing tasks, ambulances, and fire engines.
When they are dispatched, they are usually in a hurry and need a smoother road.
How to identify these special vehicles, Cheng Wen and the others were also thinking about it at the beginning.
If it is a normal vehicle, such as a private car, you only need to use the camera to see how much it is.
But to analyze what type they are, a larger calculation is required.
In particular, this must be done in real time, even if it is 1 minute late, it will be meaningless.
Unless it is possible to intelligently judge which road the vehicle will drive in 1 minute, and where will it appear in 1 minute?
But in this 1 minute, the vehicle may change its route, or stop somewhere, so real-time calculation is very important.
In the end, they have three solutions. The first and most reliable is to connect these special vehicles to the Internet and report their location to their system in real time, especially the vehicles that are on duty.
The second type has some limitations, that is, to use the camera to judge whether the passing vehicle is a special vehicle.
The second clock does not require these vehicles to do special things, but it is also affected by some environments. For example, the image quality of the camera is not so good at night, and it will not be so good in rainy days.
The third is through sound, but this can only be used as a reserved solution because it is a bit unreliable.
Cheng Wen also asked someone to contact the city of xx, and the relevant department said that they could provide their network data, but this data cannot be given to their company, and can only be accessed when their system is deployed to them.
This is also to prevent people with ulterior motives from doing something with this data.
In the end they chose a combination of the first option and the second option.
The first type is accurate, but has a certain cost, and the second type can be completed without changing the existing facilities.
After their tests, if their algorithm is used to control traffic lights, the average waiting time of these mission vehicles will be shortened by 40 seconds, and the overall time from their departure to their destination will be shortened by 5-10 minutes.
As the saying goes, an inch of time is worth an inch of gold, and the time of fire trucks and ambulances is life.
Maybe an ambulance could save a life by arriving 1 minute earlier, and a fire truck might save more lives by arriving 1 minute earlier.
In fact, in addition to these, their algorithm also has a non-real-time, macro optimization.
This kind of optimization is not for a short period of time, but for long-term development.
It is a holistic approach to urban transportation, including better arrangements for the number, configuration, dispatch and connection of various public transport vehicles, better planning and management of parking lots, and better incentives and utilization of emerging modes such as shared travel, etc. In many ways.
The data that Cheng Wen obtained from them is not a single one. In addition to videos, another important source of data is the travel trajectories of people and vehicles in the entire city obtained through the mobile Internet.
They even reserved a hole. If each car is willing to contribute its own data, it will make this algorithm more useful.
On the basis of their existing optimization, the average waiting time can be reduced by about 5%.
There is another item that Cheng Wen didn't consider at first, but was determined by the person in charge of the relevant department after communicating with him.
What they think is that smart transportation should not only control these traffic lights, but also organically connect public transportation and all roads.
In addition to connecting them in series, the 10,000+ parking spaces in their city should also be connected in series to realize the interconnection of all parking spaces in the entire city.
With these data, they can induce all vehicles to have a place to park and a good place to park, reducing the time for everyone to find a parking space, which can also reduce people's travel time.
Based on these, Cheng Wen also developed a one-stop map app, but this map app only has the map of xx city.
Compared with other map tools, the cities it can cover are incomparable.
But if anyone is more familiar with xx city, other cities are not as good as this one.
This map software can help car owners analyze which road to take is shorter and faster.
It can also help people plan to go to a place, what is the fastest way to use, whether to drive or walk, or ride a bicycle or use public transportation.
There is an app called Real-time Bus, which can query the location information of the bus. Cheng Wen also integrated the relevant functions of this software into it.
These data are of course provided by the bus company, because in the past few years, they had to do some intelligent management and installed some positioning equipment for each bus.
But there are not many places where they use this thing. It can be said that the money is spent, but the effect is very limited.
This is also a plan that they came up with after communicating with each other.
Cheng Wen also thought about it for a long time, and felt that there is basically nothing else that can be optimized for this project.
I set a date with them and prepared to transport all these servers there.
A total of 8 people were deployed to Cheng Wen's company this time.
Including the three who went before, Feng Le and some new recruits, there is one more person who has to be mentioned, and that is Sun Yirui.
Sun Yirui is the person who used Wukong software to work as a part-time photo studio, and Cheng Wen finally allowed her to work part-time in their company. The place where she went to university was in xx city.
So when she knew that the company was coming to xx city, she strongly demanded to call her together.
With the addition of such a local person, their deployment process has become much faster.
The key is that if there is anything that needs to be contacted, or if there is a problem to be solved on the spot, it is not convenient for them to come here in the capital, so Sun Yirui can come to deal with it.
Cheng Wen just needs to tell her how to deal with the corresponding things.
(End of this chapter)
You'll Also Like
-
Quick Wear: Don’t Be Afraid of the Yandere Villain
Chapter 2963 1 days ago -
Horror Game: Inheriting Trillions of Ghost Money from Ancestors
Chapter 485 1 days ago -
Star Railway, everything is nothing
Chapter 114 1 days ago -
In the end times, starting from taking care of your aunt, you will have many children and good fortu
Chapter 247 1 days ago -
Tomb Raider: The eight-year-old me and Reba went crazy
Chapter 220 1 days ago -
If you leave the family without accompanying me, who are you to become a martial arts saint?
Chapter 129 1 days ago -
The End of the Book: Becoming a Cannon Fodder Rich Lolita at the Beginning
Chapter 326 1 days ago -
Who says that Taoist priests only know how to maintain health?
Chapter 546 1 days ago -
Football: Stealing talent endlessly starting from Real Madrid!
Chapter 331 1 days ago -
The Golden County Magistrate
Chapter 297 1 days ago