KruskaI algorithm of minimum spanning tree, which uses union search set to judge whether there is ring or not
The concept of minimum spanning tree:
One edge of a connected graph is a tree
The minimum spanning tree is the weight sum of the edges in all spanning trees
Often used in the optimization of constructive problems such as network construction
Algorithm implementation idea:
First, the weighted ed ...
Posted by angelssin on Sun, 14 Jun 2020 06:42:41 +0200
Summary of knowledge points of Flutter
1. Theme color setting
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',//Available for Android
theme: Theme ...
Posted by notepad on Sun, 14 Jun 2020 02:48:02 +0200
Docker Learning Diary
Introduction:Docker is an open source application container engine based on the Go language and compliant with the Apache 2.0 protocol.Docker s can allow developers to package their applications and dependencies into a lightweight, portable container that can then be published to any popular Linux machine, or they can be virtualized.Containers ...
Posted by fabrice on Sat, 13 Jun 2020 19:22:01 +0200
Ajax data requests for applets
1.Interface
Mock The server is turned on, as long as all static resource files such as pictures are placed in thepublicUnder the folder, you can directly access the Mock The server localhost:3000Find the corresponding path
http://localhost:3000/images/0/a.jpg(api/public/images/0/a.jpg)
http://localhost ...
Posted by cali_dotcom on Sat, 13 Jun 2020 10:27:36 +0200
RNA SEQ process learning notes (12) - R package related operations and domestic image source settings
Reference article:4 installation methods of R packageR language pack related commandssetRepositoriesR install.packages() set domestic CRAN imageTsinghua University open source software image stationR language - default mirror settingsR package installation and setting image
It's very difficult for novic ...
Posted by robs99 on Thu, 11 Jun 2020 09:38:56 +0200
Android Studio package H5 project (2020 version)
I'm the catalog
1, Download Android Studio
2, New Android project
3, What a complete android app needs
1. Be able to access the network
2. Be able to go back, just like App
3. Customize the App icon, not a default Android robot
4. Modify application name
5. Change the color of the main interface to ...
Posted by bob_rock on Thu, 11 Jun 2020 09:22:55 +0200
Use of AsynchronousFileChannel class
Use of AsynchronousFileChannel class
The asynchronusfilechannel class is used to read, write, and manipulate asynchronous channels of files.
When you open a file by calling the open() method defined by this class, an asynchronous file channel is created. The file contains a read-write variable length ...
Posted by Erestar on Thu, 11 Jun 2020 07:27:39 +0200
Exploration and test of 1PPS time synchronization function of GPS
Recently, in the study of GPSD related information, it is found that GPSD can cooperate with NTPD to achieve high-precision time synchronization function, so this topic is involved.
At present, Ublox F9P module is in hand, UART outputs NEMA data, and another GPIO outputs 1PPS pulse
First, look at a ...
Posted by igorlopez on Thu, 11 Jun 2020 05:41:44 +0200
Android wifi basic function 1
A summary
This paper introduces the development interface and usage of WiFi module in the application layer of Android, including some suggestions for dealing with common problems, and finally provides a github project ...
Posted by TheChief on Tue, 09 Jun 2020 08:27:49 +0200
Basic knowledge of android component broadcast
The last blog recorded the basic knowledge of activity. This blog recorded the basic knowledge of Broadcast
radio broadcast
Broadcast is a mechanism to transfer information between applications. It can transfer information between different programs or within the same program.
Broadcast Receiver is used ...
Posted by newcastle_unite on Tue, 09 Jun 2020 07:08:41 +0200