Adjacency matrix implementation based on C++
Adjacency matrix (note the directed adjacency matrix graph implemented here)
The adjacency matrix of a graph is stored in two arrays. A one-dimensional array stores the vertex information in the graph, and a two-dimensional array (adjacency matrix) stores the edge or arc information in the graph. Let graph G have n vertices, then the adjacency ...
Added by smartknightinc on Thu, 24 Feb 2022 12:17:08 +0200
ESLint source code analysis
The daily development of the front end is inseparable from the support of all kinds of lint, but some people just don't like it. The code writing method is arbitrary and capricious, so we don't force it. In fact, the definition of specifications mainly depends on the habits of open source project authors or the coding habits of the company team ...
Added by hucklebezzer on Thu, 24 Feb 2022 12:09:53 +0200
Vue optimization quick check
Starting portal: https://ssshooter.com/2021-03...Split componentI also thought that dismantling molecular components was used for abstraction, but practice told me that dismantling molecular components was a way to improve performance (specific situation).I have encountered such a problem in my actual work. There is a large table with multiple ...
Added by chelsea7 on Thu, 24 Feb 2022 12:10:31 +0200
SpringBoot configuration file application YML database information encryption
In the process of developing program system, we often need to consider the problem of system security,
Like this, it's like your database is running naked, isn't it? Maybe someone quietly deleted the database and let you run away? Therefore, the plaintext password cannot appear in the configuration file. Next, I will give you a detailed in ...
Added by minus4 on Thu, 24 Feb 2022 12:07:08 +0200
Basic content of Java se
JavaSE Basics
Java comments
public class Helloworld {
public static void main(String[] args) {
System.out.println("hellowprld");
//Output a Hellowprld
/*I'm a multiline comment
*/
/**
*
* I'm a document comment
*/
}
}
identifier
public class Demo01 {
public ...
Added by bubblocity on Thu, 24 Feb 2022 11:58:56 +0200
Java process control
Java process control
Scanner object
We use the Scanner class to get the user's input
Basic syntax: Scanner s=new Scanner(System.in);
Get the input string through the next() and nextLine() methods of Scanner class. Before reading, we generally need to use hasNext() and hasNextLine() to judge whether there is still input data
Scanner object ...
Added by Jeyush on Thu, 24 Feb 2022 11:56:16 +0200
java objects and classes
catalogue
1, Class definition
2, this reference
3, Construction method and object initialization
1. Construction method
2. Object initialization
4, Encapsulation
5, Package
1. Concept of package
2. Import classes in package
3. Custom package
4. Common packages
6, static member
1. static modifier member variable
2. Static member me ...
Added by cdc5205 on Thu, 24 Feb 2022 11:51:55 +0200
Dependency injection learning notes
Ioc overview
Ioc(Inversion Of Control) is translated as control inversion
First, make it clear that the control without inversion is "active control"
Active control: all the codes we wrote before are active control, which means that we can instantiate whatever objects are needed during the running of the programInversion of control ...
Added by Jack McSlay on Thu, 24 Feb 2022 11:50:27 +0200
Greenplum 6.17 cluster construction
Greenplum 6.17 cluster construction
1, Cluster planning
Hostipfunctionmaster192.168.2.20mastersegment1192.168.2.21segmentsegment2192.168.2.22segment
The password is 1
2, Environmental description
nameexplainoperating systemCentos7Database installation packageopen-source-greenplum-db-6.17.2-rhel7-x86_64.rpm
3, Preparation before installation ...
Added by ilangovanbe2005 on Thu, 24 Feb 2022 11:44:41 +0200
Vue e e-commerce practice project
Today's goal1. Realize the basic layout of the background home page
2. Realize the left menu bar
3. Display user list
4. Add users1. Basic layout of background home pageOpen home Vue components, layout:<el-container class="home-container">
<!-- Head area -->
<el-header>Header<el-button type="info" @click="logout"> ...
Added by skope on Thu, 24 Feb 2022 11:43:37 +0200