Java二分查找:别再傻傻遍历了,O(log n)效率直接封神
Java 中的二分查找 那种被称作折半查找的二分查找,是针对有序数组去查找特定元素的一种高效算法, 和顺序查找比起来, 它的时间复杂度是O(log n), 极大地提升了查找效率, 在Java里, 实现二分查找存在多种方式, 本文会深入探究其基础概念、使用方法、常见实践还有最佳实践。目录基础概念使用方法常见实践最佳实践小结参考资料基础概念有序数组两部分被区分开来, 这是二分查找核心思想, 目标值跟中间元素大小经比较后, 每次决定查找方向是左半部分还是右半部分, 具体步骤如下:把两个指针进行设定, 其中一个叫做left, 另一个叫做right, 让left指向的是数组的起始位置, right指向的是数组的结束位置。去计算中间位置, mid等于left加上(right减去left)再除以2。将目标值与arr做比较, 重复性地去执行步骤2以及步骤3, 一直到left大于right的时候, 这表明没有找到目标值, 此时返回-1。采用方法标准库当中的二分查找。供二分查找方法的 Java 的 java.util. 类, 以下是使用示例:import java.util.Arrays; public class BinarySearchExample { public static void main(String[] args) { int[] arr {1, 3, 5, 7, 9, 11, 13}; int target 7; int result Arrays.binarySearch(arr, target); if (result 0) { System.out.println(目标值 target 找到索引为: result); } else { System.out.println(目标值 target 未找到); } } }手写二分查找实现public class ManualBinarySearch { public static int binarySearch(int[] arr, int target) { int left 0; int right arr.length - 1; while (left right) { int mid left (right - left) / 2; if (arr[mid] target) { return mid; } else if (arr[mid] target) { left mid 1; } else { right mid - 1; } } return -1; } public static void main(String[] args) { int[] arr {1, 3, 5, 7, 9, 11, 13}; int target 7; int result binarySearch(arr, target); if (result 0) { System.out.println(目标值 target 找到索引为: result); } else { System.out.println(目标值 target 未找到); } } }常见实践查找目标值按照有序数组之中去查找目标值的方式, 上述代码示例已然进行了展示, 这可是二分查找最为基础的应用场景。查找目标值的插入位置有时候, 我们要找寻到一个目标值所应当插入进有序数组里的位置。以下这些便是实现方法:public class InsertionPosition { public static int searchInsertPosition(int[] arr, int target) { int left 0; int right arr.length; while (left right) { int mid left (right - left) / 2; if (arr[mid] target) { left mid 1; } else { right mid; } } return left; } public static void main(String[] args) { int[] arr {1, 3, 5, 7, 9, 11, 13}; int target 8; int result searchInsertPosition(arr, target); System.out.println(目标值 target 的插入位置为: result); } }最佳实践边界条件处理性能优化小结一种高效的查找算法是二分查找, 在Java里可借由标准库或者手写去实现。理解其基础概念, 还要掌握使用方法, 并且遵循最佳实践, 这能够有助于我们在处理有序数组查找问题之际提高效率以及代码质量。不管是查找目标值, 还是确定插入位置, 二分查找都彰显出其独特的优势。参考资料期望借助此文, 读者可以切实通透领会且高效运用Java里的二分查找算法。于实际运用当中, 按照确切需要灵活施展二分查找及其优化策略, 能够给程序性能带来明显提高。WWw.BlOg.GeVc.CoM.cN/Article/details/021370.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/831948.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/539590.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/948826.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/190930.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/888642.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/115173.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/126163.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/423211.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/686784.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/824545.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/176438.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/426197.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/386717.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/966988.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/552872.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/812895.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/573214.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/338834.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/615474.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/360835.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/346089.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/241657.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/520931.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/124914.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/529057.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/519942.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/672833.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/223816.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/088991.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/908779.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/686752.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/057520.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/387662.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/689239.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/189761.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/436610.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/348641.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/619885.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/048686.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/961311.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/237092.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/208759.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/436538.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/033648.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/200205.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/559693.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/242362.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/739786.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/616177.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/295587.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/655062.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/893570.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/022356.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/784075.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/048319.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/616642.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/106217.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/400246.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/674575.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/439973.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/763444.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/442397.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/257925.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/537652.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/715750.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/752386.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/628411.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/888723.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/972013.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/812246.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/868838.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/880540.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/885177.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/112863.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/973948.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/901010.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/819434.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/457754.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/458195.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/196142.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/663262.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/033719.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/089161.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/888628.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/906467.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/477540.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/942563.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/702101.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/762155.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/289123.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/559360.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/268309.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/858805.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/190418.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/883141.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/329083.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/112333.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/256207.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/471168.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/977344.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/461345.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/179547.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/590448.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/703918.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/423670.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/638074.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/185364.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/164055.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/945323.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/062463.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/802849.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/197863.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/872376.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/446095.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/213396.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/672927.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/767109.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/722049.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/810028.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/688338.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/292387.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/657813.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/118774.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/943870.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/304637.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/169875.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/118503.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/994737.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/053020.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/461187.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/674497.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/593862.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/968328.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/007684.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/326516.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/720579.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/627661.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/710214.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/617793.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/203795.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/570884.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/826208.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/164398.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/349704.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/790785.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/933695.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/038480.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/430080.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/790422.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/529826.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/780462.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/675533.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/843286.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/144712.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/559810.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/419520.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/991379.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/899435.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/110654.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/599612.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/326690.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/615287.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/742767.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/597608.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/976960.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/737126.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/550151.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/787211.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/018943.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/650346.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/864768.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/871656.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/506096.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/936054.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/986068.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/607122.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/731875.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/246816.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/347128.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/032392.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/363731.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/025975.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/935536.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/266036.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/428255.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/156967.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/805114.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/945548.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/555312.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/799400.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/744742.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/244996.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/135519.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/844552.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/521955.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/613831.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/064660.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/944913.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/062114.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/912861.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/501606.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/745525.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/341407.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/728270.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/261741.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/608829.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/465393.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/216836.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/104897.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/900758.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/584777.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/322815.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/544070.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/260917.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/326960.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/671072.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/023733.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/759758.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/837797.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/456634.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/071248.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/831913.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/826763.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/186314.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/927631.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/261084.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/479216.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/094295.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/680881.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/530083.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/314661.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/469310.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/684642.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/133550.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/136931.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/543789.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/983598.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/482593.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/527493.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/572857.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/960765.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/365560.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/687823.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/356975.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/741373.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/114425.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/214255.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/491971.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/886393.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/301376.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/097720.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/776327.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/832705.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/547055.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/907534.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/793532.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/399569.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/447728.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/367176.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/593953.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/502215.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/392281.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/982575.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/312121.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/710849.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/800602.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/150665.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/372360.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/600782.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/454885.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/271606.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/540361.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/305480.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/792700.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/506544.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/348703.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/647851.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/596637.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/682300.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/354754.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/565132.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/184823.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/811603.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/060045.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/534684.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/301851.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/620214.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/621342.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/100925.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/672953.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/848771.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/019859.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/470111.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/155986.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/762997.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/045284.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/294878.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/268084.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/466101.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/052738.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/437549.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/246403.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/225423.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/761172.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/568241.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/322530.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/112261.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/389646.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/788603.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/305511.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/095819.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/187703.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/910280.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/731591.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/474090.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/125832.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/816240.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/023102.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/115632.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/619190.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/394474.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/159386.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/047617.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/723135.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/123824.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/045876.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/605537.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/348686.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/520857.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/134924.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/384243.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/055682.sHtMLWWw.BlOg.GeVc.CoM.cN/Article/details/013825.sHtML

相关新闻

JBoltAI V5.0核心能力解析

JBoltAI V5.0核心能力解析

作为向量空间JBoltAI推出的Java生态企业级AI开发框架,JBoltAI V5.0版本围绕两大核心方向完成了深度重构,进一步完善企业AI应用落地的基础设施能力。本体语义:让AI真正理解企业业务向量空间JBoltAI在V5.0版本中搭建的本体语义能力,…

2026/7/15 0:37:11 阅读更多 →
YOLO-World 零样本目标检测实战:文本类别提示与视频筛选

YOLO-World 零样本目标检测实战:文本类别提示与视频筛选

YOLO-World 零样本目标检测实战:文本类别提示与视频筛选 这篇教程根据我复现 YOLO-World 零样本目标检测流程时整理,重点演示如何设置文本类别提示、跑通图片推理、再把同一套模型迁移到视频帧上做目标筛选。 YOLO-World 的特点是不用重新训练就能通过文…

2026/7/15 0:31:10 阅读更多 →
计算机毕业设计之jsp校医院预约挂号平台的设计与实现

计算机毕业设计之jsp校医院预约挂号平台的设计与实现

随着信息技术和网络技术的飞速发展,人类已进入全新信息化时代,传统管理技术已无法高效,便捷地管理信息。为了迎合时代需求,优化管理效率,各种各样的管理系统应运而生,各行各业相继进入信息管理时代&#xf…

2026/7/15 0:31:10 阅读更多 →

最新新闻

如何在 iPhone/iPad 上删除下载内容的分步指南

如何在 iPhone/iPad 上删除下载内容的分步指南

随着时间的推移,您的 iPhone 或 iPad 会积累各种下载文件,包括文档、照片、视频、音乐和应用数据。这些下载文件会迅速占用存储空间,从而降低设备速度。因此,及时删除不必要的下载文件至关重要。如何在 iPhone 上删除下载文件&…

2026/7/15 1:35:31 阅读更多 →
大模型编码能力趋同下,高价智能服务选型与性价比分析

大模型编码能力趋同下,高价智能服务选型与性价比分析

这次我们来探讨一个开发者普遍关心的问题:在当前大模型编码能力逐渐趋同的背景下,高价智能服务是否还值得投入。随着GLM-5.2、Claude Fable 5等主流模型在代码生成、补全、调试等基础能力上的差距不断缩小,选择适合自己开发需求和预算的编码助…

2026/7/15 1:33:30 阅读更多 →
ECU刷写模式详解:OBD、BENCH与BOOT模式的选择与实战

ECU刷写模式详解:OBD、BENCH与BOOT模式的选择与实战

1. ECU刷写模式概述:从OBD到BOOT的技术演进第一次接触ECU刷写是在2013年,当时用OBD接口给一辆大众高尔夫做动力升级,结果因为电压不稳导致刷写中断,差点把ECU搞成砖头。这个教训让我深刻认识到:选择正确的刷写模式&…

2026/7/15 1:33:30 阅读更多 →
B站视频下载神器:3分钟学会免费获取大会员4K高清与充电专属内容

B站视频下载神器:3分钟学会免费获取大会员4K高清与充电专属内容

B站视频下载神器:3分钟学会免费获取大会员4K高清与充电专属内容 【免费下载链接】bilibili-downloader B站视频下载,支持下载大会员清晰度4K,持续更新中 项目地址: https://gitcode.com/gh_mirrors/bil/bilibili-downloader 你是否遇到…

2026/7/15 1:33:30 阅读更多 →
【PCIE】TLP包实战拆解:从Memory读写到Completion的完整流程

【PCIE】TLP包实战拆解:从Memory读写到Completion的完整流程

1. PCIe TLP包基础概念每次当我调试FPGA的PCIe接口时,总会想起第一次看到TLP包时的困惑。那密密麻麻的十六进制数据,就像天书一样让人摸不着头脑。但现在回过头来看,TLP(Transaction Layer Packet)其实就是PCIe设备之间…

2026/7/15 1:31:30 阅读更多 →
MIMO信号识别用DetNet深度学习模型完整训练与推理代码包

MIMO信号识别用DetNet深度学习模型完整训练与推理代码包

本文还有配套的精品资源,点击获取 简介:一套开箱即用的MIMO通信信号识别工具包,基于DetNet网络结构实现,支持PyTorch或TensorFlow框架(具体依赖见settings.py)。内含预训练权重文件DetNetmodel.cpkt&…

2026/7/15 1:31:30 阅读更多 →

日新闻

YOLO11 改进 - 特征融合 | STFFM空间时间特征融合模块,强化时空互补、抑制噪声,助力小目标检测高效涨点

YOLO11 改进 - 特征融合 | STFFM空间时间特征融合模块,强化时空互补、抑制噪声,助力小目标检测高效涨点

前言 本文介绍了面向红外小目标检测的时空特征融合模块——STFFM,用于增强复杂背景下目标与噪声、杂波的区分能力。该方法通过拼接空间特征与时间/运动特征,并结合通道注意力、空间注意力和残差增强机制,实现对关键语义通道与疑似目标区域的…

2026/7/15 0:01:00 阅读更多 →
YOLO26 改进 - 特征融合 | STFFM空间时间特征融合模块,强化时空互补、抑制噪声,助力小目标检测高效涨点

YOLO26 改进 - 特征融合 | STFFM空间时间特征融合模块,强化时空互补、抑制噪声,助力小目标检测高效涨点

前言 本文介绍了面向复杂背景小目标检测的时空特征融合模块——STFFM。该模块通过空间分支与时间/运动分支的特征拼接,引入通道注意力和空间注意力对融合特征进行自适应筛选,并结合残差增强与通道压缩,突出目标区域、抑制背景噪声。我们将 S…

2026/7/15 0:01:00 阅读更多 →
行星减速机为什么能提高扭矩?从功率守恒到输出扭矩校核

行星减速机为什么能提高扭矩?从功率守恒到输出扭矩校核

一、为什么减速以后扭矩会增大 旋转机械的功率、转速和扭矩之间存在以下关系: T 9550 P n 其中: T为扭矩,单位Nm; P为功率,单位kW; n为转速,单位r/min。 在功率基本不变的情况下:…

2026/7/15 0:03:00 阅读更多 →

周新闻

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨 在一个阳光明媚的上午,互联网大厂的面试官坐在桌前,准备迎接他的面试候选人——燕双非,一个以搞笑和幽默著称的程序员。第一轮提问 面试官:燕双非,作…

2026/7/14 16:53:23 阅读更多 →
车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估

车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估

车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估在智能驾驶和车联网技术快速发展的今天,车载以太网作为新一代车载网络的核心传输技术,其物理层性能直接决定了数据传输的可靠性和稳定性。1000BASE-T1作为当前主流的…

2026/7/14 14:00:13 阅读更多 →
VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战,5步完成Keil工程转换

VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战,5步完成Keil工程转换

VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战指南嵌入式开发领域正经历一场工具链的静默革命。当传统Keil用户首次打开VSCode的扩展市场搜索EIDE时,往往会惊讶于这个看似简单的插件竟能重构十余年的开发习惯。本文将揭示如何用五个精准步骤&#xff0…

2026/7/14 7:15:24 阅读更多 →

月新闻